TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > FreeBSD

Notices

GTK+ Programs are crashing while wmaker is running

FreeBSD


Reply
 
Thread Tools Display Modes
Old 01-12-2007, 06:37 PM   #61
Howard Goldstein
Guest
 
Posts: n/a
Re: GTK+ Programs are crashing while wmaker is running

On Fri, 30 Nov 2007 16:47:31 GMT, Howard Goldstein <> wrote:
: On Thu, 29 Nov 2007 22:32:49 -0500, TerryP <> wrote:
: : Howard Goldstein wrote:
: :
: : > Yeah I'm not sure what to suggest. The tree is supposed to still be
: : > frozen but in actuality it's only partially frozen. When I run into
: : > issues like you're seeing with gnome I preemptively surrender and and
: : > rebuild the dependies upwards but that might be taking out the
: : > mosquito with the shotgun if you know what I mean.
: :
: : I might be able to my desktop to generate some packages... But I still would
: : like to skip compiling GTK+ and friends again =/
: :
: : Sempron 3300+ CPU (2.0Ghz) and 512MB DDR != fun build machine.
: :
: : Ok, back to work I go... Need to look up corefiles.
: :
: : It's good that I don't use Firefox hahaha !
:
: There's your answer with your desktop. Firefox to a package in < 15
: minutes on the Ooomphy system to save hours and hours and hours on the
: wee small wimpy box....
:
:

Oh for the coredumps, just gdb pooo.core
A 'bt' will get you the backtrace and you'll see where it took a dump

Sometimes you can see what's up without having symbols but sometimes
you just gotta have built the offending apps with symbols for this to
do any good.
  Reply With Quote
Old 01-12-2007, 06:38 PM   #62
TerryP
Guest
 
Posts: n/a
Re: GTK+ Programs are crashing while wmaker is running

Howard Goldstein wrote:

> Oh for the coredumps, just gdb pooo.core
> A 'bt' will get you the backtrace and you'll see where it took a dump
>
> Sometimes you can see what's up without having symbols but sometimes
> you just gotta have built the offending apps with symbols for this to
> do any good.


Actually the problem is trying to get a core file to run GDB on ;-)

I haven't been able to find it online and recompiling the basic GTK program
with full debugging symbols (-ggdb3) doesn't get it to dump core. Just
running it in GDB does show a crash pretty darn fast though:

Terry@Dixie$ gdb helloworld
22:27
GNU gdb 6.1.1 [FreeBSD]
..... copyright stuff
(gdb) break 1
Breakpoint 1 at 0x8048994: file helloworld.c, line 1.
(gdb) run
Starting program: /usr/home/Terry/code/oldstuff/GTK/helloworld
warning: Unable to get location for thread creation breakpoint: generic
error
[New LWP 100113]
[New Thread 0x8053000 (LWP 100113)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8053000 (LWP 100078)]
0x288e4724 in setenv () from /lib/libc.so.6
(gdb) bt

# backtrace and source

(gdb) generate-core-file
Saved corefile core.95336

No clue if it's the proper way to get one but hey I guess it's a core file
^_^

--
Such evil deeds could religion prompt.
-- Titus Lucretius Carus
  Reply With Quote
Old 01-12-2007, 06:38 PM   #63
Patrick Lamaizière
Guest
 
Posts: n/a
Re: GTK+ Programs are crashing while wmaker is running

TerryP wrote:

> When I attempt to run any GTK+ program while Window Maker is
> running the GTK+ program bombs out like so,
>
> Terry@Dixie$ gvim
> 21:32
> Gtk-Qt theme engine warning:
> Could not open /proc/3769/cmdline
> This may cause problems for the GNOME window manager


The port gtk-qt-engine crashs if you don't run KDE.

  Reply With Quote
Old 01-12-2007, 06:38 PM   #64
Patrick Lamaizière
Guest
 
Posts: n/a
Re: GTK+ Programs are crashing while wmaker is running

Ashish Shukla wrote:

> It seems, your GTK+ apps are trying to access /proc filesystem, which
> is not mounted by default in FreeBSD. So looks like your GTK+ apps are
> assuming they're running on GNU/Linux. Have you installed these GTK+ apps
> - From FreeBSD ports, hmm... ?


This is only a warning from the gtk-qt-engine. I've sent a patch to the
author that use the libkvm instead of procfs.
I don't know why but gtk-qt-engine always crashs if you don't run KDE.
  Reply With Quote
Old 01-12-2007, 06:39 PM   #65
Howard Goldstein
Guest
 
Posts: n/a
Re: GTK+ Programs are crashing while wmaker is running

On Fri, 30 Nov 2007 17:43:05 -0500, TerryP <codemonkey@nowhere.org> wrote:
: No clue if it's the proper way to get one but hey I guess it's a core file
: ^_^

Oh I've never tried saveing core dumps in gdb - cool!

I fear we've reached the point where I don't remember how to talk gdb
into playing with threaded processes (I don't think it's diffcult).
I'm older than dirt, dude, those days when we walked uphill to school
both ways in the snow we were a lot more virile and wanted to fork()
everything in sight, or when I was buds with Methusulah we'd just run
a commutator. We didn't have any of this fancy dancy threading stuff.
In other words please share your progress


  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 01:28 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional