[Olsr-dev] Segmentation violation

Henning Rogge (spam-protected)
Tue May 20 22:04:48 CEST 2008


On Tue, May 20, 2008 at 5:59 PM, Bernd Petrovitsch <(spam-protected)> wrote:
> Hi all!
>
> Am I the only one with a segmentation violation on hg-tip?
> That happens with and without a 'LoadPlugin "lq_etx_fpm.so.0.1"' in
> olsrd.conf.
>
> ltrace delivers:
> ----  snip  ----
> bind(9, 0xbffc1580, 16, 1, 0xbc040002)                                                                       = 0
> listen(9, 2, 1, 0xbc040002, 0)                                                                               = 0
> calloc(1, 16)                                                                                                = 0x956e970
> calloc(1, 82)                                                                                                = 0x956e988
> strcpy(0x956e9a8, "etx_float")                                                                               = 0x956e9a8
> calloc(1, 80)                                                                                                = 0x956e9e0
> strcpy(0x956ea00, "etx_fpm")                                                                                 = 0x956ea00
> strcasecmp("etx_fpm", "etx_float")                                                                           = 4
> strcasecmp("etx_fpm", "etx_float")                                                                           = 4
> strcasecmp(NULL, "etx_float" <unfinished ...>
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
> ----  snip  ----
> This seems (with my virtually non-existing knowledge in that area) to
> come out of lq_plugin.c::init_lq_handler_tree() and the avl_strcasecmp()
> above.
> What am I missing?

There is a problem with initialization steps that we have to solve
before I can solve your problem.

Add
  LinkQualityAlgorithm    "etx_fpm"
to your olsrd.conf as a quickfix please.

Henning

-- 
"Wo kämen wir hin, wenn alle sagten, wo kämem wir hin, und niemand
ginge, um einmal zu schauen, wohin man käme, wenn man ginge." (Kurt
Marti)




More information about the Olsr-dev mailing list