View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002417 | Spring engine | General | public | 2011-05-07 02:44 | 2014-02-03 15:07 |
| Reporter | jK | Assigned To | jK | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | suspended | ||
| Summary | 0002417: (master) assert triggered in Gundam 1.26 on /give all | ||||
| Description | f=0001132] /give all ... static AMoveType* MoveTypeFactory::GetMoveType(CUnit*, const UnitDef*): Assertion `ud->IsImmobileUnit()' failed. Program received signal SIGABRT, Aborted. 0xffffe424 in __kernel_vsyscall () (gdb) bt #0 0xffffe424 in __kernel_vsyscall () #1 0xb76869e1 in raise () from /lib/libc.so.6 #2 0xb76881bc in abort () from /lib/libc.so.6 0000003 0xb767f688 in __assert_fail () from /lib/libc.so.6 0000004 0x089db611 in MoveTypeFactory::GetMoveType(CUnit*, UnitDef const*) () 0000005 0x08a547cf in CUnit::PreInit(UnitDef const*, int, int, float3 const&, bool) () #6 0x08a50157 in CUnitLoader::LoadUnit(UnitDef const*, float3 const&, int, bool, int, CUnit const*) () #7 0x08a516b4 in CUnitLoader::GiveUnits(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, int) () #8 0x0866ab99 in CGame::ActionReceived(Action const&, int) () #9 0x08661887 in CGame::ClientReadNet() () 0000010 0x085ce4a5 in CGame::Update() () #11 0x08b0e62d in SpringApp::Update() () 0000012 0x08b0e862 in SpringApp::Run(int, char**) () 0000013 0x08b22afc in MainFunc(int, char**, int*) () 0000014 0x08b22d61 in Run(int, char**) () #15 0x08b22df5 in main () (gdb) | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
Mod bug. "zeonpopup" is clearly meant to be a static building, but has maxVelocity=0.001 (despite canmove=false) and also lacks a yardmap definition. Such inconsistent use of tags is checked more strictly now. |
|
|
better add that then to UnitDef loading? I don't think modders will ever run a spring binary with DEBUG enabled, nor will they understand the assert. |
|
|
Anyone asked smoth why the unit is setup that way? |
|
|
I cannot remember honestly, I cannot think of a reason why I still have that unit doing that. |
|
|
Just remembered why. I didn't want the turret to have a ghost and that was the only way. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-05-07 02:44 | jK | New Issue | |
| 2011-05-07 14:52 | Kloot | Note Added: 0006614 | |
| 2011-05-07 14:57 | jK | Note Added: 0006615 | |
| 2011-05-07 14:57 | jK | Note Edited: 0006615 | |
| 2011-05-07 18:06 | FLOZi | Note Added: 0006617 | |
| 2011-05-09 13:43 | smoth | Note Added: 0006627 | |
| 2011-05-09 14:40 | smoth | Note Added: 0006629 | |
| 2014-02-03 15:07 | jK | Status | new => closed |
| 2014-02-03 15:07 | jK | Assigned To | => jK |
| 2014-02-03 15:07 | jK | Resolution | open => suspended |