This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/5392] New: Gdb doesnt stop in breakpoint and displays Program terminated with signal SIGTRAP, Trace/breakpoint trap


I have a simple program dynamically linked against pthread.
I start the program and then attach and set a breakpoint in a child thread. 

When breakpoint is reached the message
Program terminated with signal SIGTRAP, Trace/breakpoint trap

is displayed, core is dumped and gdb doesnt stop

It looks like gdb doesnt stop on its own breakpoints if these are sent in child
pthreads

I filled a bug in glibc because:
1. I also tried using Intel debugger (IDB) and happens also.
2. This problem started after i upgraded to glibc 2.6.1. Before everything was fine
3. I changed several kernels some of which stopped at breakpoint before i
upgraded glibc
4. I also changed some gdb compilations also.


Thanks ...please take care of this because is very urgent. I cannot work!!!!!
\
The sample program is described here:
http://bugs.gentoo.org/show_bug.cgi?id=198448

-- 
           Summary: Gdb doesnt stop in breakpoint and displays Program
                    terminated with signal SIGTRAP, Trace/breakpoint trap
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P1
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: mihai dot stanescu at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: Kernel 2.6.22.9 + glibc 2.7
  GCC host triplet: x86


http://sourceware.org/bugzilla/show_bug.cgi?id=5392

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]