[erlang-bugs] Crash in wxErlang (17 rc1)
Dan Gudmundsson
dangud@REDACTED
Thu Feb 6 08:35:24 CET 2014
What are you trying to do?
That code seg faults on all releases,
you will always be able to crash wx if you try.
If you write that code in C++ it will crash as well.
/Dan
On Thu, Feb 6, 2014 at 6:20 AM, Jeff Davis <pgsql@REDACTED> wrote:
> Attached program segfaults.
>
> I compiled erlang myself, so I could have done something wrong, but it
> seems to work otherwise.
>
> How I compiled it:
> ./configure --prefix=/home/jdavis/install/otp \
> --enable-dirty-schedulers
> make && make install
>
> System:
> $ uname -a
> Linux jdavis 3.11.0-15-generic #23-Ubuntu SMP
> Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=13.10
> DISTRIB_CODENAME=saucy
> DISTRIB_DESCRIPTION="Ubuntu 13.10"
> $ aptitude search -F '%c %p' wx | grep ^i
> i libwxbase2.8-0
> i libwxbase2.8-dev
> i libwxgtk-media2.8-0 libwxgtk2.8-0
> i libwxgtk2.8-dev
> i python-wxgtk2.8
> i python-wxversion
> i wx-common
> i wx2.8-headers
>
> Erlang:
> $ /home/jdavis/install/otp/bin/erl
> Erlang/OTP 17 [RELEASE CANDIDATE 1] [erts-6.0] [source] [64-bit]
> [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]
>
> Eshell V6.0 (abort with ^G)
> 1> c(crash).
> crash.erl:5: Warning: variable 'WX' is unused
> crash.erl:7: Warning: variable 'DC' is unused
> {ok,crash}
> 2> crash:draw().
> Segmentation fault (core dumped)
>
> Regards,
> Jeff Davis
>
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140206/a8e67c46/attachment.htm>
More information about the erlang-bugs
mailing list