[Olsr-dev] PID filename olsrd vs. olsrd6?

Ufo (spam-protected)
Fri Jul 25 14:41:29 CEST 2014


but renaming the PID File will not make the olsrd crash!?

atm im adding via quickfix-workaround
PID=/var/run/olsrd.pid
to /etc/init.d/olsrd, so watchdog is now working.
who could change this value in repository?


Am 20.07.14 15:05, schrieb Bastian Bittorf:
> * Ufo <(spam-protected)> [20.07.2014 15:00]:
>> p.p.p.s. atm we have some other problems with crashing olsr, with large
>> file in tmp??
>> 416.0K olsrd.1902.11.1405688368.core
> 
> you can use this crashdump to get a backtrace and
> see the reason of the crash. do you still have the server's build dir?
> than you can load the crashdump on the server and look into it with gdb.
> 
> bye, bastian
> 

ok, i hope this will help you:


(spam-protected):/o/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gdb-linaro-7.6-2013.05/gdb$
./gdb
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/>.
(gdb) set solib-search-path
/o/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx
(gdb) set sysroot
/o/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx
(gdb) file
/o/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.6.6.2/olsrd
Reading symbols from
/o/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.6.6.2/olsrd...done.
(gdb) core-file /o/olsrd.2029.4.1406253279.core
[New LWP 2029]
Core was generated by `/usr/sbin/olsrd -f /var/etc/olsrd.conf -nofork'.
Program terminated with signal 4, Illegal instruction.
#0  0x0044c2a0 in reverse_mid_set ()
(gdb)

-- 
---
Freifunk Leipzig http://leipzig.freifunk.net




More information about the Olsr-dev mailing list