Bug 142146 - gdb and system-supplied DSO
Summary: gdb and system-supplied DSO
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Development (show other bugs)
Version: unspecified
Hardware: i686 SuSE Linux 10.0
: P5 - None : Major
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 20:11 UTC by Axel Vanden Eynden
Modified: 2006-04-07 11:10 UTC (History)
1 user (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
result of strace on gdb (170.71 KB, text/plain)
2006-01-14 12:58 UTC, Axel Vanden Eynden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Vanden Eynden 2006-01-09 20:11:54 UTC
gdb is almost unusable. I get this when i try to run the program a second time and gdb is not working correctly the first time.

warning: cannot close "system-supplied DSO at 0xffffe000": Fichier dans un mauvais format
Starting program:

(the french sentence mean : file in a wrong type)


By strace, I found this interesting selection of opened file :

open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libreadline.so.5", O_RDONLY) = 3
open("/lib/libncurses.so.5", O_RDONLY)  = 3
open("/lib/tls/libm.so.6", O_RDONLY)    = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/terminfo/x/xterm", O_RDONLY) = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/tls/libthread_db.so.1", O_RDONLY) = 3
open("/etc/inputrc", O_RDONLY)          = 5
open("/home/axou/.inputrc", O_RDONLY)   = 5
open("/etc/inputrc", O_RDONLY)          = 5
open("/home/axou/.gdbinit", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("../../c/genlot", O_RDONLY)        = 5
open("../../c/genlot", O_RDONLY)        = 5
open("/etc/mtab", O_RDONLY)             = 6
open("/proc/meminfo", O_RDONLY)         = 6
open("/home/axou/program/ip/ipdaemon/.gdb_history", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/axou/program/c/genlot", O_RDONLY) = 5
open("/lib/ld-linux.so.2", O_RDONLY)    = 6
open("/proc/6896/auxv", O_RDONLY)       = 6
open("/lib/tls/libm.so.6", O_RDONLY)    = 5
open("/lib/tls/libc.so.6", O_RDONLY)    = 6
open("/lib/ld-linux.so.2", O_RDONLY)    = 7
open("/lib/tls/libm.so.6", O_RDONLY)    = 8
open("/lib/tls/libm-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/.debug/libm-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/debug//lib/tls/libm-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 5
open("/lib/tls/libc-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/.debug/libc-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/debug//lib/tls/libc-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/ld-linux.so.2", O_RDONLY)    = 5
open("/lib/ld-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/.debug/ld-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/debug//lib/ld-2.3.5.so.debug", O_RDONLY) = -1 ENOENT (No such file or directory)

But i don't know in which one of these could be the problem.
Comment 1 Axel Vanden Eynden 2006-01-14 12:58:53 UTC
Created attachment 63353 [details]
result of strace on gdb
Comment 2 Andreas Schwab 2006-01-23 14:25:32 UTC
Please provide a test case.
Comment 3 Andreas Schwab 2006-04-07 11:10:09 UTC
No feedback in 3 months.