Page 3 of 6

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

Posted: Mon Jun 06, 2011 11:07 am
by nerotriple6
Gotcha.

Code: Select all

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

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 (r3219) (Jun  6 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-nJS9V2
[Thread debugging using libthread_db enabled]
[New Thread 0x33a3b70 (LWP 16897)]
[New Thread 0x233ab70 (LWP 16896)]
[New Thread 0x7519b70 (LWP 16895)]
[New Thread 0x8040b70 (LWP 16894)]
0x00abe416 in __kernel_vsyscall ()

* Loaded Libraries
From        To          Syms Read   Shared Object Library
0x0039eac0  0x00641418  Yes (*)     /usr/lib/libgtk-x11-2.0.so.0
0x00124c50  0x00181b88  Yes (*)     /usr/lib/libgdk-x11-2.0.so.0
0x001af190  0x001bc7b8  Yes (*)     /usr/lib/i386-linux-gnu/libatk-1.0.so.0
0x001e3d20  0x0029e878  Yes (*)     /usr/lib/i386-linux-gnu/libgio-2.0.so.0
0x00f75f90  0x00f92e58  Yes (*)     /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
0x00ba1650  0x00ba69a8  Yes (*)     /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
0x00833e30  0x008471d8  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x0072f3f0  0x007c4498  Yes (*)     /usr/lib/libcairo.so.2
0x002d2640  0x002f3fe8  Yes (*)     /usr/lib/i386-linux-gnu/libpango-1.0.so.0
0x00eba6e0  0x00f21ed8  Yes (*)     /usr/lib/i386-linux-gnu/libfreetype.so.6
0x00df9030  0x00e14758  Yes (*)     /usr/lib/i386-linux-gnu/libfontconfig.so.1
0x007e06f0  0x008145f8  Yes (*)     /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
0x0030ac40  0x0030bd78  Yes (*)     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
0x0030ef60  0x00310678  Yes (*)     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
0x00b678c0  0x00b6b578  Yes (*)     /lib/i386-linux-gnu/librt.so.1
0x008e6790  0x0095f6a8  Yes (*)     /lib/i386-linux-gnu/libglib-2.0.so.0
0x009afa30  0x00a03338  Yes (*)     /usr/lib/libSDL-1.2.so.0
0x00fe5610  0x00ff19d8  Yes (*)     /lib/i386-linux-gnu/libpthread.so.0
0x00a88760  0x00a95c98  Yes (*)     /lib/i386-linux-gnu/libz.so.1
0x00315ea0  0x0032fc48  Yes (*)     /usr/lib/i386-linux-gnu/libjpeg.so.62
0x010566e0  0x01138678  Yes (*)     /usr/local/lib/libfmodex-4.26.36.so
0x00c5e2e0  0x00ccfd08  Yes (*)     /usr/lib/i386-linux-gnu/libstdc++.so.6
0x008504b0  0x0086ab38  Yes (*)     /lib/i386-linux-gnu/libm.so.6
0x00874f50  0x0088b418  Yes (*)     /lib/i386-linux-gnu/libgcc_s.so.1
0x02a58c10  0x02b631c4  Yes (*)     /lib/i386-linux-gnu/libc.so.6
0x03a21120  0x03aafd98  Yes (*)     /usr/lib/i386-linux-gnu/libX11.so.6
0x00335860  0x003363e8  Yes (*)     /usr/lib/i386-linux-gnu/libXcomposite.so.1
0x00fc57b0  0x00fc61e8  Yes (*)     /usr/lib/i386-linux-gnu/libXdamage.so.1
0x00bb0e40  0x00bb32c8  Yes (*)     /usr/lib/i386-linux-gnu/libXfixes.so.3
0x0033c5b0  0x00346b58  Yes (*)     /usr/lib/i386-linux-gnu/libXext.so.6
0x008212a0  0x008270d8  Yes (*)     /usr/lib/i386-linux-gnu/libXrender.so.1
0x00349750  0x0034a1f8  Yes (*)     /usr/lib/i386-linux-gnu/libXinerama.so.1
0x008967e0  0x008a0b48  Yes (*)     /usr/lib/i386-linux-gnu/libXi.so.6
0x008a50e0  0x008a9bc8  Yes (*)     /usr/lib/i386-linux-gnu/libXrandr.so.2
0x008ada80  0x008b3088  Yes (*)     /usr/lib/i386-linux-gnu/libXcursor.so.1
0x0082aa40  0x0082b998  Yes (*)     /lib/i386-linux-gnu/libdl.so.2
0x00a36f40  0x00a60c08  Yes (*)     /lib/i386-linux-gnu/libpcre.so.3
0x008b8630  0x008c4828  Yes (*)     /lib/i386-linux-gnu/libresolv.so.2
0x00a9fec0  0x00ab1468  Yes (*)     /lib/i386-linux-gnu/libselinux.so.1
0x00d08b10  0x00d6ab08  Yes (*)     /usr/lib/libpixman-1.so.0
0x00e337a0  0x00e4f4e8  Yes (*)     /lib/i386-linux-gnu/libpng12.so.0
0x0088f730  0x0088fff8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-shm.so.0
0x008cd330  0x008d0628  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-render.so.0
0x00ac5ab0  0x00ad47f8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb.so.1
0x00ad9f40  0x00af3568  Yes (*)     /lib/i386-linux-gnu/libexpat.so.1
0x00b13830  0x00b2a4af  Yes (*)     /lib/ld-linux.so.2
0x00c05ef0  0x00c07358  Yes (*)     /usr/lib/libpulse-simple.so.0
0x00bbd7e0  0x00bece88  Yes (*)     /usr/lib/libpulse.so.0
0x00a759c0  0x00a76748  Yes (*)     /usr/lib/i386-linux-gnu/libXau.so.6
0x00a79ca0  0x00a7b8a8  Yes (*)     /usr/lib/i386-linux-gnu/libXdmcp.so.6
0x00d7afa0  0x00dae578  Yes (*)     /usr/lib/libpulsecommon-0.9.22.so
0x00a7f390  0x00a7f4b8  Yes (*)     /usr/lib/i386-linux-gnu/libX11-xcb.so.1
0x00b33fc0  0x00b436c8  Yes (*)     /usr/lib/i386-linux-gnu/libICE.so.6
0x00b03410  0x00b07908  Yes (*)     /usr/lib/i386-linux-gnu/libSM.so.6
0x00ab7e70  0x00abaa38  Yes (*)     /usr/lib/libXtst.so.6
0x00b0b4d0  0x00b0bbb8  Yes (*)     /usr/lib/libxcb-atom.so.1
0x00e59d30  0x00e88a98  Yes (*)     /lib/i386-linux-gnu/libdbus-1.so.3
0x00b4aed0  0x00b4f028  Yes (*)     /lib/libwrap.so.0
0x066823a0  0x066d1698  Yes (*)     /usr/lib/libsndfile.so.1
0x00b52ec0  0x00b54b18  Yes (*)     /lib/i386-linux-gnu/libuuid.so.1
0x00b72130  0x00b7ec08  Yes (*)     /lib/i386-linux-gnu/libnsl.so.1
0x037db1e0  0x03819f58  Yes (*)     /usr/lib/libFLAC.so.8
0x06365b20  0x06367f78  Yes (*)     /usr/lib/libvorbisenc.so.2
0x00dbbf70  0x00dd08c8  Yes (*)     /usr/lib/libvorbis.so.0
0x00b58500  0x00b5ad98  Yes (*)     /usr/lib/libogg.so.0
0x00b5ee30  0x00b63a28  Yes (*)     /lib/i386-linux-gnu/libnss_compat.so.2
0x00bf8930  0x00bfea68  Yes (*)     /lib/i386-linux-gnu/libnss_nis.so.2
0x00c0ba90  0x00c12fe8  Yes (*)     /lib/i386-linux-gnu/libnss_files.so.2
0x00b88710  0x00b8da38  Yes (*)     /usr/lib/liboverlay-scrollbar-0.1.so.0
0x00b906e0  0x00b90908  Yes (*)     /usr/lib/gtk-2.0/modules/librgba.so
0x00b945f0  0x00b96718  Yes (*)     /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
0x00b9a3d0  0x00b9b918  Yes (*)     /usr/lib/libcanberra-gtk.so.0
0x00e93f30  0x00e9de28  Yes (*)     /usr/lib/libcanberra.so.0
0x00e25570  0x00e2a5c8  Yes (*)     /usr/lib/libvorbisfile.so.3
0x00ea38e0  0x00eae458  Yes (*)     /usr/lib/libtdb.so.1
0x00f3b710  0x00f40018  Yes (*)     /usr/lib/libltdl.so.7
0x01410e60  0x01437db8  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
0x00de2740  0x00de7628  Yes (*)     /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
0x00bac5e0  0x00bacad8  Yes         /home/nero/trunk/test/liboutput_sdl.so
0x01a89010  0x01b1fcb8  Yes (*)     /usr/lib/libasound.so
0x00dec7d0  0x00deebb8  Yes (*)     /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
(*): Shared library is missing debugging information.

* Threads
  5 Thread 0x8040b70 (LWP 16894)  0x00abe416 in __kernel_vsyscall ()
  4 Thread 0x7519b70 (LWP 16895)  0x00abe416 in __kernel_vsyscall ()
  3 Thread 0x233ab70 (LWP 16896)  0x00abe416 in __kernel_vsyscall ()
  2 Thread 0x33a3b70 (LWP 16897)  0x00abe416 in __kernel_vsyscall ()
* 1 Thread 0xb0f880 (LWP 16893)  0x00abe416 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            0x84def3c	139325244
edx            0x0	0
ebx            0x4212	16914
esp            0x84def00	0x84def00
ebp            0x84def58	0x84def58
esi            0x4212	16914
edi            0x84def3c	139325244
eip            0xabe416	0xabe416 <__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 0x8040b70 (LWP 16894)):
#0  0x00abe416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00feed46 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x00a02b8e in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0x00a02bd4 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0x009b8e4e in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x00a0012d in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#6  0x00fe6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7  0x02b1273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x7519b70 (LWP 16895)):
#0  0x00abe416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02b03f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00be54a2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x00bd43a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4  0x00bd4b84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5  0x00bd4c64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6  0x00be5443 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7  0x00daba75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
No symbol table info available.
#8  0x00fe6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#9  0x02b1273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x233ab70 (LWP 16896)):
#0  0x00abe416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02b03f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x01ab1b8f in ?? () from /usr/lib/libasound.so
No symbol table info available.
#3  0x01ab1d63 in snd_pcm_wait () from /usr/lib/libasound.so
No symbol table info available.
#4  0x01ab7fa0 in ?? () from /usr/lib/libasound.so
No symbol table info available.
#5  0x01afb18a in ?? () from /usr/lib/libasound.so
No symbol table info available.
#6  0x01ab0ac4 in snd_pcm_writei () from /usr/lib/libasound.so
No symbol table info available.
#7  0x010b15d7 in FMOD::OutputALSA::updateMixer() () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#8  0x010abc8d in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#9  0x00fe6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x02b1273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x33a3b70 (LWP 16897)):
#0  0x00abe416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x02adafe6 in nanosleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x02b0c1ac in usleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3  0x010ad7e5 in FMOD_OS_Time_Sleep(unsigned int) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#4  0x010abca3 in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#5  0x00fe6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#6  0x02b1273e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb0f880 (LWP 16893)):
#0  0x00abe416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00fef46b in waitpid () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x08112404 in crash_catcher (signum=8, siginfo=0x84def6c, context=0x84defec) at /home/nero/trunk/src/sdl/crashcatcher.c:249
        status = 0
        dbg_pid = 16914
        fd = {15, 16}
#3  <signal handler called>
No symbol table info available.
#4  0x082346fd 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  0x08234cde in R_SetWindow (windowSize=10, fullWidth=640, fullHeight=480, stHeight=403) at /home/nero/trunk/src/r_main.cpp:733
        virtheight = 480
        virtwidth = 640
        trueratio = 0
        virtwidth2 = <value optimized out>
        virtheight2 = 128000
#7  0x08234f89 in R_ExecuteSetViewSize () at /home/nero/trunk/src/r_main.cpp:755
No locals.
#8  0x0814324d in D_Display () at /home/nero/trunk/src/d_main.cpp:665
        wipe = <value optimized out>
        hw2d = <value optimized out>
#9  0x08144605 in D_DoomLoop () at /home/nero/trunk/src/d_main.cpp:1002
        lasttic = 760
#10 0x081465e0 in D_DoomMain () at /home/nero/trunk/src/d_main.cpp:2343
        iwad = {Chars = 0x84d36ec "", static NullString = {Len = 0, AllocLen = 2, RefCount = 3172, Nothing = "\000"}}
        iwad_info = 0x89a2ec4
        startupString = {0x84054ed "STARTUP1", 0x84054f6 "STARTUP2", 0x84054ff "STARTUP3", 0x8405508 "STARTUP4", 0x8405511 "STARTUP5"}
        pwads = {Array = 0x0, Most = 0, Count = 0}
        basewad = {Chars = 0x8990f8c "/home/nero/trunk/test/zdoom.pk3", static NullString = {Len = 0, AllocLen = 2, RefCount = 3172, Nothing = "\000"}}
        wad = 0x89a2e98 ""
        execFiles = 0x0
        args = 0x0
        argcount = 144322244
#11 0x08115308 in main (argc=1, argv=0xbfc21ed4) at /home/nero/trunk/src/sdl/i_main.cpp:325
        program = "/home/nero/trunk/test/\000doom\000\324\371\202\000\300\371\202\000\020\000\000\000(h\002\000(x\002\000\364\377\262\000 L\211\000\260\225\060\000\200E3", '\000' <repeats 21 times>"\241, |\262\000D\017¿\326\024\262\000\004\035¿\000\000\000\000\024\001\000\000\024\001\000\000\364\377\262\000\320\016¿\004\000\000\000\234\016¿\305}\262\000\b\000\000\000$\000\000\000\364\377\262\000\020\000\000\000\246\374\261\000\254\371\202\000\230\371\202\000\020\000\000\000\364\377\262\000\225o\266\000\064\035¿\372\373\261\000\001\000\000\000<\005\263\000\240\r¿\350\016¿\200E3\000\000\060\061\000<\005\263\000\000\000\000\000\000\000\000\000\340\017¿\310\017¿\326\024\262\000\004\035¿\000\000\000\000\003\000\000\000GNU\000'\035¿ \035¿\241|\262\000\214\b\263\000\215|ǔC\000\000\000\000\000\000\000\020\000\000\000\364\377\262\000\364\377\262\000`\017¿\006"...
        slash = 0x0

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

Posted: Mon Jun 06, 2011 1:49 pm
by Edward-san
You did not change the revision. Then do this:

in the trunk directory, do this:

Code: Select all

svn up -r 2508
after that, go into the directory you used to compile, and do "make".

When you compiled it, you need to run the program as an administrator in order to see the crash log, so you need to use this command:

Code: Select all

sudo ./zdoom
if this crashes, it should create a new file called zdoom-crash.txt (or something similiar) in the directory. Then copy the content and post it here.

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

Posted: Mon Jun 06, 2011 2:12 pm
by nerotriple6
Okay. Done.

zdoom-crash.log

Code: Select all

*** Fatal Error ***
Illegal operand (signal 4)
Address: 0x8468c1b

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

ZDoom version 2.5.0 (r2507) (Jun  6 2011)

Command line: ./zdoom

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

Current map: MAP01

viewx = -6291456
viewy = 51380224
viewz = 6356992
viewangle = 40000000

Executing: gdb --quiet --batch --command=gdb-respfile-5EMD0h --pid=3983
[Thread debugging using libthread_db enabled]
[New Thread 0x9191b70 (LWP 3991)]
[New Thread 0x2a41b70 (LWP 3990)]
[New Thread 0x5d1eb70 (LWP 3989)]
[New Thread 0x21a8b70 (LWP 3988)]
0x00a45416 in __kernel_vsyscall ().

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

Posted: Mon Jun 06, 2011 2:51 pm
by Edward-san
What happens if you change the revision to 1687 (the lowest revision which compiles with linux)?

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

Posted: Mon Jun 06, 2011 3:05 pm
by nerotriple6
Make stops at 44% with

Code: Select all

[ 44%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/i_system.o
/home/nero/trunk/src/sdl/i_system.cpp: In function ‘void* I_FindFirst(const char*, findstate_t*)’:
/home/nero/trunk/src/sdl/i_system.cpp:523:38: error: invalid conversion from ‘const char*’ to ‘char*’
/home/nero/trunk/src/sdl/i_system.cpp: In function ‘unsigned int I_MakeRNGSeed()’:
/home/nero/trunk/src/sdl/i_system.cpp:640:34: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result
/home/nero/trunk/src/sdl/i_system.cpp: In function ‘int I_PickIWad(WadStuff*, int, bool, int)’:
/home/nero/trunk/src/sdl/i_system.cpp:499:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/i_system.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
Then Zdoom doesn't work.

Code: Select all

nero@svart:~/trunk/test$ sudo ./zdoom
[sudo] password for nero: 
ZDoom v2.5.0 - SVN revision 2507 - SDL version
Compiled on Jun  6 2011

M_LoadDefaults: Load system defaults.
Gameinfo scan took 0 ms
W_Init: Init WADfiles.
 adding /home/nero/trunk/test/zdoom.pk3, 377 lumps
 adding ./DOOM2.WAD, 2919 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Pentium(R) 4 CPU 2.40GHz
  Family 15, Model 2, Stepping 4
  Features: MMX SSE SSE2
I_InitSound: Initializing FMOD
FMOD Sound System, copyright � Firelight Technologies Pty, Ltd., 1994-2009.
Loaded FMOD version 4.26.36
HOSS could not be initialized. Trying ALSA.
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Script error, "zdoom.pk3:compatibility.txt" line 56:
Expected '}', got 'spechitoverflow'.

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

Posted: Mon Jun 06, 2011 3:10 pm
by Edward-san
retry with r1696.

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

Posted: Mon Jun 06, 2011 4:42 pm
by nerotriple6
Make stops

Code: Select all

/home/nero/trunk/src/m_options.cpp:2353:37: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2358:37: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2374:23: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2378:23: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2399:45: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2419:24: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2477:36: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2478:22: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2549:36: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2552:22: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2559:37: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2564:37: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2580:23: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2584:23: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2605:45: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2625:24: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2683:36: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2684:22: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2842:35: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:2843:21: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp: In function ‘void UpdateJoystickMenu(IJoystickConfig*)’:
/home/nero/trunk/src/m_options.cpp:3112:26: error: ‘I_GetJoysticks’ was not declared in this scope
/home/nero/trunk/src/m_options.cpp:3161:10: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:3167:23: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
/home/nero/trunk/src/m_options.cpp:3174:21: error: invalid use of incomplete type ‘struct IJoystickConfig’
/home/nero/trunk/src/m_menu.h:121:8: error: forward declaration of ‘struct IJoystickConfig’
make[2]: *** [src/CMakeFiles/zdoom.dir/m_options.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
Zdoom doesn't start

Code: Select all

nero@svart:~/trunk/test$ sudo ./zdoom
[sudo] password for nero: 
ZDoom v2.5.0 - SVN revision 2507 - SDL version
Compiled on Jun  6 2011

M_LoadDefaults: Load system defaults.
Gameinfo scan took 0 ms
W_Init: Init WADfiles.
 adding /home/nero/trunk/test/zdoom.pk3, 377 lumps
 adding ./DOOM2.WAD, 2919 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Pentium(R) 4 CPU 2.40GHz
  Family 15, Model 2, Stepping 4
  Features: MMX SSE SSE2
I_InitSound: Initializing FMOD
FMOD Sound System, copyright � Firelight Technologies Pty, Ltd., 1994-2009.
Loaded FMOD version 4.26.36
HOSS could not be initialized. Trying ALSA.
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Script error, "zdoom.pk3:compatibility.txt" line 56:
Expected '}', got 'spechitoverflow'.

nero@svart:~/trunk/test$ 

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

Posted: Mon Jun 06, 2011 5:01 pm
by Edward-san
Hmm. Can you try 1743?

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

Posted: Mon Jun 06, 2011 6:00 pm
by nerotriple6
Sure, not like I can sleep anyway.. >:(

Please note: All that I am doing is running
svn up -r xxxx in trunk dir
make in test dir
sudo ./zdoom

Compiled okay, it seemed...
Game crashed when starting new game.

Code: Select all

*** Fatal Error ***
Illegal operand (signal 4)
Address: 0x84537db

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

ZDoom version 2.3.1 (r1743) (Jun  7 2011)

Command line: ./zdoom

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

Current map: MAP01

viewx = -6291456
viewy = 51380224
viewz = 6356992
viewangle = 40000000

Executing: gdb --quiet --batch --command=gdb-respfile-E60DB4 --pid=9224
[Thread debugging using libthread_db enabled]
[New Thread 0x283db70 (LWP 9232)]
[New Thread 0x4ebfb70 (LWP 9231)]
[New Thread 0x37ccb70 (LWP 9230)]
[New Thread 0x1c40b70 (LWP 9225)]
0x00ed0416 in __kernel_vsyscall ()

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

Posted: Mon Jun 06, 2011 11:45 pm
by Edward-san
Okay, let's jump forward to revision 3089.
I suspect there's something wrong with the asm compiler, but I don't know how to proceed.

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

Posted: Tue Jun 07, 2011 7:28 am
by nerotriple6
Asm=1 or something was the thing that worked.

Crash with 3089.

Code: Select all

*** Fatal Error ***
Illegal operand (signal 4)
Address: 0x84aa31b

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 (r3089) (Jun  7 2011)
Compiler version: 4.5.2

Command line: ./zdoom

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

Current map: MAP01

viewx = -6291456
viewy = 51380224
viewz = 6356992
viewangle = 40000000

Executing: gdb --quiet --batch --command=gdb-respfile-YwalCN
[Thread debugging using libthread_db enabled]
[New Thread 0x468bb70 (LWP 24500)]
[New Thread 0x3a0eb70 (LWP 24499)]
[New Thread 0x31adb70 (LWP 24498)]
[New Thread 0x29acb70 (LWP 24497)]
0x004dc416 in __kernel_vsyscall ()

* Loaded Libraries
From        To          Syms Read   Shared Object Library
0x0052eac0  0x007d1418  Yes (*)     /usr/lib/libgtk-x11-2.0.so.0
0x00e74c50  0x00ed1b88  Yes (*)     /usr/lib/libgdk-x11-2.0.so.0
0x0031f190  0x0032c7b8  Yes (*)     /usr/lib/i386-linux-gnu/libatk-1.0.so.0
0x0012fd20  0x001ea878  Yes (*)     /usr/lib/i386-linux-gnu/libgio-2.0.so.0
0x00218f90  0x00235e58  Yes (*)     /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
0x0023f650  0x002449a8  Yes (*)     /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
0x00dade30  0x00dc11d8  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x002513f0  0x002e6498  Yes (*)     /usr/lib/libcairo.so.2
0x00ba3640  0x00bc4fe8  Yes (*)     /usr/lib/i386-linux-gnu/libpango-1.0.so.0
0x0033b6e0  0x003a2ed8  Yes (*)     /usr/lib/i386-linux-gnu/libfreetype.so.6
0x003bf030  0x003da758  Yes (*)     /usr/lib/i386-linux-gnu/libfontconfig.so.1
0x003f16f0  0x004255f8  Yes (*)     /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
0x002fbc40  0x002fcd78  Yes (*)     /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
0x002fff60  0x00301678  Yes (*)     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
0x003058c0  0x00309578  Yes (*)     /lib/i386-linux-gnu/librt.so.1
0x00962790  0x009db6a8  Yes (*)     /lib/i386-linux-gnu/libglib-2.0.so.0
0x00435a30  0x00489338  Yes (*)     /usr/lib/libSDL-1.2.so.0
0x004c0610  0x004cc9d8  Yes (*)     /lib/i386-linux-gnu/libpthread.so.0
0x008b7760  0x008c4c98  Yes (*)     /lib/i386-linux-gnu/libz.so.1
0x008ccea0  0x008e6c48  Yes (*)     /usr/lib/i386-linux-gnu/libjpeg.so.62
0x00ff26e0  0x010d4678  Yes (*)     /usr/local/lib/libfmodex-4.26.36.so
0x067f82e0  0x06869d08  Yes (*)     /usr/lib/i386-linux-gnu/libstdc++.so.6
0x008ee4b0  0x00908b38  Yes (*)     /lib/i386-linux-gnu/libm.so.6
0x00912f50  0x00929418  Yes (*)     /lib/i386-linux-gnu/libgcc_s.so.1
0x06252c10  0x0635d1c4  Yes (*)     /lib/i386-linux-gnu/libc.so.6
0x011ba120  0x01248d98  Yes (*)     /usr/lib/i386-linux-gnu/libX11.so.6
0x00da2860  0x00da33e8  Yes (*)     /usr/lib/i386-linux-gnu/libXcomposite.so.1
0x0030f7b0  0x003101e8  Yes (*)     /usr/lib/i386-linux-gnu/libXdamage.so.1
0x004d5e40  0x004d82c8  Yes (*)     /usr/lib/i386-linux-gnu/libXfixes.so.3
0x00d2c5b0  0x00d36b58  Yes (*)     /usr/lib/i386-linux-gnu/libXext.so.6
0x00d732a0  0x00d790d8  Yes (*)     /usr/lib/i386-linux-gnu/libXrender.so.1
0x00314750  0x003151f8  Yes (*)     /usr/lib/i386-linux-gnu/libXinerama.so.1
0x00bec7e0  0x00bf6b48  Yes (*)     /usr/lib/i386-linux-gnu/libXi.so.6
0x00a280e0  0x00a2cbc8  Yes (*)     /usr/lib/i386-linux-gnu/libXrandr.so.2
0x00a30a80  0x00a36088  Yes (*)     /usr/lib/i386-linux-gnu/libXcursor.so.1
0x00df4a40  0x00df5998  Yes (*)     /lib/i386-linux-gnu/libdl.so.2
0x00a39f40  0x00a63c08  Yes (*)     /lib/i386-linux-gnu/libpcre.so.3
0x00a7a630  0x00a86828  Yes (*)     /lib/i386-linux-gnu/libresolv.so.2
0x00a90ec0  0x00aa2468  Yes (*)     /lib/i386-linux-gnu/libselinux.so.1
0x00adab10  0x00b3cb08  Yes (*)     /usr/lib/libpixman-1.so.0
0x00b587a0  0x00b744e8  Yes (*)     /lib/i386-linux-gnu/libpng12.so.0
0x0092d730  0x0092dff8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-shm.so.0
0x00aaa330  0x00aad628  Yes (*)     /usr/lib/i386-linux-gnu/libxcb-render.so.0
0x00b80ab0  0x00b8f7f8  Yes (*)     /usr/lib/i386-linux-gnu/libxcb.so.1
0x00bfbf40  0x00c15568  Yes (*)     /lib/i386-linux-gnu/libexpat.so.1
0x00932830  0x009494af  Yes (*)     /lib/ld-linux.so.2
0x00ab0ef0  0x00ab2358  Yes (*)     /usr/lib/libpulse-simple.so.0
0x00c2b7e0  0x00c5ae88  Yes (*)     /usr/lib/libpulse.so.0
0x00ab59c0  0x00ab6748  Yes (*)     /usr/lib/i386-linux-gnu/libXau.so.6
0x00aceca0  0x00ad08a8  Yes (*)     /usr/lib/i386-linux-gnu/libXdmcp.so.6
0x00c6efa0  0x00ca2578  Yes (*)     /usr/lib/libpulsecommon-0.9.22.so
0x00ab9390  0x00ab94b8  Yes (*)     /usr/lib/i386-linux-gnu/libX11-xcb.so.1
0x00e1efc0  0x00e2e6c8  Yes (*)     /usr/lib/i386-linux-gnu/libICE.so.6
0x00b44410  0x00b48908  Yes (*)     /usr/lib/i386-linux-gnu/libSM.so.6
0x00b4be70  0x00b4ea38  Yes (*)     /usr/lib/libXtst.so.6
0x00e084d0  0x00e08bb8  Yes (*)     /usr/lib/libxcb-atom.so.1
0x00cc7d30  0x00cf6a98  Yes (*)     /lib/i386-linux-gnu/libdbus-1.so.3
0x00d64ed0  0x00d69028  Yes (*)     /lib/libwrap.so.0
0x00efc3a0  0x00f4b698  Yes (*)     /usr/lib/libsndfile.so.1
0x00b93ec0  0x00b95b18  Yes (*)     /lib/i386-linux-gnu/libuuid.so.1
0x00d03130  0x00d0fc08  Yes (*)     /lib/i386-linux-gnu/libnsl.so.1
0x01a711e0  0x01aaff58  Yes (*)     /usr/lib/libFLAC.so.8
0x0605db20  0x0605ff78  Yes (*)     /usr/lib/libvorbisenc.so.2
0x00d3af70  0x00d4f8c8  Yes (*)     /usr/lib/libvorbis.so.0
0x00f81500  0x00f83d98  Yes (*)     /usr/lib/libogg.so.0
0x00abee30  0x00ac3a28  Yes (*)     /lib/i386-linux-gnu/libnss_compat.so.2
0x00bdb930  0x00be1a68  Yes (*)     /lib/i386-linux-gnu/libnss_nis.so.2
0x00d18a90  0x00d1ffe8  Yes (*)     /lib/i386-linux-gnu/libnss_files.so.2
0x00cb0710  0x00cb5a38  Yes (*)     /usr/lib/liboverlay-scrollbar-0.1.so.0
0x00ac85e0  0x00ac8ad8  Yes         /home/nero/trunk/test/liboutput_sdl.so
0x05f8f010  0x06025cb8  Yes (*)     /usr/lib/libasound.so
0x00be67d0  0x00be8bb8  Yes (*)     /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
(*): Shared library is missing debugging information.

* Threads
  5 Thread 0x29acb70 (LWP 24497)  0x004dc416 in __kernel_vsyscall ()
  4 Thread 0x31adb70 (LWP 24498)  0x004dc416 in __kernel_vsyscall ()
  3 Thread 0x3a0eb70 (LWP 24499)  0x004dc416 in __kernel_vsyscall ()
  2 Thread 0x468bb70 (LWP 24500)  0x004dc416 in __kernel_vsyscall ()
* 1 Thread 0xb98880 (LWP 24495)  0x004dc416 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            0x84ae6fc	139126524
edx            0x0	0
ebx            0x5fb9	24505
esp            0x84ae6c0	0x84ae6c0
ebp            0x84ae718	0x84ae718
esi            0x5fb9	24505
edi            0x84ae6fc	139126524
eip            0x4dc416	0x4dc416 <__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 0x29acb70 (LWP 24497)):
#0  0x004dc416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x004c9d46 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x00488b8e in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3  0x00488bd4 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4  0x0043ee4e in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5  0x0048612d in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#6  0x004c1e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7  0x0630c73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x31adb70 (LWP 24498)):
#0  0x004dc416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x062fdf76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00c534a2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3  0x00c423a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4  0x00c42b84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5  0x00c42c64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6  0x00c53443 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7  0x00c9fa75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
No symbol table info available.
#8  0x004c1e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#9  0x0630c73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x3a0eb70 (LWP 24499)):
#0  0x004dc416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x062fdf76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x05fb7b8f in ?? () from /usr/lib/libasound.so
No symbol table info available.
#3  0x05fb7d63 in snd_pcm_wait () from /usr/lib/libasound.so
No symbol table info available.
#4  0x05fbdfa0 in ?? () from /usr/lib/libasound.so
No symbol table info available.
#5  0x0600118a in ?? () from /usr/lib/libasound.so
No symbol table info available.
#6  0x05fb6ac4 in snd_pcm_writei () from /usr/lib/libasound.so
No symbol table info available.
#7  0x0104d5d7 in FMOD::OutputALSA::updateMixer() () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#8  0x01047c8d in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#9  0x004c1e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x0630c73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x468bb70 (LWP 24500)):
#0  0x004dc416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x062d4fe6 in nanosleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0x063061ac in usleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3  0x010497e5 in FMOD_OS_Time_Sleep(unsigned int) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#4  0x01047ca3 in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#5  0x004c1e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#6  0x0630c73e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb98880 (LWP 24495)):
#0  0x004dc416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x004ca46b in waitpid () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x0810c614 in crash_catcher (signum=4, siginfo=0x84ae72c, context=0x84ae7ac) at /home/nero/trunk/src/sdl/crashcatcher.c:249
        status = 0
        dbg_pid = 24505
        fd = {15, 16}
#3  <signal handler called>
No symbol table info available.
#4  0x084aa31b in dsm8 ()
No symbol table info available.
#5  0x8c3dee40 in ?? ()
No symbol table info available.
#6  0x00160000 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

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

Posted: Tue Jun 07, 2011 8:43 am
by Edward-san
Now retry r1965 and r1990.

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

Posted: Tue Jun 07, 2011 9:34 am
by nerotriple6
1965 crash

Code: Select all

*** Fatal Error ***
Illegal operand (signal 4)
Address: 0x844cb5b

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

ZDoom version 2.3.1 (r1965) (Jun  7 2011)

Command line: ./zdoom

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

Current map: MAP01

viewx = -6291456
viewy = 51380224
viewz = 6356992
viewangle = 40000000

Executing: gdb --quiet --batch --command=gdb-respfile-eo6hxQ --pid=2936
[Thread debugging using libthread_db enabled]
[New Thread 0x22a4b70 (LWP 2941)]
[New Thread 0x9911b70 (LWP 2940)]
[New Thread 0x432cb70 (LWP 2939)]
[New Thread 0x19d7b70 (LWP 2938)]
0x003fa416 in __kernel_vsyscall ()
1990 make stops:

Code: Select all

[ 42%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/i_main.o
In file included from /home/nero/trunk/src/./r_defs.h:31:0,
                 from /home/nero/trunk/src/./b_bot.h:15,
                 from /home/nero/trunk/src/./d_player.h:45,
                 from /home/nero/trunk/src/./r_state.h:27,
                 from /home/nero/trunk/src/sdl/i_main.cpp:58:
/home/nero/trunk/src/./m_fixed.h:23:22: fatal error: xs_Float.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/i_main.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
Zdoom crash

Code: Select all

*** Fatal Error ***
Illegal operand (signal 4)
Address: 0x844cb5b

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

ZDoom version 2.3.1 (r1965) (Jun  7 2011)

Command line: ./zdoom

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

Current map: MAP01

viewx = -6291456
viewy = 51380224
viewz = 6356992
viewangle = 40000000

Executing: gdb --quiet --batch --command=gdb-respfile-WVTE8Z --pid=3817
[Thread debugging using libthread_db enabled]
[New Thread 0x3377b70 (LWP 3822)]
[New Thread 0x9ca4b70 (LWP 3821)]
[New Thread 0x1e9bb70 (LWP 3820)]
[New Thread 0x7e63b70 (LWP 3819)]
0x003ce416 in __kernel_vsyscall ()

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

Posted: Tue Jun 07, 2011 12:58 pm
by Edward-san
Ok, enough with this. This is probably the assembler's fault. You can return to the latest revision and compile it with -DNO_ASM=1 with Release mode and you can play it without the need of using the "sudo".
I need to know just another thing: can you post here the output of the followiing terminal command:

Code: Select all

nasm -v
?

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

Posted: Tue Jun 07, 2011 1:03 pm
by nerotriple6

Code: Select all

NASM version 2.09.04 compiled on Nov 26 2010
Errmm what is the latest revision?
EDIT: NVM, svn update worked