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

                 Summary: S2_3 crashes opening city dialog...
                 Project: Freeciv
            Submitted by: jorneg
            Submitted on: Sat Feb 25 00:01:52 2012
                Category: client-gtk-2.0
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:


jordi@ubuntu10-4:~/freeciv/S2_3/freeciv-2.3$ gdb -args client/freeciv-gtk2 -a
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Para las instrucciones de informe de errores, vea:
<http://www.gnu.org/software/gdb/bugs/>...
Leyendo símbolos desde
/home/jordi/freeciv/S2_3/freeciv-2.3/client/freeciv-gtk2...hecho.
(gdb) run
Starting program: /home/jordi/freeciv/S2_3/freeciv-2.3/client/freeciv-gtk2 -a
[Depuración de hilo usando libthread_db enabled]
Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8

Program received signal SIGSEGV, Segmentation fault.
0x009b450b in vfprintf () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0x009b450b in vfprintf () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0x00a54bf4 in __vsnprintf_chk () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x081e8580 in vsnprintf (str=0x83c2e00 " (rtisanos", n=65536, 
    format=0x8210109 " (%s)", ap=0xbfffec08 "\004")
    at /usr/include/bits/stdio2.h:78
No locales.
#3  fc_vsnprintf (str=0x83c2e00 " (rtisanos", n=65536, 
    format=0x8210109 " (%s)", ap=0xbfffec08 "\004") at support.c:691
        r = <value optimized out>
        __FUNCTION__ = "fc_vsnprintf"
#4  0x081edcfb in astr_vadd (astr=0x824af74, at=4, 
    format=0xffffffff <Address 0xffffffff out of bounds>, ap=0xbfffec08
"\004")
    at astring.c:132
        buf = " (rtisanos\000\061\067\070\000ción/Monedas: 0/0/0\000co en
cada turno: 0%\000: 0%\000ormation about submitting bug reports see the file
BUGS \\\nin the Freeciv distribution.  For more information in general,
\\\nvisit the Freeci"...
        __FUNCTION__ = "astr_vadd"
#5  0x081ede51 in astr_add (astr=0x824af74, format=0x8210109 " (%s)")
    at astring.c:164
No locales.
#6  0x080ba8a6 in unit_description (punit=0xf97bf58) at text.c:528
        pcity_near_dist = <value optimized out>
        pcity = 0xf1e8d90
        pcity_near = 0xf1e8d90
        ptype = <value optimized out>
        str = {_private_str_ = 0x121d3800 "Partisanos", _private_n_ = 11, 
          _private_n_alloc_ = 120}
        pplayer = 0xf091a60
#7  0x0810916d in city_dialog_update_supported_units (
    pdialog=<value optimized out>) at citydlg.c:1877
        cmd = 0x121d3078
        pix = 0x121ca968
        pnode = <value optimized out>
        happy_cost = <value optimized out>
        punit_iter = 0xf7a85a0
        units = 0xf1e94f0
        nodes = <value optimized out>
        n = <value optimized out>
        m = <value optimized out>
        i = <value optimized out>
        buf = "0/ 30   1 turno\000\000\000J,\242\031
\232\034\022\000\000\000"
        free_unhappy = 0
        __FUNCTION__ = "city_dialog_update_supported_units"
---Type <return> to continue, or q <return> to quit---
#8  0x081099d7 in real_city_dialog_refresh (pcity=0xf1e8d90) at citydlg.c:452
        pdialog = 0x1219c218
        __FUNCTION__ = "real_city_dialog_refresh"
#9  0x0810b3b1 in create_city_dialog (pcity=<value optimized out>)
    at citydlg.c:1412
        pdialog = 0x1219c218
        close_command = 0x121b05f8
        vbox = 0x121a1410
        hbox = 0xb9705e0
        cbox = 0x8501588
        ebox = <value optimized out>
#10 0x0810b4d7 in real_city_dialog_popup (pcity=0xf1e8d90) at citydlg.c:503
        pdialog = 0x0
#11 0x080ce7fb in cities_update_callback (data=0x0) at update_queue.c:559
        need_update = CU_NO_UPDATE
        pcity_iter = 0xf1ddec0
        pcity = 0xf1e8d90
        pcity_player = 0x0
        _pslot = 0xb9ab3e8
        __FUNCTION__ = "cities_update_callback"
#12 0x080cee91 in update_unqueue (data=0x0) at update_queue.c:311
        MY_it_MY_iter = 0xbfffeea0
#13 0x080564d2 in idle_callback_wrapper (data=0x12063f78) at gui_main.c:2008
No locales.
#14 0x008ca661 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#15 0x008cc5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0x008d02d8 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#17 0x008d0817 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x0028b3d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0x0805a930 in ui_main (argc=1, argv=0xbffff494) at gui_main.c:1669
        home = <value optimized out>
        sig = <value optimized out>
        __FUNCTION__ = "ui_main"
#20 0x08082104 in client_main (argc=2, argv=0xbffff494) at client_main.c:516
        i = 2
        loglevel = LOG_NORMAL
        ui_options = <value optimized out>
        ui_separator = false
        option = <value optimized out>
        user_tileset = false
        fatal_assertions = -1
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "client_main"
#21 0x08059bab in main (argc=2, argv=0xbffff494) at gui_main.c:1506
No locales.
(gdb) 





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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