[pcre-dev] [Bug 1615] Segfault in jit

Αρχική Σελίδα
Delete this message
Συντάκτης: Greg Hazel
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1615] Segfault in jit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1615




--- Comment #5 from Greg Hazel <ghazel@???> 2015-04-17 01:20:12 ---
Another potential helpful Valgrind error, when I switched back from jemalloc:

==51976== Invalid read of size 1
==51976==    at 0x41EB0E4: ???
==51976==    by 0xE4FF5C0F: ???
==51976==    by 0xE4FF5C0F: ???
==51976==    by 0xE4FF5C1B: ???
==51976==    by 0xFFEFFF25F: ???
==51976==    by 0x3: ???
==51976==  Address 0xe4ff5c0f is 1 bytes before a block of size 13 alloc'd
==51976==    at 0x4C2741D: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==51976==    by 0x8B8C4E9: strdup (strdup.c:42)
==51976==    by 0x40FD25: myfunc (myfile.c:88)
==51976==    by 0x40FFE0: validfunc (validfile.c:24)
==51976==    by 0x4101C7: validfunc (validfile.c:100)
==51976==    by 0x4102F7: validfunc (validfile.c:119)
==51976==    by 0x408766: validfunc (validfile.c:684)
==51976==    by 0x4066D3: main (validfile.c:2755)


Notice that it's one byte *before* the allocation.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email