From: manishbansode@gmail.com
To: linux-c-programming@vger.kernel.org
Subject: pthread_create hangs.
Date: Thu, 14 Apr 2011 03:36:24 -0400 [thread overview]
Message-ID: <29049303.11302766584588.JavaMail.root@ip-10-131-22-205> (raw)
Hi,
Im writing a FactCGI application which creates some threads. I observed that pthread_create call hangs.
I attached the process using GDB. Here is the backtrace:-
(gdb) bt
#0 0x00000032240dfade in __lll_lock_wait_private () from /lib64/libc.so.6
#1 0x0000003224076a5b in _L_lock_1530 () from /lib64/libc.so.6
#2 0x000000322406fe32 in arena_get2 () from /lib64/libc.so.6
#3 0x0000003224074a4b in calloc () from /lib64/libc.so.6
#4 0x000000322300ff33 in _dl_allocate_tls () from /lib64/ld-linux-x86-64.so.2
#5 0x0000003224c06eb9 in pthread_create@@GLIBC_2.2.5 () from /lib64/libpthread.so.0
#6 0x00000000004031ea in main () at ./artemis_pull.c:507
Please give me some pointers.
-Manish.
--
This message was sent on behalf of manishbansode@gmail.com at openSubscriber.com
http://www.opensubscriber.com/messages/linux-c-programming@vger.kernel.org/topic.html
reply other threads:[~2011-04-14 7:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29049303.11302766584588.JavaMail.root@ip-10-131-22-205 \
--to=manishbansode@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).