View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000586 | Spring engine | General | public | 2007-08-15 01:11 | 2007-08-15 11:29 | ||||
Reporter | imbaczek | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000586: CA r625 selecting arm solar causes crash in r4203 | ||||||||
Description | (gdb) bt #0 0x009039b6 in read_uleb128 () at rts/lib/luabind/luabind/handle.hpp:81 #1 0x00a57699 in __gxx_personality_sj0 () #2 0x00900ec8 in _Unwind_SjLj_RaiseException (exc=0x23f688) at ../../gcc-4.2.1/gcc/unwind.inc:117 0000003 0x474e5543 in ?? () 0000004 0x2c8e6a48 in ?? () 0000005 0x0023f4f8 in ?? () #6 0x0023f50c in ?? () #7 0x00a542e5 in std::operator+<char, std::char_traits<char>, std::allocator<ch ar> > (__lhs=0xaa9bb0 "?â?¢Ęź", __rhs=@0x908df4) at c:/mingw/include/c++/4.2.1/bits/basic_string.tcc:685 #8 0x005fdc42 in CTextureHandler::LoadS3OTexture (this=0x2b39df08, tex1=@0x23f7b0, tex2=@0x23f7ac) at rts/Rendering/Textures/TextureHandler.cpp:293 #9 0x005e2c25 in CS3OParser::LoadS3O (this=0x2bffa800, name=@0x23f854, scale=1, side=0) at rts/Rendering/UnitModels/s3oParser.cpp:91 0000010 0x005dab81 in C3DModelParser::Load3DO (this=0x27ff6be0, name=@0x23f8d4, scale=1, side=0) at rts/Rendering/UnitModels/3DModelParser.cpp:26 #11 0x004a2825 in UnitDef::LoadModel (this=0x2b081a34, team=0) at rts/Sim/Units/UnitDefHandler.cpp:996 0000012 0x005e6399 in CUnitDrawer::DrawBuildingSample (this=0x2b269ce0, unitdef=0x2b081a34, side=0, pos=@0x23fb2c, facing=0) at rts/Rendering/UnitModels/UnitDrawer.cpp:1520 0000013 0x0084a492 in CGuiHandler::DrawMapStuff (this=0x27f5de98, onMinimap=0) at rts/Game/UI/GuiHandler.cpp:3742 0000014 0x007cb080 in CGame::DrawWorld (this=0xeb32588) at rts/Game/Game.cpp:1843 #15 0x007d9178 in CGame::Draw (this=0xeb32588) at rts/Game/Game.cpp:1987 #16 0x0040c12e in SpringApp::Update (this=0x23fea4) at rts/System/Main.cpp:838 #17 0x00414334 in SpringApp::Run (this=0x23fea4, argc=1, argv=0x34290) at rts/System/Main.cpp:1016 #18 0x0041473f in Run (argc=1, argv=0x34290) at rts/System/Main.cpp:1075 #19 0x00414951 in WinMain@16 (hInstanceIn=0x400000, hPrevInstance=0x0, lpCmdLine=0x251f38 "", nCmdShow=10) at rts/System/Main.cpp:1137 0000020 0x008ef6c8 in main () at c:/mingw/include/c++/4.2.1/bits/stl_tree.h:421 | ||||||||
Additional Information | This machine has an Intel 945 graphics and some widgets complain about it, but I don't know if it's related. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
imbaczek (reporter) 2007-08-15 01:54 |
there's something weird here, the crash is reproducible 100% of the time, but the effects are different. gdb once even spit out this: warning: Heap corruption detected at 0003CA40 |
trepan (reporter) 2007-08-15 06:34 Last edited: 2007-08-15 07:16 |
I got this message in an error box: Content error: Could not load S3O texture from file unittextures/Spring unit (spring = r4203, ca = r625) Appears that the armsolar unit has objectname=armremake3.s3o. Is that file really an S3O file ? P.S. I get the same result with 0.75b2 and r625 |
imbaczek (reporter) 2007-08-15 11:14 Last edited: 2007-08-15 11:28 |
Content error is what I would expect to see, and it sometimes happens, but most of the time I get a crash with signs of memory corruption. I wonder if it isn't a miscompilation of some sorts (using mingw 4.2.1), because when I print tex1 in LoadS3OTexture in its stackframe, I *alwalys* get "Spring unit". Garbage starts to shows up in operator+. Automated builds seem to work fine, too... edit: changing the throw to this: std::string tmp("Could not load S3O texture from file unittextures/" + tex1); logOutput << tmp.c_str() << "\n"; throw content_error(tmp); fixed the issue. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2007-08-15 01:11 | imbaczek | New Issue | |
2007-08-15 01:54 | imbaczek | Note Added: 0001099 | |
2007-08-15 02:15 | imbaczek | Summary | CA r625 selecting arm solar causes crash => CA r625 selecting arm solar causes crash in r4203 |
2007-08-15 06:34 | trepan | Note Added: 0001100 | |
2007-08-15 06:35 | trepan | Note Edited: 0001100 | |
2007-08-15 06:53 | trepan | Note Edited: 0001100 | |
2007-08-15 07:16 | trepan | Note Edited: 0001100 | |
2007-08-15 11:14 | imbaczek | Note Added: 0001101 | |
2007-08-15 11:28 | imbaczek | Note Edited: 0001101 | |
2007-08-15 11:29 | imbaczek | Status | new => closed |
2007-08-15 11:29 | imbaczek | Resolution | open => no change required |