It seems the client is trying to find the status of a
ship that is either not there OR that the is there but
for some reason was not reported on by there server.
The assertion below occurs because the ShipBuildStatus for
the ship being displayed was not found. Later on when the
UI tries to use the ShipBuildStatus object, it crashes
because the row in ShipBuildStatus is null. I do not know
where there is a ship in the BUILDING state without a ship
build status. Something funky must be happening on there
server side. After all or some of the ships are built on
the colony, you can click on the colony with no problem.
ASSERTION FAILED in file ShipBuildStatus.cc at line 51
Obtained 16 stack frames.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -151099712 (LWP 22259)]
0x080c04f9 in Row::getInt (this=0x0, index=0) at Row.cc:154
154 ASSERT(tableDef->getType(index) == INTEGER);
(gdb) nacktrace
Undefined command: "nacktrace". Try "help".
(gdb) backtrace
#0 0x080c04f9 in Row::getInt (this=0x0, index=0) at Row.cc:154
#1 0x080d7d5c in ShipBuildStatus::getTimeStamp
(this=0xfee8f260, m=FUEL) at ShipBuildStatus.cc:69
#2 0x080d7d9d in ShipBuildStatus::estimateAmountConsumed
(this=0xfee8f260, m=FUEL) at ShipBuildStatus.cc:77
#3 0x080e3ee8 in BuildShipWidget::eventDraw
(this=0x83a1c88, surface=0x84da630, rect=@0xfee8f2e0) at
BuildShipWidget.cc:241
#4 0x0071c73a in PG_Widget::Redraw (this=0x83a1c88,
update=true) at pgwidget.cpp:591
#5 0x080e3c0f in BuildShipWidget::planetClicked
(this=0x83a1c88, pi=0x84858a8) at BuildShipWidget.cc:177
#6 0x080f29d0 in UniverseWidget::eventMouseButtonUp
(this=0x84c62a8, button=0xfee8f480) at UniverseWidget.cc:653
#7 0x006fd438 in PG_MessageObject::ProcessEvent
(this=0x84c62a8, event=0xfee8f480) at pgmessageobject.cpp:134
#8 0x006fdcda in PG_MessageObject::PumpIntoEventQueue
(event=0xfee8f480) at pgmessageobject.cpp:308
#9 0x006f216c in PG_Application::RunEventLoop
(data=0xfee8f590) at pgapplication.cpp:215
#10 0x006f21cb in PG_Application::Run (this=0x0,
threaded=false) at pgapplication.cpp:177
#11 0x080a4092 in main (argc=3, argv=0xfee8f664) at main.cc:120
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=28123
The assertion below occurs because the ShipBuildStatus for
the ship being displayed was not found. Later on when the
UI tries to use the ShipBuildStatus object, it crashes
because the row in ShipBuildStatus is null. I do not know
where there is a ship in the BUILDING state without a ship
build status. Something funky must be happening on there
server side. After all or some of the ships are built on
the colony, you can click on the colony with no problem.
ASSERTION FAILED in file ShipBuildStatus.cc at line 51
Obtained 16 stack frames.
/home/weef/tmp/dw-0.1.0/client/src/client(_Z15printStackTracev+0x14)
[0x80f8008]
/home/weef/tmp/dw-0.1.0/client/src/client(_Z7_AssertPcj+0x60)
[0x80f80dc]
/home/weef/tmp/dw-0.1.0/client/src/client(_ZNK15ShipBuildStatus7findRowE8Material+0x41)
[0x80d7c7d]
/home/weef/tmp/dw-0.1.0/client/src/client(_ZNK15ShipBuildStatus12getTimeStampE8Material+0x1d)
[0x80d7d53]
/home/weef/tmp/dw-0.1.0/client/src/client(_ZNK15ShipBuildStatus22estimateAmountConsumedE8Material+0x3b)
[0x80d7d9d]
/home/weef/tmp/dw-0.1.0/client/src/client(_ZN15BuildShipWidget9eventDrawEP11SDL_SurfaceRK7PG_Rect+0x1a4)
[0x80e3ee8]
/home/weef/software/lib/libparagui-1.0.so.0(_ZN9PG_Widget6RedrawEb+0xa6)
[0x71c73a]
/home/weef/tmp/dw-0.1.0/client/src/client(_ZN15BuildShipWidget13planetClickedEPK10PlanetInfo+0x1d7)
[0x80e3c0f]
/home/weef/tmp/dw-0.1.0/client/src/client(_ZN14UniverseWidget18eventMouseButtonUpEPK20SDL_MouseButtonEvent+0x25a)
[0x80f29d0]
/home/weef/software/lib/libparagui-1.0.so.0(_ZN16PG_MessageObject12ProcessEventEPK9SDL_Event+0x108)
[0x6fd438]
/home/weef/software/lib/libparagui-1.0.so.0(_ZN16PG_MessageObject18PumpIntoEventQueueEPK9SDL_Event+0xbe)
[0x6fdcda]
/home/weef/software/lib/libparagui-1.0.so.0(_ZN14PG_Application12RunEventLoopEPv+0xa4)
[0x6f216c]
/home/weef/software/lib/libparagui-1.0.so.0(_ZN14PG_Application3RunEb+0x37)
[0x6f21cb]
/home/weef/tmp/dw-0.1.0/client/src/client(main+0x1a8)
[0x80a4092]
/lib/tls/libc.so.6(__libc_start_main+0xe3) [0xb0ce33]
/home/weef/tmp/dw-0.1.0/client/src/client(_ZN9PG_Widget4BlitEbb+0x31)
[0x80a36b1]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -151099712 (LWP 22259)]
0x080c04f9 in Row::getInt (this=0x0, index=0) at Row.cc:154
154 ASSERT(tableDef->getType(index) == INTEGER);
(gdb) nacktrace
Undefined command: "nacktrace". Try "help".
(gdb) backtrace
#0 0x080c04f9 in Row::getInt (this=0x0, index=0) at Row.cc:154
#1 0x080d7d5c in ShipBuildStatus::getTimeStamp
(this=0xfee8f260, m=FUEL) at ShipBuildStatus.cc:69
#2 0x080d7d9d in ShipBuildStatus::estimateAmountConsumed
(this=0xfee8f260, m=FUEL) at ShipBuildStatus.cc:77
#3 0x080e3ee8 in BuildShipWidget::eventDraw
(this=0x83a1c88, surface=0x84da630, rect=@0xfee8f2e0) at
BuildShipWidget.cc:241
#4 0x0071c73a in PG_Widget::Redraw (this=0x83a1c88,
update=true) at pgwidget.cpp:591
#5 0x080e3c0f in BuildShipWidget::planetClicked
(this=0x83a1c88, pi=0x84858a8) at BuildShipWidget.cc:177
#6 0x080f29d0 in UniverseWidget::eventMouseButtonUp
(this=0x84c62a8, button=0xfee8f480) at UniverseWidget.cc:653
#7 0x006fd438 in PG_MessageObject::ProcessEvent
(this=0x84c62a8, event=0xfee8f480) at pgmessageobject.cpp:134
#8 0x006fdcda in PG_MessageObject::PumpIntoEventQueue
(event=0xfee8f480) at pgmessageobject.cpp:308
#9 0x006f216c in PG_Application::RunEventLoop
(data=0xfee8f590) at pgapplication.cpp:215
#10 0x006f21cb in PG_Application::Run (this=0x0,
threaded=false) at pgapplication.cpp:177
#11 0x080a4092 in main (argc=3, argv=0xfee8f664) at main.cc:120