Program: /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(warzone2100_wzgm) Command line: "/mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100" Version: Version tcmask/branches/berg-exp r483 (modified locally) - Built Sep 6 2010 - DEBUG Distributor: UNKNOWN Compiled on: Sep 6 2010 00:56:24 Compiled by: GCC 4.5.1 Compiled mode: Debug build Executed on: Mon Sep 6 00:58:21 2010 Operating system: Linux Node name: sharif-laptop Release: 2.6.35-ARCH Version: #1 SMP PREEMPT Fri Aug 27 16:22:18 UTC 2010 Machine: i686 Pointers: 32bit Compiled against PhysicsFS version: 2.0.1 Running with PhysicsFS version: 2.0.1 Misc Data: [00:58:22]OpenGL Vendor : Tungsten Graphics, Inc [00:58:22]OpenGL Renderer : Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 x86/MMX/SSE2 [00:58:22]OpenGL Version : 2.1 Mesa 7.8.2 [00:58:22]Video Mode 1280 x 800 (32 bpp) (window) [00:58:22]OpenGL GLSL Version : 1.20 [00:58:22]OpenAL Device Name: ALSA Software [00:58:22]OpenAL Vendor: OpenAL Community [00:58:22]OpenAL Version: 1.1 ALSOFT 1.12.854 [00:58:22]OpenAL Renderer: OpenAL Soft [00:58:22]OpenAL Extensions: AL_EXTX_buffer_sub_data AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic [00:58:22]Using language: System locale [00:58:57]Current Level/map is Sk-GreatRift-T3 Dump caused by signal: SIGFPE: Erroneous arithmetic operation: Integer divide by zero Log message: warning |12:58:28: [mapLoad] tileset not loaded, using arizona (map preview?) GLIBC raw backtrace: /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x82a6792] [0xb76f540c] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(displayStructureButton+0xa9)[0x80cf7db] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(CreateIMDButton+0x8e0)[0x81434bb] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(RenderToButton+0x4a)[0x814060d] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(intDisplayStatusButton+0x67a)[0x813fdd1] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x821f5ed] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x821f6ac] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x821f6ac] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x821f6ac] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(widgDisplayScreen+0x23)[0x821f70e] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(intDisplayWidgets+0x7e)[0x8134319] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(gameLoop+0xfc8)[0x815d089] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x815f096] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x815f4f9] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100(main+0x81f)[0x815fd2f] /lib/libc.so.6(__libc_start_main+0xe6)[0xb70a9c76] /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[0x80b8111] GDB extended backtrace: GNU gdb (GDB) 7.1 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "i686-pc-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100...done. Attaching to program: /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100, process 4834 Reading symbols from /usr/lib/libv4l/v4l2convert.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libv4l/v4l2convert.so Reading symbols from /usr/lib/libSDL-1.2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libSDL-1.2.so.0 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] [New Thread 0xb3455b70 (LWP 4841)] [New Thread 0xb3c56b70 (LWP 4840)] [New Thread 0xb6364b70 (LWP 4839)] [New Thread 0xb6c67b70 (LWP 4838)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /usr/lib/libphysfs.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libphysfs.so.1 Reading symbols from /usr/lib/libpng14.so.14...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpng14.so.14 Reading symbols from /usr/lib/libvorbisfile.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libvorbisfile.so.3 Reading symbols from /usr/lib/libvorbis.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libvorbis.so.0 Reading symbols from /usr/lib/libogg.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libogg.so.0 Reading symbols from /usr/lib/libtheora.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libtheora.so.0 Reading symbols from /usr/lib/libopenal.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libopenal.so.1 Reading symbols from /usr/lib/libGLC.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libGLC.so.0 Reading symbols from /usr/lib/libGL.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libGL.so.1 Reading symbols from /usr/lib/libGLU.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libGLU.so.1 Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /usr/lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libv4l2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libv4l2.so.0 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libfribidi.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libfribidi.so.0 Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib/libXxf86vm.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXxf86vm.so.1 Reading symbols from /usr/lib/libXdamage.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXdamage.so.1 Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libX11-xcb.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libX11-xcb.so.1 Reading symbols from /usr/lib/libxcb-glx.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxcb-glx.so.0 Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxcb.so.1 Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libdrm.so.2 Reading symbols from /usr/lib/libv4lconvert.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libv4lconvert.so.0 Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/xorg/modules/dri/i965_dri.so...done. Loaded symbols for /usr/lib/xorg/modules/dri/i965_dri.so Reading symbols from /usr/lib/libdrm_intel.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libdrm_intel.so.1 Reading symbols from /usr/lib/libasound.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 0xb76f5424 in __kernel_vsyscall () (gdb) #0 0xb76f5424 in __kernel_vsyscall () No symbol table info available. #1 0xb762940b in waitpid () from /lib/libpthread.so.0 No symbol table info available. #2 0x082a6665 in gdbExtendedBacktrace (dumpFile=11) at exceptionhandler.c:499 gdbPipe = 13 status = -1075029848 wpid = 548 gdbCommands = "backtrace full\nframe 4\ndisassemble\ninfo registers\nquit\n" pid = 4843 __PRETTY_FUNCTION__ = "gdbExtendedBacktrace" #3 0x082a68ef in posixExceptionHandler (signum=8, siginfo=0xbfec58bc, sigcontext=0xbfec593c) at exceptionhandler.c:607 allreadyRunning = 1 gdmpPath = "/tmp/warzone2100.gdmp-XXXXXX" dumpFilename = "/tmp/warzone2100.gdmp-Ntx1aE" dumpFile = 11 signal = 0x831b8f4 "SIGFPE: Erroneous arithmetic operation: Integer divide by zero" btBuffer = {0x82a6792, 0xb76f540c, 0x80cf7db, 0x81434bb, 0x814060d, 0x813fdd1, 0x821f5ed, 0x821f6ac, 0x821f6ac, 0x821f6ac, 0x821f70e, 0x8134319, 0x815d089, 0x815f096, 0x815f4f9, 0x815fd2f, 0xb70a9c76, 0x80b8111, 0x0, 0x0} btSize = 18 #4 No symbol table info available. #5 0x0828f901 in getModularScaledGraphicsTime (timePeriod=0, requiredRange=0) at gtime.c:99 No locals. #6 0x080cf7db in displayStructureButton (psStructure=0xc679718, rotation=0xbfec5cf8, Position=0xbfec5cec, RotXYZ=1, scale=25) at component.c:227 baseImd = 0xb2a3ab0 strImd = 0x5 mountImd = {0x1, 0x2b6, 0x224, 0x0} weaponImd = {0xbfec5c88, 0xb59620bf, 0x9ac5270, 0xb71} nWeaponStat = 1 i = 661 #7 0x081434bb in CreateIMDButton (ImageFile=0x0, ImageID=0, Object=0xc679718, Player=0, Buffer=0x8ad3754, Down=16, IMDType=4, buttonType=0) at intdisplay.c:2420 Size = 0 Rotation = {x = -30, y = 45, z = 0} Position = {x = 0, y = 0, z = 2000} NullVector = {x = 0, y = 0, z = 0} ox = 2 oy = 2 ButSurf = 0x85f9f18 Radius = 3219938628 basePlateSize = 3 scale = 25 __FUNCTION__ = "CreateIMDButton" #8 0x0814060d in RenderToButton (ImageFile=0x0, ImageID=0, Object=0xc679718, Player=0, Buffer=0x8ad3754, Down=16, IMDType=4, buttonType=0) at intdisplay.c:1150 No locals. #9 0x0813fdd1 in intDisplayStatusButton (psWidget=0xc5a2f18, xOffset=484, yOffset=661, pColours=0xc5a2f58) at intdisplay.c:868 Form = 0xc5a2f18 psObj = 0xbe460f8 Structure = 0xc679718 Droid = 0xbe460f8 Down = 16 Image = -1 Hilight = 0 Stats = 0xff000000 psResGraphic = 0x20002 Buffer = 0x8ad3754 IMDType = 4 compID = 131074 Player = 0 Object = 0xc679718 bOnHold = 0 __FUNCTION__ = "intDisplayStatusButton" #10 0x0821f5ed in widgDisplayForm (psForm=0xc5a2f18, xOffset=484, yOffset=661) at widget.c:1464 psCurr = 0x0 xOrigin = 0 yOrigin = 0 #11 0x0821f6ac in widgDisplayForm (psForm=0xc5a24f0, xOffset=484, yOffset=661) at widget.c:1496 psCurr = 0xc5a2f18 xOrigin = 0 yOrigin = 11 #12 0x0821f6ac in widgDisplayForm (psForm=0xc5a2480, xOffset=482, yOffset=644) at widget.c:1496 psCurr = 0xc5a24f0 xOrigin = 0 yOrigin = 0 #13 0x0821f6ac in widgDisplayForm (psForm=0xbe44688, xOffset=0, yOffset=0) at widget.c:1496 psCurr = 0xc5a2480 xOrigin = 0 yOrigin = 0 #14 0x0821f70e in widgDisplayScreen (psScreen=0xbce1270) at widget.c:1514 No locals. #15 0x08134319 in intDisplayWidgets () at hci.c:3329 bPlayerHasHQ = 0 #16 0x0815d089 in gameLoop () at loop.c:606 psCurr = 0x0 psNext = 0x0 psCBuilding = 0x0 psNBuilding = 0x0 psCFeat = 0x0 psNFeat = 0x0 i = 8 widgval = 3219939176 quitting = 0 intRetVal = INT_INTERCEPT clearMode = 0 gameTicked = true __FUNCTION__ = "gameLoop" #17 0x0815f096 in runGameLoop () at main.c:832 __FUNCTION__ = "runGameLoop" #18 0x0815f4f9 in mainLoop () at main.c:1026 event = {type = 6 '\006', active = {type = 6 '\006', gain = 0 '\000', state = 1 '\001'}, key = {type = 6 '\006', which = 0 '\000', state = 1 '\001', keysym = {scancode = 128 '\200', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {type = 6 '\006', which = 0 '\000', state = 1 '\001', x = 128, y = 726, xrel = 0, yrel = 0}, button = {type = 6 '\006', which = 0 '\000', button = 1 '\001', state = 0 '\000', x = 128, y = 726}, jaxis = {type = 6 '\006', which = 0 '\000', axis = 1 '\001', value = 128}, jball = {type = 6 '\006', which = 0 '\000', ball = 1 '\001', xrel = 128, yrel = 726}, jhat = {type = 6 '\006', which = 0 '\000', hat = 1 '\001', value = 0 '\000'}, jbutton = {type = 6 '\006', which = 0 '\000', button = 1 '\001', state = 0 '\000'}, resize = {type = 6 '\006', w = 47579264, h = 0}, expose = { type = 6 '\006'}, quit = {type = 6 '\006'}, user = {type = 6 '\006', code = 47579264, data1 = 0x0, data2 = 0x0}, syswm = {type = 6 '\006', msg = 0x2d60080}} #19 0x0815fd2f in main (argc=1, argv=0xbfec7224) at main.c:1271 __FUNCTION__ = "main" (gdb) #4 (gdb) Dump of assembler code for function __kernel_rt_sigreturn: => 0xb76f540c <+0>: mov $0xad,%eax 0xb76f5411 <+5>: int $0x80 0xb76f5413 <+7>: nop End of assembler dump. (gdb) eax 0xfffffe00 -512 ecx 0xbfec57e0 -1075030048 edx 0x0 0 ebx 0x4 4 esp 0xbfec58b0 0xbfec58b0 ebp 0xbfec5c28 0xbfec5c28 esi 0x224 548 edi 0x0 0 eip 0xb76f540c 0xb76f540c <__kernel_rt_sigreturn> eflags 0x293 [ CF AF SF IF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) A debugging session is active. Inferior 1 [process 4834] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal] Detaching from program: /mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100, process 4834