Technical support > Linux

Ubuntu 10.04: Crash out on entering battlescape.

(1/5) > >>

Telok:
I had previously been using the windows binaries under wine and updating the game about every six months, twitchy but workable. Last week I decided to Git and compile the linux versions. Git worked fine, compile went perfectly after I reverted a dependency of a dependency of a dependency from 2.1 to 2.0, the languages and maps went fine too. Like the header says, the game crashes on entry to the battlescape.

Crashdump.txt

--- Code: ---======start======
OS Info: Linux kittly-desktop 2.6.32-41-generic #91-Ubuntu SMP Wed Jun 13 11:44:43 UTC 2012 i686
Linux DEBUG, cpu: IA-32, version: 2.5-dev

Failed to open bfd from (‰…\þÿÿ‹…\þÿÿ‰D$…”ýÿÿ‰D$‹…`þÿÿ‰$è€üÿÿ‹…`þÿÿ‰D$ ÇD$)
0x813a4dd : ‰…\þÿÿ‹…\þÿÿ‰D$…”ýÿÿ‰D$‹…`þÿÿ‰$è€üÿÿ‹…`þÿÿ‰D$ ÇD$ : unknown
Failed to open bfd from (èøëÿÿÇD$)
0x8139f7b : èøëÿÿÇD$ : unknown
Failed to open bfd from (ÉÃU‰åƒìÇD$íÇ$)
0x8139e58 : ÉÃU‰åƒìÇD$íÇ$ : unknown
Failed to open bfd from (Xžw)
0x9cf400 : Xžw : unknown
Failed to open bfd from (‹@$…ÀtAèY )
0x80867ee : ‹@$…ÀtAèY : unknown
Failed to open bfd from (ë‰Ö‰Ç‰$èhß)
0x805a482 : ë‰Ö‰Ç‰$èhß : unknown
Failed to open bfd from (ÉÃU‰åƒìXÇ$@)
0x805a4b7 : ÉÃU‰åƒìXÇ$@ : unknown
Failed to open bfd from (é±)
0x80c12e8 : é± : unknown
Failed to open bfd from (¶€±Œ„Àt Æ€±Œ)
0x80bff26 : ¶€±Œ„Àt Æ€±Œ : unknown
Failed to open bfd from (èGÿÿÿè U)
0x805b3ef : èGÿÿÿè U : unknown
Failed to open bfd from (è[C)
0x805b6bb : è[C : unknown
Failed to open bfd from (ëƒút‰$è“ý÷ÿ‰$è{ð÷ÿ‰EÀè“)
0x80ce616 : ëƒút‰$è“ý÷ÿ‰$è{ð÷ÿ‰EÀè“ : unknown
Failed to open bfd from (E܉$è˜)
0x80cea85 : E܉$è˜ : unknown
Failed to open bfd from (ëùU‰åƒì(ÇD$)
0x8138647 : ëùU‰åƒì(ÇD$ : unknown
Failed to open bfd from (‰$è"†)
0x9e6bd6 : ‰$è"† : unknown
Failed to open bfd from (ôU‰åSƒì€=Lt#)
0x804f1a1 : ôU‰åSƒì€=Lt# : unknown
Loaded libraries:
[0x2949120x-0x3091664x] /lib/libpng12.so.0
[0x7655424x-0x7783508x] /usr/lib/libjpeg.so.62
[0x1114112x-0x2027688x] /usr/lib/libbfd-2.20.1-system.20100303.so
[0x9940992x-0x9960140x] /usr/lib/libSDL_ttf-2.0.so.0
[0x5439488x-0x5810356x] /usr/lib/libSDL_mixer-1.2.so.0
[0x7823360x-0x8625516x] /usr/lib/nvidia-current/libGL.so.1
[0x14434304x-0x15017076x] /usr/lib/libSDL-1.2.so.0
[0x1998848x-0x2276404x] /usr/lib/libcurl.so.4
[0x13496320x-0x13823128x] /usr/lib/libtheora.so.0
[0x9105408x-0x9123456x] /usr/lib/libogg.so.0
[0x11902976x-0x13002820x] /usr/lib/libxvidcore.so.4
[0x2281472x-0x2441772x] /usr/lib/libvorbis.so.0
[0x15421440x-0x15455084x] /usr/lib/libmxml.so.1
[0x3477504x-0x3572403x] /lib/tls/i686/cmov/libpthread.so.0
[0x6737920x-0x6765163x] /lib/tls/i686/cmov/librt.so.1
[0x6586368x-0x6594923x] /lib/tls/i686/cmov/libdl.so.2
[0x2449408x-0x2527324x] /lib/libz.so.1
[0x3579904x-0x4613920x] /usr/lib/libstdc++.so.6
[0x2535424x-0x2682095x] /lib/tls/i686/cmov/libm.so.6
[0x2691072x-0x2807980x] /lib/libgcc_s.so.1
[0x10289152x-0x11719919x] /lib/tls/i686/cmov/libc.so.6
[0x4583424x-0x5071620x] /usr/lib/libfreetype.so.6
[0x3100672x-0x3407740x] /usr/lib/libmikmod.so.2
[0x7344128x-0x7372248x] /usr/lib/libvorbisfile.so.3
[0x5066752x-0x5424516x] /usr/lib/libsmpeg-0.4.so.0
[0x15458304x-0x38588623x] /usr/lib/nvidia-current/libGLcore.so.1
[0x15405056x-0x15409264x] /usr/lib/nvidia-current/tls/libnvidia-tls.so.1
[0x10051584x-0x10108140x] /usr/lib/libXext.so.6
[0x38592512x-0x39753064x] /usr/lib/libX11.so.6
[0x2818048x-0x2829184x] /usr/lib/libpulse-simple.so.0
[0x6057984x-0x6323304x] /usr/lib/libpulse.so.0
[0x6774784x-0x7254824x] /usr/lib/libdirectfb-1.2.so.0
[0x2838528x-0x2870280x] /usr/lib/libfusion-1.2.so.0
[0x5812224x-0x5897500x] /usr/lib/libdirect-1.2.so.0
[0x6328320x-0x6526412x] /usr/lib/libidn.so.11
[0x2879488x-0x2924548x] /usr/lib/liblber-2.4.so.2
[0x8630272x-0x8916312x] /usr/lib/libldap_r-2.4.so.2
[0x7380992x-0x7569456x] /usr/lib/libgssapi_krb5.so.2
[0x9134080x-0x9426868x] /lib/i686/cmov/libssl.so.0.9.8
[0x56770560x-0x58175972x] /lib/i686/cmov/libcrypto.so.0.9.8
[0x5939200x-0x6053016x] /lib/ld-linux.so.2
[0x6602752x-0x6698672x] /usr/lib/libxcb.so.1
[0x9433088x-0x9733488x] /usr/lib/libpulsecommon-0.9.21.so
[0x8921088x-0x9015504x] /usr/lib/libICE.so.6
[0x3411968x-0x3438844x] /usr/lib/libSM.so.6
[0x13398016x-0x13415220x] /usr/lib/libXtst.so.6
[0x7262208x-0x7341219x] /lib/tls/i686/cmov/libresolv.so.2
[0x9740288x-0x9830940x] /usr/lib/libsasl2.so.2
[0x39759872x-0x40400116x] /usr/lib/libgnutls.so.26
[0x40394752x-0x41131592x] /usr/lib/libkrb5.so.3
[0x10117120x-0x10258268x] /usr/lib/libk5crypto.so.3
[0x2932736x-0x2940949x] /lib/libcom_err.so.2
[0x5902336x-0x5926000x] /usr/lib/libkrb5support.so.0
[0x3448832x-0x3453976x] /lib/libkeyutils.so.1
[0x6533120x-0x6540400x] /usr/lib/libXau.so.6
[0x6549504x-0x6565520x] /usr/lib/libXdmcp.so.6
[0x13316096x-0x13347496x] /lib/libwrap.so.0
[0x13832192x-0x14256744x] /usr/lib/libsndfile.so.1
[0x13008896x-0x13235996x] /lib/libdbus-1.so.3
[0x6709248x-0x6721958x] /lib/libuuid.so.1
[0x7573504x-0x7623880x] /usr/lib/libXi.so.6
[0x9023488x-0x9086444x] /usr/lib/libtasn1.so.3
[0x115449856x-0x115918220x] /lib/libgcrypt.so.11
[0x9838592x-0x9925667x] /lib/tls/i686/cmov/libnsl.so.1
[0x15020032x-0x15328328x] /usr/lib/libFLAC.so.8
[0x125091840x-0x126169840x] /usr/lib/libvorbisenc.so.2
[0x14303232x-0x14314240x] /lib/libgpg-error.so.0
[0x9969664x-0x10001852x] /usr/lib/libXcursor.so.1
[0x10010624x-0x10041284x] /usr/lib/libXrender.so.1
[0x7630848x-0x7645204x] /usr/lib/libXfixes.so.3
[0x7790592x-0x7816751x] /lib/tls/i686/cmov/libnss_compat.so.2
[0x11702272x-0x11736111x] /lib/tls/i686/cmov/libnss_nis.so.2
[0x11743232x-0x11783255x] /lib/tls/i686/cmov/libnss_files.so.2
[0x72175616x-0x73515968x] ./base/game.so
======end========
--- End code ---

The "failed to load bfd" stuff points in another thread here to the binutils-dev lib. But my binutils-dev is fine, I reloaded it yesterday just in case but that didn't make a difference. So I've reached the limits of my current understanding on this one.

Mattn:
did you compile on your own? if yes:

* run it in windowed mode, and type
** gdb ./ufoai
** run +set vid_fullscreen 0

play the game and try to enter a mission

** if it now crashes, it will go back to gdb where you should type: bt full and attach the output of this here.

Telok:
As per the console log then... segfault!


--- Code: ---Program received signal SIGSEGV, Segmentation fault.
0x080867ee in S_MumbleLink () at src/client/sound/s_mumble.cpp:24
24 if (!snd_mumble->integer)

--- End code ---

bt full


--- Code: ---#0  0x080867ee in S_MumbleLink () at src/client/sound/s_mumble.cpp:24
No locals.
#1  0x0805a482 in CL_RequestNextDownload () at src/client/cl_main.cpp:608
No locals.
#2  0x0805a4b7 in CL_Precache_f () at src/client/cl_main.cpp:621
No locals.
#3  0x080c12e8 in Cmd_ExecuteString (text=0xbfffeeec "precache")
    at src/common/cmd.cpp:951
        cmd = 0xb16a578
        a = 0x0
        str = 0xe443900 "precache"
        hash = 15
#4  0x080bff26 in Cbuf_Execute () at src/common/cmd.cpp:248
        text = 0x88cb1a0 "precache\n excavation \n\ngo;\nt 200 24010\nady_update\nusic_change geoscape;\n\nange geoscape;\nr (e.g. ~/.ufoai/<version>/base) to execute it\n\nversion\n\nd popup_tipoftheday main;check_cvars;\nild popup_tipofth"...
        quotes = 0
        i = 9
        line = "precache", '\000' <repeats 456 times>, "\034\342\r\b\221\313h\016\220\313h\016", '\000' <repeats 16 times>, "\b\361\377\277e\342\r\b\220\313h\016\220\313h\016\221\313h\016\277y\210\000y|\210\000ȯ\210\000(\361\377\277T\336\r\001\334\362\377\277\335\362\377\277(\361\377\277\243\337\r\b\220\313h\016\220\3---Type <return> to continue, or q <return> to quit---
13h\016\364\361\377\277\034\342\r\b\220\313h\016\334\362\377\277\000\000\000\000\257\331\r\b\220\313h\016\220\313h\016h\361\377\277T\336\r\b\334\362\377\277\334\362\377\277\220\313h\016>\342\r\bp\361\377\277\220\313h\016\221\313h\016Q\305<\001\220\034P\n\335\362\377\277\250\361\377\277h\343\r\b\364\361\377\277\214\361\377\277T\362\377\277\034\342\r\b'\177^\000\221\313h\016\031\223^\000\220\313h\016\220\313h\016\220\313h\016\366\023|\000\364o=\000`\256\217\000\000\000\000\000\310\361\377\277Q\305<\000\220\034P\n\334\362\377\277\334\362\377\277\220\313h\001LQ\326\r`\000\273\t\b\362\377\277\363\r\023\b\220\034P\np\313h\016I\020\000\000P\324\000\000\300\263\212\000\364\237\212\000\300\263\212\000\000\000\000\000\b\362\377\277\235J|\000\030\362\377\277\000\000\000\000'\177^\000`\256\217\000\031\223^\000Bw\r\bp\313h\016\272\354\034\b\366\023|\000\364"...
#5  0x0805b3ef in CL_SendCommand () at src/client/cl_main.cpp:988
No locals.
#6  0x0805b6bb in CL_Frame (now=25592, data=0x0) at src/client/cl_main.cpp:1099
        lastFrame = 25592
        delta = 1562
#7  0x080ce616 in tick_timer (now=25592, data=0xdc5cd00)
    at src/common/common.cpp:1310
        timer = 0xdc5cd00
        old_interval = 20
        lateness = 0
#8  0x080cea85 in Qcommon_Frame () at src/common/common.cpp:1452
        event = {p_ = 0xdd4adb0}
---Type <return> to continue, or q <return> to quit---
        time_to_next = 0
#9  0x08138647 in main (argc=4, argv=0xbffff4e4)
    at src/ports/linux/linux_main.cpp:55
No locals.

--- End code ---

I haven't used the debugger before but you missed the bit where you tell gdb "file ufo" so it knows which program to run. Since I like unix and am taking the CS courses the help files are easy for me to use, less so for some others.

Also, I'm out of state until next Wednesday. With the "state" being Alaska "out" will have a value of 3000 miles.

Mattn:
ah, you have sound disabled, no? anyway - that helps to fix the bug. thanks a lot

Mattn:

--- Quote from: Telok on August 30, 2012, 01:27:30 am ---I haven't used the debugger before but you missed the bit where you tell gdb "file ufo" so it knows which program to run. Since I like unix and am taking the CS courses the help files are easy for me to use, less so for some others.

--- End quote ---

you haven't type "file ufo" if you ran gdb with the parameter ./ufo ;)

Navigation

[0] Message Index

[#] Next page

Go to full version