On Wed, 2008-12-10 at 14:21 +0100, Markus Kittenberger wrote:
> it hangs here all the time
> 
> #0 0x080523ec in if_ifwithindex ()
> #1 0x0805241b in if_ifwithindex_name ()
> #2 0x08052406 in if_ifwithindex_name ()
> #3 0x08065170 in olsr_ioctl_add_route ()
> ...

If I have to guess: We endless-loop there because the list there is
hosed (or the iterator or ....).
Hannes?

> hmm i should compile it with a symbol table i guess,..

Doesn't hurt. Avoid the `strip` on installation.

> but hmm i don`t want to debug (and learn gdb in advance) it now, as i

Put "gdb --args" in front of the normal line.
strace/ltrace doesn' work but send a signal with "kill" and with "bt"
and "bt full" you get stacktraces and you can "display" variable values.

>  have something else todo, but quite possible later,.. (-;

Take your time .....

        Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




