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

                 Summary: SDL-client segfaults immediately when launched on
color_free()
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Tue 25 Jan 2011 02:24:18 AM EET
                Category: client-sdl
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.4.0

    _______________________________________________________

Details:

This might have something to do with tileset saved to preferences not being
available or tileset not being compatible when going through available ones.

Program received signal SIGSEGV, Segmentation fault.
color_free (pcolor=0x0) at
../../../../src.patched/client/gui-sdl/colors.c:82
82        free(pcolor->color);
(gdb) bt full
#0  color_free (pcolor=0x0) at
../../../../src.patched/client/gui-sdl/colors.c:82
No locals.
#1  0x0000000000553fc7 in rgbcolor_destroy (prgbcolor=0xa3d4a0)
    at ../../../src.patched/common/rgbcolor.c:64
No locals.
#2  0x000000000041185a in color_system_free (colors=0xaa1080)
    at ../../../src.patched/client/colors_common.c:174
        i = <value optimized out>
        stdcolor = COLOR_MAPVIEW_CITYTEXT
#3  0x00000000004486e5 in tileset_free_toplevel (t=0xa2d9d0)
    at ../../../src.patched/client/tilespec.c:902
        i = 2
        j = 2
#4  0x0000000000448c21 in tileset_free (t=0xa2d9d0) at
../../../src.patched/client/tilespec.c:913
No locals.
#5  0x000000000044b1af in get_tileset_list () at
../../../src.patched/client/tilespec.c:784
        t = 0xa2d9d0
        _id = 0
        file = 0x9db6f0 "amplio"
        list = 0x9db5f0
        tilesets = 0x9ebc40
#6  0x0000000000439e6d in options_init () at
../../../src.patched/client/options.c:4879
        values = 0x9db570
        client_poption = 0x7f96b8
        __FUNCTION__ = "options_init"
#7  0x000000000040c415 in client_main (argc=<value optimized out>,
argv=0x7fffffffe2b8)
    at ../../../src.patched/client/client_main.c:467
        i = 1
        loglevel = LOG_NORMAL
        ui_options = <value optimized out>
        ui_separator = 176
        option = <value optimized out>
        user_tileset = false
        fatal_assertions = -1
        __FUNCTION__ = "client_main"
#8  0x00007ffff544bc4d in __libc_start_main (main=<value optimized out>,
argc=<value optimized out>, 
    ubp_av=<value optimized out>, init=<value optimized out>, fini=<value
optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffffffe2a8) at
libc-start.c:228
        result = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 1063416374378564995,
4212800, 140737488347824, 0, 
                0, -1063416374041571965, -1063437718245405309},
mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x5815b0, 0x7fffffffe2b8}, data = {prev = 0x0,
cleanup = 0x0, 
              canceltype = 5772720}}}
        not_first_call = <value optimized out>
#9  0x0000000000404869 in _start ()





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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