[Pkg-erlang-devel] Bug#592821: erlang-wx: wxWidgets segmentation fault
Sergei Golovan
sgolovan at nes.ru
Sun Aug 15 05:39:52 UTC 2010
Hi Witold!
On Fri, Aug 13, 2010 at 5:53 AM, Witold Baryluk
<baryluk at smp.if.uj.edu.pl> wrote:
>
> Simple test case:
>
> $ cd /usr/lib/erlang/lib/wx-0.98.6/examples/sudoku
> $ erl -smp true
> 1> sudoku:start().
>
>
> wait few seconds, eventually interact with widget.
>
> For few seconds it will make CPU 100% busy (probably bug in timiing or epoll)
>
> After a while it will crash whole VM with "Segmentation fault".
Finally, I've managed to get a segfault when running erl -smp +S 1
(SMP with one core, like in your case). If the number of cores is
greater than one Erlang and wx work fine.
Could you try to run erl -smp +S 2 on your one-core processor to check
if this can be used as a workaround?
I'll forward this bug to upstream. Thanks for the report!
Cheers!
--
Sergei Golovan
More information about the Pkg-erlang-devel
mailing list