Okan Demirmen writes:
> On Sat 2007.11.17 at 08:43 +0100, Simon Bertrang wrote:
>> On Thu, Nov 15, 2007 at 03:30:13PM +0200, Antti Harri wrote:
>> > On Thu, 15 Nov 2007, Landry Breuil wrote:
>> >
>> >> Builds fine too.. but i get a crash too with this message
>> >> (after adding only some houses and waiting some time) : No
>> >> Component specified in cell 2, 1
>> >
>> > Yeah exactly the same bug I'm getting.. Maybe we should
>> > report this upstream instead of looking further? I'm not
>> > stopping anyone if someone wants to hack 'n patch, but at
>> > least I'm currently a bit busy :-)
>> >
>>
>> And i can't reproduce on amd64 and i386... anyone else?
>
> uhm, i can't reproduce on i386 either.
I can. It happens while attempting to write a message window
saying "You lose" when the population falls to zero. This is
game over, so not as evil a bug as it seemed.
Workaround: win. :)
Reproduce by building a house and waiting for everyone to die.
#0 Dialog::msgDialog(std::string, std::string) (this=0x80721120) at
stl_list.h:155
155 : _List_iterator_base(__x)
(gdb) bt
#0 Dialog::msgDialog(std::string, std::string) (this=0x80721120) at
stl_list.h:155
#1 0x1c00fc7f in Dialog (this=0x80721120, type=9) at
src/lincity-ng/Dialog.cpp:77
#2 0x1c0470cd in EconomyGraph::updateData() (this=0x8bce1200) at
stl_alloc.h:652
#3 0x1c052be2 in print_stats () at src/lincity-ng/ScreenInterface.cpp:347
#4 0x1c006bbc in execute_timestep () at src/lincity-ng/MainLincity.cpp:75
#5 0x1c02d142 in Game::run() (this=0x801a5fd0) at src/lincity-ng/Game.cpp:260
#6 0x1c009723 in mainLoop () at memory:271
#7 0x1c009f8f in main (argc=2, argv=0xcfbe4090) at src/lincity-ng/main.cpp:465
(gdb) bt full
#0 Dialog::msgDialog(std::string, std::string) (this=0x80721120) at
stl_list.h:155
message = {static npos = 4294967295, _M_dataplus =
{<std::allocator<char>> = {<No data fields>},
_M_p = 0x801a5b30 "È\035"}, static _S_empty_rep_storage = {0, 0, 751, 0}}
extraString = {static npos = 4294967295, _M_dataplus =
{<std::allocator<char>> = {<No data fields>},
_M_p = 0x801a5b30 "È\035"}, static _S_empty_rep_storage = {0, 0, 751, 0}}
filename = {static npos = 4294967295, _M_dataplus =
{<std::allocator<char>> = {<No data fields>},
_M_p = 0x7e4bd5ac "gui/allgone.xml"}, static _S_empty_rep_storage = {0, 0,
751, 0}}
myDialogComponent = {_M_ptr = 0x888e8440}
noButton = (class Button *) 0x0
#1 0x1c00fc7f in Dialog (this=0x80721120, type=9) at
src/lincity-ng/Dialog.cpp:77
msg = {<std::iostream> = {<> = {<No data fields>}, <> = {<No data
fields>}, <No data fields>},
_M_stringbuf = {<> = {<No data fields>}, _M_string = {static npos =
4294967295,
_M_dataplus = {<std::allocator<char>> = {<No data fields>}, _M_p =
0x3c004f2e "You lose."},
static _S_empty_rep_storage = {0, 0, 751, 0}}}}
message = {static npos = 4294967295, _M_dataplus =
{<std::allocator<char>> = {<No data fields>},
_M_p = 0x801a5b30 "È\035"}, static _S_empty_rep_storage = {0, 0, 751, 0}}
extraString = {static npos = 4294967295, _M_dataplus =
{<std::allocator<char>> = {<No data fields>},
_M_p = 0x801a5b30 "È\035"}, static _S_empty_rep_storage = {0, 0, 751, 0}}
#2 0x1c0470cd in EconomyGraph::updateData() (this=0x8bce1200) at
stl_alloc.h:652
message = {static npos = 4294967295, _M_dataplus =
{<std::allocator<char>> = {<No data fields>},
_M_p = 0x880c15bc "You lose."}, static _S_empty_rep_storage = {0, 0, 751,
0}}
i = -809617028
f = -nan(0x400000)
h = -2145756368
root = (class Component *) 0xcfbe3c50
#3 0x1c052be2 in print_stats () at src/lincity-ng/ScreenInterface.cpp:347
No locals.
#4 0x1c006bbc in execute_timestep () at src/lincity-ng/MainLincity.cpp:75
oldTime = 233978
now = 233978
mStepTime = 2154959136
#5 0x1c02d142 in Game::run() (this=0x801a5fd0) at src/lincity-ng/Game.cpp:260
gui_event = {type = UPDATE, mousepos = {x = 0, y = 0}, mousemove = {x =
0, y = 0}, mousebutton = 1,
keysym = {scancode = 40 '(', sym = 469981779, mod = 1006647229, unicode =
50308}, inside = true,
elapsedTime = 0.0289999992}
ticks = 233958
elapsedTime = -2.42043481e-39
event = {type = 1 '\001', active = {type = 1 '\001', gain = 0 '\0',
state = 6 '\006'}, key = {
type = 1 '\001', which = 0 '\0', state = 6 '\006', keysym = {scancode = 0
'\0', sym = SDLK_UNKNOWN,
mod = KMOD_NONE, unicode = 0}}, motion = {type = 1 '\001', which = 0
'\0', state = 6 '\006', x = 0,
y = 0, xrel = 0, yrel = 0}, button = {type = 1 '\001', which = 0 '\0',
button = 6 '\006', state = 0 '\0',
x = 0, y = 0}, jaxis = {type = 1 '\001', which = 0 '\0', axis = 6 '\006',
value = 0}, jball = {
type = 1 '\001', which = 0 '\0', ball = 6 '\006', xrel = 0, yrel = 0}, jhat
= {type = 1 '\001',
which = 0 '\0', hat = 6 '\006', value = 0 '\0'}, jbutton = {type = 1
'\001', which = 0 '\0',
button = 6 '\006', state = 0 '\0'}, resize = {type = 1 '\001', w = 0, h =
0}, expose = {type = 1 '\001'},
quit = {type = 1 '\001'}, user = {type = 1 '\001', code = 0, data1 = 0x0,
data2 = 0x0}, syswm = {
type = 1 '\001', msg = 0x0}}
fpsTicks = 233747
lastticks = 233958
frame = 8
#6 0x1c009723 in mainLoop () at memory:271
menu = {_M_ptr = 0x81565240}
game = {_M_ptr = 0x801a5fd0}