Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-26-2009, 05:20 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 16

Rep: Reputation: 1
general protection ip (How to debug This type of error)

Hello all,

I had one application whose source code for some reason I cannot post...

After sometimes it is crashing and showing following message::::
Application.exe[1850] general protection ip:804d2d0 sp:bfd261c0 error:0 in Application.exe[8048000+9000]
Segmentation fault

Note:- extension .exe is given to executable file make understand non-linux/unix ppl that it is executable...

I would like to know How to debug this type of error.....
Analysis this error...
Is some techinque is there to find where the error is
Old 06-26-2009, 08:31 PM   #2
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 178Reputation: 178
You didn't say, but I'm assuming you're using C or C++ under Linux. In that case, you can use gdb. There's a good possibility that you won't find this debugging situation easy at first; in that case, google for this:
gdb tutorial
Hope this helps.


general, ip, protection

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
general protection fault: 5360 wazir1483 Linux - Server 1 04-07-2007 08:16 AM
Core crash: general protection fault: 0000 [1] SMP sonicbuddha Linux - General 0 03-20-2007 10:45 PM
Origional unreal and wine, general protection fault vdemuth Linux - Games 2 03-28-2004 03:10 AM

All times are GMT -5. The time now is 09:11 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