Author Topic: Trunk errors (rev 120) [runtime error]  (Read 3082 times)

ewomer

  • Guest
Trunk errors (rev 120) [runtime error]
« on: 17 July 2009, 18:34:29 »
Rev 102:
Code: [Select]
glest_game/world/unit_updater.h:16:25: error: path_finder.h: No such file or directory

got this error at the level loading screen when it trieg to load the level.
also using the 4magictech pak
gae-crash.txt:
Code: [Select]
Crash
Version: Advanced Engine v0.2.11
Time: Sat Jul 18 08:18:06 2009
Description: SIGABRT:
Address: 0x3e900001bf4
Backtrace:
/home/eric/src/games/gae/data/glest_game/glestadv [0x54486d]
/lib/libc.so.6 [0x7fbeba15f360]
/lib/libc.so.6(gsignal+0x35) [0x7fbeba15f2e5]
/lib/libc.so.6(abort+0x199) [0x7fbeba1605c9]
/lib/libc.so.6 [0x7fbeba199cad]
/lib/libc.so.6(__fortify_fail+0x37) [0x7fbeba2111f7]
/lib/libc.so.6 [0x7fbeba20f170]
/home/eric/src/games/gae/data/glest_game/glestadv [0x4b76e7]
/home/eric/src/games/gae/data/glest_game/glestadv [0x4b7a23]
/home/eric/src/games/gae/data/glest_game/glestadv [0x4bc513]
/home/eric/src/games/gae/data/glest_game/glestadv [0x535b83]
/home/eric/src/games/gae/data/glest_game/glestadv [0x41f7d9]
/home/eric/src/games/gae/data/glest_game/glestadv [0x461c8e]
/home/eric/src/games/gae/data/glest_game/glestadv [0x491d6b]
/home/eric/src/games/gae/data/glest_game/glestadv [0x543fec]
/home/eric/src/games/gae/data/glest_game/glestadv [0x54430d]
/home/eric/src/games/gae/data/glest_game/glestadv [0x461d78]
/home/eric/src/games/gae/data/glest_game/glestadv [0x464f28]
/home/eric/src/games/gae/data/glest_game/glestadv [0x465125]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7fbeba14ba3d]
/home/eric/src/games/gae/data/glest_game/glestadv [0x40a4a9]

=======================

config.log:
http://pastebin.com/m38d0eccd

Rev 120:

console output:
Code: [Select]
./glestadv
*** buffer overflow detected ***: ./glestadv terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7ff4c308d1f7]
/lib/libc.so.6[0x7ff4c308b170]
./glestadv[0x4b9697]
./glestadv[0x4b99d3]
./glestadv[0x4bf3fb]
./glestadv[0x53ccd0]
./glestadv[0x424d8c]
./glestadv[0x462b4e]
./glestadv[0x493d0b]
./glestadv[0x54a8dc]
./glestadv[0x54abfd]
./glestadv[0x462c38]
./glestadv[0x465f58]
./glestadv[0x466155]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7ff4c2fc7a3d]
./glestadv[0x40a4a9]
======= Memory map: ========
00400000-005c9000 r-xp 00000000 08:05 262183                             /home/eric/src/games/gae/data/glest_game/glestadv
007c8000-007c9000 r--p 001c8000 08:05 262183                             /home/eric/src/games/gae/data/glest_game/glestadv
007c9000-007cb000 rw-p 001c9000 08:05 262183                             /home/eric/src/games/gae/data/glest_game/glestadv
007cb000-06d7c000 rw-p 00000000 00:00 0                                  [heap]
402c3000-40343000 rw-p 00000000 00:0e 3093                               /dev/zero
41bc9000-41bcb000 rwxp 00000000 00:0e 3093                               /dev/zero
7ff4ba1e2000-7ff4ba310000 rw-p 00000000 00:00 0
7ff4ba310000-7ff4ba311000 rw-p 00000000 00:00 0
7ff4ba311000-7ff4ba321000 r--p 00000000 08:07 689899                     /usr/share/xerces-c/msg/XercesMessages_en_US.cat
7ff4ba321000-7ff4ba331000 r--p 00000000 08:07 689899                     /usr/share/xerces-c/msg/XercesMessages_en_US.cat
7ff4ba331000-7ff4ba341000 r--p 00000000 08:07 689899                     /usr/share/xerces-c/msg/XercesMessages_en_US.cat
7ff4ba341000-7ff4ba351000 r--p 00000000 08:07 689899                     /usr/share/xerces-c/msg/XercesMessages_en_US.cat
7ff4ba351000-7ff4ba361000 r--p 00000000 08:07 689899                     /usr/share/xerces-c/msg/XercesMessages_en_US.cat
7ff4ba361000-7ff4ba371000 r--p 00000000 08:07 689899                     /usr/share/xerces-c/msg/XercesMessages_en_US.cat
7ff4ba371000-7ff4ba381000 r--p 00000000 08:07 689899                     /usr/share/xerces-c/msg/XercesMessages_en_US.cat
7ff4ba381000-7ff4ba384000 r-xp 00000000 08:07 265907                     /usr/lib64/gconv/UTF-16.so
7ff4ba384000-7ff4ba583000 ---p 00003000 08:07 265907                     /usr/lib64/gconv/UTF-16.so
7ff4ba583000-7ff4ba584000 r--p 00002000 08:07 265907                     /usr/lib64/gconv/UTF-16.so
7ff4ba584000-7ff4ba585000 rw-p 00003000 08:07 265907                     /usr/lib64/gconv/UTF-16.so
7ff4ba585000-7ff4ba586000 ---p 00000000 00:00 0
7ff4ba586000-7ff4bad86000 rwxp 00000000 00:00 0
7ff4bad86000-7ff4bad98000 r-xp 00000000 08:07 549232                     /usr/lib64/libspeexdsp.so.1.5.0
7ff4bad98000-7ff4baf97000 ---p 00012000 08:07 549232                     /usr/lib64/libspeexdsp.so.1.5.0
7ff4baf97000-7ff4baf98000 r--p 00011000 08:07 549232                     /usr/lib64/libspeexdsp.so.1.5.0
7ff4baf98000-7ff4baf99000 rw-p 00012000 08:07 549232                     /usr/lib64/libspeexdsp.so.1.5.0
7ff4baf99000-7ff4baf9b000 r-xp 00000000 08:07 787814                     /usr/lib64/alsa-lib/libasound_module_rate_speexrate.so
7ff4baf9b000-7ff4bb19a000 ---p 00002000 08:07 787814                     /usr/lib64/alsa-lib/libasound_module_rate_speexrate.so
7ff4bb19a000-7ff4bb19b000 r--p 00001000 08:07 787814                     /usr/lib64/alsa-lib/libasound_module_rate_speexrate.so
7ff4bb19b000-7ff4bb19c000 rw-p 00002000 08:07 787814                     /usr/lib64/alsa-lib/libasound_module_rate_speexrate.so
7ff4bb19c000-7ff4bb1ac000 rw-s 00000000 00:07 589842                     /SYSV0056a4d6 (deleted)
7ff4bb1ac000-7ff4bb1b7000 r-xp 00000000 08:07 266099                     /lib64/libnss_files-2.10.1.so
7ff4bb1b7000-7ff4bb3b7000 ---p 0000b000 08:07 266099                     /lib64/libnss_files-2.10.1.so
7ff4bb3b7000-7ff4bb3b8000 r--p 0000b000 08:07 266099                     /lib64/libnss_files-2.10.1.so
7ff4bb3b8000-7ff4bb3b9000 rw-p 0000c000 08:07 266099                     /lib64/libnss_files-2.10.1.so
7ff4bb3b9000-7ff4bb3c3000 r-xp 00000000 08:07 266176                     /lib64/libnss_nis-2.10.1.so
7ff4bb3c3000-7ff4bb5c2000 ---p 0000a000 08:07 266176                     /lib64/libnss_nis-2.10.1.so
7ff4bb5c2000-7ff4bb5c3000 r--p 00009000 08:07 266176                     /lib64/libnss_nis-2.10.1.so
7ff4bb5c3000-7ff4bb5c4000 rw-p 0000a000 08:07 266176                     /lib64/libnss_nis-2.10.1.so
7ff4bb5c4000-7ff4bb5cb000 r-xp 00000000 08:07 266185                     /lib64/libnss_compat-2.10.1.so
7ff4bb5cb000-7ff4bb7ca000 ---p 00007000 08:07 266185                     /lib64/libnss_compat-2.10.1.so
7ff4bb7ca000-7ff4bb7cb000 r--p 00006000 08:07 266185                     /lib64/libnss_compat-2.10.1.so
7ff4bb7cb000-7ff4bb7cc000 rw-p 00007000 08:07 266185                     /lib64/libnss_compat-2.10.1.so
7ff4bb7cc000-7ff4bb897000 r-xp 00000000 08:07 788483                     /usr/lib64/libasound.so.2.0.0
7ff4bb897000-7ff4bba96000 ---p 000cb000 08:07 788483                     /usr/lib64/libasound.so.2.0.0
7ff4bba96000-7ff4bba9c000 r--p 000ca000 08:07 788483                     /usr/lib64/libasound.so.2.0.0
7ff4bba9c000-7ff4bba9e000 rw-p 000d0000 08:07 788483                     /usr/lib64/libasound.so.2.0.0
7ff4bba9e000-7ff4bbe20000 rw-p 00000000 00:00 0
7ff4bbe20000-7ff4bc020000 rw-s 1012d0000 00:0e 7208                      /dev/nvidia0
7ff4bc020000-7ff4bc120000 rw-s 1013a8000 00:0e 7208                      /dev/nvidia0
7ff4bc120000-7ff4bc121000 ---p 00000000 00:00 0
7ff4bc121000-7ff4bc921000 rwxp 00000000 00:00 0
7ff4bc921000-7ff4bc926000 r-xp 00000000 08:07 546364                     /usr/lib64/libXfixes.so.3.1.0
7ff4bc926000-7ff4bcb25000 ---p 00005000 08:07 546364                     /usr/lib64/libXfixes.so.3.1.0
7ff4bcb25000-7ff4bcb26000 r--p 00004000 08:07 546364                     /usr/lib64/libXfixes.so.3.1.0
7ff4bcb26000-7ff4bcb27000 rw-p 00005000 08:07 546364                     /usr/lib64/libXfixes.so.3.1.0
7ff4bcb27000-7ff4bcb31000 r-xp 00000000 08:07 556332                     /usr/lib64/libXcursor.so.1.0.2
7ff4bcb31000-7ff4bcd30000 ---p 0000a000 08:07 556332                     /usr/lib64/libXcursor.so.1.0.2
7ff4bcd30000-7ff4bcd31000 r--p 00009000 08:07 556332                     /usr/lib64/libXcursor.so.1.0.2
7ff4bcd31000-7ff4bcd32000 rw-p 0000a000 08:07 556332                     /usr/lib64/libXcursor.so.1.0.2
7ff4bcd32000-7ff4bcd7f000 rw-p 00000000 00:00 0
7ff4bcd89000-7ff4bcf0a000 r--p 00000000 08:07 131448                     /usr/lib64/locale/locale-archive
7ff4bcf0a000-7ff4bcf12000 r-xp 00000000 08:07 555995                     /usr/lib64/libXrandr.so.2.2.0
7ff4bcf12000-7ff4bd111000 ---p 00008000 08:07 555995                     /usr/lib64/libXrandr.so.2.2.0
7ff4bd111000-7ff4bd112000 r--p 00007000 08:07 555995                     /usr/lib64/libXrandr.so.2.2.0
7ff4bd112000-7ff4bd113000 rw-p 00008000 08:07 555995                     /usr/lib64/libXrandr.so.2.2.0
7ff4bd113000-7ff4bd11c000 r-xp 00000000 08:07 551396                     /usr/lib64/libXrender.so.1.3.0
7ff4bd11c000-7ff4bd31b000 ---p 00009000 08:07 551396                     /usr/lib64/libXrender.so.1.3.0
7ff4bd31b000-7ff4bd31c000 r--p 00008000 08:07 551396                     /usr/lib64/libXrender.so.1.3.0
7ff4bd31c000-7ff4bd31d000 rw-p 00009000 08:07 551396                     /usr/lib64/libXrender.so.1.3.0
7ff4bd31d000-7ff4bd320000 r-xp 00000000 08:07 540807                     /usr/lib64/libgpg-error.so.0.5.0
7ff4bd320000-7ff4bd51f000 ---p 00003000 08:07 540807                     /usr/lib64/libgpg-error.so.0.5.0
7ff4bd51f000-7ff4bd520000 r--p 00002000 08:07 540807                     /usr/lib64/libgpg-error.so.0.5.0
7ff4bd520000-7ff4bd521000 rw-p 00003000 08:07 540807                     /usr/lib64/libgpg-error.so.0.5.0
7ff4bd521000-7ff4bd596000 r-xp 00000000 08:07 578755                     /usr/lib64/libgcrypt.so.11.5.2
7ff4bd596000-7ff4bd796000 ---p 00075000 08:07 578755                     /usr/lib64/libgcrypt.so.11.5.2
7ff4bd796000-7ff4bd797000 r--p 00075000 08:07 578755                     /usr/lib64/libgcrypt.so.11.5.2
7ff4bd797000-7ff4bd79a000 rw-p 00076000 08:07 578755                     /usr/lib64/libgcrypt.so.11.5.2
7ff4bd79a000-7ff4bd7aa000 r-xp 00000000 08:07 558957                     /usr/lib64/libtasn1.so.3.1.5
7ff4bd7aa000-7ff4bd9a9000 ---p 00010000 08:07 558957                     /usr/lib64/libtasn1.so.3.1.5
7ff4bd9a9000-7ff4bd9aa000 r--p 0000f000 08:07 558957                     /usr/lib64/libtasn1.so.3.1.5
7ff4bd9aa000-7ff4bd9ab000 rw-p 00010000 08:07 558957                     /usr/lib64/libtasn1.so.3.1.5
7ff4bd9ab000-7ff4bda48000 r-xp 00

gae-crash.txt
Code: [Select]
Crash
Version: Advanced Engine v0.2.11
Time: Sat Jul 18 08:18:06 2009
Description: SIGABRT:
Address: 0x3e900001bf4
Backtrace:
/home/eric/src/games/gae/data/glest_game/glestadv [0x54486d]
/lib/libc.so.6 [0x7fbeba15f360]
/lib/libc.so.6(gsignal+0x35) [0x7fbeba15f2e5]
/lib/libc.so.6(abort+0x199) [0x7fbeba1605c9]
/lib/libc.so.6 [0x7fbeba199cad]
/lib/libc.so.6(__fortify_fail+0x37) [0x7fbeba2111f7]
/lib/libc.so.6 [0x7fbeba20f170]
/home/eric/src/games/gae/data/glest_game/glestadv [0x4b76e7]
/home/eric/src/games/gae/data/glest_game/glestadv [0x4b7a23]
/home/eric/src/games/gae/data/glest_game/glestadv [0x4bc513]
/home/eric/src/games/gae/data/glest_game/glestadv [0x535b83]
/home/eric/src/games/gae/data/glest_game/glestadv [0x41f7d9]
/home/eric/src/games/gae/data/glest_game/glestadv [0x461c8e]
/home/eric/src/games/gae/data/glest_game/glestadv [0x491d6b]
/home/eric/src/games/gae/data/glest_game/glestadv [0x543fec]
/home/eric/src/games/gae/data/glest_game/glestadv [0x54430d]
/home/eric/src/games/gae/data/glest_game/glestadv [0x461d78]
/home/eric/src/games/gae/data/glest_game/glestadv [0x464f28]
/home/eric/src/games/gae/data/glest_game/glestadv [0x465125]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7fbeba14ba3d]
/home/eric/src/games/gae/data/glest_game/glestadv [0x40a4a9]

=======================
Crash
Version: Advanced Engine v0.2.11
Time: Mon Jul 20 16:36:26 2009
Description: SIGABRT:
Address: 0x3e900001955
Backtrace:
./glestadv [0x5466cd]
/lib/libc.so.6 [0x7f4a8dc03360]
/lib/libc.so.6(gsignal+0x35) [0x7f4a8dc032e5]
/lib/libc.so.6(abort+0x199) [0x7f4a8dc045c9]
/lib/libc.so.6 [0x7f4a8dc3dcad]
/lib/libc.so.6(__fortify_fail+0x37) [0x7f4a8dcb51f7]
/lib/libc.so.6 [0x7f4a8dcb3170]
./glestadv [0x4b90e7]
./glestadv [0x4b9423]
./glestadv [0x4bee4b]
./glestadv [0x537a00]
./glestadv [0x41f7d9]
./glestadv [0x46271e]
./glestadv [0x49375b]
./glestadv [0x545e4c]
./glestadv [0x54616d]
./glestadv [0x462808]
./glestadv [0x4659b8]
./glestadv [0x465bb5]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7f4a8dbefa3d]
./glestadv [0x40a4a9]

=======================
Crash
Version: Advanced Engine v0.2.11
Time: Thu Jul 23 10:50:20 2009
Description: SIGABRT:
Address: 0x3e9000033b1
Backtrace:
./glestadv [0x54b15d]
/lib/libc.so.6 [0x7ff4c2fdb360]
/lib/libc.so.6(gsignal+0x35) [0x7ff4c2fdb2e5]
/lib/libc.so.6(abort+0x199) [0x7ff4c2fdc5c9]
/lib/libc.so.6 [0x7ff4c3015cad]
/lib/libc.so.6(__fortify_fail+0x37) [0x7ff4c308d1f7]
/lib/libc.so.6 [0x7ff4c308b170]
./glestadv [0x4b9697]
./glestadv [0x4b99d3]
./glestadv [0x4bf3fb]
./glestadv [0x53ccd0]
./glestadv [0x424d8c]
./glestadv [0x462b4e]
./glestadv [0x493d0b]
./glestadv [0x54a8dc]
./glestadv [0x54abfd]
./glestadv [0x462c38]
./glestadv [0x465f58]
./glestadv [0x466155]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7ff4c2fc7a3d]
./glestadv [0x40a4a9]

=======================
« Last Edit: 23 July 2009, 14:59:37 by ewomer »

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile

Should work in debug... don't think I updated the additional include directories for release build... My bad, had to sleep and probably shouldn't have bothered committing.. but it should be all good again within a few hours...
Glest Advanced Engine - Code Monkey

Timeline | Downloads

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
The problem is that you deleted path_finder.cpp/h and didn't commit the new path_finder folder.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
The problem is that you deleted path_finder.cpp/h and didn't commit the new path_finder folder.
Doh! That's your trick  :P

Update:
Should compile under windoze ok now, but it is failing an assert in debug somewhere.... this doesn't appear to crash the game release though... VC++ was not helping at all in trying to find it, kept dumping me 'in the middle of nowhere' staring at a stack trace full of memory addresses... so I thought I'd check how things are looking on linux...

I updated the Jamfile, but there are build errors... I haven't got things set up in kdevelop yet, so this may not get sorted out today... There's not many errors, but enough that I'm not willing to sort them out the 'old fashioned' way.
« Last Edit: 18 July 2009, 06:07:19 by silnarm »
Glest Advanced Engine - Code Monkey

Timeline | Downloads

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Trunk errors (rev 102) [runtime error]
« Reply #4 on: 18 July 2009, 13:05:54 »
Did you look at the console?  ;D

I got this one in World::initUnits() :
assert ( !unit->isMobile () );

I've also updated menu_state_new_game with setDefaultVictoryConditions but I didn't notice any difference in release or debug.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

ewomer

  • Guest
Re: Trunk errors (rev 120) [runtime error]
« Reply #5 on: 23 July 2009, 20:54:18 »
BUMP!

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Trunk errors (rev 120) [runtime error]
« Reply #6 on: 24 July 2009, 00:09:58 »
Thanks for the report Ewomer. Will look into this one tonight...

Could you post any future problems here,
https://forum.megaglest.org/index.php?topic=4471.0

Just easier for everyone if they are all in the one spot :)
Glest Advanced Engine - Code Monkey

Timeline | Downloads

ewomer

  • Guest
Re: Trunk errors (rev 120) [runtime error]
« Reply #7 on: 24 July 2009, 14:33:14 »
ok will do