Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-12-2003, 10:45 AM   #1
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
How to debug an X application crash

I'm trying to get gltron to work ... I know it's not anything great but I thought it would be a good opportunity to test general debugging methods: so what are they!?

The app was working fine. I'm a newbie (of a few months - so I can recompile my kernel and install apps now ... and get it to work ... I've even got sound working, 'net is not working yet though!) so change quite alot of stuff - pinning down a conflict might be tricky.

The app (which loads in an x-window) starts fine, but when the game is started it crashes at the first turn, the window closes. No relics remain for me to examine and because I'm in X I don't see any command line errors.

How then can I go about finding the source of this error. I'm sure the thing will work if I just re-install. That's not the issue. I can re-install til the cows come home (and beyond as cows often come home suprisingly early in the evening!) - I do use M$ after all.

Any generic suggestions.

Old 06-12-2003, 11:10 AM   #2
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I have gltron installed and running however I didn't run into any problems so I didn't investigate too much. However is there a debug option you can pass to 'configure' upon building gltron from source? Perhaps this would then produce some helpful statements out to stderr when you run it from CLI and it crashes.

just my $0.02.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to debug multi threaded application sibtay Programming 3 10-15-2004 01:02 PM
Application crash Getafix Linux - Newbie 6 10-08-2004 04:03 PM
howto debug X crash from kdm shutdown? johnpipe Linux - General 0 06-11-2004 01:27 AM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 03:13 AM
Redhat startup application crash mgr Linux - Newbie 3 04-15-2004 04:53 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration