project-navigation
Personal tools

Author Topic: Ubuntu 10.04: Crash out on entering battlescape.  (Read 10432 times)

Offline Telok

  • Squad Leader
  • ****
  • Posts: 117
    • View Profile
Ubuntu 10.04: Crash out on entering battlescape.
« on: August 29, 2012, 12:43:41 am »
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: [Select]
======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========

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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #1 on: August 29, 2012, 07:54:21 am »
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.

Offline Telok

  • Squad Leader
  • ****
  • Posts: 117
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #2 on: August 30, 2012, 01:27:30 am »
As per the console log then... segfault!

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

bt full

Code: [Select]
#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.

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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #3 on: August 30, 2012, 06:46:34 am »
ah, you have sound disabled, no? anyway - that helps to fix the bug. thanks a lot

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #4 on: August 30, 2012, 06:47:43 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.

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

Offline Telok

  • Squad Leader
  • ****
  • Posts: 117
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #5 on: September 06, 2012, 03:43:00 am »
Quote
you haven't type "file ufo" if you ran gdb with the parameter ./ufo ;)

gdb ./ufoai returned "file/path not found"
Which was quite odd since it does exist.
Odd, but workaround-able.

Offline Athelas

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #6 on: September 09, 2012, 06:32:38 pm »
gdb output as requested :) Anything else needed?


Connecting to localhost...
==== InitGame ====
Spawned ai player for team 0 with entnum 81 (a c)
Spawned ai player for team 0 with entnum 82 (b c)
Spawned ai player for team 0 with entnum 83 (a c)
Spawned ai player for team 0 with entnum 84 (b c)
Spawned ai player for team 0 with entnum 85 (a c)
Spawned ai player for team 0 with entnum 86 (b c)
Spawned ai player for team 0 with entnum 87 (a c)
Spawned ai player for team 0 with entnum 88 (b c)
Created AI player (team 0)
Spawned ai player for team 7 with entnum 89 (Zmolukk Tt Treknk)
Spawned ai player for team 7 with entnum 90 (BS/R 000.1101)
Spawned ai player for team 7 with entnum 91 (BS/V 101.1100)
Spawned ai player for team 7 with entnum 92 (BS/M 001.1101)
Created AI player (team 7)
Used inventory slots after ai spawn: 0
connection attempt from loopback connection
load material file: 'materials/transport.mat'
World model: 13410 triangles
Starting the game...
bothadj has joined team 1
Music: battlescape track changed from Crystan-Geosphere02 to van_mission2.
Used inventory slots: 0
Music: battlescape track changed from van_mission2 to Crystan-Battlescape03.
Used inventory slots client bothadj spawn: 0
(player 0) It's team 1's turn!
bothadj has taken control over team 1.

Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt full
#0  0x0012d422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0077f651 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x00782a82 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x002deda8 in ?? () from /usr/lib/nvidia-current/libGL.so.1
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

Offline Athelas

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #7 on: September 09, 2012, 07:33:45 pm »
Disable shaders in the graphics options and it enters the battle space without crashing.

Suggested From here:
http://ufoai.org/forum/index.php?action=post2;start=0;board=23

Done debugging now, will be playing :D

Offline Telok

  • Squad Leader
  • ****
  • Posts: 117
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #8 on: September 14, 2012, 12:49:57 am »
I updated from git and recompiled still a no-go.


Off the terminal...
Code: [Select]
Connecting to localhost...
==== InitGame ====
Spawned ai player for team 0 with entnum 49 (b c)
Spawned ai player for team 0 with entnum 50 (a c)
Spawned ai player for team 0 with entnum 51 (a c)
Spawned ai player for team 0 with entnum 52 (a c)
Created AI player (team 0)
Spawned ai player for team 7 with entnum 53 (Zmolukk Kkr Kraukk)
Spawned ai player for team 7 with entnum 54 (Zrokk Sk Trevuk)
Spawned ai player for team 7 with entnum 55 (Ktrukk Tsk Hrekk)
Created AI player (team 7)
Used inventory slots after ai spawn: 0
connection attempt from loopback connection
load material file: 'materials/excavation.mat'
World model: 12340 triangles
Error: Received signal 11.

Current crashdump.txt
Code: [Select]
======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)
0x1b6400 : 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 (‰$è"†)
0xf86bd6 : ‰$è"† : unknown
Failed to open bfd from (ôU‰åSƒì€=Lt#)
0x804f1a1 : ôU‰åSƒì€=Lt# : unknown
Loaded libraries:
[0x12578816x-0x12721360x] /lib/libpng12.so.0
[0x12099584x-0x12227668x] /usr/lib/libjpeg.so.62
[0x1896448x-0x2810024x] /usr/lib/libbfd-2.20.1-system.20100303.so
[0x8179712x-0x8198860x] /usr/lib/libSDL_ttf-2.0.so.0
[0x7311360x-0x7682228x] /usr/lib/libSDL_mixer-1.2.so.0
[0x2891776x-0x3693932x] /usr/lib/nvidia-current/libGL.so.1
[0x9273344x-0x9856116x] /usr/lib/libSDL-1.2.so.0
[0x14929920x-0x15207476x] /usr/lib/libcurl.so.4
[0x6656000x-0x6982808x] /usr/lib/libtheora.so.0
[0x13488128x-0x13506176x] /usr/lib/libogg.so.0
[0x3698688x-0x4798532x] /usr/lib/libxvidcore.so.4
[0x10784768x-0x10945068x] /usr/lib/libvorbis.so.0
[0x1114112x-0x1147756x] /usr/lib/libmxml.so.1
[0x7184384x-0x7279283x] /lib/tls/i686/cmov/libpthread.so.0
[0x16150528x-0x16177771x] /lib/tls/i686/cmov/librt.so.1
[0x14262272x-0x14270827x] /lib/tls/i686/cmov/libdl.so.2
[0x8634368x-0x8712284x] /lib/libz.so.1
[0x10952704x-0x11986720x] /usr/lib/libstdc++.so.6
[0x1150976x-0x1297647x] /lib/tls/i686/cmov/libm.so.6
[0x14503936x-0x14620844x] /lib/libgcc_s.so.1
[0x16187392x-0x17618159x] /lib/tls/i686/cmov/libc.so.6
[0x1306624x-0x1794820x] /usr/lib/libfreetype.so.6
[0x4804608x-0x5111676x] /usr/lib/libmikmod.so.2
[0x1798144x-0x1826264x] /usr/lib/libvorbisfile.so.3
[0x5115904x-0x5473668x] /usr/lib/libsmpeg-0.4.so.0
[0x17600512x-0x40730831x] /usr/lib/nvidia-current/libGLcore.so.1
[0x1835008x-0x1839216x] /usr/lib/nvidia-current/tls/libnvidia-tls.so.1
[0x2781184x-0x2837740x] /usr/lib/libXext.so.6
[0x61009920x-0x62170472x] /usr/lib/libX11.so.6
[0x14364672x-0x14375808x] /usr/lib/libpulse-simple.so.0
[0x5828608x-0x6093928x] /usr/lib/libpulse.so.0
[0x6098944x-0x6578984x] /usr/lib/libdirectfb-1.2.so.0
[0x1843200x-0x1874952x] /usr/lib/libfusion-1.2.so.0
[0x5480448x-0x5565724x] /usr/lib/libdirect-1.2.so.0
[0x7684096x-0x7882188x] /usr/lib/libidn.so.11
[0x5570560x-0x5615620x] /usr/lib/liblber-2.4.so.2
[0x7888896x-0x8174936x] /usr/lib/libldap_r-2.4.so.2
[0x6991872x-0x7180336x] /usr/lib/libgssapi_krb5.so.2
[0x8208384x-0x8501172x] /lib/i686/cmov/libssl.so.0.9.8
[0x40734720x-0x42140132x] /lib/i686/cmov/libcrypto.so.0.9.8
[0x5709824x-0x5823640x] /lib/ld-linux.so.2
[0x8507392x-0x8603312x] /usr/lib/libxcb.so.1
[0x8720384x-0x9020784x] /usr/lib/libpulsecommon-0.9.21.so
[0x9973760x-0x10068176x] /usr/lib/libICE.so.6
[0x2846720x-0x2873596x] /usr/lib/libSM.so.6
[0x10686464x-0x10703668x] /usr/lib/libXtst.so.6
[0x10158080x-0x10237091x] /lib/tls/i686/cmov/libresolv.so.2
[0x9027584x-0x9118236x] /usr/lib/libsasl2.so.2
[0x12730368x-0x13370612x] /usr/lib/libgnutls.so.26
[0x13516800x-0x14253640x] /usr/lib/libkrb5.so.3
[0x9125888x-0x9267036x] /usr/lib/libk5crypto.so.3
[0x15810560x-0x15818773x] /lib/libcom_err.so.2
[0x5623808x-0x5647472x] /usr/lib/libkrb5support.so.0
[0x5656576x-0x5661720x] /lib/libkeyutils.so.1
[0x5672960x-0x5680240x] /usr/lib/libXau.so.6
[0x6586368x-0x6602384x] /usr/lib/libXdmcp.so.6
[0x6610944x-0x6642344x] /lib/libwrap.so.0
[0x15364096x-0x15788648x] /usr/lib/libsndfile.so.1
[0x10240000x-0x10467100x] /lib/libdbus-1.so.3
[0x5689344x-0x5702054x] /lib/libuuid.so.1
[0x9859072x-0x9909448x] /usr/lib/libXi.so.6
[0x10076160x-0x10139116x] /usr/lib/libtasn1.so.3
[0x42119168x-0x42587532x] /lib/libgcrypt.so.11
[0x10473472x-0x10560547x] /lib/tls/i686/cmov/libnsl.so.1
[0x12234752x-0x12543048x] /usr/lib/libFLAC.so.8
[0x104730624x-0x105808624x] /usr/lib/libvorbisenc.so.2
[0x7286784x-0x7297792x] /lib/libgpg-error.so.0
[0x9916416x-0x9948604x] /usr/lib/libXcursor.so.1
[0x10567680x-0x10598340x] /usr/lib/libXrender.so.1
[0x10608640x-0x10622996x] /usr/lib/libXfixes.so.3
[0x10633216x-0x10659375x] /lib/tls/i686/cmov/libnss_compat.so.2
[0x10711040x-0x10744879x] /lib/tls/i686/cmov/libnss_nis.so.2
[0x11956224x-0x11996247x] /lib/tls/i686/cmov/libnss_files.so.2
[0x122961920x-0x124302272x] ./base/game.so
======end========

I can run dbg again but it still spits out the same thing.
Turning sound on or off doesn't do anything, same crash.
And I have no idea what Athelas is talking about.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #9 on: September 14, 2012, 02:04:32 am »
I have no idea what Athelas is talking about.
I guess Athelas disabled shaders (by a suggestion in a post in the 2.5-dev bugs board - which he failed to link to) and it worked, graphics driver crash?

Offline Telok

  • Squad Leader
  • ****
  • Posts: 117
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #10 on: September 14, 2012, 09:12:18 am »
I guess Athelas disabled shaders (by a suggestion in a post in the 2.5-dev bugs board - which he failed to link to) and it worked, graphics driver crash?

Interesting. I have no idea why that would turn up here. I tried it anyway and there's no change in any of the error reports.

Offline Telok

  • Squad Leader
  • ****
  • Posts: 117
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #11 on: October 20, 2012, 04:55:39 pm »
So I updated to the most recent and recompiled.

What does "Error: Received signal 11" mean?

Code: [Select]
no translation for pbeamammo_pre_txt
----------- game modes -------------
added _Multiplayer
added _Full Campaign
added _Simple Campaign
added _Skirmish
added 4 game modes
====== UFO Initialized ======
=============================
Switch grab input off
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added campaign subsystem
added base subsystem
added research subsystem
added hospital subsystem
added market subsystem
added employee subsystem
added aliencont subsystem
added aircraft subsystem
added alien base subsystem
added interest subsystem
added installation subsystem
added mission subsystem
added ufostores subsystem
added production subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added xvirate subsystem
added messageoptions subsystem
added triggerevents subsystem
Com_RegisterConstInt: Const string already defined. 'new_day = 0' is not set.Com_RegisterConstInt: Const string already defined. 'ufo_detection = 1' is not set.Campaign data loaded - size 693120 bytes
...techs: 214
...buildings: 16
...ranks: 16
...nations: 8
...cities: 456

Sanity check for script data
...buildings ok
...tech ok
...aircraft ok
CP_ItemsSanityCheck: Item hovernet_plasma_ammo has zero price set.
CP_ItemsSanityCheck: Item hovernet_adv_plasma_ammo has zero price set.
...items failed
...nations ok
Unknown command "music_change" - wasn't sent to server
change music to PsymongN5
Unknown command "music_change" - wasn't sent to server
Warning: inconsistent usage of image pics/geoscape/map_earth_night (3,4)
Calling subsystems
...subsystem 'campaign' - saved
...subsystem 'base' - saved
...subsystem 'research' - saved
...subsystem 'hospital' - saved
...subsystem 'market' - saved
...subsystem 'employee' - saved
...subsystem 'aliencont' - saved
...subsystem 'aircraft' - saved
...subsystem 'alien base' - saved
...subsystem 'interest' - saved
...subsystem 'installation' - saved
...subsystem 'mission' - saved
...subsystem 'ufostores' - saved
...subsystem 'production' - saved
...subsystem 'messagesystem' - saved
...subsystem 'stats' - saved
...subsystem 'nations' - saved
...subsystem 'transfer' - saved
...subsystem 'xvirate' - saved
...subsystem 'messageoptions' - saved
...subsystem 'triggerevents' - saved
XML Written to buffer (82865 Bytes)
Unknown command "music_change" - wasn't sent to server
Loading savegame xml (size 9085)
Loading savegame
...version: 4
...game version: 2.5-dev
...xml Size: 82865, compressed? y
Shutdown gametype 'Campaign mode'
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added campaign subsystem
added base subsystem
added research subsystem
added hospital subsystem
added market subsystem
added employee subsystem
added aliencont subsystem
added aircraft subsystem
added alien base subsystem
added interest subsystem
added installation subsystem
added mission subsystem
added ufostores subsystem
added production subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added xvirate subsystem
added messageoptions subsystem
added triggerevents subsystem
Com_RegisterConstInt: Const string already defined. 'new_day = 0' is not set.Com_RegisterConstInt: Const string already defined. 'ufo_detection = 1' is not set.Com_RegisterConstInt: Const string already defined. 'new_day = 0' is not set.Com_RegisterConstInt: Const string already defined. 'ufo_detection = 1' is not set.Campaign data loaded - size 693120 bytes
...techs: 214
...buildings: 16
...ranks: 16
...nations: 8
...cities: 456

Load 'slot0' 21 subsystems
...Running subsystem 'campaign'
R_LoadImageData: image '***r_radarTexture***' is already uploaded
R_LoadImageData: image '***r_xvitexture***' is already uploaded
R_LoadImageData: image '***r_dayandnighttexture***' is already uploaded
...subsystem 'campaign' - loaded.
...Running subsystem 'base'
...subsystem 'base' - loaded.
...Running subsystem 'research'
...subsystem 'research' - loaded.
...Running subsystem 'hospital'
...subsystem 'hospital' - loaded.
...Running subsystem 'market'
...subsystem 'market' - loaded.
...Running subsystem 'employee'
...subsystem 'employee' - loaded.
...Running subsystem 'aliencont'
...subsystem 'aliencont' - loaded.
...Running subsystem 'aircraft'
...subsystem 'aircraft' - loaded.
...Running subsystem 'alien base'
...subsystem 'alien base' - loaded.
...Running subsystem 'interest'
...subsystem 'interest' - loaded.
...Running subsystem 'installation'
...subsystem 'installation' - loaded.
...Running subsystem 'mission'
...subsystem 'mission' - loaded.
...Running subsystem 'ufostores'
...subsystem 'ufostores' - loaded.
...Running subsystem 'production'
...subsystem 'production' - loaded.
...Running subsystem 'messagesystem'
...subsystem 'messagesystem' - loaded.
...Running subsystem 'stats'
...subsystem 'stats' - loaded.
...Running subsystem 'nations'
...subsystem 'nations' - loaded.
...Running subsystem 'transfer'
...subsystem 'transfer' - loaded.
...Running subsystem 'xvirate'
...subsystem 'xvirate' - loaded.
...Running subsystem 'messageoptions'
...subsystem 'messageoptions' - loaded.
...Running subsystem 'triggerevents'
...subsystem 'triggerevents' - loaded.
File 'slot0' successfully loaded from compressed xml savegame.
Unknown command "music_change" - wasn't sent to server
Didn't find parent window "main" for window push of "popup_tipoftheday"
Unknown command "music_change" - wasn't sent to server
Unknown command "music_change" - wasn't sent to server
Calling subsystems
...subsystem 'campaign' - saved
...subsystem 'base' - saved
...subsystem 'research' - saved
...subsystem 'hospital' - saved
...subsystem 'market' - saved
...subsystem 'employee' - saved
...subsystem 'aliencont' - saved
...subsystem 'aircraft' - saved
...subsystem 'alien base' - saved
...subsystem 'interest' - saved
...subsystem 'installation' - saved
...subsystem 'mission' - saved
...subsystem 'ufostores' - saved
...subsystem 'production' - saved
...subsystem 'messagesystem' - saved
...subsystem 'stats' - saved
...subsystem 'nations' - saved
...subsystem 'transfer' - saved
...subsystem 'xvirate' - saved
...subsystem 'messageoptions' - saved
...subsystem 'triggerevents' - saved
XML Written to buffer (84759 Bytes)
Unknown command "music_change" - wasn't sent to server
Calling subsystems
...subsystem 'campaign' - saved
...subsystem 'base' - saved
...subsystem 'research' - saved
...subsystem 'hospital' - saved
...subsystem 'market' - saved
...subsystem 'employee' - saved
...subsystem 'aliencont' - saved
...subsystem 'aircraft' - saved
...subsystem 'alien base' - saved
...subsystem 'interest' - saved
...subsystem 'installation' - saved
...subsystem 'mission' - saved
...subsystem 'ufostores' - saved
...subsystem 'production' - saved
...subsystem 'messagesystem' - saved
...subsystem 'stats' - saved
...subsystem 'nations' - saved
...subsystem 'transfer' - saved
...subsystem 'xvirate' - saved
...subsystem 'messageoptions' - saved
...subsystem 'triggerevents' - saved
XML Written to buffer (103365 Bytes)
Unknown command "music_change" - wasn't sent to server
Calling subsystems
...subsystem 'campaign' - saved
...subsystem 'base' - saved
...subsystem 'research' - saved
...subsystem 'hospital' - saved
...subsystem 'market' - saved
...subsystem 'employee' - saved
...subsystem 'aliencont' - saved
...subsystem 'aircraft' - saved
...subsystem 'alien base' - saved
...subsystem 'interest' - saved
...subsystem 'installation' - saved
...subsystem 'mission' - saved
...subsystem 'ufostores' - saved
...subsystem 'production' - saved
...subsystem 'messagesystem' - saved
...subsystem 'stats' - saved
...subsystem 'nations' - saved
...subsystem 'transfer' - saved
...subsystem 'xvirate' - saved
...subsystem 'messageoptions' - saved
...subsystem 'triggerevents' - saved
XML Written to buffer (103378 Bytes)
setting game random seed to 1257166
------- Loading game.so -------
not found at '/usr/local/lib'
not found at '/home/kittly/.ufoai/2.5-dev/base'
found at './base'
Using RMA2 seed: 10 for <main>
tiles: -cemetery/cem_ +craft_drop_firebird +g01 +g02 +d01 +g02 +d01 +d01 +p01 +g02 +d01 +d01 +p07 +p12 +p12 +p12 +p08
pos: -8 -8 0 8 8 0 0 8 0 -8 8 0 16 8 0 16 0 0 16 -8 0 -8 16 0 -16 8 0 -16 0 0 -16 -8 0 -16 -16 0 -8 -16 0 0 -16 0 8 -16 0 16 -16 0
tiles: 16
CM_LoadMap: "-cemetery/cem_ +craft_drop_firebird +g01 +g02 +d01 +g02 +d01 +d01 +p01 +g02 +d01 +d01 +p07 +p12 +p12 +p12 +p08" "-8 -8 0 8 8 0 0 8 0 -8 8 0 16 8 0 16 0 0 16 -8 0 -8 16 0 -16 8 0 -16 0 0 -16 -8 0 -16 -16 0 -8 -16 0 0 -16 0 8 -16 0 16 -16 0"
Rerouted for RMA in   0.0s
checksum for the map '+cemetery': 456508920
ufo script checksum 4054035318
-------------------------------------
Connecting to localhost...
==== InitGame ====
Spawned ai player for team 0 with entnum 70 (a c)
Spawned ai player for team 0 with entnum 71 (b c)
Spawned ai player for team 0 with entnum 72 (b c)
Spawned ai player for team 0 with entnum 73 (a c)
Spawned ai player for team 0 with entnum 74 (b c)
Spawned ai player for team 0 with entnum 75 (b c)
Spawned ai player for team 0 with entnum 76 (b c)
Spawned ai player for team 0 with entnum 77 (b c)
Created AI player (team 0)
Spawned ai player for team 7 with entnum 78 (Mkeek Zt Hrmokuk)
Spawned ai player for team 7 with entnum 79 (Mkeek T Zruujk)
Spawned ai player for team 7 with entnum 80 (Akrokk Zr Znaztrk)
Created AI player (team 7)
Used inventory slots after ai spawn: 0
connection attempt from loopback connection
World model: 3378 triangles
Error: Received signal 11.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #12 on: October 20, 2012, 10:30:58 pm »
What does "Error: Received signal 11" mean?

The program tried to access memory address it didn't have right to.

-geever

Offline Telok

  • Squad Leader
  • ****
  • Posts: 117
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #13 on: October 21, 2012, 11:27:23 am »
It looks sound related but nothing that I've tried has any effect on it. Perhaps I should go back to using the windows version under wine.

Here's the bug trace any ways.

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x080867ee in S_MumbleLink () at src/client/sound/s_mumble.cpp:24
24 if (!snd_mumble->integer)
(gdb) bt full
#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 = 0xabbb410
        a = 0x0
        str = 0xc38cc18 "precache"
        hash = 15
#4  0x080bff26 in Cbuf_Execute () at src/common/cmd.cpp:248
        text = 0x88cb1a0 "precache\nmart ;;62\nsk_start;\n 200 110162\n\nt;\ness\";sk_maplist_listener end;rness\" \"wilderness\";sk_maplist_listener end;\"wilderness\" \"wilderness\";sk_maplist_listener end; add \"wilderness\" \"wilderness\";s"...
        quotes = 0
        i = 9
        line = "precache", '\000' <repeats 456 times>, "\034\342\r\bپL\fؾL\f", '\000' <repeats 16 times>, "\b\361\377\277e\342\r\bؾL\fؾL\fپL\f\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ؾL\fؾL\f\364\361\377\277\034\342\r\bؾL\f\334\362\377\277---Type <return> to continue, or q <return> to quit---
\000\000\000\000\257\331\r\bؾL\fؾL\fh\361\377\277T\336\r\b\334\362\377\277\334\362\377\277ؾL\f>\342\r\bp\361\377\277ؾL\fپL\fQ\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پL\f\031\223^\000ؾL\fؾL\fؾL\f\366\023|\000\364o=\000\200\253\206\000\000\000\000\000\310\361\377\277Q\305<\000\220\034P\n\334\362\377\277\334\362\377\277ؾL\001$g8\f`\000\273\t\b\362\377\277\363\r\023\b\220\034P\n\270\276L\fI\020\000\000\b\321\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\200"...
#5  0x0805b3ef in CL_SendCommand () at src/client/cl_main.cpp:988
No locals.
#6  0x0805b6bb in CL_Frame (now=116330, data=0x0)
    at src/client/cl_main.cpp:1099
        lastFrame = 116330
        delta = 6148
#7  0x080ce616 in tick_timer (now=116330, data=0xc18f368)
    at src/common/common.cpp:1310
        timer = 0xc18f368
        old_interval = 20
        lateness = 0
#8  0x080cea85 in Qcommon_Frame () at src/common/common.cpp:1452
        event = {p_ = 0xc37f6c0}
        time_to_next = 0
---Type <return> to continue, or q <return> to quit---
#9  0x08138647 in main (argc=4, argv=0xbffff4e4)
    at src/ports/linux/linux_main.cpp:55
No locals.
(gdb)

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ubuntu 10.04: Crash out on entering battlescape.
« Reply #14 on: October 21, 2012, 11:49:12 am »
I remember a mumble related crash fix. Are you sure you're on the latest?

-geever