[Olsr-dev] segfault in -r3 reproduced

Markus Kittenberger (spam-protected)
Sun Dec 7 19:01:26 CET 2008

On Sun, Dec 7, 2008 at 2:19 PM, Markus Kittenberger <
(spam-protected)> wrote:

> On Sun, Dec 7, 2008 at 8:34 AM, Sven-Ola Tücke <(spam-protected)> wrote:
>> Markus,
>> jep - crashing on ifup/dn is a well known issue. I wasn't aware, that the
>> crash does not happen any time when the iface config changes.
> as i never experienced problems (crashes) with changing ips on the fly,..
> i just tested it again (doing it continuosly for 10 minutes), ...
in fact there were also many segfaults triggerable with
ip addr del
ip addr add
especially on the main olsrd interface, if you do it often enough,.. )-;

hennig hannes and me were checking this today
hannes already commited a first bugfix for them,..
but in fact this just caused ne segfaults,..
even without an ifupdown or ipaddr adddel script running,.. after about 5
minutes in segfaults
olsrd: src/olsr_cookie.c:357: olsr_cookie_free: Assertion
`!memcmp(&branding->cmb_sig, "cookie", 6) && branding->cmb_id == ci->ci_id'

Program received signal SIGABRT, Aborted.
[Switching to Thread -136427840 (LWP 20375)]
0xffffe402 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe402 in __kernel_vsyscall ()
#1 0xf7e0d9d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xf7e0f219 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xf7e070df in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0x080614ab in olsr_cookie_free (ci=0x808a120, ptr=0x8093728) at
#5 0x08054794 in unlock_interface (ifp=0x8093728) at src/interfaces.c:269
#6 0x0806727e in olsr_delete_kernel_route (rt=0x8104580) at
#7 0x08067abc in olsr_chg_kernel_routes (head_node=0x8085d74) at
#8 0x08067b9b in olsr_update_kernel_routes () at src/process_routes.c:393
#9 0x080626a4 in olsr_calculate_routing_table () at src/olsr_spf.c:495
#10 0x08060c89 in olsr_process_changes () at src/olsr.c:178
#11 0x08060da2 in olsr_trigger_forced_update (unused=0x0) at src/olsr.c:231
#12 0x0806a491 in walk_timers (last_run=0x8086720) at src/scheduler.c:501
#13 0x0806a727 in olsr_scheduler () at src/scheduler.c:370
#14 0x0805c8a5 in main (argc=2, argv=0xffb7092c) at src/main.c:401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20081207/033c60eb/attachment.html>

More information about the Olsr-dev mailing list