> Can you experiment with printing &from->sin6_addr a-la
>
> bb_error_msg("from:%p &from->sin6_addr:%p", from, &from->sin6_addr);
>
> ?
> --
> vdaVersion with memcpy to local in6_addr structure (always working): # ./busybox ping6 ::1 PING ::1 (::1): 56 data bytes ping6: from:0xbe9b5b5c &from->sin6_addr:0xbe9b5b64 64 bytes from ::1: seq=0 ttl=64 time=1.060 ms ping6: from:0xbe9b5b5c &from->sin6_addr:0xbe9b5b64 64 bytes from ::1: seq=1 ttl=64 time=0.547 ms ping6: from:0xbe9b5b5c &from->sin6_addr:0xbe9b5b64 64 bytes from ::1: seq=2 ttl=64 time=0.550 ms --- ::1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.547/0.719/1.060 ms 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) # ./busybox ping6 ::1 PING ::1 (::1): 56 data bytes ping6: from:0xbed53b6c &from->sin6_addr:0xbed53b74 64 bytes from ::1: seq=0 ttl=64 time=1.068 ms ping6: from:0xbed53b6c &from->sin6_addr:0xbed53b74 64 bytes from ::1: seq=1 ttl=64 time=0.546 ms ping6: from:0xbed53b6c &from->sin6_addr:0xbed53b74 64 bytes from ::1: seq=2 ttl=64 time=0.547 ms --- ::1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.546/0.720/1.068 ms # ./busybox ping6 ::1 PING ::1 (::1): 56 data bytes Segmentation fault This is really strange. The addresses seem to be ok. Additional information: I'm using uClibc 0.9.30 Additional question: Am I the only one where it crashes? Best regards, Joerg _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
