LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-12-2003, 09:45 AM   #1
pbhj
Member
 
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.

pbhj
 
Old 06-12-2003, 10:10 AM   #2
jpbarto
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.
 
  


Reply


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 12:02 PM
Application crash Getafix Linux - Newbie 6 10-08-2004 03:03 PM
howto debug X crash from kdm shutdown? johnpipe Linux - General 0 06-11-2004 12:27 AM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM
Redhat startup application crash mgr Linux - Newbie 3 04-15-2004 03:53 AM


All times are GMT -5. The time now is 02:16 AM.

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