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.
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 »

add it as a parameter with the other parameters.

Code: Select all

cmake -DCMAKE_BUILD_TYPE=Release -DNO_ASM ..
Blzut3
 
 
Posts: 3144
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

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

Post by Blzut3 »

One other thing to try would be instead of setting CMAKE_BUILD_TYPE to Debug, use RelWithDebInfo.
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:add it as a parameter with the other parameters.

Code: Select all

cmake -DCMAKE_BUILD_TYPE=Release -DNO_ASM ..
This correct?

Code: Select all

nero@svart:~/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Debug .. -DNO_ASM=1
-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) 
-- Using system zlib
-- Using system jpeg library
-- Using internal bzip2 library
-- /usr/include
-- /home/nero/trunk/bzip2
-- /home/nero/trunk/lzma/C
-- FMOD include files found at /home/nero/trunk/fmodapi42636linux/api/inc
-- FMOD library found at /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
-- Could NOT find FluidSynth (missing:  FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR) 
-- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nero/trunk/release
Running make in the Release dir. I don't want to mess with my working ZDoom in the debug.. :p
Blzut3 wrote:One other thing to try would be instead of setting CMAKE_BUILD_TYPE to Debug, use RelWithDebInfo.
Huh? Sorry.. I'm not so savvy. :p
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

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

Post by nerotriple6 »

.......AND BIG SURPRISE!

It works. I don't think this is a bug. I just think something went wrong (or me messing up) in the compiling process. Perhaps some of the files are write protected and I didn't delete everything between my previous efforts to re-compile it? I just deleted the Trunk folder with Nautilus and I didn't check if everything was gone. Well you guys want to try working on this bug? I don't think it is a bug..
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 »

nerotriple6 wrote:.......AND BIG SURPRISE!

It works. I don't think this is a bug. I just think something went wrong (or me messing up) in the compiling process. Perhaps some of the files are write protected and I didn't delete everything between my previous efforts to re-compile it? I just deleted the Trunk folder with Nautilus and I didn't check if everything was gone. Well you guys want to try working on this bug? I don't think it is a bug..
If -DNO_ASM=1 does the trick, this means there's something wrong in the ASM code.

Try to do as Blzut3 suggests:
nerotriple6 wrote:
Blzut3 wrote:One other thing to try would be instead of setting CMAKE_BUILD_TYPE to Debug, use RelWithDebInfo.
Huh? Sorry.. I'm not so savvy. :p
Let me explain you: make a new directory in the trunk, call it as you like. Enter in the directory and do this:

Code: Select all

cmake -DCMAKE_BUILD_TYPE=RelWIthDebInfo ..
create the executable and try to reproduce the crash.
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

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

Post by nerotriple6 »

Alright I reproduced the crash. I made a folder in Trunk called testdoom, then did what you instructed, tried to start a new game and it crashed. For the record: the only of my Wads that I copied to the new folder is the Doom2.wad. This crash have been reproduced with the following Wads:
doom.wad
DOOM2.wad
plutonia.wad or tnt.wad (I don't remember which)..

Code: Select all

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

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 18 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-bcoMic
[Thread debugging using libthread_db enabled]
[New Thread 0x4259b70 (LWP 27671)]
[New Thread 0x3807b70 (LWP 27670)]
[New Thread 0x2b1bb70 (LWP 27665)]
[New Thread 0x1d65b70 (LWP 27663)]
0x00e16416 in __kernel_vsyscall ()

* Loaded Libraries
From        To          Syms Read   Shared Object Library
0x002e5ac0  0x00588418  Yes (*)     /usr/lib/libgtk-x11-2.0.so.0
0x00124c50  0x00181b88  Yes (*)     /usr/lib/libgdk-x11-2.0.so.0
0x006c8190  0x006d57b8  Yes (*)     /usr/lib/i386-linux-gnu/libatk-1.0.so.0
0x00d00d20  0x00dbb878  Yes (*)     /usr/lib/i386-linux-gnu/libgio-2.0.so.0
0x00e38f90  0x00e55e58  Yes (*)     /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
0x00cbc650  0x00cc19a8  Yes (*)     /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
0x00a9de30  0x00ab11d8  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x001b33f0  0x00248498  Yes (*)     /usr/lib/libcairo.so.2
0x00676640  0x00697fe8  Yes (*)     /usr/lib/i386-linux-gnu/libpango-1.0.so.0
0x007156e0  0x0077ced8  Yes (*)     /usr/lib/i386-linux-gnu/libfreetype.so.6
0x00261030  0x0027c758  Yes (*)     /usr/lib/i386-linux-gnu/libfontconfig.so.1
0x00ee76f0  0x00f1b5f8  Yes (*)     /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
0x0028dc40  0x0028ed78  Yes (*)     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
0x006adf60  0x006af678  Yes (*)     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
0x007e18c0  0x007e5578  Yes (*)     /lib/i386-linux-gnu/librt.so.1
0x00837790  0x008b06a8  Yes (*)     /lib/i386-linux-gnu/libglib-2.0.so.0
0x00965a30  0x009b9338  Yes (*)     /usr/lib/libSDL-1.2.so.0
0x00799610  0x007a59d8  Yes (*)     /lib/i386-linux-gnu/libpthread.so.0
0x00ac1760  0x00acec98  Yes (*)     /lib/i386-linux-gnu/libz.so.1
0x007afea0  0x007c9c48  Yes (*)     /usr/lib/i386-linux-gnu/libjpeg.so.62
0x00f836e0  0x01065678  Yes (*)     /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
0x00b192e0  0x00b8ad08  Yes (*)     /usr/lib/i386-linux-gnu/libstdc++.so.6
0x00c294b0  0x00c43b38  Yes (*)     /lib/i386-linux-gnu/libm.so.6
0x007eaf50  0x00801418  Yes (*)     /lib/i386-linux-gnu/libgcc_s.so.1
0x04318c10  0x044231c4  Yes (*)     /lib/i386-linux-gnu/libc.so.6
0x0780f120  0x0789dd98  Yes (*)     /usr/lib/i386-linux-gnu/libX11.so.6
0x006b2860  0x006b33e8  Yes (*)     /usr/lib/i386-linux-gnu/libXcomposite.so.1
0x006b67b0  0x006b71e8  Yes (*)     /usr/lib/i386-linux-gnu/libXdamage.so.1
0x006bae40  0x006bd2c8  Yes (*)     /usr/lib/i386-linux-gnu/libXfixes.so.3
0x006e05b0  0x006eab58  Yes (*)     /usr/lib/i386-linux-gnu/libXext.so.6
0x007cf2a0  0x007d50d8  Yes (*)     /usr/lib/i386-linux-gnu/libXrender.so.1
0x0094f750  0x009501f8  Yes (*)     /usr/lib/i386-linux-gnu/libXinerama.so.1
0x008fd7e0  0x00907b48  Yes (*)     /usr/lib/i386-linux-gnu/libXi.so.6
0x007d90e0  0x007ddbc8  Yes (*)     /usr/lib/i386-linux-gnu/libXrandr.so.2
0x00a77a80  0x00a7d088  Yes (*)     /usr/lib/i386-linux-gnu/libXcursor.so.1
0x006eda40  0x006ee998  Yes (*)     /lib/i386-linux-gnu/libdl.so.2
0x00e7cf40  0x00ea6c08  Yes (*)     /lib/i386-linux-gnu/libpcre.so.3
0x0090d630  0x00919828  Yes (*)     /lib/i386-linux-gnu/libresolv.so.2
0x009efec0  0x00a01468  Yes (*)     /lib/i386-linux-gnu/libselinux.so.1
0x09dcbb10  0x09e2db08  Yes (*)     /usr/lib/libpixman-1.so.0
0x00a0e7a0  0x00a2a4e8  Yes (*)     /lib/i386-linux-gnu/libpng12.so.0
0x00805730  0x00805ff8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-shm.so.0
0x0080b330  0x0080e628  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-render.so.0
0x00926ab0  0x009357f8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb.so.1
0x00a31f40  0x00a4b568  Yes (*)     /lib/i386-linux-gnu/libexpat.so.1
0x006f1830  0x007084af  Yes (*)     /lib/ld-linux.so.2
0x0093aef0  0x0093c358  Yes (*)     /usr/lib/libpulse-simple.so.0
0x00bc77e0  0x00bf6e88  Yes (*)     /usr/lib/libpulse.so.0
0x0093f9c0  0x00940748  Yes (*)     /usr/lib/i386-linux-gnu/libXau.so.6
0x00943ca0  0x009458a8  Yes (*)     /usr/lib/i386-linux-gnu/libXdmcp.so.6
0x00c55fa0  0x00c89578  Yes (*)     /usr/lib/libpulsecommon-0.9.22.so
0x00949390  0x009494b8  Yes (*)     /usr/lib/i386-linux-gnu/libX11-xcb.so.1
0x00a5efc0  0x00a6e6c8  Yes (*)     /usr/lib/i386-linux-gnu/libICE.so.6
0x00954410  0x00958908  Yes (*)     /usr/lib/i386-linux-gnu/libSM.so.6
0x00a80e70  0x00a83a38  Yes (*)     /usr/lib/libXtst.so.6
0x0095c4d0  0x0095cbb8  Yes (*)     /usr/lib/libxcb-atom.so.1
0x085cad30  0x085f9a98  Yes (*)     /lib/i386-linux-gnu/libdbus-1.so.3
0x00a87ed0  0x00a8c028  Yes (*)     /lib/libwrap.so.0
0x022b83a0  0x02307698  Yes (*)     /usr/lib/libsndfile.so.1
0x00a8fec0  0x00a91b18  Yes (*)     /lib/i386-linux-gnu/libuuid.so.1
0x00c04130  0x00c10c08  Yes (*)     /lib/i386-linux-gnu/libnsl.so.1
0x092591e0  0x09297f58  Yes (*)     /usr/lib/libFLAC.so.8
0x02e95b20  0x02e97f78  Yes (*)     /usr/lib/libvorbisenc.so.2
0x00de6f70  0x00dfb8c8  Yes (*)     /usr/lib/libvorbis.so.0
0x00ab8500  0x00abad98  Yes (*)     /usr/lib/libogg.so.0
0x00c18e30  0x00c1da28  Yes (*)     /lib/i386-linux-gnu/libnss_compat.so.2
0x00ca8930  0x00caea68  Yes (*)     /lib/i386-linux-gnu/libnss_nis.so.2
0x00e18a90  0x00e1ffe8  Yes (*)     /lib/i386-linux-gnu/libnss_files.so.2
0x00cc7710  0x00ccca38  Yes (*)     /usr/lib/liboverlay-scrollbar-0.1.so.0
0x00a955f0  0x00a97718  Yes (*)     /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
0x008213d0  0x00822918  Yes (*)     /usr/lib/libcanberra-gtk.so.0
0x00cd0f30  0x00cdae28  Yes (*)     /usr/lib/libcanberra.so.0
0x00e0d570  0x00e125c8  Yes (*)     /usr/lib/libvorbisfile.so.3
0x00e248e0  0x00e2f458  Yes (*)     /usr/lib/libtdb.so.1
0x00e71710  0x00e76018  Yes (*)     /usr/lib/libltdl.so.7
0x0113de60  0x01164db8  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
0x00e5d740  0x00e62628  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
0x00c225e0  0x00c22ad8  Yes         /home/nero/trunk/testdoom/liboutput_sdl.so
0x011be010  0x01254cb8  Yes (*)     /usr/lib/libasound.so
0x00cb37d0  0x00cb5bb8  Yes (*)     /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
(*): Shared library is missing debugging information.

* Threads
  5 Thread 0x1d65b70 (LWP 27663)  0x00e16416 in __kernel_vsyscall ()
  4 Thread 0x2b1bb70 (LWP 27665)  0x00e16416 in __kernel_vsyscall ()
  3 Thread 0x3807b70 (LWP 27670)  0x00e16416 in __kernel_vsyscall ()
  2 Thread 0x4259b70 (LWP 27671)  0x00e16416 in __kernel_vsyscall ()
* 1 Thread 0xa08e40 (LWP 27662)  0x00e16416 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            0x84deefc	139325180
edx            0x0	0
ebx            0x6c27	27687
esp            0x84deec0	0x84deec0
ebp            0x84def18	0x84def18
esi            0x6c27	27687
edi            0x84deefc	139325180
eip            0xe16416	0xe16416 <__kernel_vsyscall+2>
eflags         0x200293	[ CF AF SF IF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51

* Backtrace

Thread 5 (Thread 0x1d65b70 (LWP 27663)):
#0  0x00e16416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x007a2d46 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x009b8b8e in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0x009b8bd4 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0x0096ee4e in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x009b612d in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#6  0x0079ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7  0x043d273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x2b1bb70 (LWP 27665)):
#0  0x00e16416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x043c3f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00bef4a2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x00bde3a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4  0x00bdeb84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5  0x00bdec64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6  0x00bef443 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7  0x00c86a75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
No symbol table info available.
#8  0x0079ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#9  0x043d273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x3807b70 (LWP 27670)):
#0  0x00e16416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x043c3f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x011e6b8f in ?? () from /usr/lib/libasound.so
No symbol table info available.
#3  0x011e6d63 in snd_pcm_wait () from /usr/lib/libasound.so
No symbol table info available.
#4  0x011ecfa0 in ?? () from /usr/lib/libasound.so
No symbol table info available.
#5  0x0123018a in ?? () from /usr/lib/libasound.so
No symbol table info available.
#6  0x011e5ac4 in snd_pcm_writei () from /usr/lib/libasound.so
No symbol table info available.
#7  0x00fde5d7 in FMOD::OutputALSA::updateMixer() () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#8  0x00fd8c8d in FMOD::Thread::callback(void*) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#9  0x0079ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x043d273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x4259b70 (LWP 27671)):
#0  0x00e16416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0439afe6 in nanosleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x043cc1ac in usleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3  0x00fda7e5 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  0x00fd8ca3 in FMOD::Thread::callback(void*) () from /home/nero/trunk/fmodapi42636linux/api/lib/libfmodex-4.26.36.so
No symbol table info available.
#5  0x0079ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#6  0x043d273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xa08e40 (LWP 27662)):
#0  0x00e16416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x007a346b in waitpid () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x081123f4 in crash_catcher (signum=8, siginfo=0x84def2c, context=0x84defac) at /home/nero/trunk/src/sdl/crashcatcher.c:249
        status = 0
        dbg_pid = 27687
        fd = {15, 16}
#3  <signal handler called>
No symbol table info available.
#4  0x082344fd in DivScale32 () at /home/nero/trunk/src/gccinlines.h:291
        result = <value optimized out>
#5  R_InitTextureMapping () at /home/nero/trunk/src/r_main.cpp:490
        i = <value optimized out>
        fov = <value optimized out>
        dfocus = <value optimized out>
        x = <value optimized out>
        hitan = 65536
#6  0x08234ade in R_SetWindow (windowSize=10, fullWidth=800, fullHeight=600, stHeight=504) at /home/nero/trunk/src/r_main.cpp:733
        virtheight = 600
        virtwidth = 800
        trueratio = 0
        virtwidth2 = <value optimized out>
        virtheight2 = 160000
#7  0x08234d89 in R_ExecuteSetViewSize () at /home/nero/trunk/src/r_main.cpp:755
No locals.
#8  0x0814323d in D_Display () at /home/nero/trunk/src/d_main.cpp:665
        wipe = <value optimized out>
        hw2d = <value optimized out>
#9  0x081445f5 in D_DoomLoop () at /home/nero/trunk/src/d_main.cpp:1002
        lasttic = 287
#10 0x081465d0 in D_DoomMain () at /home/nero/trunk/src/d_main.cpp:2343
        iwad = {Chars = 0x84d36ec "", static NullString = {Len = 0, AllocLen = 2, RefCount = 3065, Nothing = "\000"}}
        iwad_info = 0xa2ab6dc
        startupString = {0x840510d "STARTUP1", 0x8405116 "STARTUP2", 0x840511f "STARTUP3", 0x8405128 "STARTUP4", 0x8405131 "STARTUP5"}
        pwads = {Array = 0x0, Most = 0, Count = 0}
        basewad = {Chars = 0xa280714 "/home/nero/trunk/testdoom/zdoom.pk3", static NullString = {Len = 0, AllocLen = 2, RefCount = 3065, Nothing = "\000"}}
        wad = 0xa2ab6b0 "\022"
        execFiles = 0x0
        args = 0x0
        argcount = 170571484
#11 0x081152f8 in main (argc=1, argv=0xbfa923d4) at /home/nero/trunk/src/sdl/i_main.cpp:325
        program = "/home/nero/trunk/testdoom/\000doom\000\300\071)\000\020\000\000\000(h\002\000(x\002\000\364\337p\000 l\312\000\260\305(\000\200\025)", '\000' <repeats 21 times>"\241, \\p\000D\024\251\277\326\364o\000\004\"\251\277\000\000\000\000\024\001\000\000\024\001\000\000\364\337p\000\320\023\251\277\004\000\000\000\234\023\251\277\305]p\000\b\000\000\000$\000\000\000\364\337p\000\020\000\000\000\246\334o\000\254\071)\000\230\071)\000\020\000\000\000\364\337p\000\225\017~\000\064\"\251\277\372\333o\000\001\000\000\000<\345p\000\240\022\251\277\350\023\251\277\200\025)\000\000\240\240\000<\345p\000\000\000\000\000\000\000\000\000\340\024\251\277\310\024\251\277\326\364o\000\004\"\251\277\000\000\000\000\003\000\000\000GNU\000'\"\251\277 \"\251\277\241\\p\000\214\350p\000\215|ǔC\000\000\000\000\000\000\000\020\000\000\000\364\337p"...
        slash = 0x0
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, finally! That's the report IMHO the devs want!

Before leaving the job to the devs, can I ask you two things? Maybe I'm exaggerating.

1)What happens if you run zdoom (in the new directory) using an new ini? I mean, run zdoom like this:
./zdoom -config newini.ini

It creates a file called "newini.ini" in your directory. Can you make it crash again? If yes, please post the new crash log.

2)This is very long and may take a lot of time, I'd like to help you if I could reproduce the crash... I'll write it in spoiler for your sake. If you don't have the time, I'm not obliging you to do so.
Spoiler:
I'm foolish right now...
Last edited by Edward-san on Wed May 18, 2011 2:14 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:Yes, finally! That's the report IMHO the devs want!

I leave this to the devs, but I don't know how it helps the "<value optimized out>" -iness.

For now, if you want to play, use the debug build, since that works fine on you.
Thanks to you, both the release and the debug builds are working. I will leave them as such.

Thanks. :D Doom is such a great game.. :wub: :mrgreen:
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 »

I've changed the post above you by adding some new procedures to search out the bug. If there's someone with the same problem as yours that could help me doing as I suggest above...
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 »

Scrap the second task, nerotriple6. Can you do me a favor and check out if you can make it crash if you use svn revision 2508 (version 2.5.0 of zdoom) ?

[edit] I hope it isn't too late and so I hope he comes back asap...
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

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

Post by nerotriple6 »

Sorry Edward. I've been really busy ..and I had to install Windows... thus I had to reinstall Ubuntu..

I am enroute to reinstall Zdoom after the format, before I do that, would you mind explaining to me what you wanted me to do? From scratch.
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 »

The idea is to find the revision which made you begin crashing. Let's start with revision 2508, the 2.5.0 revision. Can you reproduce the crash with that revision? (Using the same instructions as here)
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

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

Post by nerotriple6 »

Cool. Okay, just to make sure...

I run these commands in terminal?

Code: Select all

sudo apt-get install build-essential zlib1g-dev libsdl1.2-dev libjpeg62-dev nasm tar bzip2 libgtk2.0-dev cmake
sudo apt-get install subversiony
svn checkout http://mancubus.net/svn/hosted/zdoom/zdoom/trunk
Then I get

Code: Select all

Checked out revision 3219
So I download the Fmod packs
Then enter trunk directory and create one called release, then enter that before I..

Code: Select all

cmake -DCMAKE_BUILD_TYPE=RelWIthDebInfo ..
All this correct? Currently downloading the Fmod packs..

EDIT: to make sure I made a test dir.. now I just move some Wad in there and try.. ...forgot to run make.. am now..
nerotriple6
Posts: 37
Joined: Fri May 13, 2011 3:09 pm

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

Post by nerotriple6 »

Result of everything above

Code: Select all

+MAP01 - entryway

Starting MIDI playback failed


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

Generating zdoom-crash.log and killing process 13805, please wait... Killed
nero@svart:~/trunk/test$ sh: gxmessage: not found
What you want me to do?
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

sh: gxmessage: not found
please install gxmessage. Then retry.
Post Reply

Return to “Closed Bugs [GZDoom]”