[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    crash crond / openwrt / v1.22.1
From:       Bastian Bittorf <bittorf () bluebottle ! com>
Date:       2014-10-16 11:09:25
Message-ID: 20141016110925.GB32252 () medion ! lan
[Download RAW message or body]

hi devs,

we have sometimes a crashing crond and no idea whats going on.
In OpenWrt we carry some patches which shouldnot(tm) be involved:
https://dev.openwrt.org/browser/trunk/package/utils/busybox/patches

here the crash:

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) 

maybe you have an idea?! - bye, bastian
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic