From: Ben Greear <greearb@candelatech.com>
To: gdb@sources.redhat.com
Subject: gdb and threads on windows.
Date: Thu, 17 Nov 2005 04:07:00 -0000 [thread overview]
Message-ID: <437C020C.3000800@candelatech.com> (raw)
In-Reply-To: <437BDF25.87B13E4A@dessent.net>
For some reason, my applications shows 970 threads and is
effectively deadlocked. This is on a windows-xp system. The
win2k system does not appear to have this problem. I attached
to the running process with gdb. The backtraces for 2-970 look like
this:
Thread 7 (thread 7436.0xfe0):
#0 0x7c90eb94 in _libws2_32_a_iname ()
#1 0x7c90e9c0 in _libws2_32_a_iname ()
Thread 1 is slightly more interesting:
(gdb) bt
#0 0x7c90eb94 in _libws2_32_a_iname ()
#1 0x7c90e9c0 in _libws2_32_a_iname ()
#2 0x7c802542 in _libws2_32_a_iname ()
#3 0x5a703e6e in _libws2_32_a_iname ()
#4 0x5a70c6d0 in _libws2_32_a_iname ()
#5 0x003d2aa0 in ?? ()
#6 0xffffffff in ?? ()
(gdb) quit
I am using threads in the code, but this process never created any
threads explicitly. Maybe something like a name resolver is 'helping' me?
Is there anything I can do to get gdb to give better backtraces?
(My app is not stripped, so symbols should be available.)
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2005-11-17 4:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 19:26 Dumping core on windows? Ben Greear
2005-11-16 19:50 ` Brian Dessent
2005-11-16 19:58 ` Ben Greear
2005-11-16 20:20 ` Christopher Faylor
2005-11-16 22:23 ` Brian Dessent
2005-11-16 22:29 ` Ben Greear
2005-11-17 0:09 ` Christopher Faylor
2005-11-17 1:18 ` Brian Dessent
2005-11-17 1:29 ` Ben Greear
2005-11-17 1:38 ` Brian Dessent
2005-11-17 3:29 ` Christopher Faylor
2005-11-17 4:07 ` Ben Greear [this message]
2005-11-17 6:06 ` Ben Greear
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=437C020C.3000800@candelatech.com \
--to=greearb@candelatech.com \
--cc=gdb@sources.redhat.com \
/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