Possible problem with recent waitid changes

Greg Schafer gschafer@zip.com.au
Tue Sep 7 10:09:00 GMT 2004


On Tue, Sep 07, 2004 at 01:06:56AM -0700, Roland McGrath wrote:
> I'm sure you can easily attach the debugger to this spinning process and
> see what waitid calls it is making.

After attaching with gdb the backtrace always looks the same. The output is
attached. Hopefully you can glean something from it.
-------------- next part --------------
#0  0xffffe410 in ?? ()
#1  0xbffff5a8 in ?? ()
#2  0x0000000a in ?? ()
#3  0xbffff598 in ?? ()
#4  0x400e8953 in __waitpid_nocancel () from /lib/libc.so.6
#5  0x0807974d in waitchld (wpid=-22, block=1) at jobs.c:2487
#6  0x0807ad55 in wait_for (pid=20507) at jobs.c:1898
#7  0x08080d28 in command_substitute (string=0x80f1d08 "< $FN", quoted=0) at subst.c:4291
#8  0x080841df in param_expand (string=0x80f1e28 "$(< $FN)", sindex=0xbffff890, quoted=0, expanded_something=0x0, contains_dollar_at=0xbffff894, quoted_dollar_at_p=0xbffff898, 
    had_quoted_null_p=0xbffff89c, pflags=0) at subst.c:6002
#9  0x08084d81 in expand_word_internal (word=0xbffff928, quoted=0, isexp=0, contains_dollar_at=0x0, expanded_something=0x0) at subst.c:6260
#10 0x08085674 in call_expand_word_internal (w=0xbffff928, q=10, i=-22, c=0xffffffea, e=0xffffffea) at subst.c:2397
#11 0x0808635b in expand_string_internal (string=0x0, quoted=0) at subst.c:2429
#12 0x080863c0 in expand_string_unsplit (string=0xffffffea <Address 0xffffffea out of bounds>, quoted=10) at subst.c:2451
#13 0x0807d3f9 in expand_string_if_necessary (string=0x80f1e08 "$(< $FN)", quoted=0, func=0x8086390 <expand_string_unsplit>) at subst.c:2261
#14 0x0807fa93 in do_assignment_internal (string=0x80f1e08 "$(< $FN)", expand=1) at subst.c:2030
#15 0x08086a06 in expand_word_list_internal (list=0xffffffea, eflags=31) at subst.c:7300
#16 0x0806bda0 in execute_command_internal (command=0x80f1488, asynchronous=0, pipe_in=-1, pipe_out=-1, fds_to_close=0x80f1768) at execute_cmd.c:2793
#17 0x0806dc11 in execute_command (command=0xffffffea) at execute_cmd.c:347
#18 0x0805e0d9 in reader_loop () at eval.c:146
#19 0x0805d121 in main (argc=2, argv=0xbffffe04, env=0xbffffe10) at shell.c:704


More information about the Libc-alpha mailing list