2016-01-20 15:42 GMT+02:00 Leonid Lisovskiy <lly.dev(a)gmail.com>om>:
If you enabled full debug info in all jdk libraries,
it might be not
enough memory to load it.
That'd be very strange, since I have 1 GB swap partition
Good catch! So, the problem is in code performing
memory allocations
for localinterface structure, due to
lif variable points to 0x14 (broken/dummy address). Parse of
/proc/net/if_inet6 completed successfully.
Could you:
1. put breakpoint at line 704
2. run until break
3. display variables nifs , localifs , localifsSize
4. next, next - until line 707
5. display variable localifs
?
This should be it (if needed, see entire gdb3.log):
Line 704:
1: nifs = 0
2: localifs = (struct localinterface *) 0x0
3: localifsSize = 0
Line 707:
1: nifs = 1
2: localifs = (struct localinterface *) 0x0
3: localifsSize = 0
Looks like this piece of code misinterpret realloc() return value.
...
Additionally, please provide information about malloc config settings
of your uClibc-ng. For example,
$ grep MALLOC .config
Here it is:
$ grep MALLOC .config
# MALLOC is not set
# MALLOC_SIMPLE is not set
MALLOC_STANDARD=y
MALLOC_GLIBC_COMPAT=y
# UCLIBC_MALLOC_DEBUGGING is not set
Best regards,
Alex