Valgrind does not escape/check isprint() symbol names

Bug #129548 reported by Paul Sladen
2
Affects Status Importance Assigned to Milestone
valgrind (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: valgrind

If the symbol names are weirdness, then the visual output from valgrind corrupts the terminal; and if you are really unlucky can change the terminal mode:

==23477== Invalid free() / delete / delete[]
==23477== at 0x402237F: free (vg_replace_malloc.c:233)
==23477== by 0x7FFD4DF: gconv_end (in /usr/lib/gconv/UTF-16.so)
==23477== by 0x4D8CC64: ���]É$��� (in /lib/tls/i686/cmov/libc-2.6.so)
==23477== by 0x4D8CD49: �� (in /lib/tls/i686/cmov/libc-2.6.so)
==23477== by 0x4D8CB31: $
                            ���;���D$��=<���Dk (in /lib/tls/i686/cmov/libc-2.6.so)
==23477== by 0x4D8C12B: iconv_close (in /lib/tls/i686/cmov/libc-2.6.so)
==23477== by 0x4C6A7AC: g_iconv_close (in /usr/lib/libglib-2.0.so.0.1307.0)
==23477== by 0x4C6A7D4: (within /usr/lib/libglib-2.0.so.0.1307.0)
==23477== by 0x4C6B26C: g_convert (in /usr/lib/libglib-2.0.so.0.1307.0)
==23477== by 0x48A7E19: _poppler_goo_string_to_utf8(GooString*) (in /usr/lib/libpoppler-glib.so.1.0.0)
==23477== by 0x48A7F1B: (within /usr/lib/libpoppler-glib.so.1.0.0)
==23477== by 0x48A899A: (within /usr/lib/libpoppler-glib.so.1.0.0)
==23477== Address 0x8F37A88 is not stack'd, malloc'd or (recently) free'd
==23477==
==23477== Invalid free() / delete / delete[]
==23477== at 0x402237F: free (vg_replace_malloc.c:233)
==23477== by 0x4012157: (within /lib/ld-2.6.so)
==23477== by 0x40125F6: (within /lib/ld-2.6.so)
==23477== by 0x4E7EE93: �
S (␋┼ /┌␋␉/├┌⎽/␋686/␌└⎺┴/┌␋␉␌-2.6.⎽⎺)
==23477== ␉≤ 0│400D025: (┬␋├␤␋┼ /┌␋␉/┌␍-2.6.⎽⎺)
==23477== ␉≤ 0│4E7F038: __┌␋␉␌_␍┌␌┌⎺⎽␊ (␋┼ /┌␋␉/├┌⎽/␋686/␌└⎺┴/┌␋␉␌-2.6.⎽⎺)
==23477== ␉≤ 0│4D9553E: ÿÿÿ‹•␍ÿÿÿ‹␤ÿÿÿ1ò1ù“┌ (␋┼ /┌␋␉/├┌⎽/␋686/␌└⎺┴/┌␋␉␌-2.6.⎽⎺)
==23477== ␉≤ 0│4E46747: ü├¶ (␋┼ /┌␋␉/├┌⎽/␋686/␌└⎺┴/┌␋␉␌-2.6.⎽⎺)
==23477== ␉≤ 0│4D954CF: ‰ƒB‹EÇD$ (␋┼ /┌␋␉/├┌⎽/␋686/␌└⎺┴/┌␋␉␌-2.6.⎽⎺)
==23477== ␉≤ 0│4D8CC6B: ü‰ì]É$ÿ–œ (␋┼ /┌␋␉/├┌⎽/␋686/␌└⎺┴/┌␋␉␌-2.6.⎽⎺)
==23477== ␉≤ 0│4D8CD49: ¿ (␋┼ /┌␋␉/├┌⎽/␋686/␌└⎺┴/┌␋␉␌-2.6.⎽⎺)

Ideally valgrind would escape any literal strings before passing they through to the output.

Revision history for this message
xteejx (xteejx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in valgrind (Ubuntu):
status: New → Incomplete
Revision history for this message
xteejx (xteejx) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in valgrind (Ubuntu):
status: Incomplete → Invalid
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.