[Freeciv-Dev] [bug #21084] Segfault on client quit -- gen_roads implicated?

2013-08-31 Thread Jacob Nevins
URL:
  http://gna.org/bugs/?21084

 Summary: Segfault on client quit -- gen_roads implicated?
 Project: Freeciv
Submitted by: jtn
Submitted on: Sat Aug 31 14:01:05 2013
Category: client-gtk-2.0
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: trunk r23246
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.6.0

___

Details:

When I started a game in the trunk Gtk2 client and then quit, it segfaulted.
Haven't investigated further.


#0  0x005f2425 in genlist_link_data (plink=0x301010100030101)
at genlist.c:731
No locals.
#1  0x005d9c7d in road_by_compat_special (compat=ROCO_ROAD)
at road.c:146
_e__iter = 0x301010100030101
_e_ = optimised out
_etl_ = optimised out
__FUNCTION__ = road_by_compat_special
#2  0x00459e55 in real_menus_update () at menu.c:2063
road_buf =
`u\203\002\000\000\000\000!\301\062\340a\177\000\000p/c\000\000\000\000\000\306D\355\340a\177\000\000
h$\003\000\000\000\000Ʈ\355\340a\177\000\000\000EZT\377\177\000\000\000\000\000\000\000\000\000\000\001,
'\000' repeats 15 times,
\001\000\000\000\000\000\000\000\354\006F\000\000\000\000\000\340Ӵ\002,
'\000' repeats 21 times,
\020\000\000\000\000\000\000\344\002w\002\000\000\000\000\377\377\377\377\377\377\377\377p\002w\002\000\000\000\000[WN\330a\177,
'\000' repeats 18 times\340,
\340\202\002\000\000\000\000\274\061c\000\000\000\000\000\001\000\000\000\000\000\000\000\223\340\222\341a\177\000\000\200\t\203\002\000\000\000\000\000\215z\001)\374\303`\000\000\000\000\000\000\000\000\340\340\202\002\000\000\000\000@EZT\377\177\000\000\354:F\000\000\000\000\000\320\035%\315a\177\000\000Z\257q\330a...
proad = optimised out
safe_group = 0xa9f5a80
edit_group = 0xa9f5d40
unit_group = 0xa9f5d90
playing_group = 0xa9f5de0
punits = 0x0
units_all_same_tile = true
units_all_same_type = true
menu = optimised out
acttext = \340]\237\n\000\000\000\000\000\226\341\004, '\000'
repeats 12 times\321,
\065\230\341a\177\000\000PpL\000\000\000\000\000\004\257\064\340a\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\340]\237\n\000\000\000\000\000\226\341\004\000\000\000\000\340]\237\n\000\000\000\000e\315\062\340a\177\000\000\020\215\237\n\000\000\000\000\340]\237\n\000\000\000\000\000\226\341\004,
'\000' repeats 11 times
irrtext =
\000EZT\377\177\000\000\000EZT\377\177\000\000PpL\000\000\000\000\000\033\237\317\340a\177\000\000@]\237\n\000\000\000\000\340DZT\377\177\000\000\200Z\237\n\000\000\000\000\236\266E\000\000\000\000\000\200DZT\377\177\000\000\060^\237\n\000\000\000\000\340]\237\n\000\000\000\000\220]\237\n\000\000\000\000\067,
'\000' repeats 23 times, `#x\002\000\000\000
mintext =
Z\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000\004\000\000\000\000\000\000\000\000(\005\000\000\064\000\000Z\000\000\000\377\177\000\000\000(\005\000\000(\005\000\060DZT\377\177\000\000\340\214\202\002,
'\000' repeats 28 times, 
\027\061\340a\177\000\000m\016c\000\000\000\000\000\240\003\000\000\000\000\000\000y\231h\000\000\000\000\000\240\003\000\000\000\000\000
transtext =
\035\000\000\000\000\000\000\000ſ\375\337a\177\000\000y\231h\000\000\000\000\000\240\003\000\000\000\000\000\000m\016c\000\000\000\000\000\022\001\000\000\000\000\000\000y\231h\000\000\000\000\000\022H_\000\000\000\000\000\240\003,
'\000' repeats 30 times, 0rL\000\000\000\000\000\065I_, '\000' repeats 14
times\215, z\001)\374\303`
pterrain = optimised out
conn_possible = optimised out
proad = optimised out
extras = optimised out
__FUNCTION__ = real_menus_update
#3  0x004c73c3 in update_unqueue (data=optimised out)
at update_queue.c:317
callback = 0x4c7050 menus_update_callback
uq_data = optimised out
MY_mem_MY_iter = optimised out
MY_it_MY_iter = 0x7fff545a4500
MY_iter = 0x7fff545a4500
hash = 0x6501240
#4  0x0044abda in idle_callback_wrapper (data=0xae5caa0)
at gui_main.c:2038
cb = 0xae5caa0
#5  0x7f61e1947d53 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6  0x7f61e19480a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7  0x7f61e194849a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8  0x7f61e0db62f7 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x0044dba9 in ui_main (argc=1, argv=0x7fff545a4ab8)
at 

[Freeciv-Dev] [bug #21084] Segfault on client quit -- gen_roads implicated?

2013-08-31 Thread Marko Lindqvist
Follow-up Comment #1, bug #21084 (project freeciv):

Seems like ruleset data is not valid - maybe it's freed already when this
idle_callback gets called.

___

Reply to this item at:

  http://gna.org/bugs/?21084

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev