[Freeciv-Dev] (PR#10303) FTWL/SDL: segmentation fault, buffer overrun li
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#10303) FTWL/SDL: segmentation fault, buffer overrun likely |
From: |
"Marek \"Baczek\" BaczyÅski" <imbaczek@xxxxxxxxx> |
Date: |
Fri, 24 Sep 2004 12:11:23 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10303 >
Strange segfault, buffer overrun or just uninitialized data. To
reproduce: after connect press ', type something, press '. Likely to
die earlier.
(gdb) bt
#0 0x54545454 in ?? ()
#1 0x080eb0f3 in sw_mainloop (input_callback=0x80537c0 <input_from_server>)
at widget.c:391
#2 0x080e0475 in ui_main (argc=1, argv=0x80e0190) at gui_main.c:251
#3 0x0804fd6f in main (argc=1, argv=0xbffff934) at civclient.c:303
(gdb) up
#1 0x080eb0f3 in sw_mainloop (input_callback=0x80537c0 <input_from_server>)
at widget.c:391
391 handled = widget->key(widget, &event.key, widget->key_data);
(gdb) p widget->key
$1 = (_Bool (*)(struct sw_widget *, const struct be_key *, void *)) 0x54545454
(gdb) p widget->key_data
$2 = (void *) 0x54545454
(gdb) p (char*)&widget->key_data
$3 = 0x85e0ac8 'T' <repeats 184 times>, "0\001"
(gdb) p *widget
$4 = {parent = 0x404019d0, type = 138750456, pressed = 84, selected = 84,
disabled = 84, dragged = 84, accepts_events = {84, 84}, can_be_pressed = 84,
can_be_selected = 84, can_be_dragged = {84, 84, 84}, needs_repaint = 84,
[cut lots of 0x54, 84 and 1414812756 aka 0x54545454]
(gdb) p 0x54
$5 = 84
(gdb) frame
#1 0x080eb0f3 in sw_mainloop (input_callback=0x80537c0 <input_from_server>)
at widget.c:391
391 handled = widget->key(widget, &event.key, widget->key_data);
(gdb) p handled
$6 = 84 [???]
(gdb) p widget
$7 = (struct sw_widget *) 0x85e0a58
--
{ Marek Baczyński :: UIN 57114871 :: GG 161671 :: JID imbaczek@xxxxxxxxxxxxx }
{ http://www.vlo.ids.gda.pl/ | imbaczek at poczta fm | http://www.promode.org }
.. .. .. .. ... ... ...... evolve or face extinction ...... ... ... .. .. .. ..
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#10303) FTWL/SDL: segmentation fault, buffer overrun likely,
Marek \"Baczek\" BaczyÅski <=
|
|