project-navigation
Personal tools

Author Topic: trunk 30466 - alles crashes ;-(  (Read 2627 times)

Offline MikeKle

  • Rookie
  • ***
  • Posts: 51
    • View Profile
trunk 30466 - alles crashes ;-(
« on: June 11, 2010, 09:58:34 pm »
Sorry not sure how to use addr2line, keep getting something like 00:? after trunk/$ addr2line -e ufo #___
COuld not play any mission it's all ends up by crusing

with various informaiton like this

Code: [Select]
ufo: src/game/g_inventory.c:298: G_SendInventory: Assertion `ic->item.t' failed.
./ufo(Sys_Backtrace+0x1f)[0x81aa283]
./ufo[0x81aa2ee]
[0xe3a400]
/lib/tls/i686/cmov/libc.so.6(abort+0x182)[0x198a82]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8)[0x18e718]
./base/game.so(G_SendInventory+0xe5)[0x3d08d93]
./base/game.so(+0x1ed41)[0x3d0ad41]
./base/game.so(G_MatchDoEnd+0x8c)[0x3d0b087]
./base/game.so(G_RunFrame+0x141)[0x3d0a367]
./ufo(SV_RunGameFrame+0x10)[0x816aa05]
./ufo(SV_Frame+0x5b)[0x816d4a7]
./ufo[0x814a890]
./ufo(Qcommon_Frame+0x7b)[0x814acf4]
./ufo(main+0x5c)[0x81a8dc3]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x181bd6]
./ufo[0x806cfb1]
./ufo(Sys_Backtrace+0x1f)[0x81aa283]
./ufo(Sys_Error+0x22)[0x81a918d]
./ufo(Sys_InitSignals+0x0)[0x81aa301]
[0xe3a400]
/lib/tls/i686/cmov/libc.so.6(abort+0x182)[0x198a82]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8)[0x18e718]
./base/game.so(G_SendInventory+0xe5)[0x3d08d93]
./base/game.so(+0x1ed41)[0x3d0ad41]
./base/game.so(G_MatchDoEnd+0x8c)[0x3d0b087]
./base/game.so(G_RunFrame+0x141)[0x3d0a367]
./ufo(SV_RunGameFrame+0x10)[0x816aa05]
./ufo(SV_Frame+0x5b)[0x816d4a7]
./ufo[0x814a890]
./ufo(Qcommon_Frame+0x7b)[0x814acf4]
./ufo(main+0x5c)[0x81a8dc3]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x181bd6]
./ufo[0x806cfb1]
or like this
Code: [Select]
./ufo(Sys_Backtrace+0x1f)[0x81aa28f]
./ufo[0x81aa2fa]
[0x571400]
/lib/tls/i686/cmov/libc.so.6(+0x6dafd)[0x320afd]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0x322f9c]
/usr/lib/nvidia-current/libGLcore.so.1(+0xd780e0)[0x1d490e0]
./ufo(Sys_Backtrace+0x1f)[0x81aa28f]
./ufo(Sys_Error+0x22)[0x81a9199]
./ufo(Sys_InitSignals+0x0)[0x81aa30d]
[0x571400]
/lib/tls/i686/cmov/libc.so.6(+0x6dafd)[0x320afd]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0x322f9c]
/usr/lib/nvidia-current/libGLcore.so.1(+0xd780e0)[0x1d490e0]


Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: trunk 30466 - alles crashes ;-(
« Reply #1 on: June 11, 2010, 10:11:09 pm »
Sorry not sure how to use addr2line, keep getting something like 00:? after trunk/$ addr2line -e ufo #___
COuld not play any mission it's all ends up by crusing

with various informaiton like this

Tip: If the line starts with base/game.so give base/game.so to the -e switch. ("#__" means the 0x... address I hope).

-geever

Offline MikeKle

  • Rookie
  • ***
  • Posts: 51
    • View Profile
Re: trunk 30466 - alles crashes ;-(
« Reply #2 on: June 11, 2010, 11:03:19 pm »
I feel like blondy at the synchrophasotron...
If there a way to automate it easily, so I don't have to copy/paste a lot of these numbers? :)

trunk$ addr2line -e base/game.so 0x3d0a367
??:0
from the other hand

trunk$ addr2line -e ufo  0x816aa05
/home/mikhail/ufoai/trunk/src/server/sv_game.c:418

trunk$ addr2line -e ufo 0x816d4a7
/home/mikhail/ufoai/trunk/src/server/sv_main.c:775

trunk$ addr2line -e ufo 0x814a890
/home/mikhail/ufoai/trunk/src/common/common.c:1019

trunk$ addr2line -e ufo 0x814acf4
/home/mikhail/ufoai/trunk/src/common/common.c:1167

trunk$ addr2line -e ufo 0x81a8dc3
/home/mikhail/ufoai/trunk/src/ports/linux/linux_main.c:53

trunk$ addr2line -e ufo 0x81aa283
/home/mikhail/ufoai/trunk/src/ports/unix/unix_main.c:543


I think the problem there should be clear, as bugs appear after last maps compiled, and these bugs are very heavy one, not like it happens sometimes, it happens always.