Problem with stock buttons



Hi,

I don't know whether this is the right place for describing my problem,
because I wrote a gtk+ Application with the usage of stock buttons.
Damon Chaplin (GLADE) gave me the advice to contact the gnome mailing list.

What is my problem:

I wrote a small gtk+ application using gnome stock buttons. If I start the
app, it crashes with the error msg:

        IMLIB ERROR: Cannot allocate XImage buffer

        Gdk-CRITICAL **: file gdkwindow.c: line 1406 (gdk_window_get_visual): assertion `window != N
        ULL' failed.
        Memory fault(coredump)

Backtrace:

>  0 gnome_stock_paint(stock = 0x10062e68, pixmap = 0x10062ec8) ["/usr/sc/backes/Software/gnome-libs
-1.0.53/libgnomeui/gnome-stock.c":363, 0x5ff630c0]
   1 gnome_stock_state_changed(widget = 0x10062e68, prev_state = GTK_STATE_NORMAL=0) ["/usr/sc/backe
s/Software/gnome-libs-1.0.53/libgnomeui/gnome-stock.c":458, 0x5ff635dc]
   2 gnome_stock_set_icon(stock = 0x10062e68, icon = 0x100240c0 = "Button_Ok") ["/usr/sc/backes/Soft
ware/gnome-libs-1.0.53/libgnomeui/gnome-stock.c":601, 0x5ff63b2c]
   3 gnome_stock_new_with_icon(icon = 0x100240c0 = "Button_Ok") ["/usr/sc/backes/Software/gnome-libs
-1.0.53/libgnomeui/gnome-stock.c":619, 0x5ff63c08]
   4 gnome_stock_pixmap_widget(window = (nil), icon = 0x100240c0 = "Button_Ok") ["/usr/sc/backes/Sof
tware/gnome-libs-1.0.53/libgnomeui/gnome-stock.c":1274, 0x5ff650fc]
   5 stock_button_from_entry(type = 0x100240c0 = "Button_Ok", entry = (nil)) ["/usr/sc/backes/Softwa
re/gnome-libs-1.0.53/libgnomeui/gnome-stock.c":1430, 0x5ff658f8]
   6 gnome_stock_button(type = 0x100240c0 = "Button_Ok") ["/usr/sc/backes/Software/gnome-libs-1.0.53
/libgnomeui/gnome-stock.c":1451, 0x5ff659bc]
   7 create_about_win() ["/usr/sc/backes/xgsf/about_win_src.c":67, 0x100051d8]
   8 main(argc = 1, argv = 0x7ffb7eb4) ["/usr/sc/backes/xgsf/xgsf.main.c":82, 0x1000aa18]
   9 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x10004b88]

My OS: IRIX 6.5.5 / Origin 2000
My gnome Version: gnome-libs-1.0.53
                  imlib-1.9.7

Any help will be appreciated!

Regards

Joachim Backes

--

Joachim Backes <backes@rhrk.uni-kl.de>       | Univ. of Kaiserslautern
Computer Center, Supercomputing Division     | Phone: +49-631-205-2438 
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax:   +49-631-205-3056 
---------------------------------------------+------------------------
WWW: http://sgi400.rhrk.uni-kl.de/home/staff/backes.html  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]