Re: gtk install problems

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

 



Paul,
All the installs were the defaults for the installs.  I didn't do
anything strange.

I do not know what ABI stands for but I would like to know.
Application... bridging interface?  That seems redundant.

As I said, I do think I have conflicting versions of libraries
somewhere although I have tried to go through and ensure only one of
each.

But I think the real hint here is that its only certain applications
that fail and generally with the same issues.  For instance, right now
I'm running firefox as it was installed from a package in the
enlightenment window manager as I compiled and installed after these
issues occurred.

In addition, I have a very small piece of gtk code that brings up the
possibly only two issues.  I can also narrow down the problem by
looking at which pieces of software work and which don't and what they
call and what they don't.

My goal right now, is to get that piece of gtk code, tests/simple.c
running.  The title != NULL assertion which occurs if g_type_init is
called before g_set_application_name is called; I tried to walk
through with gdb and I'm not sure where "g_prgname" is kept.
Essentially, its allocated and then appears as NULL when its checked
later.  This seems to me a VERY specific problem.

I'm thinking that gtk has a structure where it stores application
related variables and it has a particular block allocated for
g_prgname, or something else.  And then perhaps glib has a different
size block that  it allocates in some g_object_new call whose
reference it hands to gtk which then overwrites part of that.

So what I'm wondering is how can I narrow this down further, has
anyone seen similar issues.  Shouldn't these different types of data
be either properly encapsulated within their respective libraries or
those libraries checked for version information when loaded?  How does
one go about debugging issues like this, given that I do have a piece
of code illustrating them?

I'm not sure what "HTH" means either.  Thanks for the reply at any
rate.  By the way, I think my father went to the University of Iowa.
He always spoke highly of it.

        - Peter

On 5/10/07, Paul Davis <pjdavis@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Peter,
>
> Judging from your email, you've recompiled your entire windowing
> system. Doing this on your own without the help of a build solution
> could lead to errors. There are quite a few things that could be
> wrong. The most likely is that you have two versions of some libraries
> installed on your computer and your programs are picking the wrong
> version at runtime. Or you could have broken ABI compatibility in your
> upgrade for pretty much all the GUI software on your computer.
>
> Deciding which it is would depend on the version you upgraded from,
> the version you upgraded to (thats of *all* libraries), as well as
> where you decided to install those libraries.
>
> Fixing these problems would really depend on what you've done.
>
> HTH,
> Paul Davis
>
> On 5/10/07, Peter <peterbohning@xxxxxxxxx> wrote:
> > Thank you for the suggestion but honestly I just want to get my system
> > fixed the way it is right now.  In addition, there may be some kind of
> > bug in gtk/glib and at the very least there is some poor error
> > reporting.
> >
> > On 5/10/07, Sergei Steshenko <sergstesh@xxxxxxxxx> wrote:
> > >
> > > --- Peter <peterbohning@xxxxxxxxx> wrote:
> > >
> > > > I accidentally hit tab and return I think, sorry...
> > > >
> > > > On 5/10/07, Peter <peterbohning@xxxxxxxxx> wrote:
> > > > > I recently compiled and installed the latest version of gtk because
> > > > > another program needed it and I ended up recompiling and reinstalling
> > > > > all of X, glib, atk, pango, etc.  Most of the applications on my
> > > > > machine aren't working.  I've been experimenting trying to figure out
> > > > > the problem.
> > > > >
> > > > > The program in the source of gtk at tests/simple.c has been my guinea pig.
> > > > >
> > > > > First, I get "Gdk-CRITICAL **: gdk_window_set_title: assertion `title
> > > > > != NULL' failed" with a segmentation fault.  If I add
> > > > > g_set_application_name("simple"); before gtk_init(). then that error
> > > > > goes away.
> > > > >
> > > > > Second, if the line
> > > > > "button=g_object_connect(gtk_widget_new(gtk_button_get_type(),
> > > > > "GtkButton::label", "hello world", "GtkWidget::parent", window,
> > > > > "GtkWidget::visible", TRUE, NULL), "signal::clicked", hello, NULL,
> > > > > NULL);
> > > > >  is commented out, then simple runs fine.  But if its not, then I get:
> > > > >
> > > > > GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion
> > > > > failed, use IA__g_type_init() prior to this function
> > > > >
> > > > > twice and then
> > > > >
> > > > > GLib-GObject-CRITICAL **: g_type_register_static: assertion
> > > > >
> > > > `parent_type > 0' failed
> > > > GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT
> > > > (object_type)' failed
> > > >
> > > > and then a segmentation fault.
> > > >
> > > > There's also an initial pango warning that it can't find pangorc in my
> > > > home directory.  I went to the trouble of adding a pangorc file to
> > > > /usr/local/etc/pango I think with the location of that pango.modules
> > > > file since one was not installed.
> > > >
> > > > I'm not sure if this is some version mismatch or a localization thing
> > > > or what but its driving me nuts.  The error messages aren't helpful,
> > > > none of the configure scripts complained about anything missing, and
> > > > I'm at wits end trying to solve this.
> > > >
> > > > In addition, these types of errors seem like they're all over the web
> > > > but there's no solution to any of them.  They usually seem to occur
> > > > when people mix and match the wrong packages.
> > > >
> > > > At any rate, I'm totally lost.
> > > > _______________________________________________
> > > > gtk-list mailing list
> > > > gtk-list@xxxxxxxxx
> > > > http://mail.gnome.org/mailman/listinfo/gtk-list
> > > >
> > >
> > > In order to avoid problems like the ones you've described I've developed my
> > > AppsFromScratch - I can send you the latest version if you are interested.
> > >
> > > The tool builds and installs everything locally, not using root permissions,
> > > so integrity of your system is preserved.
> > >
> > > For example, gtk+ plus (as any other target supported by my tool) is built
> > > using one, maybe two commands - all dependencies are build first automatically.
> > >
> > > Regards,
> > >   Sergei.
> > >
> > > P.S. This is the list of targets my tool currently builds:
> > >
> > > aspell-0.60.4
> > > atk-1.12.1
> > > at-spi-1.6.6
> > > audiofile-0.2.6
> > > autoconf-2.61
> > > autogen-5.8.7
> > > bash-3.0
> > > bash-3.2
> > > bc-1.06
> > > bison-2.3
> > > bzip2-1.0.4
> > > cabextract-1.2
> > > Cairo-1.022
> > > Cairo-1.040
> > > cairo-1.2.6
> > > claws-mail-2.8.1
> > > cups-1.2.10-source
> > > curl-7.15.5
> > > dejagnu-1.4.4
> > > diacanvas2-0.14.4
> > > ecasound-2.4.5
> > > esound-0.2.36
> > > expat-2.0.0
> > > expect-5.44.1
> > > ExtUtils-Depends-0.205
> > > ExtUtils-PkgConfig-1.07
> > > fftw-3.1.2
> > > flac-1.1.2
> > > flex-2.5.33
> > > fontconfig-2.4.1
> > > fontforge-20070312
> > > freetype-2.3.4
> > > gail-1.8.11
> > > gaim-2.0.0beta6
> > > gcc-3.4.6
> > > gcc-4.1.2
> > > GConf-2.14.0
> > > gettext-0.16.1
> > > glade-2.12.1
> > > Glib-1.144
> > > glib-1.2.10
> > > glib-2.12.11
> > > glib-2.12.12
> > > gmp-4.2.1
> > > Gnome2-1.040
> > > Gnome2-Canvas-1.002
> > > Gnome2-Dia-0.04
> > > Gnome2-GConf-1.043
> > > Gnome2-Print-1.000
> > > Gnome2-VFS-1.061
> > > Gnome2-Vte-0.08
> > > Gnome2-Wnck-0.13
> > > gnome-keyring-0.4.9
> > > gnome-vfs-2.14.2
> > > gnupg-2.0.3
> > > gnutls-1.4.5
> > > gperf-3.0.2
> > > gst-plugins-base-0.10.7
> > > GStreamer-0.09
> > > gstreamer-0.10.8
> > > gtk+-1.2.10
> > > gtk+-2.10.11
> > > gtk+-2.10.12
> > > Gtk2-1.144
> > > Gtk2-GladeXML-1.006
> > > Gtk2-Html2-0.04
> > > Gtk2-TrayIcon-0.04
> > > gtk-engines-2.8.0
> > > gtkspell-2.0.11
> > > guile-1.8.1
> > > icu4c-3_6-src
> > > jack-audio-connection-kit-0.102.20
> > > jpegsrc.v6b
> > > kqemu-1.3.0pre11
> > > ladspa_sdk
> > > lame-3.97
> > > lesstif-0.95.0
> > > libao-0.8.6
> > > libart_lgpl-2.3.17
> > > libassuan-1.0.1
> > > libavc1394-0.5.3
> > > libbonobo-2.14.0
> > > libbonoboui-2.14.0
> > > libetpan-0.49
> > > libfreebob-1.0.0
> > > libgcrypt-1.2.3
> > > libglade-2.6.0
> > > libgnome-2.14.1
> > > libgnomecanvas-2.14.0
> > > libgnomecups-0.2.1
> > > libgnomeprint-2.12.1
> > > libgnomeprintui-2.12.1
> > > libgnomeui-2.16.1
> > > libgpg-error-1.4
> > > libgtkhtml-2.6.3
> > > libiconv-1.11
> > > libiconv_pre-1.11
> > > libid3tag-0.15.1b
> > > libIDL-0.8.7
> > > libiec61883-1.1.0
> > > libksba-1.0.1
> > > libmad-0.15.1b
> > > libogg-1.1.3
> > > liboil-0.3.9
> > > libpng-1.2.12
> > > libraw1394-1.2.1
> > > libsamplerate-0.1.2
> > > libsndfile-1.0.17
> > > libtasn1-0.3.6
> > > libtool-1.5.22
> > > libungif4_4.1.4.orig
> > > libvorbis-1.1.2
> > > libwnck-2.14.2
> > > libxml2-2.6.26
> > > libxslt-1.1.17
> > > lzo-2.02
> > > m4-1.4.9
> > > madplay-0.15.2b
> > > make-3.80
> > > MesaLib-6.5.3
> > > Module-Build-0.2805
> > > Module-Pluggable-3.1
> > > mpfr-2.2.1
> > > mpg123-0.61
> > > ncurses-5.6
> > > nedit-5.5-src
> > > opencdk-0.5.9
> > > openssl-0.9.8e
> > > ORBit2-2.14.2
> > > pango-1.16.2
> > > pango-1.16.4
> > > pa_snapshot_v18
> > > pidgin-2.0.0
> > > pkg-config-0.21
> > > popt-1.6.4
> > > potrace-1.7
> > > pth-2.0.7
> > > qemu-0.9.0
> > > readline-5.1
> > > scrollkeeper-0.3.14
> > > SDL-1.2.11
> > > sox-12.18.2
> > > speex-1.1.12
> > > tcl8.4.14-src
> > > texinfo-4.8a
> > > tiff-3.8.2
> > > tk8.4.14-src
> > > vorbis-tools-1.1.1
> > > vte-0.14.1
> > > wine-0.9.35
> > > wine-0.9.36
> > > wxGTK-2.8.2
> > > wxX11-2.8.2
> > > zlib-1.2.3
> > >
> > >
> > > Applications From Scratch: http://appsfromscratch.berlios.de/
> > >
> > >
> > >
> > > ____________________________________________________________________________________
> > > The fish are biting.
> > > Get more visitors on your site using Yahoo! Search Marketing.
> > > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> > >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list@xxxxxxxxx
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux