bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash 2.04


From: john . lonergan
Subject: bash 2.04
Date: Thu, 21 Dec 2000 19:06:44 +0000

Operating system Solaris 2.6
Bash 2.04

When I type tilde followed by tab this core dumps bash.

When I dbx bash the coredump occurs during a call to getpwent while
examining the users in the netgoups for the current box.

DBX TRACE FOLLOWS


(dbx) run
Running: bash
(process id 20991)
address@hidden:4:.:~/bash/bash-2.04 $ ~Reading symbolic information
for nss_compat.so.1
Reading symbolic information for nss_nis.so.1
signal BUS (invalid address alignment) in getnetgr_end at 0xef652c68
0xef652c68: getnetgr_end+0x0018: ld      [%i2], %o0
Current function is username_completion_function
 1449     while (entry = getpwent ())
(dbx) where
  [1] getnetgr_end(0x1e3b90, 0xcfcfcfcf, 0xcfcfcfcf, 0x0, 0x18, 0x0), at
0xef652c68
  [2] getnetgr_destr(0x1e3b90, 0x0, 0xef652cd4, 0x0, 0x1e77b5,
0x1e77a0), at 0xef652ce8
  [3] netgr_end(0x1e3090, 0xefffc064, 0x1, 0x20b, 0x1f0020, 0x2), at
0xef7219a8
  [4] _nss_compat_getent(0x1e3090, 0xefffc190, 0x1e30b8, 0xef7ed2b8,
0x0, 0x10), at 0xef72222c
  [5] nss_getent_u(0xef627240, 0xef604fdc, 0xef627260, 0xefffc190,
0x1d6018, 0x1e6850), at 0xef5d52e4
  [6] nss_getent(0xef627240, 0xef604fdc, 0xef627260, 0xefffc190,
0xef627268, 0x1e77a0), at 0xef5d4e88
  [7] _getpwent_r(0x1bd01c, 0x1bd040, 0x400, 0x1bd01c, 0xef622eb4,
0xef605694), at 0xef605534
=>[8] username_completion_function(text = 0x1e67d0 "~", state = 23),
line 1449 in "complete.c"
  [9] completion_matches(text = 0x1e67d0 "~", entry_function = 0xe2c18 =
&username_completion_function(char *text, int state)), line 1398 in
"complete.c"
  [10] attempt_shell_completion(text = 0x1e67d0 "~", start = 0, end =
1), line 890 in "bashline.c"
  [11] gen_completion_matches(text = 0x1e67d0 "~", start = 0, end = 1,
our_func = 0xe2fc8 = &filename_completion_function(char *text, int
state), found_quote = 0, quote_char = 0), line 684 in "complete.c"
  [12] rl_complete_internal(what_to_do = 9), line 1264 in "complete.c"
  [13] rl_complete(ignore = 1, invoking_key = 9), line 284 in
"complete.c"
  [14] _rl_dispatch(key = 9, map = 0x1951d0), line 533 in "readline.c"
  [15] readline_internal_char(), line 406 in "readline.c"
  [16] readline_internal_charloop(), line 452 in "readline.c"
  [17] readline_internal(), line 466 in "readline.c"
  [18] readline(prompt = 0x1e1890
"address@hidden:4:.:~/bash/bash-2.04 $ "), line 272 in "readline.c"

  [19] yy_readline_get(), line 979 in "parse.y"
  [20] yy_getc(), line 916 in "parse.y"
  [21] shell_getc(remove_quoted_newline = 1), line 1607 in "parse.y"
  [22] read_token(command = 0), line 2178 in "parse.y"
  [23] yylex(), line 1856 in "parse.y"
  [24] yyparse(), line 387 in "bison.simple"
  [25] parse_command(), line 213 in "eval.c"
  [26] read_command(), line 257 in "eval.c"
  [27] reader_loop(), line 124 in "eval.c"
  [28] main(argc = 1, argv = 0xefffd3d4, env = 0xefffd3dc), line 628 in
"shell.c"
(dbx)



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]