Hi, On Thu, Jan 30, 2020 at 12:09 PM Sergio Paracuellos <sergio.paracuel...@gmail.com> wrote:
[snip] > > > > "bt f" (short for "backtrace full") delivers more information. > > I tried also this command and the backtrace was the same, no extra info :-(. > > > It's perhaps also more helpful if gdb can resolve the shared > > libraries and have the symbols somewhere (so that we get the > > somewhat exact location ine th source code). > > And for the 2nd core file (from bash) too. > > Perhaps there are similarities ... > > I'll try to add debug symbols for these two and see if we can get more > info about this, thanks. Resolving all debug symbols I got the following: For the sleep core: Core was generated by `sleep 1'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0xfffffcd7fffffc60 in ?? () (gdb) set sysroot /opt/poky/2.7.2/sysroots/aarch64-poky-linux/ Reading symbols from /opt/poky/2.7.2/sysroots/aarch64-poky-linux/lib/libm.so.6...Reading symbols from /opt/poky/2.7.2/sysroots/aarch64-poky-linux/lib/.debug/libm-2.29.so...done. done. Reading symbols from /opt/poky/2.7.2/sysroots/aarch64-poky-linux/lib/libc.so.6...Reading symbols from /opt/poky/2.7.2/sysroots/aarch64-poky-linux/lib/.debug/libc-2.29.so...done. done. Reading symbols from /opt/poky/2.7.2/sysroots/aarch64-poky-linux/lib/ld-linux-aarch64.so.1...Reading symbols from /opt/poky/2.7.2/sysroots/aarch64-poky-linux/lib/.debug/ld-2.29.so...done. done. (gdb) bt #0 0xfffffcd7fffffc60 in ?? () #1 0x000000555668af74 in xfunc_die () at libbb/xfunc_die.c:19 #2 0x000000555668a0d8 in run_applet_no_and_exit (applet_no=130, name=<optimized out>, argv=0x7fd2369798) at libbb/appletlib.c:998 #3 0x000000555668a28c in run_applet_and_exit (name=0x7fd2369f00 "sleep", argv=0x7fd2369798) at libbb/appletlib.c:1014 #4 0x000000555668a410 in main (argc=<optimized out>, argv=0x7fd2369798) at libbb/appletlib.c:1122 For the bash one: Core was generated by `-sh'. Program terminated with signal SIGSEGV, Segmentation fault. (gdb) bt #0 hash_search (string=0x555a858e60 "_", table=table@entry=0x55984c9270, flags=flags@entry=0) at ../bash-4.4.18/hashlib.c:183 #1 0x000000555a7d2720 in hash_lookup (hashed_vars=0x55984c9270, name=0x555a858e60 "_") at ../bash-4.4.18/variables.c:1821 #2 bind_variable_internal (name=0x555a858e60 "_", value=0x55984ed960 "]", table=0x55984c9270, hflags=<optimized out>, aflags=0) at ../bash-4.4.18/variables.c:2695 #3 0x000000555a7c6fd0 in bind_lastarg (arg=arg@entry=0x55984ed960 "]") at ../bash-4.4.18/execute_cmd.c:3838 #4 0x000000555a7c9d30 in execute_simple_command (simple_command=<optimized out>, pipe_in=<optimized out>, pipe_in@entry=-1, pipe_out=pipe_out@entry=-1, async=async@entry=0, fds_to_close=fds_to_close@entry=0x55984ed900) at ../bash-4.4.18/execute_cmd.c:4401 #5 0x000000555a7cb474 in execute_command_internal (command=command@entry=0x55984ed2a0, asynchronous=asynchronous@entry=0, pipe_in=pipe_in@entry=-1, pipe_out=pipe_out@entry=-1, fds_to_close=fds_to_close@entry=0x55984ed900) at ../bash-4.4.18/execute_cmd.c:807 #6 0x000000555a7ccbe0 in execute_command (command=0x55984ed2a0) at ../bash-4.4.18/execute_cmd.c:405 #7 0x000000555a7ccdb0 in execute_while_or_until (while_command=0x55984ecc10, type=type@entry=0) at ../bash-4.4.18/execute_cmd.c:3492 #8 0x000000555a7cb344 in execute_while_command (while_command=<optimized out>) at ../bash-4.4.18/execute_cmd.c:3460 #9 execute_command_internal (command=command@entry=0x55984ec630, asynchronous=asynchronous@entry=0, pipe_in=pipe_in@entry=-1, pipe_out=pipe_out@entry=-1, fds_to_close=fds_to_close@entry=0x55984edd80) at ../bash-4.4.18/execute_cmd.c:916 #10 0x000000555a7ccbe0 in execute_command (command=0x55984ec630) at ../bash-4.4.18/execute_cmd.c:405 #11 0x000000555a7b4f90 in reader_loop () at ../bash-4.4.18/eval.c:180 #12 0x000000555a7b3570 in main (argc=1, argv=0x7ffe3f4668, env=<optimized out>) at ../bash-4.4.18/shell.c:792 Best regards, Sergio Paracuellos _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox