[erlang-questions] Why does this not work in the latest otp
Raimo Niskanen
raimo+erlang-questions@REDACTED
Fri Jun 26 14:58:11 CEST 2009
Congratulations, you have found a serious bug in
the new atom cache code!
Simply when sending [] (the empty list) as the _complete_
message to a remote process, decoding fails in R13B01.
That is serious and it is interesting to note that
sending [] as the complete message between remote
processes must be _very_ uncommon, oddly enough.
You are the only one so far that has encountered it.
The developer that wrote the new atom cache (now on vacation)
has given me a two-line patch to regression test. First shot
on one platform works fine and I do not expect any problems.
Next week I will post the patch if the regression tests run fine.
On Wed, Jun 24, 2009 at 03:17:02PM +0100, Thomas James Malone wrote:
>
>
> If I use the module I have included as an attachement and run the
> following code in R13B01,
>
> db_dis:new(database, remote@REDACTED).
> db_dis:write(tom, london, database, remote@REDACTED).
> db_dis:write(stuart, london, database, remote@REDACTED).
> db_dis:match(tom, database, remote@REDACTED).
>
>
> =ERROR REPORT==== 24-Jun-2009::15:13:11 ===
> 'local@REDACTED' got a corrupted external term from 'remote@REDACTED' on
> distribution channel 5571
> <<...,106>>
> ATOM_CACHE_REF translations: 0='local@REDACTED', 1=''
> timeout
>
> In R12B-5 if run the same code I get my expected response of []
>
> what am I missing.
>
> thanks in advance
>
> Tom
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list