[erlang-bugs] Crash in wxErlang (17 rc1)

Jeff Davis pgsql@REDACTED
Thu Feb 6 06:20:49 CET 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.erl
Type: text/x-erlang
Size: 121 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140205/4db40382/attachment.bin>


More information about the erlang-bugs mailing list