While writing the previous email, the game finally crashed after it froze.
Got the following bt. I'll post here because I don't know how often Nct or
Martin view the bug tracker.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
1:6: ConstNode
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb77cf6d0 (LWP 6806)]
0xf57fe416 in __kernel_vsyscall ()
(gdb) bt
#0 0xf57fe416 in __kernel_vsyscall ()
#1 0xb7b16900 in raise () from /lib/libc.so.6
#2 0xb7b18238 in abort () from /lib/libc.so.6
#3 0xb7d21728 in __gnu_cxx::__verbose_terminate_handler () from
/usr/lib/libstdc++.so.6
#4 0xb7d1f055 in ?? () from /usr/lib/libstdc++.so.6
#5 0xb7d1f092 in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb7d1f1ca in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7d1fdc3 in operator new () from /usr/lib/libstdc++.so.6
#8 0xb7cf9f94 in std::string::_Rep::_S_create () from
/usr/lib/libstdc++.so.6
#9 0xb7cfaa08 in std::string::_Rep::_M_clone () from
/usr/lib/libstdc++.so.6
#10 0xb7cfb800 in std::string::reserve () from /usr/lib/libstdc++.so.6
#11 0xb7cfbcc3 in std::string::append () from /usr/lib/libstdc++.so.6
#12 0xb7cfbd64 in std::string::operator+= () from /usr/lib/libstdc++.so.6
#13 0x0837abdb in unmangle ([EMAIL PROTECTED], end={_M_current = 0xb5001a75
""}) at libusl/src/debug.cpp:114
#14 0x0837acc2 in unmangle ([EMAIL PROTECTED]) at libusl/src/debug.cpp:126
#15 0x0837e28a in Value::dump (this=0xb3f843d8, [EMAIL PROTECTED]) at
libusl/src/types.cpp:16
#16 0x083895c4 in ConstNode::dumpSpecific (this=0xb3f843c0,
[EMAIL PROTECTED], indent=2) at libusl/src/tree.cpp:61
#17 0x08389741 in Node::dump (this=0xb3f843c0, [EMAIL PROTECTED], indent=2)
at libusl/src/tree.cpp:38
#18 0x083899f7 in ApplyNode::dumpSpecific (this=0xb46e70c0,
[EMAIL PROTECTED], indent=1) at libusl/src/tree.cpp:107
#19 0x08389741 in Node::dump (this=0xb46e70c0, [EMAIL PROTECTED], indent=1)
at libusl/src/tree.cpp:38
#20 0x083898c2 in BlockNode::dumpSpecific (this=0xbfac2668,
[EMAIL PROTECTED], indent=0) at libusl/src/tree.cpp:186
#21 0x08389741 in Node::dump (this=0xbfac2668, [EMAIL PROTECTED], indent=0)
at libusl/src/tree.cpp:38
#22 0x083804f8 in Usl::compile (this=0xbfac5d1c, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at libusl/src/usl.cpp:202
#23 0x0838070f in Usl::createThread (this=0xbfac5d1c, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at libusl/src/usl.cpp:152
#24 0x081eae58 in MapScriptUSL::compileCode (this=0xbfac5d1c,
[EMAIL PROTECTED]) at src/MapScriptUSL.cpp:191
#25 0x081e9acc in MapScript::compileCode (this=0xbfac5d14) at
src/MapScript.cpp:84
#26 0x0826afcf in ScriptEditorScreen::testCompile (this=0xb3b0f998) at
src/ScriptEditorScreen.cpp:149
#27 0x0826c928 in ScriptEditorScreen::onAction (this=0xb3b0f998,
source=0xb49b12f8, action=GAGGUI::TEXT_MODIFIED, par1=0, par2=0) at
src/ScriptEditorScreen.cpp:445
#28 0x08356d1b in GAGGUI::TextArea::onSDLKeyDown (this=0xb49b12f8,
event=0xbfac2b7c) at libgag/src/GUITextArea.cpp:392
#29 0x08342b0f in GAGGUI::Screen::dispatchEvents (this=0xb3b0f998,
event=0xbfac2b7c) at libgag/src/GUIBase.cpp:575
#30 0x08342fc8 in GAGGUI::OverlayScreen::translateAndProcessEvent
(this=0xb3b0f998, event=0xbfac2f44) at libgag/src/GUIBase.cpp:730
#31 0x081962ed in MapEdit::delegateMenu (this=0xbfac2fe8, [EMAIL PROTECTED])
at src/MapEdit.cpp:3029
#32 0x081966f9 in MapEdit::processEvent (this=0xbfac2fe8, [EMAIL PROTECTED])
at src/MapEdit.cpp:1635
#33 0x08198af7 in MapEdit::run (this=0xbfac2fe8) at src/MapEdit.cpp:1217
#34 0x080e4bc6 in EditorMainMenu::onAction (this=0xbfacd2bc,
source=0xb420e6e0, action=GAGGUI::BUTTON_RELEASED, par1=1, par2=0) at
src/EditorMainMenu.cpp:70
#35 0x083457f6 in GAGGUI::Button::onSDLMouseButtonUp (this=0xb420e6e0,
event=0xbfac6eb4) at libgag/src/GUIButton.cpp:84
#36 0x08342cb2 in GAGGUI::Screen::dispatchEvents (this=0xbfacd2bc,
event=0xbfac6eb4) at libgag/src/GUIBase.cpp:596
#37 0x08343d32 in GAGGUI::Screen::execute (this=0xbfacd2bc, gfx=0x84a1720,
stepLength=40) at libgag/src/GUIBase.cpp:506
#38 0x0814c6b9 in Glob2::run (this=0xbfacda53, argc=1, argv=0xbfacdaf4) at
src/Glob2.cpp:368
#39 0x0814c826 in main (argc=Cannot access memory at address 0x1a96
) at src/Glob2.cpp:421
Regards
Kieran
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel