Sorry, same useless result:

[EMAIL PROTECTED]:~# gdb --args bash -c 'compgen -u'
GNU gdb 6.8-debian
Copyright (C) 2008 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"...
(gdb) run
Starting program: /bin/bash -c compgen\ -u
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error
Cannot find new threads: generic error
(gdb) 

Attached is the strace of the gdb session, if running in strace, the
output changes:

[EMAIL PROTECTED]:~# strace -o gdbsession.txt -f gdb --args bash -c 'compgen -u'
GNU gdb 6.8-debian
Copyright (C) 2008 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"...
(gdb) run
Starting program: /bin/bash -c compgen\ -u

malloc: unknown:0: assertion botched
free: start and end chunk sizes differ
Aborting...
Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
You can't do that without a process to debug.


** Attachment added: "strace-gdb-bash-compgen.txt.gz"
   http://launchpadlibrarian.net/13794452/strace-gdb-bash-compgen.txt.gz

-- 
Username completion crashes with libnss-ldap
https://bugs.launchpad.net/bugs/219527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to