LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-29-2004, 06:11 PM   #1
dlocke
LQ Newbie
 
Registered: Dec 2001
Posts: 1

Rep: Reputation: 0
Signal handling in threads in 2.6 vs. 2.4 kernel


I am debugging multithreaded software on both a 2.4 and 2.6 kernel. Both kernels use LinuxThreads version 0.10. The behavior of the threads/signal handling on the 2.4 kernel is what I would expect...when a thread causes a segfault, the parent process dies with a segfault signal as well. However, on the 2.6 kernel a segfault in a thread causes a SIGKILL in the parent, not a SIGSEGV. This makes it almost impossible to debug multithreaded applications.

I'd appreciate any suggestions anyone might have.

Thanks!
Dustin
 
  


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
Threads in signal handling shilpig Programming 3 08-20-2009 03:14 AM
kernel thread and signal handling oriate Linux - General 3 10-18-2005 12:41 PM
Signal handling......... rajsun Programming 2 06-28-2005 08:10 AM
signal handling (SIGSEGV) in threads Sinner6 Programming 1 11-09-2004 04:52 PM
Signal Handling in Threads[POSIX] anoop_cv Programming 1 11-02-2004 02:00 AM

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

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