<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Valgrind invalid/read write errors"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100713">100713</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Valgrind invalid/read write errors
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>xlib backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>colinnkeenan@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=130905" name="attach_130905" title="full valgrind output">attachment 130905</a> <a href="attachment.cgi?id=130905&action=edit" title="full valgrind output">[details]</a></span>
full valgrind output
When testing my application (<a href="https://github.com/colinkeenan/silentcast">https://github.com/colinkeenan/silentcast</a>), using
valgrind, I am getting numerous Invalid read and write errors whenever my
application shows a window with a grid of widgets and labels. My application
can only run on X11 so I chose xlib backend for reporting this bug.
cairo 1.14.8
gtk3 3.22.10
Arch Linux 4.10.10-1-ARCH
plasma-desktop 5.9.4
valgrind -v --tool=memcheck --leak-check=full --leak-resolution=high
--num-callers=20 --log-file=vgdump scpkg/silentcast
I've attached the full output (vgdump).
Here is the specific error:
==15458== 168 errors in context 1 of 66:
==15458== Invalid read of size 4
==15458== at 0x6689F2A: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x668BADE: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x668C940: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x668D0A9: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x662E5EF: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x66A81C7: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x667A0A6: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x663769B: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x6630008: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x6628E74: cairo_fill (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x5306A27: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x5304478: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x541EDA6: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52EA451: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x5316993: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x54FCC0A: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52E06EF: gtk_container_propagate_draw (in
/usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52E07D1: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x5361223: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52E572C: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== Address 0xffeffe678 is on thread 1's stack
==15458==
==15458==
==15458== 168 errors in context 2 of 66:
==15458== Invalid write of size 4
==15458== at 0x668C90D: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x668D0A9: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x662E5EF: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x66A81C7: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x667A0A6: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x663769B: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x6630008: ??? (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x6628E74: cairo_fill (in /usr/lib/libcairo.so.2.11400.8)
==15458== by 0x5306A27: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x5304478: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x541EDA6: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52EA451: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x5316993: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x54FCC0A: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52E06EF: gtk_container_propagate_draw (in
/usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52E07D1: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x5361223: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52E572C: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x52EA56F: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== by 0x5362300: ??? (in /usr/lib/libgtk-3.so.0.2200.10)
==15458== Address 0xffeffe678 is on thread 1's stack
==15458==
==15458== ERROR SUMMARY: 400 errors from 66 contexts (suppressed: 0 from 0)
Is this a recurrence of a bug from 5 years ago?:
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - valgrind advice: Go fix your program!"
href="show_bug.cgi?id=52548">https://bugs.freedesktop.org/show_bug.cgi?id=52548</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>