[Berlin-wireless] OLSRD ipv4 crashes

Bastian Bittorf bittorf
Do Sep 3 10:55:57 CEST 2015


* Neels Hofmeyr <neels at hofmeyr.de> [02.09.2015 11:02]:
> On Wed, Aug 05, 2015 at 10:18:39AM +0200, Bastian Bittorf wrote:
> > bitte schaut mal nach, ob es einen crashdump gibt.
> > ueblicherweise unter /tmp/*.core
> 
> ich hab nen /tmp/olsrd.1386.11.1441121906.core
> aber kein gdb auf dem router.
> 
> http://kleinekatze.de/quaeTae1/olsrd.1386.11.1441121906.core

hier der backtrace:
@henning: hast du ne idee?

aus dem dateiname laesst sich leider nicht die uptime lesen,
die werte sind: filename + pid + signal + unixtime

bastian at gcc20:~/weimarnetz-bastian/openwrt$ ./scripts/remote-gdb olsrd.1386.11.1441121906.core build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.0/olsrd
Using target mips_34kc (uClibc-0.9.33.2)
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.

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/weimarnetz-bastian/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.0/olsrd...done.
[New LWP 1386]
[New LWP 1387]
warning: Error reading shared library list entry at 0x6659eea
warning: Error reading shared library list entry at 0x6a04f0
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.
Program terminated with signal 11, Segmentation fault.
#0  0x0041b1ce in handle_fds (next_interval=<optimized out>) at
src/scheduler.c:368
368         tvp.tv_sec = remaining / MSEC_PER_SEC;
(gdb) bt full
#0  0x0041b1ce in handle_fds (next_interval=<optimized out>) at
src/scheduler.c:368
        tvp = {tv_sec = 0, tv_usec = 24000}
        remaining = 24
#1  0x0041bbb8 in walk_timers (last_run=0x44ccb4 <timer_last_run>) at
src/scheduler.c:634
        timer_node = 0x44a414
        tmp_head_node = {next = 0xbfec48, prev = 0xbfec48}
        timers_walked = <optimized out>
        timers_fired = <optimized out>
        timer_head_node = 0x44cd90 <timer_wheel+216>
        wheel_slot_walks = <optimized out>
#2  olsr_scheduler () at src/scheduler.c:484
        next_interval = 1039430
#3  0x00408424 in main (argc=1, argv=<optimized out>) at src/main.c:708
        default_ifcnf = 0xb85170
        conf_file_name = "/var/etc/olsrd.conf\000f", '\000' <repeats 835
times>...
        loadedConfig = <optimized out>
        i = 5
        ifn = <optimized out>
        __func__ = "main"
(gdb)


bye, bastian 





Mehr Informationen über die Mailingliste Berlin