widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #06892
Re: [Merge] lp:~widelands-dev/widelands/lua-driven-help into lp:widelands
Review: Needs Fixing
During compiling i got some hints about too long lines.
On first run i choosed "Editor" and pressing the Help button the editor segfaults:
*** Error in `./widelands': double free or corruption (!prev): 0x000000000452cfc0 ***
A Backtrace from widelands (not gdb) could be found here: http://home.arcor.de/frank.ue/editor_crash.txt
Ohh, now the program segfaults directly after startup:
**** END GRAPHICS REPORT ****
[New Thread 0x7fffddfbe700 (LWP 31112)]
[New Thread 0x7fffdd7bd700 (LWP 31113)]
widelands: /home/kaputtnik/Quellcode/widelands-repo/lua-driven-help/src/logic/map_objects/tribes/requirements.cc:77: Widelands::RequirementsStorage::RequirementsStorage(uint32_t, Widelands::RequirementsStorage::Reader): Assertion `s.find(init_id) == s.end()' failed.
Thread 1 "widelands" received signal SIGABRT, Aborted.
0x00007ffff51562a8 in raise () from /usr/lib/libc.so.6
(gdb) backtrace
#0 0x00007ffff51562a8 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff515772a in abort () from /usr/lib/libc.so.6
#2 0x00007ffff514f1b7 in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007ffff514f262 in __assert_fail () from /usr/lib/libc.so.6
#4 0x0000000000eafde5 in Widelands::RequirementsStorage::RequirementsStorage (this=0x199ec20 <Widelands::RequireOr::storage>, init_id=1,
init_reader=0xeb0139 <Widelands::read_or(FileRead&, Widelands::EditorGameBase&, Widelands::MapObjectLoader&)>)
at /home/kaputtnik/Quellcode/widelands-repo/lua-driven-help/src/logic/map_objects/tribes/requirements.cc:77
#5 0x0000000000eb0787 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535)
at /home/kaputtnik/Quellcode/widelands-repo/lua-driven-help/src/logic/map_objects/tribes/requirements.cc:154
#6 0x0000000000eb07c5 in _GLOBAL__sub_I__ZNK9Widelands12Requirements5checkERKNS_9MapObjectE ()
at /home/kaputtnik/Quellcode/widelands-repo/lua-driven-help/src/logic/map_objects/tribes/requirements.cc:264
#7 0x00000000012a807d in __libc_csu_init ()
#8 0x00007ffff514369f in __libc_start_main () from /usr/lib/libc.so.6
#9 0x0000000000cffec9 in _start ()
Sometimes it crashes, sometimes it runs...
--
https://code.launchpad.net/~widelands-dev/widelands/lua-driven-help/+merge/289782
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/lua-driven-help.
References