Homesource Forums

Homeworld Source Editing Talk
It is currently Sun Apr 23, 2017 6:58 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Apr 13, 2008 12:00 am 
Offline

Joined: Sat Apr 12, 2008 5:58 pm
Posts: 5
How to reproduce: Open game, click credits

Affected version: Homeworld 0.5 alpha

Error looks like:
Code:
*** glibc detected *** ./homeworld.5: double free or corruption (!prev): 0x084d0e30 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d6bc64]
/lib/libc.so.6(cfree+0x9c)[0xb7d6db4c]
/usr/lib/libSDL-1.2.so.0(SDL_WaitThread+0x44)[0xb7e4f744]
/usr/lib/libSDL-1.2.so.0(SDL_AudioQuit+0x41)[0xb7e474c1]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x7b)[0xb7e46a2b]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0x1e)[0xb7e46a8e]
/usr/lib/libSDL-1.2.so.0[0xb7e4729f]
[0xb7fe3420]
/usr/lib/libSDL-1.2.so.0(SDL_AudioQuit+0x65)[0xb7e474e5]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x7b)[0xb7e46a2b]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0x1e)[0xb7e46a8e]
./homeworld.5[0x804c7f9]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7d17396]
./homeworld.5[0x804a7f1]
======= Memory map: ========
08048000-082af000 r-xp 00000000 08:04 306171     /home/vlaja/Desktop/homeworldsdl-Linux-0.5alpha/bin/homeworld.5
082af000-082d0000 rwxp 00267000 08:04 306171     /home/vlaja/Desktop/homeworldsdl-Linux-0.5alpha/bin/homeworld.5
082d0000-08628000 rwxp 082d0000 00:00 0          [heap]
b07ea000-b0beb000 rwxp b07ea000 00:00 0
b14c2000-b14c3000 ---p b14c2000 00:00 0
b14c3000-b1cc3000 rwxp b14c3000 00:00 0
b1cc3000-b1cc4000 ---p b1cc3000 00:00 0
b1cc4000-b24c4000 rwxp b1cc4000 00:00 0
b24c4000-b2585000 r-xp 00000000 08:01 40794      /usr/lib/libasound.so.2.0.0
b2585000-b258a000 rwxp 000c0000 08:01 40794      /usr/lib/libasound.so.2.0.0
b258e000-b25ae000 rwxs 00000000 00:08 32769      /SYSV0056a4d6 (deleted)
b25ae000-b25af000 ---p b25ae000 00:00 0
b25af000-b2daf000 rwxp b25af000 00:00 0
b39cc000-b39d4000 r-xp 00000000 08:01 668818     /usr/lib/libXcursor.so.1.0.2
b39d4000-b39d5000 rwxp 00007000 08:01 668818     /usr/lib/libXcursor.so.1.0.2
b39ee000-b39f7000 r-xp 00000000 08:01 2461       /lib/libnss_files-2.7.so
b39f7000-b39f9000 rwxp 00008000 08:01 2461       /lib/libnss_files-2.7.so
b39f9000-b3bf9000 r-xp 00000000 08:01 1122546    /usr/lib/locale/locale-archive
b3c0b000-b3c17000 r-xp 00000000 08:01 57481      /usr/lib/libgcc_s.so.1
b3c17000-b3c18000 rwxp 0000b000 08:01 57481      /usr/lib/libgcc_s.so.1
b3c18000-b3c1a000 rwxp b3c18000 00:00 0
b3c1a000-b3c2a000 rwxs 00000000 00:0c 5579       /dev/snd/pcmC0D0p
b3c2a000-b3c2b000 rwxs 81000000 00:0c 5579       /dev/snd/pcmC0D0p
b3c2b000-b7c9c000 rwxp b3c2b000 00:00 0
b7c9c000-b7ca0000 r-xp 00000000 08:01 36097      /usr/lib/libXdmcp.so.6.0.0
b7ca0000-b7ca1000 rwxp 00003000 08:01 36097      /usr/lib/libXdmcp.so.6.0.0
b7ca1000-b7ca3000 r-xp 00000000 08:01 36091      /usr/lib/libXau.so.6.0.0
b7ca3000-b7ca4000 rwxp 00001000 08:01 36091      /usr/lib/libXau.so.6.0.0
b7ca4000-b7cb8000 r-xp 00000000 08:01 2416       /lib/libpthread-2.7.so
b7cb8000-b7cba000 rwxp 00013000 08:01 2416       /lib/libpthread-2.7.so
b7cba000-b7cbc000 rwxp b7cba000 00:00 0
b7cbc000-b7cbe000 r-xp 00000000 08:01 2433       /lib/libdl-2.7.so
b7cbe000-b7cc0000 rwxp 00001000 08:01 2433       /lib/libdl-2.7.so
b7cc0000-b7cc1000 rwxp b7cc0000 00:00 0
b7cc1000-b7cd8000 r-xp 00000000 08:01 517413     /usr/lib/libxcb.so.1.0.0
b7cd8000-b7cd9000 rwxp 00016000 08:01 517413     /usr/lib/libxcb.so.1.0.0
b7cd9000-b7cda000 r-xp 00000000 08:01 517363     /usr/lib/libxcb-xlib.so.0.0.0
b7cda000-b7cdb000 rwxp 00000000 08:01 517363     /usr/lib/libxcb-xlib.so.0.0.0
b7cdb000-b7cff000 r-xp 00000000 08:01 2438       /lib/libm-2.7.so
b7cff000-b7d01000 rwxp 00023000 08:01 2438       /lib/libm-2.7.so
b7d01000-b7e3b000 r-xp 00000000 08:01 2426       /lib/libc-2.7.so
b7e3b000-b7e3c000 r-xp 0013a000 08:01 2426       /lib/libc-2.7.so
b7e3c000-b7e3e000 rwxp 0013b000 08:01 2426       /lib/libc-2.7.so
b7e3e000-b7e41000 rwxp b7e3e000 00:00 0
b7e41000-b7ea6000 r-xp 00000000 08:01 40627      /usr/lib/libSDL-1.2.so.0.11.2
b7ea6000-b7ea8000 rwxp 00065000 08:01 40627      /usr/lib/libSDL-1.2.so.0.11.2
b7ea8000-b7ed5000 rwxp b7ea8000 00:00 0
b7ed5000-b7fba000 r-xp 00000000 08:01 337687     /usr/lib/libX11.so.6.2.0
b7fba000-b7fbe000 rwxp 000e4000 08:01 337687     /usr/lib/libX11.so.6.2.0
b7fbe000-b7fbf000 rwxp b7fbe000 00:00 0
b7Aborted


Neosisani


Top
 Profile  
 
PostPosted: Mon Apr 14, 2008 2:52 am 
Offline

Joined: Sat Mar 29, 2008 11:06 am
Posts: 61
I don't get this problem when running with the latest SVN version, but I don't know what has changed between that and the release binary you are using.

Out of interest how did you solve your linking problem? If you just created a symlink between the version of libavformat (52.?.? if I remember) to 50 (which is what it was asking for) then that might be the course of your problem. Changes in the major version number normally indicate an API change and thus might course this kind of crash.

Mark


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 14, 2008 8:01 am 
Offline

Joined: Sat Apr 12, 2008 5:58 pm
Posts: 5
Mark, this one is with 0.5 alpha version, not the unstable one. I have both binaries on my computer.

I got access to svn, so now i will try to recompile code.

Neosisani


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 15, 2008 8:14 am 
Offline
coder

Joined: Wed Nov 15, 2006 8:15 am
Posts: 100
Well, really strange, from the backtrace, it looks like the game was quitting... And it seems related to the sound system, which is in Homeworld a really big hack...

I cannot say from where it comes from unfortunately, could you try to run homeworld in gdb to have some more details?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 16, 2008 1:33 pm 
Offline

Joined: Sat Apr 12, 2008 5:58 pm
Posts: 5
I've placed all stuff (official binary, big files and such) in ~/homeworld/Linux/src/bin

I've run gdb homeworld.5 > error.log Here is the output.
Btw i've renamed homeworld to homeworld.5 so i wouldn't confuse it with 543 snapshot.

Code:
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /home/vlaja/homeworld/Linux/src/bin/homeworld.5
[Thread debugging using libthread_db enabled]
[New Thread 0xb7bab6c0 (LWP 5375)]
[New Thread 0xb2cbfb90 (LWP 5378)]
[New Thread 0xb23d4b90 (LWP 5379)]
[New Thread 0xb1bd3b90 (LWP 5380)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7bab6c0 (LWP 5375)]
0x08132b59 in regDrawFunctionAddPossibly (region=0xfff81fff)
    at ../../../src/Game/Region.c:221
221     ----------------------------------------------------------------------------*/
(gdb)


Neosisani


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group