dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

Stonesense crash at startup

Open arclance opened this issue 13 years ago • 1 comments

Stonesense is crashing at startup for me again on my 64bit system. It works in my one of my 32bit VMs but not the other it crashes the same way in that one..

Here is a backtrace of the crash.

[DFHack]# stonesense
[New Thread 0xf12ffb70 (LWP 28331)]
[New Thread 0xf0afeb70 (LWP 28332)]
Stonesense launched
Using allegro version 5.0.5 r1
[DFHack]# 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf0afeb70 (LWP 28332)]
0xf484a4ff in _al_xglx_config_select_visual ()
   from ./stonesense/deplibs/liballegro.so.5.0
(gdb) bt full
#0  0xf484a4ff in _al_xglx_config_select_visual ()
   from ./stonesense/deplibs/liballegro.so.5.0
No symbol table info available.
#1  0xf4847fcb in xdpy_create_display ()
   from ./stonesense/deplibs/liballegro.so.5.0
No symbol table info available.
#2  0xf4804f8e in al_create_display ()
   from ./stonesense/deplibs/liballegro.so.5.0
No symbol table info available.
#3  0xf48de489 in stonesense_thread(ALLEGRO_THREAD*, void*) ()
   from /media/Linux_Data/Dwarf_Fortress/Test_Fortress/0.34.X/df_34_11_linux/df_linux/hack/plugins/stonesense.plug.so
No symbol table info available.
#4  0xf481028f in thread_func_trampoline ()
   from ./stonesense/deplibs/liballegro.so.5.0
No symbol table info available.
#5  0xf48439b6 in thread_proc_trampoline ()
   from ./stonesense/deplibs/liballegro.so.5.0
No symbol table info available.
#6  0xf7316c39 in start_thread (arg=0xf0afeb70) at pthread_create.c:304
        __res = <optimized out>
        __ignore1 = <optimized out>
        __ignore2 = <optimized out>
        pd = 0xf0afeb70
        now = <optimized out>
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-147689484, 0, 4001536, 
                -256908248, -1941553587, -1319588798}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0xf74019ce in clone () from /lib32/libc.so.6
No symbol table info available.

arclance avatar Dec 23 '12 05:12 arclance

This turned out to be due to Debian changing the "libgl1-nvidia-glx-ia32" package to be a empty package to force migration to multiarch. This broke 32bit opengl on my system and allegro crashed with out any indication of that making it hard to diagnose.

arclance avatar Jan 11 '13 23:01 arclance