[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: ping6 segfault
From:       Joerg Epping <joerg.epping () googlemail ! com>
Date:       2013-01-29 8:16:21
Message-ID: CAH2N4pMxu-bYzgUWJjvepWo-EBYpJi+HD0xnJ2nUarTTP0_U7A () mail ! gmail ! com
[Download RAW message or body]

When implementing my own inet_ntop (taken from ntop.c) inside ping.c
from busybox everything works.
So it seems to be something between my uClibc and Busybox. At the
moment I can live with my "patch".

Regards,
Joerg

2013/1/28 Denys Vlasenko <vda.linux@googlemail.com>:
> On Mon, Jan 28, 2013 at 8:49 AM, Joerg Epping
>>> Can you experiment with printing &from->sin6_addr a-la
>>>
>>> bb_error_msg("from:%p &from->sin6_addr:%p", from, &from->sin6_addr);
>>>
>>> ?
>
>> Version without the memcpy patch: (sometimes it's working, but mostly
>> it crashes, but I am unable to print out the addresses when it
>> crashes)
>
>> This is really strange. The addresses seem to be ok.
>
> It means that the unaligned access is _elsewhere_.
>
> Add more debugging printouts.
> --
> vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic