GTK Apps Crashing when compiled
I've been having this problem with GTK-based programs that I compile myself crashing under SuSE Linux. Depending on the program, sometimes the crash will be at random while running, or right when the program loads. RPM's of the same program run flawlessly. Whenever the program crashes, nothing is outputted to stderr or stdout - making it impossible to debug. I'm running the latest GTK and GTK-dev (both are identical versions), with the next-to-latest SuSE kernel. Anyone else have this problem or any suggestions on fixing it?
Eleventy
do you at least get a core dump?
=========================Buildium. Codium. Fragium.http://www.aklabs.net/=========================
(so why don't you justrun the RPMs?)
Is this a GTK1 app or a GTK2 app? Suse uses Xorg, doesn't it?
Is this a GTK1 app or a GTK2 app? Suse uses Xorg, doesn't it?
Hmm.. well, I finally managed to get Gaim wih SSL compiled (which is a GTK+2 app), and it works flawlessly. Come to think of it, this only happens with GTK1 apps. Would having both GTK1 and 2 dev's installed at the same time be the cause of this?
Eleventy
Quote:
Original post by C-Junkie
(so why don't you justrun the RPMs?)
I like being able to manipulate the programs that I install.. RPM's only include the binaries. Plus, I hate the way the SuSE package manager doesn't always find the libraries that I have installed.
Quote:
Suse uses Xorg, doesn't it?
I'm currently using X11.
Eleventy
Quote:
Original post by Eleventy
I like being able to manipulate the programs that I install.. RPM's only include the binaries. Plus, I hate the way the SuSE package manager doesn't always find the libraries that I have installed.
Sticking entirely to RPMs would solve that the problem it sounds like you're working around. Although I'm a Debian user, I make a package out of the programs I compile by hand (normally stuff I wrote or sometimes early development work I'm testing that's not always packaged). It's not really hard, but it does require you to learn a little.
Quote:
Original post by Eleventy
I'm currently using X11.
Xorg, XFree86, and numerous other projects/products are implementations of X11.
Quote:
Original post by Null and Void
Sticking entirely to RPMs would solve that the problem it sounds like you're working around. Although I'm a Debian user, I make a package out of the programs I compile by hand (normally stuff I wrote or sometimes early development work I'm testing that's not always packaged). It's not really hard, but it does require you to learn a little.
The problem in my case was that a Gaim RPM I got from Guru's RPM Site (along with opencdk, gnutls and some others) was complaining that it was not able to find a certain library .so file, even though I had just installed it. I was even using the library RPM he distributed with his package. Creating symbolic links to the original library .so didn't resolve the problem either. So I just gave up and decided to compile by hand. Luckily, Gaim is a GTK2 app, so it didn't crash when I ran it. However, all GTK1 apps that I compile end up crashing. (I have just recently discovered this - before I thought all GTK apps were crashing, but in fact I had only been compiling GTK1 apps) I have both GTK1 and GTK2 installed, so I don't know what the problem would be. What if this Gaim program was a GTK1 app? This is why I am concerned about why all GTK1 apps are crashing.
Another strange thing is that when I compile a GTK1 app, it's GUI looks like that of a GTK2 app.
Quote:
Xorg, XFree86, and numerous other projects/products are implementations of X11.
Ah.. yeh, it's XFree86. I just didn't remember the exact name - I did remember seeing X11 somewhere though.
Eleventy
Quote:
Original post by andrewk3652
do you at least get a core dump?
For some reason, I am not able to get core dumps working under SuSE. By default, the size limit for core dump files is 0. I'll have to look around for info on how to change it.
Eleventy
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement