[Bug 1184214] New: gdb cannot activate thread debugging using libthread_db
http://bugzilla.opensuse.org/show_bug.cgi?id=1184214 Bug ID: 1184214 Summary: gdb cannot activate thread debugging using libthread_db Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: matz@suse.com Reporter: jengelh@inai.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Tumbleweed du jour. glibc-2.33-4.1.x86_64 gdb-10.1-3.3.x86_64 gcc-10-3.3.x86_64 � cat x.cpp #include <csignal> int main() { raise(SIGABRT); } � g++ x.cpp -g -lpthread � ./a.out ^C � ./a.out Aborted (core dumped) � gdb a.out /var/core/\!dev\!shm\!a.out.21801 GNU gdb (GDB; openSUSE Tumbleweed) 10.1 Copyright (C) 2020 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 "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://bugs.opensuse.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from a.out... [New LWP 21801] Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `./a.out'. Program terminated with signal SIGABRT, Aborted. #0 raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49 49 return ret; What is the problem with libthread_db on openSUSE Tumbleweed? The issue does not show on Leap 15.2 or Debian sid x32 [gdb 10.1, gcc 10.2.1-20210110, libc6 2.31]. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1184214 http://bugzilla.opensuse.org/show_bug.cgi?id=1184214#c1 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schwab@suse.de --- Comment #1 from Jan Engelhardt <jengelh@inai.de> --- Maybe the newer glibc is playing a role? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1184214 http://bugzilla.opensuse.org/show_bug.cgi?id=1184214#c2 --- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> --- https://sourceware.org/pipermail/gdb-patches/2021-March/177369.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1184214 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz@suse.com Assignee|matz@suse.com |tdevries@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1184214 http://bugzilla.opensuse.org/show_bug.cgi?id=1184214#c3 --- Comment #3 from Tom de Vries <tdevries@suse.com> --- Upstream PR: https://sourceware.org/bugzilla/show_bug.cgi?id=27526 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1184214 http://bugzilla.opensuse.org/show_bug.cgi?id=1184214#c5 --- Comment #5 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1184214) was mentioned in https://build.opensuse.org/request/show/890996 Factory / glibc -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1184214 http://bugzilla.opensuse.org/show_bug.cgi?id=1184214#c12 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Jan Engelhardt <jengelh@inai.de> --- gdb-11.1-4.3 is happy with it. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com