LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Closed Thread
  Search this Thread
Old 08-30-2008, 01:36 AM   #1
kspradhan
LQ Newbie
 
Registered: Aug 2008
Posts: 8

Rep: Reputation: 0
pthread_kill(threadid, SIGUSR2) crashed with SIGSEGV


Hello ,
I have
{MM8}root@Node2:/data/tmp# uname -a
Linux Node2 2.6.10-telco-1.46-mckinley-smp #1 SMP Fri May 30 18:29:43 UTC 2008 ia64 GNU/Linux
# ls /lib/libpthread*
libpthread-0.10.so libpthread.so.0

I have 2-processes (lets say p1 and p2)
p1 has about 49 threads
p2 has about 17 threads

If p1 hangs , then p2 sends a signal SIGUSR2 using pthread_kill(threadid_p1, sigusr2)

While doing so , pthread_kill dumped core, stack trace is as below
==========================
Program terminated with signal 11, Segmentation fault.
#0 0x20000000000ffef0 in pthread_kill () from /lib/tls/libpthread.so.0
(gdb) bt
#0 0x20000000000ffef0 in pthread_kill () from /lib/tls/libpthread.so.0
==============================




ls -lrt /lib/tls/libpthread.so.0
lrwxrwxrwx 1 root root 18 Aug 29 11:18 /lib/tls/libpthread.so.0 -> libpthread-0.60.so


Advance thanks for the help
 
Old 08-30-2008, 02:54 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...igsegv-666418/.
 
  


Closed Thread



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
sigsegv ve1drg Slackware 1 12-29-2006 05:48 PM
where does SIGSEGV come from? hsupoyang Linux - Software 8 10-27-2006 12:33 AM
How to use SIGUSR1 and SIGUSR2 YaK. Programming 3 12-11-2005 05:18 PM
Konqueror crashed and caused the signal 11 (SIGSEGV) bill.692 Linux - Software 1 04-29-2004 11:15 AM
What is SIGSEGV? zombie_geek Linux - Newbie 2 02-03-2004 07:33 PM

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

All times are GMT -5. The time now is 05:25 PM.

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