LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-14-2011, 12:26 PM   #1
hotspur919
LQ Newbie
 
Registered: Jan 2011
Location: Glasgow, UK
Distribution: RHEL, mint
Posts: 25

Rep: Reputation: 0
Question Process crashing with no core file


Hi all,

A process from some software I am running keeps crashing with seemingly no real pattern. I ahve tried using ddd/gdb to run the process in question but everytime it crashes no useful information is returned. I also tried getting a core file with the same result. It seems as though according to linux the program has exited normally.

This obviously points towards the process itself having a bug but there are other instances of the same program running on other machines in the network with no problems at all.

I have made comaprisons of hardware/drivers (lspci etc) installed on various machines and all are exactly the same as the machine in question so my question is (at long last): What else should I be looking for?

The program using a GUI if that helps.
 
Old 05-15-2011, 02:40 AM   #2
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Try issuing the command: `ulimit -c`. Does it report 0? That means processes won't dump cores. Try issuing `ulimit -c unlimited`.

But actually what you should do, to make the sure the process is using the new ulimit value:
Edit your $HOME/.bash_profile (or the equivalent shell script that runs on login), and put in the `ulimit -c unlimited`. Then log out and log back in and then start the process. I believe then by default you should see a file called 'core' in the directory of the binary if the process happens to core dump.

--Shaun
 
1 members found this post helpful.
Old 05-17-2011, 10:43 AM   #3
hotspur919
LQ Newbie
 
Registered: Jan 2011
Location: Glasgow, UK
Distribution: RHEL, mint
Posts: 25

Original Poster
Rep: Reputation: 0
Hi Shaun,

Thanks for your response. Unfortunately I am not in a position to test out your suggestion at the moment but I do have another question on the subject in the meantime.

When I was trying to get a core dump I ran another instance of the problem process from the command line (rather than the GUI), but before I did this I ran:
'limit coredumpsize unlimited' and then ran the program in the same terminal. My question is: What is the difference between limit and ulimit? I take it that by adding ulimit -c unlimited to the .bash_profile this will apply to all processes run? would this not put a strain on my memory?

I have tried to find out myself but cant really find any decent answers.

Regards

Jim

Last edited by hotspur919; 05-17-2011 at 10:51 AM.
 
Old 06-06-2011, 03:09 PM   #4
hotspur919
LQ Newbie
 
Registered: Jan 2011
Location: Glasgow, UK
Distribution: RHEL, mint
Posts: 25

Original Poster
Rep: Reputation: 0
Problem solved.

As my problem program was graphical I had to make some changes to my xorg.conf file. modules section which was empty. This is what I added.

Section "module"

Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"

Endsection

cheers
 
  


Reply



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
Prevent process crashing on thread crash lek.sys Programming 3 03-24-2011 11:32 AM
Get process running CPU core and the utilisation on that core... chamila1986 Programming 5 04-28-2010 05:00 PM
Kdat crashing in fedora core 3 binu_edl Linux - Hardware 0 10-18-2005 01:23 AM
Multithreaded process pausing but not deadlocking or crashing writejus1 Programming 3 09-16-2005 04:57 AM
Kpilot keeps crashing in Fedora Core 4 kkempter Linux - Software 0 07-26-2005 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration