Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9697) Gdk-CRITICAL **: file gdkimage.c: line 385 (gdk_
Home

[Freeciv-Dev] (PR#9697) Gdk-CRITICAL **: file gdkimage.c: line 385 (gdk_

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9697) Gdk-CRITICAL **: file gdkimage.c: line 385 (gdk_image_get_pixel): assertion `image != NULL' failed.
From: "Brett Albertson" <brett.albertson@xxxxxxxxxxxx>
Date: Wed, 18 Aug 2004 04:46:08 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9697 >

> [jdorje - Wed Aug 18 04:55:55 2004]:
> 
> > [bretta - Fri Aug 13 18:36:24 2004]:
> > 
> > Recently, whenever I go into the Reports->Players menu, I get many (tens
> > or hundreds) of these messages:
> > 
> > Gdk-CRITICAL **: file gdkimage.c: line 385 (gdk_image_get_pixel):
> > assertion `image != NULL' failed.
> > 
> > I'm using the current CVS compiled GTK client and server on Solaris.
> 
> I recently saw some valgrind warnings (I think it was unexplained memory
> leaks) in this exact same place.  Odd...
> 
> 
> Can you try running as:
> 
>   civclient -- --g-fatal-warnings --g-fatal-errors
> 
> (I think I have those parameters right.  Hopefully Vasco can help here.)

ok, here's what I get:

dev-null:{bretta}$  civclient -- --g-fatal-warnings --g-fatal-errors
2: No real audio plugin present, proceeding with sound support disabled
2: For sound support, install either esound or SDL_mixer
2: Esound: http://www.tux.org/~ricdude/EsounD.html
2: SDL_mixer: http://www.libsdl.org/projects/SDL_mixer/index.html

Gdk-CRITICAL **: file gdkimage.c: line 343 (gdk_image_get): assertion
`window != NULL' failed.
aborting...
Abort (core dumped)
dev-null:{bretta}$ 

dev-null:{bretta}$ gdb /usr/local/bin/civclient core
GNU gdb 6.1.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.9"...(no debugging
symbols found)...
Core was generated by `civclient -- --g-fatal-warnings --g-fatal-errors'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libgdk_imlib.so.1...done.
Loaded symbols for /usr/local/lib/libgdk_imlib.so.1
Reading symbols from /usr/local/lib/libgtk-1.2.so.0...done.
Loaded symbols for /usr/local/lib/libgtk-1.2.so.0
Reading symbols from /usr/local/lib/libgdk-1.2.so.0...done.
Loaded symbols for /usr/local/lib/libgdk-1.2.so.0
Reading symbols from /usr/local/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /usr/local/lib/libgmodule-1.2.so.0
Reading symbols from /usr/local/lib/libglib-1.2.so.0...done.
Loaded symbols for /usr/local/lib/libglib-1.2.so.0
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libXext.so.0...done.
Loaded symbols for /usr/lib/libXext.so.0
Reading symbols from /usr/lib/libX11.so.4...done.
Loaded symbols for /usr/lib/libX11.so.4
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libnls.so.1...done.
Loaded symbols for /usr/lib/libnls.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Reading symbols from /usr/local/lib/libimlib-png.so...done.
Loaded symbols for /usr/local/lib/libimlib-png.so
Reading symbols from /usr/local/lib/libpng12.so.0...done.
Loaded symbols for /usr/local/lib/libpng12.so.0
#0  0xfee20130 in _libc_kill () from /usr/lib/libc.so.1
(gdb) bt
#0  0xfee20130 in _libc_kill () from /usr/lib/libc.so.1
#1  0xfedb6ce0 in abort () from /usr/lib/libc.so.1
#2  0xff108fa8 in g_logv (log_domain=0xff160c98 "Gdk", 
    log_level=G_LOG_LEVEL_CRITICAL, format=0xa <Address 0xa out of bounds>, 
    args1=0x0) at gmessages.c:391
#3  0xff108fd8 in g_log (log_domain=0xff160c98 "Gdk", 
    log_level=G_LOG_LEVEL_CRITICAL, format=0xa <Address 0xa out of bounds>)
    at gmessages.c:408
#4  0xff150c5c in gdk_image_get (window=0x0, x=-15332008, y=-15332144, 
    width=15, height=15) at gdkimage.c:374
#5  0x0006f9dc in sprite_draw_black_border ()
#6  0x0007e47c in update_players_dialog ()
#7  0x0007ef38 in popup_players_dialog ()
#8  0xff2290fc in gtk_item_factory_callback_marshal (widget=0x25f294, 
    func_data=0x250850) at gtkitemfactory.c:257
#9  0xff23f014 in gtk_marshal_NONE__NONE (object=0x25f294, 
    func=0xff2290bc <gtk_item_factory_callback_marshal>,
func_data=0x250850, 
    args=0xffbfe438) at gtkmarshal.c:312
#10 0xff280f78 in gtk_handlers_run (handlers=0x25b208, signal=0xffbfe398, 
    object=0x25f294, params=0xffbfe438, after=0) at gtksignal.c:1912
#11 0xff27fe70 in gtk_signal_real_emit (object=0x25f294, signal_id=69, 
    params=0xffbfe438) at gtksignal.c:1477
#12 0xff27cfe4 in gtk_signal_emit (object=0x25f294, signal_id=69)
---Type <return> to continue, or q <return> to quit---
    at gtksignal.c:552
#13 0xff2c6aa8 in gtk_widget_activate (widget=0x25f294) at gtkwidget.c:2890
#14 0xff24aa28 in gtk_menu_shell_activate_item (menu_shell=0x25f5f8, 
    menu_item=0x25f294, force_deactivate=0) at gtkmenushell.c:859
#15 0xff249638 in gtk_menu_shell_button_release (widget=0x25f5f8, 
    event=0x2977f8) at gtkmenushell.c:486
#16 0xff23ed70 in gtk_marshal_BOOL__POINTER (object=0x25f5f8, 
    func=0xff249394 <gtk_menu_shell_button_release>, func_data=0x0, 
    args=0xffbfea30) at gtkmarshal.c:28
#17 0xff27fd6c in gtk_signal_real_emit (object=0x25f5f8, signal_id=21, 
    params=0xffbfea30) at gtksignal.c:1492
#18 0xff27cfe4 in gtk_signal_emit (object=0x25f5f8, signal_id=21)
    at gtksignal.c:552
#19 0xff2c66a0 in gtk_widget_event (widget=0x25f5f8, event=0x2977f8)
    at gtkwidget.c:2864
#20 0xff23eb6c in gtk_propagate_event (widget=0x25f5f8, event=0x2977f8)
    at gtkmain.c:1385
#21 0xff23d8ec in gtk_main_do_event (event=0x2977f8) at gtkmain.c:818
#22 0xff14a55c in gdk_event_dispatch (source_data=0x2977f8, 
    current_time=0xffbff030, user_data=0x0) at gdkevents.c:2139
#23 0xff105934 in g_main_dispatch (dispatch_time=0xffbff030) at gmain.c:656
#24 0xff106044 in g_main_iterate (block=-15550080, dispatch=1) at
gmain.c:877
#25 0xff106348 in g_main_run (loop=0x28ff50) at gmain.c:935
---Type <return> to continue, or q <return> to quit---
#26 0xff23d1bc in gtk_main () at gtkmain.c:524
#27 0x00073670 in ui_main ()
#28 0x0002f11c in main ()

-- 
Brett Albertson
brett.albertson@xxxxxxxxxxxx


[Prev in Thread] Current Thread [Next in Thread]