Bash core dumping on unknown commands

From: Joćo Miguel Chaves (joao.chaves@tagus.ist.utl.pt)
Date: Tue Oct 14 2003 - 09:33:46 EDT


Hi all, need some help figuring this out. My standard SUNWbash is core
dumping on unkown commands after i try to complete a username.
We have nsswitch.conf so that users are first looked at in the passwd,
then in our ldap server.
I tried compiling a new bash 2.05b with the --without-gnu-malloc flag,
but that didn't helped.

Kind of hard to explain this, but here's a sample session:
$ echo $SHELL
/bin/bash

$ adf
bash: adf: command not found

$ cd ~poi
bash: cd: ~poi: No such file or directory

$ adf
bash: adf: command not found
Segmentation Fault (core dumped)

And here's a bt:
(gdb) bt
#0 0xff021ab8 in ?? ()
#1 0xff11cb38 in ?? ()
#2 0xff19efac in ?? ()
#3 0x345f4 in execute_disk_command (words=0xd1a18, redirects=0x0,
     command_line=0x1210d8 "adf", pipe_in=-1, pipe_out=-1, async=0,
     fds_to_close=0x1210b8, cmdflags=0) at execute_cmd.c:3281
#4 0x33670 in execute_simple_command (simple_command=0xd25d0, pipe_in=-1,
     pipe_out=-1, async=0, fds_to_close=0x1210b8) at execute_cmd.c:2734
#5 0x303a4 in execute_command_internal (command=0x16dc38, asynchronous=0,
     pipe_in=-1, pipe_out=-1, fds_to_close=0x1210b8) at execute_cmd.c:629
#6 0x2fe58 in execute_command (command=0x16dc38) at execute_cmd.c:324
#7 0x24818 in reader_loop () at eval.c:143
#8 0x22aa4 in main (argc=1, argv=0xffbffcac, env=0xffbffcb4) at shell.c:706

Cheers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:17 EDT