[Freeciv-Dev] (PR#13833) SEGV in movement.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13833 >
CVS version of 1 September 2005:
Start a game; immediate SEGV.
It appears that unit class is not properly initialized. If understand
correctly, it should be initialized in packhand.c, but it looks like
there is no corresponding field in the packet_ruleset_unit structure.
unit_move_rate (punit=0x88d5ad8) at movement.c:51
51 if (pclass->move.damage_slows) {
(gdb) bt
#0 unit_move_rate (punit=0x88d5ad8) at movement.c:51
#1 0x08105749 in create_unit_virtual (pplayer=0x82144cc, pcity=0x0,
punittype=0x81da1c0, veteran_level=0) at unit.c:1462
#2 0x0808f70c in handle_unit_info (packet=0x8961020) at packhand.c:84
#3 0x0808fded in client_handle_packet (type=PACKET_UNIT_INFO,
packet=0x8961020) at packhand_gen.c:154
#4 0x08071a49 in handle_packet_input (packet=0x0, type=49) at
civclient.c:390
#5 0x08075dc2 in input_from_server (fd=4) at clinet.c:340
#6 0x4031497b in gdk_io_invoke ()
from /opt/gnome/lib/libgdk-x11-2.0.so.0
#7 0x40490d5f in g_io_unix_dispatch ()
from /opt/gnome/lib/libglib-2.0.so.0
#8 0x40469d17 in g_main_context_dispatch ()
from /opt/gnome/lib/libglib-2.0.so.0
#9 0x4046c467 in g_main_context_iterate ()
from /opt/gnome/lib/libglib-2.0.so.0
#10 0x4046d677 in g_main_loop_run ()
from /opt/gnome/lib/libglib-2.0.so.0
#11 0x40147e43 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#12 0x0812e084 in ui_main (argc=1, argv=0xbfffe374) at gui_main.c:1211
#13 0x08071e67 in main (argc=1, argv=0xbfffe374) at civclient.c:350
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#13833) SEGV in movement.c,
White Raven <=
|
|