Re: port_info crashes when called concurrently by two processes

Anthony Ramine <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
Le 11 mars 2015 à 19:12, Heinz Nikolaus Gies <[email protected]> a écrit :

> Adding more information,
> this is related to SMP, if starting the erlang VM with -smp disable it does not crash.

Looked at it, the code uses static variables and that looks quite wrong.

https://github.com/erlang/otp/blob/36576d7de20e4e8cb7b3943cfe1b7e272b5e3971/erts/emulator/beam/io.c#L4484-4485
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.