Code: Select all
Selected assembler: $assembler$Code: Select all
$assembler$ -vModerator: GZDoom Developers
Code: Select all
Selected assembler: $assembler$Code: Select all
$assembler$ -vCode: Select all
cmake -DCMAKE_BUILD_TYPE=Release .. -DNO_ASM=1
Code: Select all
nero@svart:~/trunk/release$ assembler$ -v
assembler$: command not found
Code: Select all
nero@svart:~/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/usr/local/lib/libfmodex-4.26.36.so -DFMOD_INCLUDE_DIR=/usr/local/include/fmodex/ ..
-- 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 /usr/local/include/fmodex
-- FMOD library found at /usr/local/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
Code: Select all
*** Fatal Error ***
Integer divide by zero (signal 8)
Address: 0x826c50d
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 (r3221) (Jun 7 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-WtuVGl
[Thread debugging using libthread_db enabled]
[New Thread 0x5139b70 (LWP 20068)]
[New Thread 0x3d51b70 (LWP 20067)]
[New Thread 0x3424b70 (LWP 20066)]
[New Thread 0x2c23b70 (LWP 20061)]
0x00f5f416 in __kernel_vsyscall ()
* Loaded Libraries
From To Syms Read Shared Object Library
0x006b4ac0 0x00957418 Yes (*) /usr/lib/libgtk-x11-2.0.so.0
0x00124c50 0x00181b88 Yes (*) /usr/lib/libgdk-x11-2.0.so.0
0x004fe190 0x0050b7b8 Yes (*) /usr/lib/i386-linux-gnu/libatk-1.0.so.0
0x001c7d20 0x00282878 Yes (*) /usr/lib/i386-linux-gnu/libgio-2.0.so.0
0x00531f90 0x0054ee58 Yes (*) /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
0x002af650 0x002b49a8 Yes (*) /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
0x00c9ee30 0x00cb21d8 Yes (*) /usr/lib/libgdk_pixbuf-2.0.so.0
0x002c13f0 0x00356498 Yes (*) /usr/lib/libcairo.so.2
0x00f22640 0x00f43fe8 Yes (*) /usr/lib/i386-linux-gnu/libpango-1.0.so.0
0x003716e0 0x003d8ed8 Yes (*) /usr/lib/i386-linux-gnu/libfreetype.so.6
0x003f5030 0x00410758 Yes (*) /usr/lib/i386-linux-gnu/libfontconfig.so.1
0x004276f0 0x0045b5f8 Yes (*) /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
0x00467c40 0x00468d78 Yes (*) /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
0x0046bf60 0x0046d678 Yes (*) /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
0x004718c0 0x00475578 Yes (*) /lib/i386-linux-gnu/librt.so.1
0x00567790 0x005e06a8 Yes (*) /lib/i386-linux-gnu/libglib-2.0.so.0
0x00a40a30 0x00a94338 Yes (*) /usr/lib/libSDL-1.2.so.0
0x0047d610 0x004899d8 Yes (*) /lib/i386-linux-gnu/libpthread.so.0
0x00493760 0x004a0c98 Yes (*) /lib/i386-linux-gnu/libz.so.1
0x004a8ea0 0x004c2c48 Yes (*) /usr/lib/i386-linux-gnu/libjpeg.so.62
0x00fbc6e0 0x0109e678 Yes (*) /usr/local/lib/libfmodex-4.26.36.so
0x00b0b2e0 0x00b7cd08 Yes (*) /usr/lib/i386-linux-gnu/libstdc++.so.6
0x004ca4b0 0x004e4b38 Yes (*) /lib/i386-linux-gnu/libm.so.6
0x00c74f50 0x00c8b418 Yes (*) /lib/i386-linux-gnu/libgcc_s.so.1
0x00ccec10 0x00dd91c4 Yes (*) /lib/i386-linux-gnu/libc.so.6
0x070b2120 0x07140d98 Yes (*) /usr/lib/i386-linux-gnu/libX11.so.6
0x004ed860 0x004ee3e8 Yes (*) /usr/lib/i386-linux-gnu/libXcomposite.so.1
0x004f17b0 0x004f21e8 Yes (*) /usr/lib/i386-linux-gnu/libXdamage.so.1
0x00514e40 0x005172c8 Yes (*) /usr/lib/i386-linux-gnu/libXfixes.so.3
0x0051c5b0 0x00526b58 Yes (*) /usr/lib/i386-linux-gnu/libXext.so.6
0x0062d2a0 0x006330d8 Yes (*) /usr/lib/i386-linux-gnu/libXrender.so.1
0x00529750 0x0052a1f8 Yes (*) /usr/lib/i386-linux-gnu/libXinerama.so.1
0x006377e0 0x00641b48 Yes (*) /usr/lib/i386-linux-gnu/libXi.so.6
0x006460e0 0x0064abc8 Yes (*) /usr/lib/i386-linux-gnu/libXrandr.so.2
0x0064ea80 0x00654088 Yes (*) /usr/lib/i386-linux-gnu/libXcursor.so.1
0x00657a40 0x00658998 Yes (*) /lib/i386-linux-gnu/libdl.so.2
0x00bb2f40 0x00bdcc08 Yes (*) /lib/i386-linux-gnu/libpcre.so.3
0x00bf3630 0x00bff828 Yes (*) /lib/i386-linux-gnu/libresolv.so.2
0x00c09ec0 0x00c1b468 Yes (*) /lib/i386-linux-gnu/libselinux.so.1
0x00e97b10 0x00ef9b08 Yes (*) /usr/lib/libpixman-1.so.0
0x00c247a0 0x00c404e8 Yes (*) /lib/i386-linux-gnu/libpng12.so.0
0x0065b730 0x0065bff8 Yes (*) /usr/lib/i386-linux-gnu/libxcb-shm.so.0
0x00c48330 0x00c4b628 Yes (*) /usr/lib/i386-linux-gnu/libxcb-render.so.0
0x00c54ab0 0x00c637f8 Yes (*) /usr/lib/i386-linux-gnu/libxcb.so.1
0x00e1af40 0x00e34568 Yes (*) /lib/i386-linux-gnu/libexpat.so.1
0x00e76830 0x00e8d4af Yes (*) /lib/ld-linux.so.2
0x00c67ef0 0x00c69358 Yes (*) /usr/lib/libpulse-simple.so.0
0x046a07e0 0x046cfe88 Yes (*) /usr/lib/libpulse.so.0
0x0065f9c0 0x00660748 Yes (*) /usr/lib/i386-linux-gnu/libXau.so.6
0x00c6cca0 0x00c6e8a8 Yes (*) /usr/lib/i386-linux-gnu/libXdmcp.so.6
0x048f9fa0 0x0492d578 Yes (*) /usr/lib/libpulsecommon-0.9.22.so
0x004f5390 0x004f54b8 Yes (*) /usr/lib/i386-linux-gnu/libX11-xcb.so.1
0x00e45fc0 0x00e556c8 Yes (*) /usr/lib/i386-linux-gnu/libICE.so.6
0x00c90410 0x00c94908 Yes (*) /usr/lib/i386-linux-gnu/libSM.so.6
0x00e5be70 0x00e5ea38 Yes (*) /usr/lib/libXtst.so.6
0x00e624d0 0x00e62bb8 Yes (*) /usr/lib/libxcb-atom.so.1
0x056c0d30 0x056efa98 Yes (*) /lib/i386-linux-gnu/libdbus-1.so.3
0x00e67ed0 0x00e6c028 Yes (*) /lib/libwrap.so.0
0x06ff43a0 0x07043698 Yes (*) /usr/lib/libsndfile.so.1
0x00e6fec0 0x00e71b18 Yes (*) /lib/i386-linux-gnu/libuuid.so.1
0x00f03130 0x00f0fc08 Yes (*) /lib/i386-linux-gnu/libnsl.so.1
0x05d931e0 0x05dd1f58 Yes (*) /usr/lib/libFLAC.so.8
0x08ba3b20 0x08ba5f78 Yes (*) /usr/lib/libvorbisenc.so.2
0x059d5f70 0x059ea8c8 Yes (*) /usr/lib/libvorbis.so.0
0x01e83500 0x01e85d98 Yes (*) /usr/lib/libogg.so.0
0x0241be30 0x02420a28 Yes (*) /lib/i386-linux-gnu/libnss_compat.so.2
0x058b8930 0x058bea68 Yes (*) /lib/i386-linux-gnu/libnss_nis.so.2
0x06f6aa90 0x06f71fe8 Yes (*) /lib/i386-linux-gnu/libnss_files.so.2
0x0778e710 0x07793a38 Yes (*) /usr/lib/liboverlay-scrollbar-0.1.so.0
0x00c976e0 0x00c97908 Yes (*) /usr/lib/gtk-2.0/modules/librgba.so
0x00f5a5f0 0x00f5c718 Yes (*) /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
0x0354d3d0 0x0354e918 Yes (*) /usr/lib/libcanberra-gtk.so.0
0x08ae2f30 0x08aece28 Yes (*) /usr/lib/libcanberra.so.0
0x016ea570 0x016ef5c8 Yes (*) /usr/lib/libvorbisfile.so.3
0x0449c8e0 0x044a7458 Yes (*) /usr/lib/libtdb.so.1
0x04891710 0x04896018 Yes (*) /usr/lib/libltdl.so.7
0x01680e60 0x016a7db8 Yes (*) /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
0x0430d740 0x04312628 Yes (*) /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
0x06a565e0 0x06a56b68 Yes (*) /home/nero/trunk/release/liboutput_sdl.so
0x09118010 0x091aecb8 Yes (*) /usr/lib/libasound.so
0x074627d0 0x07464bb8 Yes (*) /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
(*): Shared library is missing debugging information.
* Threads
5 Thread 0x2c23b70 (LWP 20061) 0x00f5f416 in __kernel_vsyscall ()
4 Thread 0x3424b70 (LWP 20066) 0x00f5f416 in __kernel_vsyscall ()
3 Thread 0x3d51b70 (LWP 20067) 0x00f5f416 in __kernel_vsyscall ()
2 Thread 0x5139b70 (LWP 20068) 0x00f5f416 in __kernel_vsyscall ()
* 1 Thread 0xb7756880 (LWP 20060) 0x00f5f416 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 0x856e0dc 139911388
edx 0x0 0
ebx 0x4e69 20073
esp 0x856e090 0x856e090
ebp 0x856e0f8 0x856e0f8
esi 0x4e69 20073
edi 0x856e0dc 139911388
eip 0xf5f416 0xf5f416 <__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 0x2c23b70 (LWP 20061)):
#0 0x00f5f416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x00486d46 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2 0x00a93b8e in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#3 0x00a93bd4 in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#4 0x00a49e4e in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#5 0x00a9112d in ?? () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#6 0x0047ee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7 0x00d8873e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
Thread 4 (Thread 0x3424b70 (LWP 20066)):
#0 0x00f5f416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x00d79f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2 0x046c84a2 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#3 0x046b73a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
No symbol table info available.
#4 0x046b7b84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
No symbol table info available.
#5 0x046b7c64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
No symbol table info available.
#6 0x046c8443 in ?? () from /usr/lib/libpulse.so.0
No symbol table info available.
#7 0x0492aa75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
No symbol table info available.
#8 0x0047ee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#9 0x00d8873e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x3d51b70 (LWP 20067)):
#0 0x00f5f416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x00d79f76 in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2 0x09140b8f in ?? () from /usr/lib/libasound.so
No symbol table info available.
#3 0x09140d63 in snd_pcm_wait () from /usr/lib/libasound.so
No symbol table info available.
#4 0x09146fa0 in ?? () from /usr/lib/libasound.so
No symbol table info available.
#5 0x0918a18a in ?? () from /usr/lib/libasound.so
No symbol table info available.
#6 0x0913fac4 in snd_pcm_writei () from /usr/lib/libasound.so
No symbol table info available.
#7 0x010175d7 in FMOD::OutputALSA::updateMixer() () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#8 0x01011c8d in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#9 0x0047ee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x00d8873e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x5139b70 (LWP 20068)):
#0 0x00f5f416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x00d50fe6 in nanosleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00d821ac in usleep () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3 0x010137e5 in FMOD_OS_Time_Sleep(unsigned int) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#4 0x01011ca3 in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex-4.26.36.so
No symbol table info available.
#5 0x0047ee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#6 0x00d8873e in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
Thread 1 (Thread 0xb7756880 (LWP 20060)):
#0 0x00f5f416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0048746b in waitpid () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2 0x08110fcc in _start ()
No symbol table info available.
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release ..Code: Select all
nero@svart:~/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release ..
-- 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 /usr/local/include/fmodex
-- FMOD library found at /usr/local/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
?Edward-san wrote:Post here the output of:About bzip2, don't care about that, since zdoom has internal bzip2 build.Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release ..
Code: Select all
nero@svart:~/trunk/release$ cmake -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Found JPEG: /usr/lib/i386-linux-gnu/libjpeg.so
-- Found ZLIB: /usr/include (found version "1.2.3.4")
-- Using system zlib
-- Using system jpeg library
-- Using internal bzip2 library
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- /usr/include
-- /home/nero/trunk/bzip2
-- /home/nero/trunk/lzma/C
-- Performing Test HAVE_NO_ARRAY_BOUNDS
-- Performing Test HAVE_NO_ARRAY_BOUNDS - Success
-- Looking for itoa
-- Looking for itoa - not found
-- checking for module 'gtk+-2.0'
-- found gtk+-2.0, version 2.24.4
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- FMOD include files found at /usr/local/include/fmodex
-- FMOD library found at /usr/local/lib/libfmodex-4.26.36.so
-- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
-- Selected assembler: /usr/bin/nasm
-- Performing Test CAN_DO_MFPMATH
-- Performing Test CAN_DO_MFPMATH - Success
-- Performing Test CAN_DO_ARCHSSE2
-- Performing Test CAN_DO_ARCHSSE2 - Failed
-- Looking for mprotect
-- Looking for mprotect - found
-- Looking for filelength
-- Looking for filelength - not found
-- Looking for strupr
-- Looking for strupr - not found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for sigtimedwait
-- Looking for sigtimedwait - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Performing Test HAS_VA_COPY
-- Performing Test HAS_VA_COPY - Success
-- Fluid synth libs: FLUIDSYNTH_LIBRARIES-NOTFOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nero/trunk/release

can you output the crash report here when you build it with RelWithDebInfo?nerotriple6 wrote:Thanks.. but I can't..![]()
It crashes ...this stupid Natty..!
Code: Select all
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfoCode: Select all
CMake Error: The source directory "/home/nero/trunk/release" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
No, you forgot the '..' at the end of the command.nerotriple6 wrote:Like so?Code: Select all
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo