After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669763 - Invalid read error in bookmark code
Invalid read error in bookmark code
Status: RESOLVED NOTABUG
Product: nautilus
Classification: Core
Component: Navigation
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 671883 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-09 17:16 UTC by Sebastien Bacher
Modified: 2012-05-03 05:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2012-02-09 17:16:46 UTC
Running nautilus 3.3.5, I get those on start:

==12938== Invalid read of size 8
==12938==    at 0x4DF1135: __wcslen_sse2 (wcslen-sse2.S:73)
==12938==    by 0x4DEDD0E: wcsxfrm (strxfrm.c:32)
==12938==    by 0x4C688F1: g_utf8_collate_key (gunicollate.c:397)
==12938==    by 0x4C68BD7: g_utf8_collate_key_for_filename (gunicollate.c:671)
==12938==    by 0x8105BC2: nautilus_file_set_display_name (nautilus-file.c:237)
==12938==    by 0x8105CAA: nautilus_file_peek_display_name (nautilus-file.c:3708)
==12938==    by 0x81062A7: nautilus_file_get_display_name (nautilus-file.c:3728)
==12938==    by 0x80D54F9: bookmark_set_name_from_ready_file.isra.3.part.4 (nautilus-bookmark.c:126)
==12938==    by 0x80D60CE: nautilus_bookmark_connect_file (nautilus-bookmark.c:122)
==12938==    by 0x4BBAC19: g_object_newv (gobject.c:1731)
==12938==    by 0x4BBAFA2: g_object_new_valist (gobject.c:1820)
==12938==  Address 0x12393250 is 72 bytes inside a block of size 76 alloc'd
==12938==    at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==12938==    by 0x4C427FA: standard_malloc (gmem.c:85)
==12938==    by 0x4C42BA2: g_malloc (gmem.c:159)
==12938==    by 0x4C42E52: g_malloc_n (gmem.c:361)
==12938==    by 0x4C695A2: _g_utf8_normalize_wc (gunidecomp.c:398)
==12938==    by 0x4C688D5: g_utf8_collate_key (gunicollate.c:395)
==12938==    by 0x4C68BD7: g_utf8_collate_key_for_filename (gunicollate.c:671)
==12938==    by 0x8105BC2: nautilus_file_set_display_name (nautilus-file.c:237)
==12938==    by 0x8105CAA: nautilus_file_peek_display_name (nautilus-file.c:3708)
==12938==    by 0x81062A7: nautilus_file_get_display_name (nautilus-file.c:3728)
==12938==    by 0x80D54F9: bookmark_set_name_from_ready_file.isra.3.part.4 (nautilus-bookmark.c:126)
==12938==    by 0x80D60CE: nautilus_bookmark_connect_file (nautilus-bookmark.c:122)
==12938==    by 0x4BBAC19: g_object_newv (gobject.c:1731)
==12938==    by 0x4BBAFA2: g_object_new_valist (gobject.c:1820)
Comment 1 Cosimo Cecchi 2012-03-12 21:25:20 UTC
*** Bug 671883 has been marked as a duplicate of this bug. ***
Comment 2 Sebastien Bacher 2012-03-12 21:50:46 UTC
those wcslen invalid right seems not specific to nautilus, could well be a valgrind false positive and not a bug
Comment 3 Cosimo Cecchi 2012-05-03 05:03:08 UTC
Indeed I think it is, yeah.