segfault using 64-bit arch linux

Moderator: Moderator

Post Reply
Message
Author
crapture
Posts: 3
Joined: Fri Jan 27, 2012 2:12 pm

segfault using 64-bit arch linux

#1 Post by crapture »

I downloaded the newest version of t-engine (i.e. ToME and T-Engine 4 1.0.0 Beta 37 aka "Dawn of Victory") and I get a segfault when I try to run it. For some reason, the version of tome4 from the arch repos work though.

This is the output from GDB:

[CPU] Detected 8 CPUs
OpenAL device available: ALSA Software on default (default ALSA Software on default)
OpenAL device available: ALSA Software on HDA Intel (default ALSA Software on default)
OpenAL device available: OSS Software (default ALSA Software on default)
OpenAL device available: Wave File Writer (default ALSA Software on default)
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
AL lib: alsa.c:344: Could not open playback device 'default': No such device or address
AL lib: oss.c:179: Could not open /dev/dsp: No such file or directory
Available video driver: x11
Available video driver: dummy
Segmentation fault

(gdb) run
Starting program: /home/user/Downloads/tengine/t-engine4-linux32-1.0.0beta37/t-engine
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[CPU] Detected 8 CPUs
OpenAL device available: ALSA Software on default (default ALSA Software on default)
OpenAL device available: ALSA Software on HDA Intel (default ALSA Software on default)
OpenAL device available: OSS Software (default ALSA Software on default)
OpenAL device available: Wave File Writer (default ALSA Software on default)
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
AL lib: alsa.c:344: Could not open playback device 'default': No such device or address
AL lib: oss.c:179: Could not open /dev/dsp: No such file or directory
Available video driver: x11
Available video driver: dummy
[New Thread 0xf72e1b40 (LWP 2534)]
[New Thread 0xf5b6cb40 (LWP 2535)]
[New Thread 0xf536bb40 (LWP 2536)]
[New Thread 0xf4b6ab40 (LWP 2537)]
[New Thread 0xf4369b40 (LWP 2538)]
[New Thread 0xf3b68b40 (LWP 2539)]
[New Thread 0xf3367b40 (LWP 2540)]
[New Thread 0xf2b66b40 (LWP 2541)]
[New Thread 0xf2365b40 (LWP 2542)]

Program received signal SIGSEGV, Segmentation fault.
X11_DestroyWindowFramebuffer (_this=0x81a9fd8, window=0x81d3c10) at src/video/x11/SDL_x11framebuffer.c:193
193 src/video/x11/SDL_x11framebuffer.c: No such file or directory.
(gdb) bt
#0 X11_DestroyWindowFramebuffer (_this=0x81a9fd8, window=0x81d3c10) at src/video/x11/SDL_x11framebuffer.c:193
#1 0xf7f378aa in SDL_DestroyWindow (window=0x81d3c10) at src/video/SDL_video.c:1949
#2 0xf7f37f53 in SDL_CreateWindow (title=0xf7f5de3c "OpenGL test", x=-32, y=<optimized out>, w=32, h=32, flags=10) at src/video/SDL_video.c:1187
#3 0xf7f382b8 in ShouldUseTextureFramebuffer () at src/video/SDL_video.c:169
#4 SDL_VideoInit (driver_name=0x0) at src/video/SDL_video.c:509
#5 0x08050697 in main (argc=1, argv=0xffffd614) at ../src/main.c:986

Thanks in advance if you can be of any possible help.

Post Reply