On Fri, Jan 15, 2016 at 4:20 PM, Alex Potapenko opotapenko@gmail.com wrote:
Alex, could you provide output of "cat /proc/net/if_inet6" from buggy host? It helps problem detection in case of fault occur at parse.
Here's the output on ARMv7:
[root@unknown root]$ cat /proc/net/if_inet6 00000000000000000000000000000001 01 80 10 80 lo
on MIPS32:
root@unknown:/tmp/home/root# cat /proc/net/if_inet6 00000000000000000000000000000001 01 80 10 80 lo
It's basically the same on both hosts, and it makes sense, since both routers run tomatousb firmwares.
It's OK, thanks.
I don't know why gdb output doesn't have symbol table info available: I installed not stripped versions of libs and binaries:
[root@unknown root]$ file /opt/lib/openjdk8/arm/libnet.so /opt/lib/openjdk8/arm/libnet.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, not stripped
Please check presence of full line information in debug sections:
readelf -WS /opt/lib/openjdk8/arm/libnet.so | grep .debug_macinfo
Have you tried addr2line method?
Which gcc version you are using? Could it be optimization issues? Will something changed if build OpenJDK without compiler optimizations, gcc flag "-O0" (disable -Os/-O2) ?
regards, Leonid