Hello Bash 3 sometimes crashes with signal 11 in find_pipeline. Below is a backtrace, if anybody feels like fixing it :-).
jobs.c:915-916 /* Return it if we found it. */ if (p->pid == pid) Backtrace: #0 find_pipeline (pid=8987, running_only=1, jobp=0x8fbf9c34) at jobs.c:916 #1 0x1c1df in waitchld (wpid=-1, block=0) at jobs.c:2515 #2 0x1c12e in sigchld_handler (sig=20) at jobs.c:2453 #3 0x8fbfc13c in ?? (100408, 19ed0, 2e1, 1, 8fbf9cec, 355fa, 100408, 19ed0) #4 0x6ac8b in sh_free (mem=0x100408, file=0x19ed0 "jobs.c", line=737) at malloc.c:1143 #5 0x355fa in sh_xfree (string=0x100408, file=0x19ed0 "jobs.c", line=737) at xmalloc.c:191 #6 0x1a654 in discard_pipeline (chain=0x100408) at jobs.c:737 #7 0x19fce in cleanup_the_pipeline () at jobs.c:396 #8 0x20caf in command_substitute (string=0xf5048 "seq 0 $fieldloopctr", quoted=0) at subst.c:4177 #9 0x23e7f in expand_word_internal (word=0x1272a8, quoted=0, isexp=0, contains_dollar_at=0x8fbf9dcc, expanded_something=0x8fbf9dc8) at subst.c:6291 #10 0x24b32 in shell_expand_word_list (tlist=0xf06e8, eflags=30) at subst.c:7215 #11 0x24cf1 in expand_word_list_internal (list=0x117a08, eflags=30) at subst.c:7332 #12 0x2476d in expand_words_no_vars (list=0x117a08) at subst.c:6999 #13 0xfdc5 in execute_for_command (for_command=0xfed08) at execute_cmd.c:1595 #14 0xee8a in execute_command_internal (command=0x12b9c8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11e188) at execute_cmd.c:732 #15 0xfc9f in execute_connection (command=0xdfb28, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11e188) at execute_cmd.c:1524 #16 0xef7a in execute_command_internal (command=0xdfb28, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11e188) at execute_cmd.c:820 #17 0xe851 in execute_command (command=0xdfb28) at execute_cmd.c:347 #18 0xfc40 in execute_connection (command=0x136188, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11c968) at execute_cmd.c:1503 #19 0xef7a in execute_command_internal (command=0x136188, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11c968) at execute_cmd.c:820 #20 0xef65 in execute_command_internal (command=0xee6c8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11c968) at execute_cmd.c:812 #21 0x12279 in execute_function (var=0xc7608, words=0x103a68, flags=0, fds_to_close=0x11c968, async=0, subshell=0) at execute_cmd.c:3249 #22 0x1258b in execute_builtin_or_function (words=0x103a68, builtin=0, var=0xc7608, redirects=0x0, fds_to_close=0x11c968, flags=0) at execute_cmd.c:3437 #23 0x11ad7 in execute_simple_command (simple_command=0x124528, pipe_in=-1, pipe_out=-1, async=0, fds_to_close=0x11c968) at execute_cmd.c:2950 #24 0xed92 in execute_command_internal (command=0x121988, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11c968) at execute_cmd.c:660 #25 0xfc9f in execute_connection (command=0x11fca8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11c968) at execute_cmd.c:1524 #26 0xef7a in execute_command_internal (command=0x11fca8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x11c968) at execute_cmd.c:820 #27 0xe851 in execute_command (command=0x11fca8) at execute_cmd.c:347 #28 0xfc40 in execute_connection (command=0x142d68, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xf6b68) at execute_cmd.c:1503 #29 0xef7a in execute_command_internal (command=0x142d68, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xf6b68) at execute_cmd.c:820 #30 0xe851 in execute_command (command=0x142d68) at execute_cmd.c:347 #31 0x10f02 in execute_if_command (if_command=0xf7a68) at execute_cmd.c:2374 #32 0xef1a in execute_command_internal (command=0x12e568, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xfa8b8) at execute_cmd.c:772 #33 0xe851 in execute_command (command=0x12e568) at execute_cmd.c:347 #34 0x10f02 in execute_if_command (if_command=0x139388) at execute_cmd.c:2374 #35 0xef1a in execute_command_internal (command=0xf6368, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cab8) at execute_cmd.c:772 #36 0xfc9f in execute_connection (command=0x13c128, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cab8) at execute_cmd.c:1524 #37 0xef7a in execute_command_internal (command=0x13c128, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cab8) at execute_cmd.c:820 #38 0xef65 in execute_command_internal (command=0x122da8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cab8) at execute_cmd.c:812 #39 0x12279 in execute_function (var=0xc7c08, words=0xf1048, flags=0, fds_to_close=0x10cab8, async=0, subshell=0) at execute_cmd.c:3249 #40 0x1258b in execute_builtin_or_function (words=0xf1048, builtin=0, var=0xc7c08, redirects=0x0, fds_to_close=0x10cab8, flags=0) at execute_cmd.c:3437 #41 0x11ad7 in execute_simple_command (simple_command=0x1363c8, pipe_in=-1, pipe_out=-1, async=0, fds_to_close=0x10cab8) at execute_cmd.c:2950 #42 0xed92 in execute_command_internal (command=0x136c08, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cab8) at execute_cmd.c:660 #43 0xfc9f in execute_connection (command=0x12d7c8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cab8) at execute_cmd.c:1524 #44 0xef7a in execute_command_internal (command=0x12d7c8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cab8) at execute_cmd.c:820 #45 0xe851 in execute_command (command=0x12d7c8) at execute_cmd.c:347 #46 0xff4f in execute_for_command (for_command=0xf0728) at execute_cmd.c:1658 #47 0xee8a in execute_command_internal (command=0x136248, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x126c48) at execute_cmd.c:732 #48 0xfc9f in execute_connection (command=0x12a0e8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x126c48) at execute_cmd.c:1524 #49 0xef7a in execute_command_internal (command=0x12a0e8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x126c48) at execute_cmd.c:820 #50 0xe851 in execute_command (command=0x12a0e8) at execute_cmd.c:347 #51 0xfc40 in execute_connection (command=0x120528, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x131468) at execute_cmd.c:1503 #52 0xef7a in execute_command_internal (command=0x120528, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x131468) at execute_cmd.c:820 #53 0xe851 in execute_command (command=0x120528) at execute_cmd.c:347 #54 0xfc40 in execute_connection (command=0x123098, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x103948) at execute_cmd.c:1503 #55 0xef7a in execute_command_internal (command=0x123098, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x103948) at execute_cmd.c:820 #56 0xe851 in execute_command (command=0x123098) at execute_cmd.c:347 #57 0xfc40 in execute_connection (command=0x113a08, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xfada8) at execute_cmd.c:1503 #58 0xef7a in execute_command_internal (command=0x113a08, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xfada8) at execute_cmd.c:820 #59 0xe851 in execute_command (command=0x113a08) at execute_cmd.c:347 #60 0xfc40 in execute_connection (command=0x108788, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x128fa8) at execute_cmd.c:1503 #61 0xef7a in execute_command_internal (command=0x108788, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x128fa8) at execute_cmd.c:820 #62 0xe851 in execute_command (command=0x108788) at execute_cmd.c:347 #63 0xfc40 in execute_connection (command=0xf3668, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10e4e8) at execute_cmd.c:1503 #64 0xef7a in execute_command_internal (command=0xf3668, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10e4e8) at execute_cmd.c:820 #65 0xe851 in execute_command (command=0xf3668) at execute_cmd.c:347 #66 0x10f02 in execute_if_command (if_command=0xf8868) at execute_cmd.c:2374 #67 0xef1a in execute_command_internal (command=0xf2ca8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x1335a8) at execute_cmd.c:772 #68 0x43f0c in parse_and_execute ( string=0x14b008 "if [ -z \"$agentversion\" ]; then\n\techo \"Configuration not loaded. This script must be started from the runagent script.\" >&2\n\texit 1\nfi\n\necho ';PREPARE'\necho ' ____'\necho '| _ \\ _ __ ___ _ __ __ _ _"..., from_file=0xf7c08 "./prepare.sh", flags=20) at evalstring.c:267 #69 0x439c4 in _evalfile (filename=0xf7c08 "./prepare.sh", flags=14) at evalfile.c:235 #70 0x43b35 in source_file (filename=0xf7c08 "./prepare.sh", sflags=0) at evalfile.c:308 #71 0x49e80 in source_builtin (list=0x11ee08) at ./source.def:169 #72 0x11d65 in execute_builtin (builtin=0x49cb8 <source_builtin>, words=0xf45c8, flags=0, subshell=0) at execute_cmd.c:3077 #73 0x1256f in execute_builtin_or_function (words=0xf45c8, builtin=0x49cb8 <source_builtin>, var=0x0, redirects=0x0, fds_to_close=0x10cec8, flags=0) at execute_cmd.c:3435 #74 0x11ad7 in execute_simple_command (simple_command=0xbeba8, pipe_in=-1, pipe_out=-1, async=0, fds_to_close=0x10cec8) at execute_cmd.c:2950 #75 0xed92 in execute_command_internal (command=0xbeb88, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cec8) at execute_cmd.c:660 #76 0xfc9f in execute_connection (command=0xbec28, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cec8) at execute_cmd.c:1524 #77 0xef7a in execute_command_internal (command=0xbec28, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10cec8) at execute_cmd.c:820 #78 0xe851 in execute_command (command=0xbec28) at execute_cmd.c:347 #79 0xfc40 in execute_connection (command=0xbed48, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x139e88) at execute_cmd.c:1503 #80 0xef7a in execute_command_internal (command=0xbed48, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x139e88) at execute_cmd.c:820 #81 0xe851 in execute_command (command=0xbed48) at execute_cmd.c:347 #82 0xfc40 in execute_connection (command=0xbee68, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x1133a8) at execute_cmd.c:1503 #83 0xef7a in execute_command_internal (command=0xbee68, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x1133a8) at execute_cmd.c:820 #84 0xe851 in execute_command (command=0xbee68) at execute_cmd.c:347 #85 0xfc40 in execute_connection (command=0xb2b68, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x1018e8) at execute_cmd.c:1503 #86 0xef7a in execute_command_internal (command=0xb2b68, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x1018e8) at execute_cmd.c:820 #87 0xe851 in execute_command (command=0xb2b68) at execute_cmd.c:347 #88 0xfc40 in execute_connection (command=0xb2c98, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xf3c68) at execute_cmd.c:1503 #89 0xef7a in execute_command_internal (command=0xb2c98, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xf3c68) at execute_cmd.c:820 #90 0xe851 in execute_command (command=0xb2c98) at execute_cmd.c:347 #91 0xfc40 in execute_connection (command=0xbf068, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xf7328) at execute_cmd.c:1503 #92 0xef7a in execute_command_internal (command=0xbf068, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xf7328) at execute_cmd.c:820 #93 0xe851 in execute_command (command=0xbf068) at execute_cmd.c:347 #94 0xfc40 in execute_connection (command=0xbf548, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x13b2c8) at execute_cmd.c:1503 #95 0xef7a in execute_command_internal (command=0xbf548, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x13b2c8) at execute_cmd.c:820 #96 0xe851 in execute_command (command=0xbf548) at execute_cmd.c:347 #97 0xfc40 in execute_connection (command=0xbf6e8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x13aca8) at execute_cmd.c:1503 #98 0xef7a in execute_command_internal (command=0xbf6e8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x13aca8) at execute_cmd.c:820 #99 0xe851 in execute_command (command=0xbf6e8) at execute_cmd.c:347 #100 0xfc40 in execute_connection (command=0xbf868, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10bf48) at execute_cmd.c:1503 #101 0xef7a in execute_command_internal (command=0xbf868, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x10bf48) at execute_cmd.c:820 #102 0xe851 in execute_command (command=0xbf868) at execute_cmd.c:347 #103 0x10e3a in execute_while_or_until (while_command=0xbf888, type=0) at execute_cmd.c:2323 #104 0x10d9d in execute_while_command (while_command=0xbf888) at execute_cmd.c:2269 #105 0xeeea in execute_command_internal (command=0xbf8a8, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0xbf8c8) at execute_cmd.c:760 #106 0xe851 in execute_command (command=0xbf8a8) at execute_cmd.c:347 #107 0x3557 in reader_loop () at eval.c:146 #108 0x186f in main (argc=2, argv=0x8fbfb0fc, env=0x8fbfb108) at shell.c:704 Cc please. _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash