Re: Wrapping gtkimageview



Am Mon, 3 Mar 2008 19:43:49 +0100 schrieb Andreas Volz:

> ...

and I've also another problem while using the new gtkimageviewmm. I
build a simple Makefile project that uses the pkg-config script. It
compiles well and runs without problems.

But if I link gtkimageviewmm into my main application I get a strange
segfault and Gtk warnings at runtime. And I don't yet include or use
the new stuff.

Here is the output:


(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of 'GtkHBox'

(lt-pogo:20959): gtkmm-CRITICAL **:
void<unnamed>::container_foreach_callback(GtkWidget*, void*): assertion
`widget != 0' failed sidebar constructor

(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of 'GtkEntry'

(lt-pogo:20959): libglademm-CRITICAL **: widget `browserEntry' not
found in glade file `pogo.glade'

** (lt-pogo:20959): CRITICAL **: Gnome::Glade::Xml::get_widget():
dynamic_cast<> failed.

(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of
'GtkToolButton'

(lt-pogo:20959): libglademm-CRITICAL **: widget `browserGoButton' not
found in glade file `pogo.glade'

** (lt-pogo:20959): CRITICAL **: Gnome::Glade::Xml::get_widget():
dynamic_cast<> failed.

(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of
'GtkComboBoxEntry'

(lt-pogo:20959): libglademm-CRITICAL **: widget `browserComboBoxEntry'
not found in glade file `pogo.glade'

** (lt-pogo:20959): CRITICAL **: Gnome::Glade::Xml::get_widget():
dynamic_cast<> failed.

(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of
'GtkToolButton'

(lt-pogo:20959): libglademm-CRITICAL **: widget `toolNewTabButton' not
found in glade file `pogo.glade'

** (lt-pogo:20959): CRITICAL **: Gnome::Glade::Xml::get_widget():
dynamic_cast<> failed.

(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of
'GtkMenuToolButton'

(lt-pogo:20959): libglademm-CRITICAL **: widget `toolHistoryBackButton'
not found in glade file `pogo.glade'

** (lt-pogo:20959): CRITICAL **: Gnome::Glade::Xml::get_widget():
dynamic_cast<> failed.

(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of
'GtkMenuToolButton'

(lt-pogo:20959): libglademm-CRITICAL **: widget
`toolHistoryForwardButton' not found in glade file `pogo.glade'

** (lt-pogo:20959): CRITICAL **: Gnome::Glade::Xml::get_widget():
dynamic_cast<> failed.

(lt-pogo:20959): glibmm-WARNING **: failed to wrap type of
'GtkToolButton'

(lt-pogo:20959): libglademm-CRITICAL **: widget `toolReloadButton' not
found in glade file `pogo.glade'

** (lt-pogo:20959): CRITICAL **: Gnome::Glade::Xml::get_widget():
dynamic_cast<> failed. Segmentation fault (core dumped)

then in gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1243936560 (LWP 20895)]
0xb7cdcad7 in Gtk::Entry::signal_activate ()
from /usr/lib/libgtkmm-2.4.so.1 (gdb) bt
#0  0xb7cdcad7 in Gtk::Entry::signal_activate ()
from /usr/lib/libgtkmm-2.4.so.1 #1  0x0805cc1c in
AppToolBox::connectSignalHandlers (this=0x8273390) at AppToolBox.cpp:44
#2  0x0805d390 in AppToolBox (this=0x8273390, cobject=0x80901f0,
refGlade= 0xbf98e428) at AppToolBox.cpp:20 #3  0x08054e91 in
Application::getGladeWidgets (this=0x8247220)
at /usr/include/libglademm-2.4/libglademm/xml.h:307 #4  0x08055099 in
Application (this=0x8247220, cobject=0x80ae0d0, refGlade= 0xbf98e4a4)
at Application.cpp:25 #5  0x08053ce0 in create_gtk_window (argc=1,
argv=0xbf98e594) at /usr/include/libglademm-2.4/libglademm/xml.h:307
#6  0x08053f9a in main (argc=1, argv=0xbf98e594) at main.cpp:33


Any ideas?

regards
Andreas


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