opensubscriber
   Find in this group all groups
 
Unknown more information…

g : gdb@gnu.org 16 January 2010 • 2:56AM -0500

gdb hangs when attaching to hanging process
by Nikolaus Rath

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello,

I'm trying to debug a hanging, multithreaded process. Unfortunately, if
I try to attach gdb to it, gdb just hangs:

$ gdb -p 12747
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 12747


Anyone able to help?

System is Linux 2.6.31.

Best,

   -Nikolaus

--
»Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C




Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.