https://sourceware.org/bugzilla/show_bug.cgi?id=33721
--- Comment #3 from Indu Bhagat <indu.bhagat at oracle dot com> ---
The patch looks reasonable (and ack there is an issue). The issue is in the
endian flipping code
I would like to reproduce the same error though...
I tried a build with CFLAGS="-g3 -O1 -fsanitize=address,undefined
-D_FORTIFY_SOURCE=0 -Wno-error=format-overflow" --target=s390x-ibm-linux-gnu.
With the s390x compiler then added to the path before running testsuite, I get
quite a few leak complaints (and the traces are incomplete...):
==3528508==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 18 byte(s) in 1 object(s) allocated from:
#0 0x7fae27cd92ff in malloc (/lib64/libasan.so.8+0xd92ff) (BuildId:
2e1c50524ff1a2e7e73c4565b46f3f51892353ea)
#1 0x7fae25630e4b (<unknown module>)
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7fae27cd81f5 in __interceptor_realloc.part.0
(/lib64/libasan.so.8+0xd81f5) (BuildId:
2e1c50524ff1a2e7e73c4565b46f3f51892353ea)
#1 0x7fae25630ed0 (<unknown module>)
Indirect leak of 124 byte(s) in 2 object(s) allocated from:
#0 0x7fae27cd92ff in malloc (/lib64/libasan.so.8+0xd92ff) (BuildId:
2e1c50524ff1a2e7e73c4565b46f3f51892353ea)
#1 0x7fae25630e4b (<unknown module>)
What needs to change for me to reproduce the same error as reported ?
--
You are receiving this mail because:
You are on the CC list for the bug.