[Glade-users] Requesting help with libglade interface error

Pradeep Chimakurthy pchimakurthy at gmail.com
Wed Sep 19 23:12:23 EDT 2007


Hello,
        I have been debugging my cross compiled version of libglade
and noticed that while the order of the widgets was :

/********************************************
GtkDialog
GtkVbox
GtkHButtonBox
GtkButton
GtkHBox
GtkImage
GtkLabel
************************************************/

in my glade the output from my run was below:

/****************************************************
Entered xml_build_widget  Building for widget class GtkDialog

Entered xml_build_widget  Building for widget class GtkButton

Entered xml_build_widget  Building for widget class GtkHBox

Entered xml_build_widget  Building for widget class GtkImage

Entered xml_build_widget  Building for widget class GtkLabel
 *********************************************************/

some widgets are not present there and I was wondering if that could
have resulted in a segmentation fault and thus not creating my .
Please let me know of any suggestions as why this might happen.

Thank you
Pradeep

On 9/19/07, Pradeep Chimakurthy <pchimakurthy at gmail.com> wrote:
> Hello,
>           I have cross compiled libglade and was trying a simple
> example I found on the web. It works fine on the i386 machine. But
> when I try to run the same after cross compilation, I get a
> segmentation fault. It cannot create the interface.
>
>  main_window = glade_xml_new ("example-1.glade", NULL, NULL);
>
> Part of the strace output is below:
>
> gettimeofday({342, 152664}, NULL)       = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> gettid()                                = 765
> gettimeofday({344, 747565}, NULL)       = 0
> write(1, " GTK Init started Interface to b"..., 41 GTK Init started
> Interface to be created) = 41
> write(2, "(!) [  765:    0.000] --> Caught"..., 42(!) [  765:
> 0.000] --> Caught signal 11) = 42
> write(2, " (at 0x18bcf210, invalid address"..., 38 (at 0x18bcf210,
> invalid address) <--
> ) = 38
>
>
> Also ,the standalone machine does not have an internet connection so I
> changed the catalog file and put it in the /etc/xml directory.
>
> Could you please let me know why this might happen  or any ideas as to
> how to debug this issue?
>
> Thank you
> Pradeep
>


More information about the Glade-users mailing list