Bash crashes when completing ~ (home dir)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnss-ldap (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libnss-ldap
I'm using Ubuntu 8.04, with libnss-ldap version 258-1ubuntu3.
Stack trace:
#0 0x00007f3e8d1b5095 in *__GI_raise (sig=<value optimized out>)
at ../nptl/
#1 0x00007f3e8d1b6af0 in *__GI_abort () at abort.c:88
#2 0x0000000000435624 in programming_error ()
#3 0x000000000048f9f5 in ?? ()
#4 0x00007f3e8cd5ee45 in _nss_ldap_
at ldap-nss.c:2057
#5 0x00007f3e8cd5f795 in _nss_ldap_endpwent () at ldap-pwd.c:260
#6 0x00007f3e8d26c04d in __nss_endent (func_name=
lookup_
startp=
at getnssent_r.c:117
#7 0x00007f3e8d21f79a in endpwent () at ../nss/
#8 0x0000000000478321 in rl_username_
#9 0x000000000047838a in rl_completion_
#10 0x0000000000454013 in bash_default_
more info:
(gdb) fr 4
#4 0x00007f3e8cd5ee45 in _nss_ldap_
at ldap-nss.c:2057
2057 ber_bvfree (ctx->ec_cookie);
(gdb) p *ctx
$3 = {ec_state = {ls_type = 1, ls_retry = 0, ls_info = {
ls_key = 0xdfdfdfdfffffffff <Address 0xdfdfdfdfffffffff out of bounds>,
ls_index = -1}}, ec_msgid = -1, ec_res = 0x0, ec_sd = 0x0,
ec_cookie = 0x8bbde8}
Hi,
Thanks for the bug report I have reported it upstream at:
http:// bugzilla. padl.com/ show_bug. cgi?id= 406
Regards
chuck