Modify

Opened 3 years ago

#18139 new defect

busybox crash / applet crond / r42852

Reported by: bittorf@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

root@box:~ busybox --help
BusyBox v1.22.1 (2014-10-06 14:37:53 EDT) multi-call binary.

sometimes crond is crashing, i will report that upstream too,
but this will be difficult, because we carry a lot of patches.
here die backtrace:

bastian@server1:~/openwrt$ scripts/remote-gdb r42852.ar71xx.crond.8491.11.1413252061.core staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/bin/busybox
Using target mips_34kc (uClibc-0.9.33.2)
GNU gdb (Linaro GDB) 7.6-2013.05
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-linux-gnu --target=mips-openwrt-linux-uclibc".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/bastian/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/bin/busybox...done.
warning: core file may not match specified executable file.
[New LWP 8491]
Core was generated by `/usr/sbin/crond -L /dev/null'.
Program terminated with signal 11, Segmentation fault.
#0  __GI_strcmp (p1=<optimized out>, p2=<optimized out>) at libc/string/generic/strcmp.c:34
34            c1 = (unsigned char) *s1++;
(gdb) bt full
#0  __GI_strcmp (p1=<optimized out>, p2=<optimized out>) at libc/string/generic/strcmp.c:34
        s1 = <optimized out>
        s2 = <optimized out>
        c1 = 58 ':'
        c2 = <optimized out>
#1  0x770c20e8 in lookup_tzname (key=0x7710af40 <_time_tzinfo+16> "CET") at libc/misc/time/time.c:745
        len = <optimized out>
        p = 0x34203030
#2  __time_localtime_tzi (timer=0x7fa56f28, result=0x7710af60 <__time_tm>, tzi=0x7710af30 <_time_tzinfo>) at libc/misc/time/time.c:750
        x = {1413860460}
        offset = <optimized out>
        days = <optimized out>
        dst = 0
#3  0x770c05ec in __GI_localtime_r (timer=0x7fa56f28, result=0x7710af60 <__time_tm>) at libc/misc/time/time.c:586
        __infunc_pthread_cleanup_buffer = {__routine = 0x770ee4ac <pthread_mutex_unlock>, __arg = 0x77106050 <_time_tzlock>, __canceltype = 0, 
          __prev = 0x456e80 <bb_common_bufsiz1>}
#4  0x770c0548 in __GI_localtime (timer=<optimized out>) at libc/misc/time/time.c:569
No locals.
#5  0x004096b6 in crond_main ()
No symbol table info available.
#6  0x0040788e in run_applet_no_and_exit ()
No symbol table info available.
#7  0x004078ce in run_applet_and_exit ()
No symbol table info available.
#8  0x00407a68 in main ()
No symbol table info available.
(gdb) 

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.