Crash - Launch a new game - ZDoom for Linux

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

Hello :D

Ubuntu 11.04 Natty

I'm trying to play the best game in the world, Doom 2 but now it just crashes on me. :x
When I launch the game from Terminal and try to start a new game I get this output.

Code: Select all

+MAP01 - entryway

Starting MIDI playback failed


*** Fatal Error ***
Integer divide by zero (signal 8)
Address: 0x826aa9d

Generating zdoom-crash.log and killing process 31649, please wait... Drept
For referrence, "Drept" translates into "killed" ..why does it kill Zdoom process?
I have tried to reinstall the game, removing it and reinstalling it some more. But now this crash is all over me.

I got this crash report thingy, I will paste.
Please help me play the best game in the world again! :D :D I miss the Barons! :lol:

Code: Select all

*** Fatal Error ***
Integer divide by zero (signal 8)
Address: 0x826aa9d

System: Linux svart 2.6.38-9-generic #43-Ubuntu SMP Thu Apr 28 15:25:15 UTC 2011 i686 i686 i386 GNU/Linux

ZDoom version 2.5.0 (r3205) (May 13 2011)
Compiler version: 4.5.2

Command line: ./zdoom

Wad 0: zdoom.pk3
Wad 1: DOOM2.WAD

Current map: MAP01

viewx = 0
viewy = 0
viewz = 0
viewangle = 0

Executing: gdb --quiet --batch --command=gdb-respfile-iloNJA
[Thread debugging using libthread_db enabled]
[New Thread 0x3f48b70 (LWP 31657)]
[New Thread 0x3672b70 (LWP 31656)]
[New Thread 0x2e71b70 (LWP 31655)]
[New Thread 0x1a00b70 (LWP 31654)]
0x00b22416 in __kernel_vsyscall ()

* Loaded Libraries
From        To          Syms Read   Shared Object Library
0x003499d0  0x003722db  Yes (*)     /usr/lib/libesets_pac.so
0x003d6ac0  0x00679418  Yes (*)     /usr/lib/libgtk-x11-2.0.so.0
0x00125c50  0x00182b88  Yes (*)     /usr/lib/libgdk-x11-2.0.so.0
0x00fd5190  0x00fe27b8  Yes (*)     /usr/lib/i386-linux-gnu/libatk-1.0.so.0
0x00a33d20  0x00aee878  Yes (*)     /usr/lib/i386-linux-gnu/libgio-2.0.so.0
0x007d8f90  0x007f5e58  Yes (*)     /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
0x00ebe650  0x00ec39a8  Yes (*)     /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
0x001ade30  0x001c11d8  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x0093b3f0  0x009d0498  Yes (*)     /usr/lib/libcairo.so.2
0x001d0640  0x001f1fe8  Yes (*)     /usr/lib/i386-linux-gnu/libpango-1.0.so.0
0x0020d6e0  0x00274ed8  Yes (*)     /usr/lib/i386-linux-gnu/libfreetype.so.6
0x00d6d030  0x00d88758  Yes (*)     /usr/lib/i386-linux-gnu/libfontconfig.so.1
0x002946f0  0x002c85f8  Yes (*)     /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
0x00fbec40  0x00fbfd78  Yes (*)     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
0x002d4f60  0x002d6678  Yes (*)     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
0x00cff8c0  0x00d03578  Yes (*)     /lib/i386-linux-gnu/librt.so.1
0x00b53790  0x00bcc6a8  Yes (*)     /lib/i386-linux-gnu/libglib-2.0.so.0
0x00800a30  0x00854338  Yes (*)     /usr/lib/libSDL-1.2.so.0
0x002dd610  0x002e99d8  Yes (*)     /lib/i386-linux-gnu/libpthread.so.0
0x00302760  0x0030fc98  Yes (*)     /lib/i386-linux-gnu/libz.so.1
0x00317ea0  0x00331c48  Yes (*)     /usr/lib/i386-linux-gnu/libjpeg.so.62
0x010496e0  0x0112b678  Yes (*)     /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
0x00ddc2e0  0x00e4dd08  Yes (*)     /usr/lib/i386-linux-gnu/libstdc++.so.6
0x007614b0  0x0077bb38  Yes (*)     /lib/i386-linux-gnu/libm.so.6
0x00785f50  0x0079c418  Yes (*)     /lib/i386-linux-gnu/libgcc_s.so.1
0x06b24c10  0x06c2f1c4  Yes (*)     /lib/i386-linux-gnu/libc.so.6
0x002f3a40  0x002f4998  Yes (*)     /lib/i386-linux-gnu/libdl.so.2
0x00cc5830  0x00cdc4af  Yes (*)     /lib/ld-linux.so.2
0x02567120  0x025f5d98  Yes (*)     /usr/lib/i386-linux-gnu/libX11.so.6
0x002f7860  0x002f83e8  Yes (*)     /usr/lib/i386-linux-gnu/libXcomposite.so.1
0x002fb7b0  0x002fc1e8  Yes (*)     /usr/lib/i386-linux-gnu/libXdamage.so.1
0x00336e40  0x003392c8  Yes (*)     /usr/lib/i386-linux-gnu/libXfixes.so.3
0x00f2c5b0  0x00f36b58  Yes (*)     /usr/lib/i386-linux-gnu/libXext.so.6
0x0033d2a0  0x003430d8  Yes (*)     /usr/lib/i386-linux-gnu/libXrender.so.1
0x007a0750  0x007a11f8  Yes (*)     /usr/lib/i386-linux-gnu/libXinerama.so.1
0x007a57e0  0x007afb48  Yes (*)     /usr/lib/i386-linux-gnu/libXi.so.6
0x007b40e0  0x007b8bc8  Yes (*)     /usr/lib/i386-linux-gnu/libXrandr.so.2
0x007bca80  0x007c2088  Yes (*)     /usr/lib/i386-linux-gnu/libXcursor.so.1
0x00887f40  0x008b1c08  Yes (*)     /lib/i386-linux-gnu/libpcre.so.3
0x008c8630  0x008d4828  Yes (*)     /lib/i386-linux-gnu/libresolv.so.2
0x008e3ec0  0x008f5468  Yes (*)     /lib/i386-linux-gnu/libselinux.so.1
0x00c1bb10  0x00c7db08  Yes (*)     /usr/lib/libpixman-1.so.0
0x008fe7a0  0x0091a4e8  Yes (*)     /lib/i386-linux-gnu/libpng12.so.0
0x007c7730  0x007c7ff8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-shm.so.0
0x007cd330  0x007d0628  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-render.so.0
0x009ebab0  0x009fa7f8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb.so.1
0x00d08f40  0x00d22568  Yes (*)     /lib/i386-linux-gnu/libexpat.so.1
0x00f99ef0  0x00f9b358  Yes (*)     /usr/lib/libpulse-simple.so.0
0x00ee67e0  0x00f15e88  Yes (*)     /usr/lib/libpulse.so.0
0x009209c0  0x00921748  Yes (*)     /usr/lib/i386-linux-gnu/libXau.so.6
0x00924ca0  0x009268a8  Yes (*)     /usr/lib/i386-linux-gnu/libXdmcp.so.6
0x00f42fa0  0x00f76578  Yes (*)     /usr/lib/libpulsecommon-0.9.22.so
0x0092a390  0x0092a4b8  Yes (*)     /usr/lib/i386-linux-gnu/libX11-xcb.so.1
0x00b25fc0  0x00b356c8  Yes (*)     /usr/lib/i386-linux-gnu/libICE.so.6
0x009ff410  0x00a03908  Yes (*)     /usr/lib/i386-linux-gnu/libSM.so.6
0x00a06e70  0x00a09a38  Yes (*)     /usr/lib/libXtst.so.6
0x0092e4d0  0x0092ebb8  Yes (*)     /usr/lib/libxcb-atom.so.1
0x066ead30  0x06719a98  Yes (*)     /lib/i386-linux-gnu/libdbus-1.so.3
0x00a0ded0  0x00a12028  Yes (*)     /lib/libwrap.so.0
0x043c23a0  0x04411698  Yes (*)     /usr/lib/libsndfile.so.1
0x00b18ec0  0x00b1ab18  Yes (*)     /lib/i386-linux-gnu/libuuid.so.1
0x00c87130  0x00c93c08  Yes (*)     /lib/i386-linux-gnu/libnsl.so.1
0x06a901e0  0x06acef58  Yes (*)     /usr/lib/libFLAC.so.8
0x05eaeb20  0x05eb0f78  Yes (*)     /usr/lib/libvorbisenc.so.2
0x00d32f70  0x00d478c8  Yes (*)     /usr/lib/libvorbis.so.0
0x00cb7500  0x00cb9d98  Yes (*)     /usr/lib/libogg.so.0
0x00ca9e30  0x00caea28  Yes (*)     /lib/i386-linux-gnu/libnss_compat.so.2
0x00cf4930  0x00cfaa68  Yes (*)     /lib/i386-linux-gnu/libnss_nis.so.2
0x00d59a90  0x00d60fe8  Yes (*)     /lib/i386-linux-gnu/libnss_files.so.2
0x00e85710  0x00e8aa38  Yes (*)     /usr/lib/liboverlay-scrollbar-0.1.so.0
0x00b3c5f0  0x00b3e718  Yes (*)     /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
0x00cbe3d0  0x00cbf918  Yes (*)     /usr/lib/libcanberra-gtk.so.0
0x00f83f30  0x00f8de28  Yes (*)     /usr/lib/libcanberra.so.0
0x00eaf570  0x00eb45c8  Yes (*)     /usr/lib/libvorbisfile.so.3
0x00f9f8e0  0x00faa458  Yes (*)     /usr/lib/libtdb.so.1
0x00f21710  0x00f26018  Yes (*)     /usr/lib/libltdl.so.7
0x048f0e60  0x04917db8  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
0x00ec8740  0x00ecd628  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
0x01acbad0  0x01acbfe8  Yes (*)     /usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
0x06a135e0  0x06a13b68  Yes (*)     /home/nero/trunk/release/liboutput_sdl.so
0x04626010  0x046bccb8  Yes (*)     /usr/lib/libasound.so
0x037437d0  0x03745bb8  Yes (*)     /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
(*): Shared library is missing debugging information.

* Threads
  5 Thread 0x1a00b70 (LWP 31654)  0x00b22416 in __kernel_vsyscall ()
  4 Thread 0x2e71b70 (LWP 31655)  0x00b22416 in __kernel_vsyscall ()
  3 Thread 0x3672b70 (LWP 31656)  0x00b22416 in __kernel_vsyscall ()
  2 Thread 0x3f48b70 (LWP 31657)  0x00b22416 in __kernel_vsyscall ()
* 1 Thread 0xb20250 (LWP 31649)  0x00b22416 in __kernel_vsyscall ()

* FPU Status
  R7: Empty   0x00000000000000000000
  R6: Empty   0x00000000000000000000
  R5: Empty   0x00000000000000000000
  R4: Empty   0x00000000000000000000
  R3: Empty   0x00000000000000000000
  R2: Empty   0x00000000000000000000
  R1: Empty   0x00000000000000000000
=>R0: Empty   0x00000000000000000000

Status Word:         0x0000                                            
                       TOP: 0
Control Word:        0x037f   IM DM ZM OM UM PM
                       PC: Extended Precision (64-bits)
                       RC: Round to nearest
Tag Word:            0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer:     0x00:0x00000000
Opcode:              0x0000

* Registers
eax            0xfffffe00	-512
ecx            0x856eefc	139915004
edx            0x0	0
ebx            0x7baa	31658
esp            0x856eeb0	0x856eeb0
ebp            0x856ef18	0x856ef18
esi            0x7baa	31658
edi            0x856eefc	139915004
eip            0xb22416	0xb22416 <__kernel_vsyscall+2>
eflags         0x293	[ CF AF SF IF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51

* Backtrace

Thread 5 (Thread 0x1a00b70 (LWP 31654)):
#0  0x00b22416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x002e6d46 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x00853b8e in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0x00853bd4 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0x00809e4e in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x0085112d in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#6  0x002dee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7  0x06bde73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x2e71b70 (LWP 31655)):
#0  0x00b22416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x06bcff76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00f0e4a2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x00efd3a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4  0x00efdb84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5  0x00efdc64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6  0x00f0e443 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7  0x00f73a75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
No symbol table info available.
#8  0x002dee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#9  0x06bde73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x3672b70 (LWP 31656)):
#0  0x00b22416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x06bcff76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x0464eb8f in ?? () from /usr/lib/libasound.so
No symbol table info available.
#3  0x0464ed63 in snd_pcm_wait () from /usr/lib/libasound.so
No symbol table info available.
#4  0x04654fa0 in ?? () from /usr/lib/libasound.so
No symbol table info available.
#5  0x0469818a in ?? () from /usr/lib/libasound.so
No symbol table info available.
#6  0x0464dac4 in snd_pcm_writei () from /usr/lib/libasound.so
No symbol table info available.
#7  0x010a45d7 in FMOD::OutputALSA::updateMixer() () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#8  0x0109ec8d in FMOD::Thread::callback(void*) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#9  0x002dee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x06bde73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x3f48b70 (LWP 31657)):
#0  0x00b22416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x06ba6fe6 in nanosleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x06bd81ac in usleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3  0x010a07e5 in FMOD_OS_Time_Sleep(unsigned int) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#4  0x0109eca3 in FMOD::Thread::callback(void*) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#5  0x002dee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#6  0x06bde73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb20250 (LWP 31649)):
#0  0x00b22416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x002e746b in waitpid () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x08111aac in _start ()
No symbol table info available.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Crash - Launch a new game - ZDoom for Linux

Post by Edward-san »

Can you compile zdoom debug build and retry to run? It should give more informations about the involved functions. When I've the time to try, I'll do the same.

[edit]very weird, I cannot reproduce this bug with my build. Are you using 32bit build or 64bit one?
In any case, please use the debug build and post the new crash log.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Re: Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

Hello :D

Thank you for helping!
I am running a 32-bit system. (Ubuntu 11.04 as mentioned before. With Ubuntu Classic interface if that has something to say.)

I am not sure I understood the compiling and debugging process, I tried running zdoom twice in the GDB prompt. First I tried "run" as instructed and then "run zdoom" but you'll see the output below. I think I may have done something wrong when I compiled the game. I wasn't sure how I wanted to install the FMOD thingy. How can I remove it completely if this is the problem?

Code: Select all

Starting program:  
No executable file specified.
Use the "file" or "exec-file" command.
Starting program:  zdoom
No executable file specified.
Use the "file" or "exec-file" command.
[EDIT: This is both the output from Terminal and the contents of the logfile I created.]
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Crash - Launch a new game - ZDoom for Linux

Post by Edward-san »

You don't need to use gdb. If you run the program as before, it should show a new crash report.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Re: Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

This one? Isn't it the same as the one above?

Code: Select all

*** Fatal Error ***
Integer divide by zero (signal 8)
Address: 0x826aa9d

System: Linux svart 2.6.38-9-generic #43-Ubuntu SMP Thu Apr 28 15:25:15 UTC 2011 i686 i686 i386 GNU/Linux

ZDoom version 2.5.0 (r3205) (May 13 2011)
Compiler version: 4.5.2

Command line: ./zdoom

Wad 0: zdoom.pk3
Wad 1: DOOM2.WAD

Current map: MAP01

viewx = 0
viewy = 0
viewz = 0
viewangle = 0

Executing: gdb --quiet --batch --command=gdb-respfile-S7BR8U
[Thread debugging using libthread_db enabled]
[New Thread 0x77f0b70 (LWP 2049)]
[New Thread 0x35f0b70 (LWP 2048)]
[New Thread 0x2250b70 (LWP 2047)]
[New Thread 0x1a3bb70 (LWP 2018)]
0x006a5416 in __kernel_vsyscall ()

* Loaded Libraries
From        To          Syms Read   Shared Object Library
0x00175ac0  0x00418418  Yes (*)     /usr/lib/libgtk-x11-2.0.so.0
0x00936c50  0x00993b88  Yes (*)     /usr/lib/libgdk-x11-2.0.so.0
0x00708190  0x007157b8  Yes (*)     /usr/lib/i386-linux-gnu/libatk-1.0.so.0
0x005add20  0x00668878  Yes (*)     /usr/lib/i386-linux-gnu/libgio-2.0.so.0
0x00501f90  0x0051ee58  Yes (*)     /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
0x00528650  0x0052d9a8  Yes (*)     /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
0x00e4ee30  0x00e621d8  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x007273f0  0x007bc498  Yes (*)     /usr/lib/libcairo.so.2
0x0053a640  0x0055bfe8  Yes (*)     /usr/lib/i386-linux-gnu/libpango-1.0.so.0
0x0083e6e0  0x008a5ed8  Yes (*)     /usr/lib/i386-linux-gnu/libfreetype.so.6
0x00fbe030  0x00fd9758  Yes (*)     /usr/lib/i386-linux-gnu/libfontconfig.so.1
0x006ad6f0  0x006e15f8  Yes (*)     /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
0x00571c40  0x00572d78  Yes (*)     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
0x00d60f60  0x00d62678  Yes (*)     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
0x00e6c8c0  0x00e70578  Yes (*)     /lib/i386-linux-gnu/librt.so.1
0x009cd790  0x00a466a8  Yes (*)     /lib/i386-linux-gnu/libglib-2.0.so.0
0x00b2ca30  0x00b80338  Yes (*)     /usr/lib/libSDL-1.2.so.0
0x00d98610  0x00da49d8  Yes (*)     /lib/i386-linux-gnu/libpthread.so.0
0x00f91760  0x00f9ec98  Yes (*)     /lib/i386-linux-gnu/libz.so.1
0x007d2ea0  0x007ecc48  Yes (*)     /usr/lib/i386-linux-gnu/libjpeg.so.62
0x010556e0  0x01137678  Yes (*)     /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
0x00bf72e0  0x00c68d08  Yes (*)     /usr/lib/i386-linux-gnu/libstdc++.so.6
0x007ff4b0  0x00819b38  Yes (*)     /lib/i386-linux-gnu/libm.so.6
0x008bff50  0x008d6418  Yes (*)     /lib/i386-linux-gnu/libgcc_s.so.1
0x0370dc10  0x038181c4  Yes (*)     /lib/i386-linux-gnu/libc.so.6
0x00e85120  0x00f13d98  Yes (*)     /usr/lib/i386-linux-gnu/libX11.so.6
0x00e35860  0x00e363e8  Yes (*)     /usr/lib/i386-linux-gnu/libXcomposite.so.1
0x005777b0  0x005781e8  Yes (*)     /usr/lib/i386-linux-gnu/libXdamage.so.1
0x0057ce40  0x0057f2c8  Yes (*)     /usr/lib/i386-linux-gnu/libXfixes.so.3
0x006945b0  0x0069eb58  Yes (*)     /usr/lib/i386-linux-gnu/libXext.so.6
0x005832a0  0x005890d8  Yes (*)     /usr/lib/i386-linux-gnu/libXrender.so.1
0x006a1750  0x006a21f8  Yes (*)     /usr/lib/i386-linux-gnu/libXinerama.so.1
0x006ee7e0  0x006f8b48  Yes (*)     /usr/lib/i386-linux-gnu/libXi.so.6
0x007f20e0  0x007f6bc8  Yes (*)     /usr/lib/i386-linux-gnu/libXrandr.so.2
0x00823a80  0x00829088  Yes (*)     /usr/lib/i386-linux-gnu/libXcursor.so.1
0x006fca40  0x006fd998  Yes (*)     /lib/i386-linux-gnu/libdl.so.2
0x008daf40  0x00904c08  Yes (*)     /lib/i386-linux-gnu/libpcre.so.3
0x00a94630  0x00aa0828  Yes (*)     /lib/i386-linux-gnu/libresolv.so.2
0x00aaaec0  0x00abc468  Yes (*)     /lib/i386-linux-gnu/libselinux.so.1
0x00db0b10  0x00e12b08  Yes (*)     /usr/lib/libpixman-1.so.0
0x00ac57a0  0x00ae14e8  Yes (*)     /lib/i386-linux-gnu/libpng12.so.0
0x00e41730  0x00e41ff8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-shm.so.0
0x0082e330  0x00831628  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-render.so.0
0x00aedab0  0x00afc7f8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb.so.1
0x00c9ff40  0x00cb9568  Yes (*)     /lib/i386-linux-gnu/libexpat.so.1
0x00b0a830  0x00b214af  Yes (*)     /lib/ld-linux.so.2
0x00919ef0  0x0091b358  Yes (*)     /usr/lib/libpulse-simple.so.0
0x00cf57e0  0x00d24e88  Yes (*)     /usr/lib/libpulse.so.0
0x0091e9c0  0x0091f748  Yes (*)     /usr/lib/i386-linux-gnu/libXau.so.6
0x00b00ca0  0x00b028a8  Yes (*)     /usr/lib/i386-linux-gnu/libXdmcp.so.6
0x05aabfa0  0x05adf578  Yes (*)     /usr/lib/libpulsecommon-0.9.22.so
0x007f9390  0x007f94b8  Yes (*)     /usr/lib/i386-linux-gnu/libX11-xcb.so.1
0x00ccafc0  0x00cda6c8  Yes (*)     /usr/lib/i386-linux-gnu/libICE.so.6
0x00ce1410  0x00ce5908  Yes (*)     /usr/lib/i386-linux-gnu/libSM.so.6
0x00d2fe70  0x00d32a38  Yes (*)     /usr/lib/libXtst.so.6
0x00ce94d0  0x00ce9bb8  Yes (*)     /usr/lib/libxcb-atom.so.1
0x0256bd30  0x0259aa98  Yes (*)     /lib/i386-linux-gnu/libdbus-1.so.3
0x00d36ed0  0x00d3b028  Yes (*)     /lib/libwrap.so.0
0x028e43a0  0x02933698  Yes (*)     /usr/lib/libsndfile.so.1
0x00d3eec0  0x00d40b18  Yes (*)     /lib/i386-linux-gnu/libuuid.so.1
0x00d4b130  0x00d57c08  Yes (*)     /lib/i386-linux-gnu/libnsl.so.1
0x06a3e1e0  0x06a7cf58  Yes (*)     /usr/lib/libFLAC.so.8
0x04e82b20  0x04e84f78  Yes (*)     /usr/lib/libvorbisenc.so.2
0x00d66f70  0x00d7b8c8  Yes (*)     /usr/lib/libvorbis.so.0
0x00d8d500  0x00d8fd98  Yes (*)     /usr/lib/libogg.so.0
0x00e29e30  0x00e2ea28  Yes (*)     /lib/i386-linux-gnu/libnss_compat.so.2
0x00fea930  0x00ff0a68  Yes (*)     /lib/i386-linux-gnu/libnss_nis.so.2
0x09872a90  0x09879fe8  Yes (*)     /lib/i386-linux-gnu/libnss_files.so.2
0x00fa7710  0x00faca38  Yes (*)     /usr/lib/liboverlay-scrollbar-0.1.so.0
0x00e465f0  0x00e48718  Yes (*)     /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
0x001203d0  0x00121918  Yes (*)     /usr/lib/libcanberra-gtk.so.0
0x06fe1f30  0x06febe28  Yes (*)     /usr/lib/libcanberra.so.0
0x00fb0570  0x00fb55c8  Yes (*)     /usr/lib/libvorbisfile.so.3
0x02b748e0  0x02b7f458  Yes (*)     /usr/lib/libtdb.so.1
0x0907a710  0x0907f018  Yes (*)     /usr/lib/libltdl.so.7
0x0120fe60  0x01236db8  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
0x08abb740  0x08ac0628  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
0x02decad0  0x02decfe8  Yes (*)     /usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
0x04c405e0  0x04c40b68  Yes (*)     /home/nero/trunk/release/liboutput_sdl.so
0x06471010  0x06507cb8  Yes (*)     /usr/lib/libasound.so
0x040697d0  0x0406bbb8  Yes (*)     /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
(*): Shared library is missing debugging information.

* Threads
  5 Thread 0x1a3bb70 (LWP 2018)  0x006a5416 in __kernel_vsyscall ()
  4 Thread 0x2250b70 (LWP 2047)  0x006a5416 in __kernel_vsyscall ()
  3 Thread 0x35f0b70 (LWP 2048)  0x006a5416 in __kernel_vsyscall ()
  2 Thread 0x77f0b70 (LWP 2049)  0x006a5416 in __kernel_vsyscall ()
* 1 Thread 0xb07c40 (LWP 2017)  0x006a5416 in __kernel_vsyscall ()

* FPU Status
  R7: Empty   0x00000000000000000000
  R6: Empty   0x00000000000000000000
  R5: Empty   0x00000000000000000000
  R4: Empty   0x00000000000000000000
  R3: Empty   0x00000000000000000000
  R2: Empty   0x00000000000000000000
  R1: Empty   0x00000000000000000000
=>R0: Empty   0x00000000000000000000

Status Word:         0x0000                                            
                       TOP: 0
Control Word:        0x037f   IM DM ZM OM UM PM
                       PC: Extended Precision (64-bits)
                       RC: Round to nearest
Tag Word:            0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer:     0x00:0x00000000
Opcode:              0x0000

* Registers
eax            0xfffffe00	-512
ecx            0x856eefc	139915004
edx            0x0	0
ebx            0x820	2080
esp            0x856eeb0	0x856eeb0
ebp            0x856ef18	0x856ef18
esi            0x820	2080
edi            0x856eefc	139915004
eip            0x6a5416	0x6a5416 <__kernel_vsyscall+2>
eflags         0x293	[ CF AF SF IF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51

* Backtrace

Thread 5 (Thread 0x1a3bb70 (LWP 2018)):
#0  0x006a5416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00da1d46 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x00b7fb8e in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0x00b7fbd4 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0x00b35e4e in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x00b7d12d in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#6  0x00d99e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7  0x037c773e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x2250b70 (LWP 2047)):
#0  0x006a5416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x037b8f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00d1d4a2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x00d0c3a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4  0x00d0cb84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5  0x00d0cc64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6  0x00d1d443 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7  0x05adca75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
No symbol table info available.
#8  0x00d99e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#9  0x037c773e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x35f0b70 (LWP 2048)):
#0  0x006a5416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x037b8f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x06499b8f in ?? () from /usr/lib/libasound.so
No symbol table info available.
#3  0x06499d63 in snd_pcm_wait () from /usr/lib/libasound.so
No symbol table info available.
#4  0x0649ffa0 in ?? () from /usr/lib/libasound.so
No symbol table info available.
#5  0x064e318a in ?? () from /usr/lib/libasound.so
No symbol table info available.
#6  0x06498ac4 in snd_pcm_writei () from /usr/lib/libasound.so
No symbol table info available.
#7  0x010b05d7 in FMOD::OutputALSA::updateMixer() () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#8  0x010aac8d in FMOD::Thread::callback(void*) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#9  0x00d99e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x037c773e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x77f0b70 (LWP 2049)):
#0  0x006a5416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0378ffe6 in nanosleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x037c11ac in usleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3  0x010ac7e5 in FMOD_OS_Time_Sleep(unsigned int) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#4  0x010aaca3 in FMOD::Thread::callback(void*) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#5  0x00d99e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#6  0x037c773e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb07c40 (LWP 2017)):
#0  0x006a5416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00da246b in waitpid () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x08111aac in _start ()
No symbol table info available.
Attachments
zdoom-crashlog.txt
(11.77 KiB) Downloaded 27 times
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Crash - Launch a new game - ZDoom for Linux

Post by Edward-san »

Code: Select all

0x04c405e0  0x04c40b68  Yes (*)     /home/nero/trunk/release/liboutput_sdl.so
You're using release build! You should compile and run the program in the "debug" folder, as wiki says.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Re: Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

The debug program thing or Zdoom itself?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Crash - Launch a new game - ZDoom for Linux

Post by Edward-san »

Zdoom itself.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Re: Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

From this page?

I did everything it said under Debugging, I'm sorry I am confused.. I'm not very familiar with compiling and debugging. Can I just move the files from the Release dir? Or do I have to download Zdoom again and compile it into that folder? Or can I just put the Wads in there?? :?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Crash - Launch a new game - ZDoom for Linux

Post by Edward-san »

Yes, from that page. For our purpose, you can stop reading after this sentence:
After CMake is done, run make as usual.
After you did "make", the new executable should be in the "debug" folder. Copy your wads there, then run Zdoom itself like this: ./zdoom
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Crash - Launch a new game - ZDoom for Linux

Post by Edward-san »

Still nothing?
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Re: Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

Sorry, Constitution Day here in Norway. :p

Running make in the Debug folder now. I don't think I've seen this output before though.

Code: Select all

/home/nero/trunk/src/p_acs.cpp: In member function ‘int DLevelScript::RunScript()’:
/home/nero/trunk/src/p_acs.cpp:5030:37: warning: unknown conversion type character ‘B’ in format
/home/nero/trunk/src/p_acs.cpp:5030:37: warning: too many arguments for format
That usual? I will post when make is done and I have copied the Wads.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Re: Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

LOL!

The game now works in the Debug folder. :D
I tried launching a new game in Doom 2 and it worked! Thanks a lot.

Can I now move the game from the debug folder to a more convenient place like ~/.zdoom/? Also I would like to make a shortcut for it and launch it from the Gnome menu like my other games. Can I do this? I have tried but didn't work.

Cool! 'Least I can play now! :D :D :D

EDIT:
I already have a folder in my /home/user dir called .zdoom. It contained zdoom.ini and now also includes my savegames. :? :? :?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Crash - Launch a new game - ZDoom for Linux

Post by Edward-san »

... what an elusive bug ...

try this: in release build, try to pass -DNO_ASM=1 to cmake, then recompile and make crash zdoom, if you can.

well, about shortcuts and these related things, I don't know, because I'm fine just using the terminal.

[edit]
nerotriple6 wrote:

Code: Select all

/home/nero/trunk/src/p_acs.cpp: In member function ‘int DLevelScript::RunScript()’:
/home/nero/trunk/src/p_acs.cpp:5030:37: warning: unknown conversion type character ‘B’ in format
/home/nero/trunk/src/p_acs.cpp:5030:37: warning: too many arguments for format
That usual?
Yeah, it's pretty known.
Last edited by Edward-san on Tue May 17, 2011 2:53 pm, edited 1 time in total.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

Re: Crash - Launch a new game - ZDoom for Linux

Post by nerotriple6 »

Edward-san wrote:... what an elusive bug ...

try this: in release build, try to pass -DNO_ASM=1 to cmake, then recompile and make crash zdoom, if you can.

well, about shortcuts and these related things, I don't know, because I'm fine just using the terminal.
Shortcut and these things are not important.

Can you post the specific command for DNO etc?
Just cmake -DNO_ASM=1 in the CLI within release dir?

Code: Select all

nero@svart:~/trunk/release$ cmake -DNO_ASM=1
CMake Error: The source directory "/home/nero/trunk/release" does not appear to contain CMakeLists.txt.
Post Reply

Return to “Closed Bugs [GZDoom]”