[erlang-bugs] The gl-example in wx:demo() crashes on Ubuntu 11.04 (64 Bit) using Erlang/OTP R14B02 (Source Install)

Boris Mühmer boris.muehmer@REDACTED
Sat May 14 18:32:25 CEST 2011


Just a small update: I did a fresh Ubuntu 11.04 32 bit installation on
one of my "spare" notebooks and the gl example of wx:demo() crashed
there as well.


  - boris


2011/5/14 Boris Mühmer <boris.muehmer@REDACTED>:
> Running wx:demo() (from a source installation of Erlang/OTP R14B02)
> and selecting the "gl" example crashes the erlang shell on Ubuntu
> 11.04 (64 Bit). Other OpenGL-examples (for example Qt demos or Ogre3D)
> work on this system. I currently don't have access to a 32 bit system
> where I could test OpenGL.
>
> The installation was done using the steps described at:
>    http://boris.muehmer.de/2011/05/07/installing-erlangotp-r14b02-on-ubuntu-11-04-from-source-tarball/
>
> === Shell Session Output: begin ===
> $ /opt/erlang-otp/bin/erl
> Erlang R14B02 (erts-5.8.3) [source] [64-bit] [smp:2:2] [rq:2]
> [async-threads:0] [hipe] [kernel-poll:false]
>
> Eshell V5.8.3  (abort with ^G)
> 1> wx:demo().
> {wx_ref,35,wxFrame,<0.34.0>}
> 2> Speicherzugriffsfehler (Speicherabzug geschrieben)
> === Shell Session Output: end ===
>
> === Gdb Session Output: begin ===
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007f5eb10ef240 in ?? ()
> (gdb) bt
> #0  0x00007f5eb10ef240 in ?? ()
> #1  0x00007f5eb136751f in egl_dispatch (op=5314, bp=0x1b8c2b0 "",
> port=0x274, caller=755, bins=<value optimized out>,
>    bins_sz=<value optimized out>) at gen/gl_funcs.cpp:2206
> #2  0x00007f5ec1b4a1b2 in gl_dispatch (op=5314, bp=0x1b8c2a0 "",
> caller=755, bins=0x1ce82f0) at wxe_gl.cpp:158
> #3  0x00007f5ec1b4501f in WxeApp::dispatch (this=0x1c25710,
> batch=0x1ce2a00, blevel=1, list_type=0) at wxe_impl.cpp:405
> #4  0x00007f5ec1b45127 in WxeApp::dispatch_cmds (this=0x1c25710) at
> wxe_impl.cpp:359
> #5  0x00007f5ec0503ad5 in
> wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
> wxEvtHandler*, wxEvent&) ()
>   from /usr/lib/libwx_baseu-2.8.so.0
> #6  0x00007f5ec0503ebf in
> wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from
> /usr/lib/libwx_baseu-2.8.so.0
> #7  0x00007f5ec0503f72 in wxEvtHandler::ProcessEvent(wxEvent&) () from
> /usr/lib/libwx_baseu-2.8.so.0
> #8  0x00007f5ec09be635 in wxAppBase::ProcessIdle() () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0
> #9  0x00007f5ec092cf8e in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #10 0x00007f5ebd7e5bcd in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #11 0x00007f5ebd7e63a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #12 0x00007f5ebd7e69f2 in g_main_loop_run () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #13 0x00007f5ebf585af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> #14 0x00007f5ec0941578 in wxEventLoop::Run() () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0
> #15 0x00007f5ec09be3eb in wxAppBase::MainLoop() () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0
> #16 0x00007f5ec04b153a in wxEntry(int&, wchar_t**) () from
> /usr/lib/libwx_baseu-2.8.so.0
> #17 0x00007f5ec1b449dc in wxe_main_loop (vpdl=0x1b30d60) at wxe_impl.cpp:227
> #18 0x00000000005b01a0 in thr_wrapper (vtwd=0x7f5ec34da9e0) at
> pthread/ethread.c:106
> #19 0x00007f5ec5584d8c in start_thread () from
> /lib/x86_64-linux-gnu/libpthread.so.0
> #20 0x00007f5ec50c804d in clone () from /lib/x86_64-linux-gnu/libc.so.6
> #21 0x0000000000000000 in ?? ()
> === Gdb Session Output: end ===
>
>
>  - boris
>



More information about the erlang-bugs mailing list