False positives with g_utf8_collate

Bug #1263778 reported by Alex Valavanis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
valgrind (Ubuntu)
New
Undecided
Unassigned

Bug Description

Valgrind reports false positives ussing the glib utf8-handling functions. According to the glib developers, these should be added to the valgrind suppression files for Ubuntu.

See https://bugzilla.gnome.org/show_bug.cgi?id=720984

==22436== Invalid read of size 8
==22436== at 0x51D8828: wcscmp (wcscmp.S:426)
==22436== by 0x51E44AE: wcscoll_l (strcoll_l.c:489)
==22436== by 0x4EAA506: g_utf8_collate (gunicollate.c:117)
==22436== by 0x40071B: main (in /home/eenava/devel/qclsim/build/glib-test)
==22436== Address 0x59590a8 is 8 bytes inside a block of size 12 alloc'd
==22436== at 0x4C2A2DB: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==22436== by 0x4E81DD0: g_malloc (gmem.c:104)
==22436== by 0x4EAB1F3: _g_utf8_normalize_wc (gunidecomp.c:398)
==22436== by 0x4EAA4F8: g_utf8_collate (gunicollate.c:115)

Revision history for this message
Alex Valavanis (valavanisalex) wrote :
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Full valgrind output log attached

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.