[2.2.0] Crash: on Slackware Linux 12.1

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.
Post Reply
jsmith6
Posts: 6
Joined: Fri May 02, 2008 5:05 pm

[2.2.0] Crash: on Slackware Linux 12.1

Post by jsmith6 »

Error messages and logs are located at the end of post. I followed the guide from the Wiki and compiled Zdoom on Slackware 12.1. I have the stock libraries of my distribution:

Code: Select all

gcc 4.2.3
flac 1.2.1
libsdl 1.2.13
libjpeg 6b
nasm 0.98.39
I placed zdoomd, zdoom.pk3 and doom.wad (from Ultimate Doom) in a directory and executed ./zdoomd. I saw some text scroll, the screen went black, for a second there was a small window that spawned and then it crashed.

When I got back to X, my resolution changed to 640x480. I was able to copy-paste what was printed on the console [2].

First I compiled with just Make -f Makefile.linux and then with make -f Makefile.linux DEBUG=1 NOASM=1. Both times I got a zdoom-crash.log [1] which I think had the same information.

After that I tried running zdoomd --version out of curiocity and I managed to see the Ultimate Doom title but I couldn't do anything with the keyboard. After that I thought that the game didn't run because I need to supply additional parameters so I did this:

Code: Select all

zdoomd -width 640 -height 480 -iwad doom.wad -bits 8
But again it crashed.

I think what I am doing now is called bug report (I haven't bug reported again in the past) but if there is anything I can do to make it work then please tell me.

Thanks!

===

[1] Here is what zdoom-crash.log had inside:

Code: Select all

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x4d0

System: Linux darkstar 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 Intel(R) Pentium(R) 4 CPU 1500MHz GenuineIntel GNU/Linux
GCC version: 4.2.3
[2] And here is what I copied from the console:

Code: Select all

ZDoom v2.2.0 - SVN revision 748 - SDL version
Compiled on Jun 16 2008

M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding /home/alek/z/zdoom.pk3
 adding ./doom.wad (2306 lumps)
I_Init: Setting up machine state.
I_InitSound: Initializing FMOD
  Setting OSS (Open Sound System) output succeeded
  Setting driver 0 succeeded
  Initialization succeeded
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
P_Init: Checking cmd-line parameters...
G_ParseMapInfo: Load map definitions.
S_InitData: Load sound definitions.
TEAMINFO_Init: Load team definitions.
LoadDecorations: Load external actors.
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init miscellaneous info.
P_Init: Init Playloop state.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Resolution: 640 x 480
zdoomd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.


*** Fatal Error ***
Address not mapped to object (signal 11)

Generating zdoom-crash.log and killing process 28616, please wait... *** glibc detected *** ./zdoomd: double free or corruption (fasttop): 0x08492928 ***
======= Backtrace: =========
/lib/libc.so.6[0xb75998c4]
/lib/libc.so.6(cfree+0x90)[0xb759d370]
/usr/lib/libSDL-1.2.so.0(SDL_DestroyMutex+0x2e)[0xb7df47ce]
/usr/lib/libSDL-1.2.so.0[0xb7da6c2c]
/usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x26)[0xb7dcb876]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x64)[0xb7da0d04]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0x1e)[0xb7da0d7e]
./zdoomd[0x8242690]
./zdoomd[0x826eafb]
[0xffffe440]
/usr/lib/libSDL-1.2.so.0[0xb7ddef76]
/usr/lib/libSDL-1.2.so.0[0xb7ddefee]
/usr/lib/libSDL-1.2.so.0[0xb7dcadc7]
/usr/lib/libSDL-1.2.so.0[0xb7dcae8c]
/usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x4a)[0xb7dcb89a]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x64)[0xb7da0d04]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0x1e)[0xb7da0d7e]
./zdoomd[0x82425fb]
/lib/libc.so.6(exit+0xd4)[0xb755bc24]
/usr/lib/libgdk-x11-2.0.so.0[0xb79c5705]
/usr/lib/libSDL-1.2.so.0[0xb7ddbdcd]
/usr/lib/libX11.so.6(_XIOError+0x52)[0xb7479cb2]
/usr/lib/libX11.so.6(_XReply+0x351)[0xb74817a1]
/usr/lib/libX11.so.6(XSync+0x6a)[0xb74757ba]
/usr/lib/libSDL-1.2.so.0[0xb7dd8c42]
/usr/lib/libSDL-1.2.so.0(SDL_UpdateRects+0x1a5)[0xb7dcbb55]
/usr/lib/libSDL-1.2.so.0(SDL_UpdateRect+0x74)[0xb7dcbca4]
/usr/lib/libSDL-1.2.so.0(SDL_Flip+0x80)[0xb7dcc150]
./zdoomd[0x8244b62]
./zdoomd[0x80782c7]
./zdoomd[0x8078b33]
./zdoomd[0x807a02c]
./zdoomd[0x8242ba9]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7544390]
./zdoomd(__gxx_personality_v0+0x3e5)[0x804e221]
======= Memory map: ========
08048000-0831b000 r-xp 00000000 03:02 108405     /home/alek/z/zdoomd
0831b000-0834a000 rw-p 002d3000 03:02 108405     /home/alek/z/zdoomd
0834a000-08639000 rw-p 0834a000 00:00 0          [heap]
b57a2000-b58ce000 rw-s 00000000 00:08 59211792   /SYSV00000000 (deleted)
b58ce000-b58cf000 ---p b58ce000 00:00 0 
b58cf000-b60ce000 rwxp b58cf000 00:00 0 
b60ce000-b60cf000 ---p b60ce000 00:00 0 
b60cf000-b68ce000 rwxp b60cf000 00:00 0 
b68ce000-b68cf000 ---p b68ce000 00:00 0 
b68cf000-b70ce000 rwxp b68cf000 00:00 0 
b70ce000-b7108000 rw-p b7108000 00:00 0 
b71a5000-b71c7000 rw-p b71a5000 00:00 0 
b71c7000-b71d0000 r-xp 00000000 03:02 3088463    /lib/libnss_files-2.7.so
b71d0000-b71d2000 rw-p 00008000 03:02 3088463    /lib/libnss_files-2.7.so
b71d2000-b71e6000 r-xp 00000000 03:02 3088460    /lib/libnsl-2.7.so
b71e6000-b71e8000 rw-p 00013000 03:02 3088460    /lib/libnsl-2.7.so
b71e8000-b71ea000 rw-p b71e8000 00:00 0 
b7207000-b7209000 rw-p b7207000 00:00 0 
b7209000-b7248000 r--p 00000000 03:02 1009816    /usr/lib/locale/en_US.utf8/LC_CTYPE
b7248000-b724a000 rw-p b7248000 00:00 0 
b724a000-b724e000 r-xp 00000000 03:02 3254193    /usr/lib/libXdmcp.so.6.0.0
b724e000-b724f000 rw-p 00003000 03:02 3254193    /usr/lib/libXdmcp.so.6.0.0
b724f000-b7250000 rw-p b724f000 00:00 0 
b7250000-b726e000 r-xp 00000000 03:02 581721     /usr/lib/libexpat.so.1.5.2
b726e000-b7270000 rw-p 0001d000 03:02 581721     /usr/lib/libexpat.so.1.5.2
b7270000-b7272000 r-xp 00000000 03:02 3254161    /usr/lib/libXau.so.6.0.0
b7272000-b7273000 rw-p 00001000 03:02 3254161    /usr/lib/libXau.so.6.0.0
b7273000-b7289000 r-xp 00000000 03:02 3254348    /usr/lib/libxcb.so.1.0.0
b7289000-b728a000 rw-p 00016000 03:02 3254348    /usr/lib/libxcb.so.1.0.0
b728a000-b728b000 r-xp 00000000 03:02 3254356    /usr/lib/libxcb-xlib.so.0.0.0
b728b000-b728c000 rw-p 00000000 03:02 3254356    /usr/lib/libxcb-xlib.so.0.0.0
b728c000-b728d000 rw-p b728c000 00:00 0 
b728d000-b72c7000 r-xp 00000000 03:02 3253744    /usr/lib/libpng12.so.0.1.2.27
b72c7000-b72c8000 rw-p 0003a000 03:02 3253744    /usr/lib/libpng12.so.0.1.2.27
b72c8000-b7332000 r-xp 00000000 03:02 581715     /usr/lib/libfreetype.so.6.3.16
b7332000-b7336000 rw-p 00069000 03:02 581715     /usr/lib/libfreetype.so.6.3.16
b7336000-b735c000 r-xp 00000000 03:02 3253806    /usr/lib/libpangoft2-1.0.so.0.2000.0
b735c000-b735d000 rw-p 00026000 03:02 3253806    /usr/lib/libpangoft2-1.0.so.0.2000.0
b735d000-b7365000 r-xp 00000000 03:02 3254185    /usr/lib/libXcursor.so.1.0.2
b7365000-b7366000 rw-p 00007000 03:02 3254185    /usr/lib/libXcursor.so.1.0.2
b7366000-b736d000 r-xp 00000000 03:02 3254221    /usr/lib/libXi.so.6.0.0
b736d000-b736e000 rw-p 00006000 03:02 3254221    /usr/lib/libXi.so.6.0.0
b736e000-b736f000 rw-p b736e000 00:00 0 
b736f000-b7371000 r-xp 00000000 03:02 3254226    /usr/lib/libXinerama.so.1.0.0
b7371000-b7372000 rw-p 00001000 03:02 3254226    /usr/lib/libXinerama.so.1.0.0
b7372000-b7395000 r-xp 00000000 03:02 3254130    /usr/lib/libfontconfig.so.1.2.0
b7395000-b739d000 rw-p 00022000 03:02 3254130    /usr/lib/libfontconfig.so.1.2.0
b739d000-b73a1000 r-xp 00000000 03:02 3254205    /usr/lib/libXfixes.so.3.1.0
b73a1000-b73a2000 rw-p 00003000 03:02 3254205    /usr/lib/libXfixes.so.3.1.0
b73a2000-b73a4000 r-xp 00000000 03:02 3254189    /usr/lib/libXdamage.so.1.1.0
b73a4000-b73a5000 rw-p 00001000 03:02 3254189    /usr/lib/libXdamage.so.1.1.0
b73a5000-b73a7000 r-xp 00000000 03:02 3254182    /usr/lib/libXcomposite.so.1.0.0
b73a7000-b73a8000 rw-p 00001000 03:02 3254182    /usr/lib/libXcomposite.so.1.0.0
b73a8000-b73a9000 rw-p b73a8000 00:00 0 
b73a9000-b7407000 r-xp 00000000 03:02 581725     /usr/lib/libvga.so.1.9.25
b7407000-b740d000 rw-p 0005d000 03:02 581725     /usr/lib/libvga.so.1.9.25
b740d000-b7425000 rw-p b740d000 00:00 0 
b7425000-b742c000 r-xp 00000000 03:02 3254257    /usr/lib/libXrender.so.1.3.0
b742c000-b742d000 rw-p 00006000 03:02 3254257    /usr/lib/libXrender.so.1.3.0
b742d000-b7432000 r-xp 00000000 03:02 3254254    /usr/lib/libXrandr.so.2.1.0
b7432000-b7433000 rw-p 00004000 03:02 3254254    /usr/lib/libXrandr.so.2.1.0
b7433000-b7440000 r-xp 00000000 03:02 3254201    /usr/lib/libXext.so.6.4.0
b7440000-b7441000 rw-p 0000c000 03:02 3254201    /usr/lib/libXext.so.6.4.0
b7441000-b7524000 r-xp 00000000 03:02 3254145    /usr/lib/libX11.so.6.2.0
b7524000-b7528000 rw-p 000e2000 03:02 3254145    /usr/lib/libX11.so.6.2.0
b7528000-b7529000 rw-p b7528000 00:00 0 
b7529000-b752d000 r-xp 00000000 03:02 3253739    /usr/lib/libogg.so.0.5.3
b752d000-b752e000 rw-p 00003000 03:02 3253739    /usr/lib/libogg.so.0.5.3
b752e000-b7674000 r-xp 00000000 03:02 3088454    /lib/libc-2.7.so
b7674000-b7675000 r--p 00146000 03:02 3088454    /lib/libc-2.7.so
b7675000-b7677000 rw-p 00147000 03:02 3088454    /lib/libc-2.7.so
b7677000-b767a000 rw-p b7677000 00:00 0 
b767a000-b7684000 r-xp 00000000 03:02 581730     /usr/lib/libgcc_s.so.1
b7684000-b7685000 rw-p 00009000 03:02 581730     /usr/lib/libgcc_s.so.1
b7685000-b76a9000 r-xp 00000000 03:02 3088458    /lib/libm-2.7.so
b76a9000-b76ab000 rw-p 00023000 03:02 3088458    /lib/libm-2.7.so
b76ab000-b7786000 r-xp 00000000 03:02 583814     /usr/lib/libstdc++.so.6.0.9
b7786000-b778a000 r--p 000da000 03:02 583814     /usr/lib/libstdc++.so.6.0.9
b778a000-b778b000 rw-p 000de000 03:02 583814     /usr/lib/libstdc++.so.6.0.9
b778b000-b7791000 rw-p b778b000 00:00 0 
b7791000-b784c000 r-xp 00000000 03:02 581744     /usr/lib/libglib-2.0.so.0.1400.6
b784c000-b784d000 rw-p 000bb000 03:02 581744     /usr/lib/libglib-2.0.so.0.1400.6
b784d000-b784e000 rw-p b784d000 00:00 0 
b784e000-b7850000 r-xp 00000000 03:02 3088457    /lib/libdl-2.7.so
b7850000-b7852000 rw-p 00001000 03:02 3088457    /lib/libdl-2.7.so
b7852000-b7854000 r-xp 00000000 03:02 581728     /usr/lib/libgmodule-2.0.so.0.1400.6
b7854000-b7855000 rw-p 00002000 03:02 581728     /usr/lib/libgmodule-2.0.so.0.1400.6
b7855000-b788d000 r-xp 00000000 03:02 581727     /usr/lib/libgobject-2.0.so.0.1400.6
b788d000-b788e000 rw-p 00038000 03:02 581727     /usr/lib/libgobject-2.0.so.0.1400.6
b788e000-b7902000 r-xp 00000000 03:02 3253493    /usr/lib/libcairo.so.2.11.7
b7902000-b7904000 rw-p 00073000 03:02 3253493    /usr/lib/libcairo.so.2.11.7
b7904000-b793e000 r-xp 00000000 03:02 3253810    /usr/lib/libpango-1.0.so.0.2000.0
b793e000-b7940000 rw-p 00039000 03:02 3253810    /usr/lib/libpango-1.0.so.0.2000.0
b7940000-b7948000 r-xp 00000000 03:02 3253809    /usr/lib/libpangocairo-1.0.so.0.2000.0
b7948000-b7949000 rw-p 00008000 03:02 3253809    /usr/lib/libpangocairo-1.0.so.0.2000.0
b7949000-b794a000 rw-p b7949000 00:00 0 
b794a000-b7960000 r-xp 00000000 03:02 589311     /usr/lib/libgdk_pixbuf-2.0.so.0.1200.9
b7960000-b7961000 rw-p 00016000 03:02 589311     /usr/lib/libgdk_pixbuf-2.0.so.0.1200.9
b7961000-b7978000 r-xp 00000000 03:02 588730     /usr/lib/libatk-1.0.so.0.2209.1
b7978000-b797a000 rw-p 00017000 03:02 588730     /usr/lib/libatk-1.0.so.0.2209.1
b797a000-b79f9000 r-xp 00000000 03:02 589310     /usr/lib/libgdk-x11-2.0.so.0.1200.9
b79f9000-b79fc000 rw-p 0007e000 03:02 589310     /usr/lib/libgdk-x11-2.0.so.0.1200.9
b79fc000-b7d5b000 rSegmentation fault
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49237
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by Graf Zahl »

Unfortunately the crash log is completely useless because the crash happens deep inside SDL. There is no way this could be tied to something that is done by ZDoom.
jsmith6
Posts: 6
Joined: Fri May 02, 2008 5:05 pm

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by jsmith6 »

Am I out of luck? :-/

Is there anything I can do to get a more meaningful crash log?

Sometimes I hear people suggesting to use a debuger. I haven't done this before but I can try. Or perhaps I could try to re-compile SDL with different options? Or a newer (or older) version of SDL?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49237
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by Graf Zahl »

You can certainly try - but looking at the crash log and the place where it crashes it is unlikely that ZDoom itself causes the crash. I suspect some system related issue.
Catoptromancy
Posts: 45
Joined: Mon Oct 09, 2006 10:16 am

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by Catoptromancy »

bash-3.1$ sdl-config --version
1.2.12

Mine works fine.
I just use $make DEBUG=1 and ./zdoomd
jsmith6
Posts: 6
Joined: Fri May 02, 2008 5:05 pm

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by jsmith6 »

I have SDL 1.2.13 it is configured/compiled with the following options:

Code: Select all

# We must use --disable-x11-shared or programs linked with SDL will
# crash on machines that use the closed source nVidia drivers.

./configure --prefix=/usr --mandir=/usr/man --enable-shared=yes --enable-static=no --disable-x11-shared
So, I must contact the SDL developers? Or start trying different compile options?

I have never actually managed to run Zdoom at all on Linux, call it bad luck :-P Even with SDL 1.2.12, which was the stock for the previous version of my distribution.

I got a somewhat diffferent error when running Zdoom with the nv driver instead of the nvidia one. But I guess posting that would help eh?
Catoptromancy
Posts: 45
Joined: Mon Oct 09, 2006 10:16 am

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by Catoptromancy »

I just configure SDL and SDLmixer with ./configure.
/usr/local/ is default directory and works for nearly everything.
nv driver should work.
jsmith6
Posts: 6
Joined: Fri May 02, 2008 5:05 pm

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by jsmith6 »

I was able to run Zdoom for Win32 under Wine. Yeeey! There is only small glitch when I run it in fullscreen but that's another issue.
lost_password wrote:nv driver should work.
Are you able to run Zdoom with just the "nv" driver, without 3D acceleration? I can't. Tried it with the Win32 version inside Wine and it complained about GL.

I re-compiled SDL without the the "--disable-x11-shared" switch. I run Zdoom again and got a crash. Then I compiled SDL again with just a ./configure and got a somewhat different error.

Is this the point where I need to contact the SDL developers?

I am including the errors at just in case they can give any pointers in comparison with the previous error messages.


---

zdoom-crash.log when running zdoomd with the SDL compiled with ./configure --prefix=/usr --mandir=/usr/man --enable-shared=yes --enable-static=no

Code: Select all

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x4d0

System: Linux darkstar 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 Intel(R) Pentium(R) 4 CPU 1500MHz GenuineIntel GNU/Linux
GCC version: 4.2.3
---

Console message when running zdoomd with the SDL compiled with ./configure --prefix=/usr --mandir=/usr/man --enable-shared=yes --enable-static=no

Code: Select all

./zdooalek@darkstar:~/junk/z$ ./zdoomd
ZDoom v2.2.0 - SVN revision 748 - SDL version
Compiled on Jun 16 2008

M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding /home/alek/stuff/junk/z/zdoom.pk3
 adding ./doom.wad (2306 lumps)
I_Init: Setting up machine state.
I_InitSound: Initializing FMOD
  Setting OSS (Open Sound System) output succeeded
  Setting driver 0 succeeded
  Initialization succeeded
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
P_Init: Checking cmd-line parameters...
G_ParseMapInfo: Load map definitions.
S_InitData: Load sound definitions.
TEAMINFO_Init: Load team definitions.
LoadDecorations: Load external actors.
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init miscellaneous info.
P_Init: Init Playloop state.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Resolution: 640 x 480
zdoomd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.


*** Fatal Error ***
Address not mapped to object (signal 11)

Generating zdoom-crash.log and killing process 5113, please wait... *** glibc detected *** ./zdoomd: double free or corruption (fasttop): 0x08492a88 ***
======= Backtrace: =========
/lib/libc.so.6[0xb75b48c4]
/lib/libc.so.6(cfree+0x90)[0xb75b8370]
/usr/lib/libSDL-1.2.so.0(SDL_DestroyMutex+0x2e)[0xb7e10a2e]
/usr/lib/libSDL-1.2.so.0[0xb7dbfcac]
/usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x26)[0xb7de48c6]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x64)[0xb7db9d84]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0x1e)[0xb7db9dfe]
./zdoomd[0x8242690]
./zdoomd[0x826eafb]
[0xffffe440]
/usr/lib/libSDL-1.2.so.0[0xb7defd45]
/usr/lib/libSDL-1.2.so.0[0xb7dfb1d6]
/usr/lib/libSDL-1.2.so.0[0xb7dfb24e]
/usr/lib/libSDL-1.2.so.0[0xb7de3e17]
/usr/lib/libSDL-1.2.so.0[0xb7de3edc]
/usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x4a)[0xb7de48ea]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x64)[0xb7db9d84]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0x1e)[0xb7db9dfe]
./zdoomd[0x82425fb]
/lib/libc.so.6(exit+0xd4)[0xb7576c24]
/usr/lib/libgdk-x11-2.0.so.0[0xb79e0705]
/usr/lib/libSDL-1.2.so.0[0xb7df802d]
/usr/lib/libX11.so.6(_XIOError+0x52)[0xb7418cb2]
/usr/lib/libX11.so.6(_XReply+0x351)[0xb74207a1]
/usr/lib/libX11.so.6(XSync+0x6a)[0xb74147ba]
/usr/lib/libSDL-1.2.so.0[0xb7defce5]
/usr/lib/libSDL-1.2.so.0[0xb7df4ea2]
/usr/lib/libSDL-1.2.so.0(SDL_UpdateRects+0x1a5)[0xb7de4ba5]
/usr/lib/libSDL-1.2.so.0(SDL_UpdateRect+0x74)[0xb7de4cf4]
/usr/lib/libSDL-1.2.so.0(SDL_Flip+0x80)[0xb7de51a0]
./zdoomd[0x8244b62]
./zdoomd[0x80782c7]
./zdoomd[0x8078b33]
./zdoomd[0x807a02c]
./zdoomd[0x8242ba9]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb755f390]
./zdoomd(__gxx_personality_v0+0x3e5)[0x804e221]
======= Memory map: ========
08048000-0831b000 r-xp 00000000 03:02 106502     /home/alek/stuff/junk/z/zdoomd
0831b000-0834a000 rw-p 002d3000 03:02 106502     /home/alek/stuff/junk/z/zdoomd
0834a000-08639000 rw-p 0834a000 00:00 0          [heap]
b57b4000-b58e0000 rw-s 00000000 00:08 44793868   /SYSV00000000 (deleted)
b58e0000-b58e1000 ---p b58e0000 00:00 0 
b58e1000-b60e0000 rwxp b58e1000 00:00 0 
b60e0000-b60e1000 ---p b60e0000 00:00 0 
b60e1000-b68e0000 rwxp b60e1000 00:00 0 
b68e0000-b68e1000 ---p b68e0000 00:00 0 
b68e1000-b70e0000 rwxp b68e1000 00:00 0 
b70e0000-b711a000 rw-p b711a000 00:00 0 
b71b7000-b71d9000 rw-p b71b7000 00:00 0 
b71d9000-b71e2000 r-xp 00000000 03:02 3088463    /lib/libnss_files-2.7.so
b71e2000-b71e4000 rw-p 00008000 03:02 3088463    /lib/libnss_files-2.7.so
b71e4000-b71f8000 r-xp 00000000 03:02 3088460    /lib/libnsl-2.7.so
b71f8000-b71fa000 rw-p 00013000 03:02 3088460    /lib/libnsl-2.7.so
b71fa000-b71fc000 rw-p b71fa000 00:00 0 
b71fc000-b7203000 r-xp 00000000 03:02 3088461    /lib/libnss_compat-2.7.so
b7203000-b7205000 rw-p 00006000 03:02 3088461    /lib/libnss_compat-2.7.so
b7224000-b7263000 r--p 00000000 03:02 1009816    /usr/lib/locale/en_US.utf8/LC_CTYPE
b7263000-b7266000 rw-p b7263000 00:00 0 
b7266000-b726a000 r-xp 00000000 03:02 3254193    /usr/lib/libXdmcp.so.6.0.0
b726a000-b726b000 rw-p 00003000 03:02 3254193    /usr/lib/libXdmcp.so.6.0.0
b726b000-b726d000 r-xp 00000000 03:02 3254161    /usr/lib/libXau.so.6.0.0
b726d000-b726e000 rw-p 00001000 03:02 3254161    /usr/lib/libXau.so.6.0.0
b726e000-b728c000 r-xp 00000000 03:02 581721     /usr/lib/libexpat.so.1.5.2
b728c000-b728e000 rw-p 0001d000 03:02 581721     /usr/lib/libexpat.so.1.5.2
b728e000-b72a4000 r-xp 00000000 03:02 3254348    /usr/lib/libxcb.so.1.0.0
b72a4000-b72a5000 rw-p 00016000 03:02 3254348    /usr/lib/libxcb.so.1.0.0
b72a5000-b72a6000 r-xp 00000000 03:02 3254356    /usr/lib/libxcb-xlib.so.0.0.0
b72a6000-b72a7000 rw-p 00000000 03:02 3254356    /usr/lib/libxcb-xlib.so.0.0.0
b72a7000-b72a8000 rw-p b72a7000 00:00 0 
b72a8000-b72e2000 r-xp 00000000 03:02 3253744    /usr/lib/libpng12.so.0.1.2.27
b72e2000-b72e3000 rw-p 0003a000 03:02 3253744    /usr/lib/libpng12.so.0.1.2.27
b72e3000-b734d000 r-xp 00000000 03:02 581715     /usr/lib/libfreetype.so.6.3.16
b734d000-b7351000 rw-p 00069000 03:02 581715     /usr/lib/libfreetype.so.6.3.16
b7351000-b7377000 r-xp 00000000 03:02 3253806    /usr/lib/libpangoft2-1.0.so.0.2000.0
b7377000-b7378000 rw-p 00026000 03:02 3253806    /usr/lib/libpangoft2-1.0.so.0.2000.0
b7378000-b7380000 r-xp 00000000 03:02 3254185    /usr/lib/libXcursor.so.1.0.2
b7380000-b7381000 rw-p 00007000 03:02 3254185    /usr/lib/libXcursor.so.1.0.2
b7381000-b7382000 rw-p b7381000 00:00 0 
b7382000-b7387000 r-xp 00000000 03:02 3254254    /usr/lib/libXrandr.so.2.1.0
b7387000-b7388000 rw-p 00004000 03:02 3254254    /usr/lib/libXrandr.so.2.1.0
b7388000-b738f000 r-xp 00000000 03:02 3254221    /usr/lib/libXi.so.6.0.0
b738f000-b7390000 rw-p 00006000 03:02 3254221    /usr/lib/libXi.so.6.0.0
b7390000-b7392000 r-xp 00000000 03:02 3254226    /usr/lib/libXinerama.so.1.0.0
b7392000-b7393000 rw-p 00001000 03:02 3254226    /usr/lib/libXinerama.so.1.0.0
b7393000-b739a000 r-xp 00000000 03:02 3254257    /usr/lib/libXrender.so.1.3.0
b739a000-b739b000 rw-p 00006000 03:02 3254257    /usr/lib/libXrender.so.1.3.0
b739b000-b73a8000 r-xp 00000000 03:02 3254201    /usr/lib/libXext.so.6.4.0
b73a8000-b73a9000 rw-p 0000c000 03:02 3254201    /usr/lib/libXext.so.6.4.0
b73a9000-b73cc000 r-xp 00000000 03:02 3254130    /usr/lib/libfontconfig.so.1.2.0
b73cc000-b73d4000 rw-p 00022000 03:02 3254130    /usr/lib/libfontconfig.so.1.2.0
b73d4000-b73d5000 rw-p b73d4000 00:00 0 
b73d5000-b73d9000 r-xp 00000000 03:02 3254205    /usr/lib/libXfixes.so.3.1.0
b73d9000-b73da000 rw-p 00003000 03:02 3254205    /usr/lib/libXfixes.so.3.1.0
b73da000-b73dc000 r-xp 00000000 03:02 3254189    /usr/lib/libXdamage.so.1.1.0
b73dc000-b73dd000 rw-p 00001000 03:02 3254189    /usr/lib/libXdamage.so.1.1.0
b73dd000-b73df000 r-xp 00000000 03:02 3254182    /usr/lib/libXcomposite.so.1.0.0
b73df000-b73e0000 rw-p 00001000 03:02 3254182    /usr/lib/libXcomposite.so.1.0.0
b73e0000-b74c3000 r-xp 00000000 03:02 3254145    /usr/lib/libX11.so.6.2.0
b74c3000-b74c7000 rw-p 000e2000 03:02 3254145    /usr/lib/libX11.so.6.2.0
b74c7000-b7525000 r-xp 00000000 03:02 581725     /usr/lib/libvga.so.1.9.25
b7525000-b752b000 rw-p 0005d000 03:02 581725     /usr/lib/libvga.so.1.9.25
b752b000-b7544000 rw-p b752b000 00:00 0 
b7544000-b7548000 r-xp 00000000 03:02 3253739    /usr/lib/libogg.so.0.5.3
b7548000-b7549000 rw-p 00003000 03:02 3253739    /usr/lib/libogg.so.0.5.3
b7549000-b768f000 r-xp 00000000 03:02 3088454    /lib/libc-2.7.so
b768f000-b7690000 r--p 00146000 03:02 3088454    /lib/libc-2.7.so
b7690000-b7692000 rw-p 00147000 03:02 3088454    /lib/libc-2.7.so
b7692000-b7695000 rw-p b7692000 00:00 0 
b7695000-b769f000 r-xp 00000000 03:02 581730     /usr/lib/libgcc_s.so.1
b769f000-b76a0000 rw-p 00009000 03:02 581730     /usr/lib/libgcc_s.so.1
b76a0000-b76c4000 r-xp 00000000 03:02 3088458    /lib/libm-2.7.so
b76c4000-b76c6000 rw-p 00023000 03:02 3088458    /lib/libm-2.7.so
b76c6000-b77a1000 r-xp 00000000 03:02 583814     /usr/lib/libstdc++.so.6.0.9
b77a1000-b77a5000 r--p 000da000 03:02 583814     /usr/lib/libstdc++.so.6.0.9
b77a5000-b77a6000 rw-p 000de000 03:02 583814     /usr/lib/libstdc++.so.6.0.9
b77a6000-b77ac000 rw-p b77a6000 00:00 0 
b77ac000-b7867000 r-xp 00000000 03:02 581744     /usr/lib/libglib-2.0.so.0.1400.6
b7867000-b7868000 rw-p 000bb000 03:02 581744     /usr/lib/libglib-2.0.so.0.1400.6
b7868000-b7869000 rw-p b7868000 00:00 0 
b7869000-b786b000 r-xp 00000000 03:02 3088457    /lib/libdl-2.7.so
b786b000-b786d000 rw-p 00001000 03:02 3088457    /lib/libdl-2.7.so
b786d000-b786f000 r-xp 00000000 03:02 581728     /usr/lib/libgmodule-2.0.so.0.1400.6
b786f000-b7870000 rw-p 00002000 03:02 581728     /usr/lib/libgmodule-2.0.so.0.1400.6
b7870000-b78a8000 r-xp 00000000 03:02 581727     /usr/lib/libgobject-2.0.so.0.1400.6
b78a8000-b78a9000 rw-p 00038000 03:02 581727     /usr/lib/libgobject-2.0.so.0.1400.6
b78a9000-b791d000 r-xp 00000000 03:02 3253493    /usr/lib/libcairo.so.2.11.7
b791d000-b791f000 rw-p 00073000 03:02 3253493    /usr/lib/libcairo.so.2.11.7
b791f000-b7959000 r-xp 00000000 03:02 3253810    /usr/lib/libpango-1.0.so.0.2000.0
b7959000-b795b000 rw-p 00039000 03:02 3253810    /usr/lib/libpango-1.0.so.0.2000.0
b795b000-b7963000 r-xp 00000000 03:02 3253809    /usr/lib/libpangocairo-1.0.so.0.2000.0
b7963000-b7964000 rw-p 00008000 03:02 3253809    /usr/lib/libpangocairo-1.0.so.0.2000.0
b7964000-b7965000 rw-p b7964000 00:00 0 
b7965000-b797b000 r-xp 00000000 03:02 589311     /usr/lib/libgdk_pixbuf-2.0.so.0.1200.9
b797b000-b797c000 rw-p 00016000 03:02 589311     /usr/lib/libgdk_pixbuf-2.0.so.0.1200.9
b797c000-b7993000 r-xp 00000000 03:02 588730     /usr/lib/libatk-1.0.so.0.2209.1
b7993000-b7995000 rw-p 00017000 03:02 588730     /usr/lib/libatk-1.0.so.0.2209.1
b7995000-b7a14000 r-xp 00000000 03:02 589310     /usr/lib/libgdk-x11-2.0.so.0.1200.9
b7a14000-b7a17000 rw-p 0007e000 03:02 589310     /usr/liSegmentation fault
---

Console message when running zdoomd with the SDL compiled with ./configure:

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x4d0

System: Linux darkstar 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 Intel(R) Pentium(R) 4 CPU 1500MHz GenuineIntel GNU/Linux
GCC version: 4.2.3

---

Console message when running zdoomd with the SDL compiled with ./configure

Code: Select all

./zdoomd --sync ### X said I should do this
ZDoom v2.2.0 - SVN revision 748 - SDL version
Compiled on Jun 16 2008

M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding /home/alek/stuff/junk/z/zdoom.pk3
 adding ./doom.wad (2306 lumps)
I_Init: Setting up machine state.
I_InitSound: Initializing FMOD
  Setting OSS (Open Sound System) output succeeded
  Setting driver 0 succeeded
  Initialization succeeded
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
P_Init: Checking cmd-line parameters...
G_ParseMapInfo: Load map definitions.
S_InitData: Load sound definitions.
TEAMINFO_Init: Load team definitions.
LoadDecorations: Load external actors.
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init miscellaneous info.
P_Init: Init Playloop state.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Resolution: 640 x 480
The program 'zdoomd' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 14 error_code 162 request_code 146 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
zdoomd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by randi »

Have you tried using a different video driver with SDL? (Note: I know only that it involves setting an environment variable, not the specifics.) Have you tried reinstalling X? Have you tried a different distribution?
jsmith6
Posts: 6
Joined: Fri May 02, 2008 5:05 pm

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by jsmith6 »

randy wrote:Have you tried using a different video driver with SDL? (Note: I know only that it involves setting an environment variable, not the specifics.)
I am not sure I understand this. A different video driver as in "vesa" instead for "nv" and "nvidia" for example? But then again those are in xorg.confg not an enviroment variable. Can you please give me a link or a referance on how I can do this?
randy wrote:Have you tried reinstalling X? Have you tried a different distribution?
Hmmm... You mean removing and re-installing the binaries? What could that change in the situation? All options are stored in /etc/X11/xorg.conf and I have tried doing the configuration from scratch with xorgconfig a few times.

When I re-install the binaries it will be exactly the same files from exactly the same packages. Perhaps a file got corrupted and like this I can get it back to normal?

I must admit that I haven't touched the X packages before (uninstalling or re-compiling) and I feel a little uncomfortable about it. I will wait for your reply about the video driver with SDL and ask at a Slackware-centric forum before I attempt this.

I haven't tried running Zdoom in another distibution yet. I want to try a few more distributions at some point. In the meantime I will try luring a friend to try it :-P
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by randi »

jsmith6 wrote:A different video driver as in "vesa" instead for "nv" and "nvidia" for example?
No, not your X driver. Your SDL driver. Link: How do I choose a specific video driver?
jsmith6
Posts: 6
Joined: Fri May 02, 2008 5:05 pm

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by jsmith6 »

Tried setting each one of these drivers: x11, dga, fbcon, directfb, svgalib, ggi, aalib. Zdoom kind-of-started with only x11 (I saw the title screen of Doom for a second then it exited to the console). The rest gave this error message:
Could not initialize SDL:
No available video device
So my next move is to re-install X?

Also, Zdoom uses OpenGL right? So the only way I could run it is with the nvidia driver not the nv or vesa ones?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49237
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by Graf Zahl »

No, ZDoom doesn't use OpenGL. On Linux it doesn't use any hardware acceleration.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by randi »

I don't think there's anything I can do to fix this without experiencing it myself.
Lemonzest
Posts: 327
Joined: Tue Oct 12, 2004 3:19 pm
Location: On your boards, trolling your threads!!!

Re: [2.2.0] Crash: on Slackware Linux 12.1

Post by Lemonzest »

Crazy as it sounds i decided to run a few doom ports in wine, the size of a fake wine /drive_c is smaller than all the build libs i'd need to install :oops:
Post Reply

Return to “Closed Bugs [GZDoom]”