Error While Reading Shared Library Symbols Cannot Find New Threads
Development Programming/Scripting gdb unable to debug application Welcome! If this is your first visit, be
Gdb "thread Debugging Using Libthread_db Enabled"
sure to check out the FAQ. You will have to cannot find new threads generic error register before you can post in the forums. (Be aware the forums do not accept
Gdb Libthread_db
user names with a dash "-") Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting unable to find libthread_db matching inferior's thread library in the Forums implies acceptance of the Terms and Conditions. Results 1 to 3 of 3 Thread: gdb unable to debug application Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 20-Apr-2009,07:35 #1 gauravkh View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Dec 2008 Posts 7 gdb unable to debug application Test program: #include #include #include int main(int argc, char **argv) { gtk_init(&argc, &argv); GtkIconTheme* theme = gtk_icon_theme_get_default(); if ( theme == NULL ) { puts("no theme set"); return 0; } gchar **path; gint n; gtk_icon_theme_get_search_path(theme, &path, &n); printf("%u %u\n", gtk_icon_theme_has_icon(theme, "fonts-package"), gtk_icon_theme_has_icon(theme, argv[1]) ); gint *l = gtk_icon_theme_get_icon_sizes(theme, argv[1]); gint *p; for ( p = l; *p; p++ ) printf("*l = %d\n", *p ); GtkIconInfo *info = gtk_icon_theme_lookup_icon(theme, argv[1], -1, GTK_ICON_LOOKUP_USE_BUILTIN ); printf("info = %p\n", info); if ( info ) { GError *error = NULL; GdkPixbuf *buf = gtk_icon_info_load_icon(info, &error); printf("buf = %p\n", buf); if ( buf ) g_object_unref(buf); if ( error ) g_error_free(error); gtk_icon_info_free( info ); } GError *error = NULL; GdkPixbuf *pbuf = gtk_icon_theme_load_icon(theme, argv[1], -1, GTK_ICON_LOOKUP_USE_BUILTIN, &error ); printf("pbuf = %p\n", pbu
Small Date: Sat, 24 Apr 2010 12:21:01 UTC Severity: normal Found in versions gdb/7.1-1, gdb/7.3-1 Reply or subscribe to this bug. Toggle useless messagesView this report as an mbox folder, status mbox, maintainer mbox Report forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz : Bug#579021; Package gdb. (Sat, 24 Apr 2010 12:21:04 GMT) Full text and rfc822 format available. Acknowledgement sent to Craig https://forums.opensuse.org/showthread.php/412939-gdb-unable-to-debug-application Small : New Bug report received and forwarded. Copy sent to Daniel Jacobowitz . (Sat, 24 Apr 2010 12:21:05 GMT) Full text and rfc822 format available. Message #5 received at submit@bugs.debian.org (full text, mbox, reply): From: Craig Small To: Debian Bug Tracking System Subject: gdb fails with https://bugs.debian.org/579021 Cannot find new threads: generic error when linking with libdbi Date: Sat, 24 Apr 2010 22:07:59 +1000 Package: gdb Version: 7.1-1 I had one program I'm writing and started getting these strange gdb errors, I narrowed it down to linking with libdbi. This is the problem I see: csmall@elmo:~$ cat test.c #include #include int main(int argc, char *argv[]) { printf("Hello, World!\n"); dbi_initialize(NULL); return 0; } csmall@elmo:~$ gcc -ggdb -o test test.c -ldbi csmall@elmo:~$ gdb ./test GNU gdb (GDB) 7.1-debian Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/csmall/t
[ date ] [ thread ] [ subject ] [ author ] Hello I tried to run GDB with R to cannot find debug one my program. After running R (R --debugger=gdb) and my program, GDB crashes saying: [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new cannot find new threads: generic error Cannot find new threads: generic error Has anyone ever encountered this kind of problem using GDB with R ? I saw this GDB error on internet in other contexts but never with R, and there seems to exist no general solution. Thanks a lot Thomas Previous message: [R] generalized mixed model + mcmcsamp Next message: [R] How to handle large numbers? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the R-help mailing list