SourceForge has been redesigned. Learn more.
Close

#207 PrBoom crashes on Mandriva (Cooker, 2010.0 )

stable branch
open
nobody
5
2009-12-28
2009-12-28
Shlomi Fish
No

PrBoom (latest stable - prboom-2.5.0.tar.gz - from source) crashes on Mandriva (Cooker, 2010.0) after running this:

$ ~/apps/TEMP/prboom/games/prboom -iwad /usr/share/games/doom/freedoom.wad -nomusic

And specifying "New game" -> "Hurt me plenty".

Here is the output on the console:

<<<<<<<<<<<<
shlomi:~$ prboom /usr/share/games/doom/freedoom.wad

prboom v2.5.0 (http://prboom.sourceforge.net/)
I_SetAffinityMask: manual affinity mask is 1
M_LoadDefaults: Load system defaults.
default file: /home/shlomi/.prboom/prboom.cfg
found /usr/share/games/doom/freedoom.wad
IWAD found: /usr/share/games/doom/freedoom.wad
PrBoom (built Sep 14 2009), playing: DOOM 2: Hell on Earth
PrBoom is released under the GNU General Public license v2.0.
You are welcome to redistribute it under certain conditions.
It comes with ABSOLUTELY NO WARRANTY. See the file COPYING for details.
V_Init: allocate screens.
found /usr/share/games/doom/prboom.wad
found /usr/share/games/doom/prboom.wad
D_InitNetGame: Checking for network game.
W_Init: Init WADfiles.
adding /usr/share/games/doom/freedoom.wad
adding /usr/share/games/doom/prboom.wad
adding /usr/share/games/doom/prboom.wad
adding /usr/share/games/doom/freedoom.wad
W_InitCache

M_Init: Init miscellaneous info.
R_Init: Init DOOM refresh daemon -
R_LoadTrigTables: Endianness...ok.
R_InitData: Textures Flats Sprites
R_Init: R_InitPlanes R_InitLightTables R_InitSkyMap R_InitTranslationsTables R_InitPatches
P_Init: Init Playloop state.
I_Init: Setting up machine state.
I_InitSound: configured audio device with 1024 samples/slice
I_InitSound: sound module ready
S_Init: Setting up sound.
S_Init: default sfx volume 8
HU_Init: Setting up heads up display.
I_InitGraphics: 640x480
I_UpdateVideoMode: 640x480 (nofullscreen)
V_InitMode: using 8 bit video mode
I_SetRes: Using resolution 640x480
I_UpdateVideoMode: 0x60000000, SDL buffer, direct access
ST_Init: Init status bar.
I_SignalHandler: Exiting on signal: signal 6
I_ShutdownMusic: removing /tmp/prboom-music-moyUk5
I_ShutdownSound: Aborted

>>>>>>>>>>>>

And here is what gdb says:

<<<<<<<<<<
shlomi:~$ gdb --args /usr/games/prboom -iwad /usr/share/games/doom/freedoom.wad -nomusic

warning: Can not parse XML syscalls information; XML support was disabled at compile time.
GNU gdb (GDB) 7.0-1mdv2010.1 (Mandriva Linux release 2010.1)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/prboom...Reading symbols from /usr/lib/debug/usr/games/prboom.debug...done.
done.
(gdb) r
Starting program: /usr/games/prboom -iwad /usr/share/games/doom/freedoom.wad -nomusic
[Thread debugging using libthread_db enabled]

prboom v2.5.0 (http://prboom.sourceforge.net/)
I_SetAffinityMask: manual affinity mask is 1
M_LoadDefaults: Load system defaults.
default file: /home/shlomi/.prboom/prboom.cfg
found /usr/share/games/doom/freedoom.wad
IWAD found: /usr/share/games/doom/freedoom.wad
PrBoom (built Sep 14 2009), playing: DOOM 2: Hell on Earth
PrBoom is released under the GNU General Public license v2.0.
You are welcome to redistribute it under certain conditions.
It comes with ABSOLUTELY NO WARRANTY. See the file COPYING for details.
V_Init: allocate screens.
found /usr/share/games/doom/prboom.wad
found /usr/share/games/doom/prboom.wad
D_InitNetGame: Checking for network game.
W_Init: Init WADfiles.
adding /usr/share/games/doom/freedoom.wad
adding /usr/share/games/doom/prboom.wad
adding /usr/share/games/doom/prboom.wad
W_InitCache

M_Init: Init miscellaneous info.
R_Init: Init DOOM refresh daemon -
R_LoadTrigTables: Endianness...ok.
R_InitData: Textures Flats Sprites
R_Init: R_InitPlanes R_InitLightTables R_InitSkyMap R_InitTranslationsTables R_InitPatches
P_Init: Init Playloop state.
I_Init: Setting up machine state.
I_InitSound: [New Thread 0xb10b4b70 (LWP 22325)]
[New Thread 0xb08b3b70 (LWP 22326)]
[New Thread 0xb00b2b70 (LWP 22327)]
[Thread 0xb10b4b70 (LWP 22325) exited]
[Thread 0xb00b2b70 (LWP 22327) exited]
[Thread 0xb08b3b70 (LWP 22326) exited]
[New Thread 0xb08b3b70 (LWP 22328)]
configured audio device with 1024 samples/slice
I_InitSound: sound module ready
S_Init: Setting up sound.
S_Init: default sfx volume 8
HU_Init: Setting up heads up display.
I_InitGraphics: 640x480
I_UpdateVideoMode: 640x480 (nofullscreen)
V_InitMode: using 8 bit video mode
I_SetRes: Using resolution 640x480
I_UpdateVideoMode: 0x60000000, SDL buffer, direct access
ST_Init: Init status bar.
P_GetNodesVersion: found version 2 nodes

Program received signal SIGFPE, Arithmetic exception.
0x080cbe19 in FixedDiv (b=<value optimized out>, a=<value optimized out>)
at m_fixed.h:183
183 asm (
(gdb) bt
#0 0x080cbe19 in FixedDiv (b=<value optimized out>, a=<value optimized out>)
at m_fixed.h:183
#1 R_ExecuteSetViewSize (b=<value optimized out>, a=<value optimized out>)
at r_main.c:423
#2 0x080672dd in D_Display () at d_main.c:252
#3 0x08069a90 in D_DoomLoop () at d_main.c:374
#4 D_DoomMain () at d_main.c:1647
#5 0x080da466 in main (argc=4, argv=0xbfffe444) at i_main.c:407
(gdb)
>>>>>>>>>>>>>>>

Please fix it. You can run Mandriva 2010.0 or Cooker using a VirtualBox/etc. VM (which I'll soon test with).

Regards,

-- Shlomi Fish
>>>>>>>>>>

Discussion

  • Zombie Ryushu

    Zombie Ryushu - 2009-12-28

    Confirmed.

     
  • Nobody/Anonymous

    hmm, thanks for the backtrace. I think ubuntu have a similar issue, although it doesn't show up in debian.

    If you can rebuild it, try running ./configure with --disable-i386-asm .

    if that works, then we're golden. the asm optimisations are gone from trunk.

     
  • Shlomi Fish

    Shlomi Fish - 2009-12-30

    @nobody : thanks! I'll try it and let you know of the results.

     
  • Shlomi Fish

    Shlomi Fish - 2009-12-30

    @nobody - with --disable-i386-asm , it works perfectly well from what I tried. Many thanks!

    @zombie_ryushu: you should try it too.

    What should we do about this bug? Does someone want to close it?

     

Log in to post a comment.