[Olsr-dev] [PATCH v1 0/2] Fix crashes

Henning Rogge (spam-protected)
Mon Feb 29 20:59:02 CET 2016


I think these changes look good.

Henning

On Mon, Feb 29, 2016 at 3:57 PM, Ferry Huberts <(spam-protected)> wrote:
> I will cherry-pick these onto the release branch as well once reviewed
>
>
> On 29/02/16 15:23, Ferry Huberts wrote:
>>
>> From: Ferry Huberts <(spam-protected)>
>>
>> This fixes crashes in the timer code, speedy review requested.
>>
>> Examples of crashes:
>>      *** olsr.org -
>> pre-0.9.1-git_dd7c5a0-hash_b9729ef932ee0c718b5da79dcf6a5fce ***
>>       Build date: 2016-02-24 21:02:23 on jenkins
>>       http://www.olsr.org
>>
>>      /usr/sbin/olsrd               (olsr_segv_handler)
>> src/main.c:323
>>      /lib/i386-linux-gnu/libc.so.6 (+0x2de78)
>> [0xb760ce78]
>>      /usr/sbin/olsrd               (list_remove)
>> src/common/list.c:105
>>      /usr/sbin/olsrd               (olsr_stop_timer)
>> src/scheduler.c:874
>>      /usr/sbin/olsrd               (olsr_del_nbr2_list)
>> src/neighbor_table.c:85
>>      /usr/sbin/olsrd               (olsr_delete_neighbor_table)
>> src/neighbor_table.c:211
>>      /usr/sbin/olsrd               (olsr_delete_link_entry)
>> src/link_set.c:375
>>      /usr/sbin/olsrd               (olsr_expire_link_entry)
>> src/link_set.c:495
>>      /usr/sbin/olsrd               (walk_timers)
>> src/scheduler.c:650
>>      /usr/sbin/olsrd               (olsr_scheduler)
>> src/scheduler.c:506
>>      /usr/sbin/olsrd               (main)
>> src/main.c:705
>>
>>      olsrd crashed, stack trace follows
>>      /usr/sbin/olsrd               (olsr_segv_handler)
>> src/main.c:323
>>      /lib/i386-linux-gnu/libc.so.6 (+0x2de78)
>> [0xb764ce78]
>>      /usr/sbin/olsrd               (list_remove)
>> src/common/list.c:105
>>      /usr/sbin/olsrd               (olsr_stop_timer)
>> src/scheduler.c:874
>>      /usr/sbin/olsrd               (olsr_update_gateway_entry)
>> src/gateway.c:1208
>>      /usr/sbin/olsrd               (olsr_input_hna)
>> src/hna_set.c:446
>>      /usr/sbin/olsrd               (parse_packet)
>> src/parser.c:393
>>      /usr/sbin/olsrd               (olsr_input)
>> src/parser.c:496
>>      /usr/sbin/olsrd               (poll_sockets)
>> src/scheduler.c:341
>>      /usr/sbin/olsrd               (olsr_scheduler)
>> src/scheduler.c:499
>>      /usr/sbin/olsrd               (main)
>> src/main.c:705
>>
>>
>> Ferry Huberts (2):
>>    scheduler: mark timers for removal and only remove them in a cleanup
>>      walk
>>    main: ensure all timers are stopped in shutdown
>>
>>   src/main.c      |  3 ++
>>   src/scheduler.c | 95
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
>>   src/scheduler.h |  1 +
>>   3 files changed, 97 insertions(+), 2 deletions(-)
>>
>
> --
> Ferry Huberts
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev



More information about the Olsr-dev mailing list