URL:
  <http://gna.org/bugs/?21318>

                 Summary: Segfault when leaving game with editor base/road
tools selected
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sun Dec  1 12:29:19 2013
                Category: editor
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk r23804
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 2.6.0

    _______________________________________________________

Details:

When leaving a local game having enabled edit mode and selected either the
road or base tools, the client segfaults repeatably.

Doesn't affect S2_5 or S2_4, only trunk.

Base:


#0  extra_base_get (pextra=0x0) at extras.c:239
        __FUNCTION__ = "extra_base_get"
#1  0x00000000004e5b50 in get_tool_value_pixbuf (value=0, 
    ett=ETT_MILITARY_BASE) at editgui.c:1445
        pixbuf = 0x0
        pbase = <optimised out>
        special = <optimised out>
        sprite = 0x0
        pterrain = <optimised out>
        presource = <optimised out>
        putype = <optimised out>
        proad = <optimised out>
        sprites = <optimised out>
#2  editinfobox_refresh (ei=0x20db880) at editgui.c:1576
        pixbuf = <optimised out>
        label = <optimised out>
        ett = ETT_MILITARY_BASE
        etm = ETM_PAINT
        value = 0
        buf = "<span weight=\"bold\">Military
Base</span>\000\024\021\263L\177\000\000\220\020\327\005\000\000\000\000\001\000\000\000\000\000\000\000(\000\000\000\000\000\000\000y)\t\264L\177\000\000\250\020\327\005\000\000\000\000\354\002\a\264L\177\000\000\220\020\327\005\000\000\000\000\220\020\327\005\000\000\000\000\200\364\366\001\000\000\000\000`\234\326\005\000\000\000\000\200\364\366\001\000\000\000\000\200\235\326\005\000\000\000\000С\021\263L\177\000\000\000\337\334\b",
'\000' <repeats 12 times>"\200,
\306\021\263L\177\000\000\001\000\000\000\000\000\000\000y)\t\264L\177\000\000\000\337\334\b\000\000\000\000\001\000\000\000\000\000\000\000(\000\000\000\000\000\000\000y)\t\264L\177\000\000\320H.\177\377\177\000\000\354\002\a\264L\177\000\000\240"...
#3  0x00000000004e6adb in editgui_refresh () at editgui.c:1811
        pe = <optimised out>
        eb = 0x2a4e280
        ei = 0x0
#4  0x000000000045a0ee in real_menus_update () at menu.c:2062
        safe_group = 0x8cc26d0
        edit_group = 0x1e53630
        unit_group = 0x1e53680
        playing_group = 0x1e536d0
        punits = 0x0
        units_all_same_tile = true
        units_all_same_type = true
        menu = <optimised out>
        acttext = "\320\066\345\001\000\000\000\000\020\213\225\004", '\000'
<repeats 12 times>"\341,
%\t\264L\177\000\000\300\246L\000\000\000\000\000Ԟ\245\262L\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\320\066\345\001\000\000\000\000\020\213\225\004\000\000\000\000\320\066\345\001\000\000\000\000e\275\243\262L\177\000\000P,^\003\000\000\000\000\320\066\345\001\000\000\000\000\020\213\225\004",
'\000' <repeats 11 times>
        irrtext =
"\220N.\177\377\177\000\000\220N.\177\377\177\000\000\300\246L\000\000\000\000\000\033\217@\263L\177\000\000\060\066\345\001\000\000\000\000pN.\177\377\177\000\000\320&\314\b\000\000\000\000\066\271E\000\000\000\000\000\020N.\177\377\177\000\000P,^\003\000\000\000\000\320\066\345\001\000\000\000\000\200\066\345\001\000\000\000\000\067",
'\000' <repeats 15 times>,
"\020N.\177\377\177\000\000\200\001Y\004\000\000\000"
        mintext = "\360<\\\004\000\000\000\000ۓɲL\177", '\000' <repeats 11
times>,
"(\005\000\000\064\000\000\300M.\177\377\177\000\000\000(\005\000\000(\005\000\300M.\177\377\177\000\000\340\274\001\002\000\000\000\000\240r\333\005",
'\000' <repeats 12 times>"\340, N.\177\377\177\000\000
\a\242\262L\177\000\000\355\232c\000\000\000\000\000\240\003\000\000\000\000\000\000\231\062i\000\000\000\000\000\240\003\000\000\000\000\000"
        transtext =
"\035\000\000\000\000\000\000\000\225\237n\262L\177\000\000\231\062i\000\000\000\000\000\240\003\000\000\000\000\000\000\355\232c\000\000\000\000\000\022\001\000\000\000\000\000\000\231\062i\000\000\000\000\000\022\332_\000\000\000\000\000\240\003",
'\000' <repeats 30 times>"\240, \250L\000\000\000\000\000\065\333_", '\000'
<repeats 14 times>"\337, \346<\347\266b\030"
        pterrain = <optimised out>
        conn_possible = <optimised out>
        proad = <optimised out>
        extras = <optimised out>
        __FUNCTION__ = "real_menus_update"
#5  0x00000000004caa33 in update_unqueue (data=<optimised out>)
    at update_queue.c:317
        callback = 0x4ca6c0 <menus_update_callback>
        uq_data = <optimised out>
        MY_mem_MY_iter = <optimised out>
        MY_it_MY_iter = 0x7fff7f2e4e90
        MY_iter = 0x7fff7f2e4e90
        hash = 0x5d58e20
#6  0x000000000044adea in idle_callback_wrapper (data=<optimised out>)
    at gui_main.c:2038
        cb = 0x9b558d0
#7  0x00007f4cb4056d13 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8  0x00007f4cb4057060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#9  0x00007f4cb405745a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#10 0x00007f4cb34c52f7 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#11 0x000000000044ddb9 in ui_main (argc=1, argv=0x7fff7f2e5448)
    at gui_main.c:1673
        home = <optimised out>
        sig = <optimised out>
        __FUNCTION__ = "ui_main"
#12 0x0000000000474c00 in client_main (argc=1, argv=0x7fff7f2e5448)
    at client_main.c:599
        i = 1
        loglevel = LOG_NORMAL
        ui_options = <optimised out>
        ui_separator = <optimised out>
        option = <optimised out>
        user_tileset = <optimised out>
        fatal_assertions = -1
        aii = <optimised out>
        __FUNCTION__ = "client_main"
#13 0x00007f4cb268876d in __libc_start_main (main=0x44ab10 <main>, argc=1, 
    ubp_av=0x7fff7f2e5448, init=<optimised out>, fini=<optimised out>, 
    rtld_fini=<optimised out>, stack_end=0x7fff7f2e5438) at libc-start.c:226
        result = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2903419435924983640, 
                4500248, 140735327130688, 0, 0, -2903138661985546408, 
                -2967203337330094248}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x638ba0, 0x7fff7f2e5448}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 6523808}}}
        not_first_call = <optimised out>
#14 0x000000000044ab41 in _start ()


Road:


#0  0x00000000005fac1e in genlist_link_data (plink=0x7d2ed00035a1ac0)
    at genlist.c:731
No locals.
#1  genlist_get (pgenlist=<optimised out>, idx=<optimised out>)
    at genlist.c:272
No locals.
#2  0x00000000005e3437 in extra_type_list_get (index=0, tthis=0x3597c90)
    at ../utility/speclist.h:392
No locals.
#3  road_by_number (id=0) at road.c:86
        roads = 0x3597c90
#4  0x00000000004e5b98 in get_tool_value_pixbuf (value=0, ett=ETT_ROAD)
    at editgui.c:1441
        pixbuf = 0x0
        pbase = <optimised out>
        special = <optimised out>
        sprite = 0x0
        pterrain = <optimised out>
        presource = <optimised out>
        putype = <optimised out>
        proad = <optimised out>
        sprites = <optimised out>
#5  editinfobox_refresh (ei=0x1035830) at editgui.c:1576
        pixbuf = <optimised out>
        label = <optimised out>
        ett = ETT_ROAD
        etm = ETM_PAINT
        value = 0
        buf = "<span
weight=\"bold\">Road</span>\000\000\000\000\000\002\000\000\000\260\364&\322\314\177\000\000\060\250\314\004\000\000\000\000\001\000\000\000\000\000\000\000(\000\000\000\000\000\000\000y\t\037\323\314\177\000\000H\250\314\004\000\000\000\000\354\342\034\323\314\177\000\000\060\250\314\004\000\000\000\000\060\250\314\004\000\000\000\000\200\224\354\000\000\000\000\000`<\314\004\000\000\000\000\200\224\354\000\000\000\000\000\200=\314\004\000\000\000\000Ё'\322\314\177\000\000
m\322\a", '\000' <repeats 12 times>"\200,
\246'\322\314\177\000\000\001\000\000\000\000\000\000\000y\t\037\323\314\177\000\000
m\322\a\000\000\000\000\001\000\000\000\000\000\000\000(\000\000\000\000\000\000\000y\t\037\323\314\177\000\000\260(\270\315\377\177\000\000\354\342\034\323\314\177\000\000\200(\270\315\377\177\000\000\200(\270\315\377\177\000"
#6  0x00000000004e6adb in editgui_refresh () at editgui.c:1811
        pe = <optimised out>
        eb = 0x19a8210
        ei = 0x3597c90
#7  0x000000000045a0ee in real_menus_update () at menu.c:2062
        safe_group = 0x7c1fed0
        edit_group = 0xdad630
        unit_group = 0xdad680
        playing_group = 0xdad6d0
        punits = 0x0
        units_all_same_tile = true
        units_all_same_type = true
        menu = <optimised out>
        acttext = "\320\326\332\000\000\000\000\000\220@\213\003", '\000'
<repeats 12 times>"\341,
\005\037\323\314\177\000\000\300\246L\000\000\000\000\000\324~\273\321\314\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\320\326\332\000\000\000\000\000\220@\213\003\000\000\000\000\320\326\332\000\000\000\000\000e\235\271\321\314\177\000\000P\330B\003\000\000\000\000\320\326\332\000\000\000\000\000\220@\213\003",
'\000' <repeats 11 times>
        irrtext =
"p.\270\315\377\177\000\000p.\270\315\377\177\000\000\300\246L\000\000\000\000\000\033oV\322\314\177\000\000\060\326\332\000\000\000\000\000P.\270\315\377\177\000\000\320\376\301\a\000\000\000\000\066\271E\000\000\000\000\000\360-\270\315\377\177\000\000P\330B\003\000\000\000\000\320\326\332\000\000\000\000\000\200\326\332\000\000\000\000\000\067",
'\000' <repeats 15 times>"\360,
-\270\315\377\177\000\000`\231M\003\000\000\000"
        mintext = "0\343Q\003\000\000\000\000\333s\337\321\314\177", '\000'
<repeats 11 times>,
"(\005\000\000\064\000\000\240-\270\315\377\177\000\000\000(\005\000\000(\005\000\240-\270\315\377\177\000\000\340d\367\000\000\000\000\000\060\313\317\004",
'\000' <repeats 12 times>"\300, .\270\315\377\177\000\000
\347\267\321\314\177\000\000\355\232c\000\000\000\000\000\240\003\000\000\000\000\000\000\231\062i\000\000\000\000\000\240\003\000\000\000\000\000"
        transtext =
"\035\000\000\000\000\000\000\000\225\177\204\321\314\177\000\000\231\062i\000\000\000\000\000\240\003\000\000\000\000\000\000\355\232c\000\000\000\000\000\022\001\000\000\000\000\000\000\231\062i\000\000\000\000\000\022\332_\000\000\000\000\000\240\003",
'\000' <repeats 30 times>"\240, \250L\000\000\000\000\000\065\333_", '\000'
<repeats 14 times>, "^8%f\335W\261"
        pterrain = <optimised out>
        conn_possible = <optimised out>
        proad = <optimised out>
        extras = <optimised out>
        __FUNCTION__ = "real_menus_update"
#8  0x00000000004caa33 in update_unqueue (data=<optimised out>)
    at update_queue.c:317
        callback = 0x4ca6c0 <menus_update_callback>
        uq_data = <optimised out>
        MY_mem_MY_iter = <optimised out>
        MY_it_MY_iter = 0x7fffcdb82e70
        MY_iter = 0x7fffcdb82e70
        hash = 0x4cb3950
#9  0x000000000044adea in idle_callback_wrapper (data=<optimised out>)
    at gui_main.c:2038
        cb = 0x8aaf690
#10 0x00007fccd31b4d13 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#11 0x00007fccd31b5060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#12 0x00007fccd31b545a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#13 0x00007fccd26232f7 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x000000000044ddb9 in ui_main (argc=1, argv=0x7fffcdb83428)
    at gui_main.c:1673
        home = <optimised out>
        sig = <optimised out>
        __FUNCTION__ = "ui_main"
#15 0x0000000000474c00 in client_main (argc=1, argv=0x7fffcdb83428)
    at client_main.c:599
        i = 1
        loglevel = LOG_NORMAL
        ui_options = <optimised out>
        ui_separator = <optimised out>
        option = <optimised out>
        user_tileset = <optimised out>
        fatal_assertions = -1
        aii = <optimised out>
        __FUNCTION__ = "client_main"
#16 0x00007fccd17e676d in __libc_start_main (main=0x44ab10 <main>, argc=1, 
    ubp_av=0x7fffcdb83428, init=<optimised out>, fini=<optimised out>, 
    rtld_fini=<optimised out>, stack_end=0x7fffcdb83418) at libc-start.c:226
        result = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -3594862820009933334, 
                4500248, 140736644789280, 0, 0, 3594963491505341930, 
                3568497642773972458}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x638ba0, 0x7fffcdb83428}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 6523808}}}
        not_first_call = <optimised out>
#17 0x000000000044ab41 in _start ()





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21318>

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


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

Reply via email to