Bug 75896

Summary: Valgrind invalid/read write warnings
Product: cairo Reporter: Sebastien Bacher <seb128>
Component: xlib backendAssignee: Chris Wilson <chris>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sebastien Bacher 2014-03-07 17:22:28 UTC
Using a git snapshot from trunk taken on 2014-02-04

those warnings are diplayed when running nautilus under valgrind

"==16215== Conditional jump or move depends on uninitialised value(s)
==16215==    at 0x49C92BF: ??? (in /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0.3000.5)
==16215==    by 0x49CB295: ??? (in /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0.3000.5)
==16215==    by 0x49CD9DC: ??? (in /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0.3000.5)
==16215==    by 0x49C1EBF: gdk_pixbuf_composite (in /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0.3000.5)
==16215==    by 0x424644E: apply_emblems (gtkicontheme.c:3618)
==16215==    by 0x4245EB5: icon_info_ensure_scale_and_pixbuf (gtkicontheme.c:3734)
==16215==    by 0x4249C48: gtk_icon_info_load_icon (gtkicontheme.c:3881)
==16215==    by 0x81188CE: nautilus_icon_info_lookup (nautilus-icon-info.c:442)
==16215==    by 0x8072C74: nautilus_canvas_view_container_get_icon_images (nautilus-canvas-view-container.c:117)
==16215==    by 0x80CE6FE: nautilus_canvas_container_update_icon (nautilus-canvas-container.c:5882)
==16215==    by 0x80CEFF0: nautilus_canvas_container_request_update (nautilus-canvas-container.c:6413)
==16215==    by 0x56183C5: ffi_call_SYSV (sysv.S:65)
==16215==    by 0x561814A: ffi_call (ffi.c:411)
==16215==    by 0x4D77308: g_cclosure_marshal_generic (gclosure.c:1445)
==16215==    by 0x4D755A3: g_type_class_meta_marshal (gclosure.c:961)
==16215==    by 0x4D76A7D: g_closure_invoke (gclosure.c:768)
==16215==    by 0x4D88C7F: signal_emit_unlocked_R (gsignal.c:3589)
==16215==    by 0x4D90962: g_signal_emit_valist (gsignal.c:3307)
==16215==    by 0x4D90BF2: g_signal_emit (gsignal.c:3363)
==16215==    by 0x80ABFBC: display_pending_callback (nautilus-view.c:3531)
==16215==    by 0x4E02BE0: g_timeout_dispatch (gmain.c:4472)
==16215==    by 0x4E020A6: g_main_context_dispatch (gmain.c:3064)
==16215==    by 0x4E02467: g_main_context_iterate.isra.24 (gmain.c:3734)
==16215==    by 0x4E02527: g_main_context_iteration (gmain.c:3795)
==16215==    by 0x4C8B56B: g_application_run (gapplication.c:2114)
==16215==    by 0x8067E2A: main (nautilus-main.c:104)
==16215== 


==16215== Invalid write of size 4
==16215==    at 0x47D9625: clip_and_composite_polygon (cairo-traps-compositor.c:1595)
==16215==    by 0x47D9D0D: _cairo_traps_compositor_fill (cairo-traps-compositor.c:2262)
==16215==    by 0x4773BED: _cairo_compositor_fill (cairo-compositor.c:203)
==16215==    by 0x47F6C6D: _cairo_xlib_surface_fill (cairo-xlib-surface.c:1646)
==16215==    by 0x47C44A4: _cairo_surface_fill (cairo-surface.c:2305)
==16215==    by 0x47C9FD4: _cairo_surface_offset_fill (cairo-surface-offset.c:239)
==16215==    by 0x47CAAEF: _cairo_surface_subsurface_fill (cairo-surface-subsurface.c:165)
==16215==    by 0x47C44A4: _cairo_surface_fill (cairo-surface.c:2305)
==16215==    by 0x477D40F: _cairo_gstate_fill (cairo-gstate.c:1317)
==16215==    by 0x477567D: _cairo_default_context_fill (cairo-default-context.c:1055)
==16215==    by 0x476DE7A: cairo_fill (cairo.c:2205)
==16215==    by 0x41F22FD: draw_shadow (gtkcssshadowvalue.c:517)
==16215==    by 0x41F385A: _gtk_css_shadow_value_paint_box (gtkcssshadowvalue.c:577)
==16215==    by 0x41F1993: _gtk_css_shadows_value_paint_box (gtkcssshadowsvalue.c:301)
==16215==    by 0x436529E: _gtk_theming_background_render (gtkthemingbackground.c:271)
==16215==    by 0x4368244: gtk_theming_engine_render_background (gtkthemingengine.c:1367)
==16215==    by 0x431C1DB: gtk_render_background (gtkstylecontext.c:3961)
==16215==    by 0x4195A81: gtk_button_draw (gtkbutton.c:1855)
==16215==    by 0x427C445: _gtk_marshal_BOOLEAN__BOXEDv (gtkmarshalers.c:130)
==16215==    by 0x43C03D6: gtk_widget_draw_marshallerv (gtkwidget.c:1009)
==16215==    by 0x4D75456: g_type_class_meta_marshalv (gclosure.c:988)
==16215==    by 0x4D76C39: _g_closure_invoke_va (gclosure.c:831)
==16215==    by 0x4D9007F: g_signal_emit_valist (gsignal.c:3215)
==16215==    by 0x4D90BF2: g_signal_emit (gsignal.c:3363)
==16215==    by 0x43CF6AD: _gtk_widget_draw_internal.part.62 (gtkwidget.c:6441)
==16215==    by 0x43D12A5: _gtk_widget_draw (gtkwidget.c:6573)
==16215==    by 0x41D6FB1: gtk_container_propagate_draw (gtkcontainer.c:3528)
==16215==    by 0x41D708C: gtk_container_draw (gtkcontainer.c:3363)
==16215==    by 0x427C445: _gtk_marshal_BOOLEAN__BOXEDv (gtkmarshalers.c:130)
==16215==    by 0x43C03D6: gtk_widget_draw_marshallerv (gtkwidget.c:1009)
==16215==  Address 0xbee2eac4 is on thread 1's stack
==16215== 
==16215== Invalid read of size 4
==16215==    at 0x47D63CF: composite_traps (cairo-traps-compositor.c:1098)
==16215==    by 0x47D86AE: clip_and_composite (cairo-traps-compositor.c:1049)
==16215==    by 0x47D965D: clip_and_composite_polygon (cairo-traps-compositor.c:1596)
==16215==    by 0x47D9D0D: _cairo_traps_compositor_fill (cairo-traps-compositor.c:2262)
==16215==    by 0x4773BED: _cairo_compositor_fill (cairo-compositor.c:203)
==16215==    by 0x47F6C6D: _cairo_xlib_surface_fill (cairo-xlib-surface.c:1646)
==16215==    by 0x47C44A4: _cairo_surface_fill (cairo-surface.c:2305)
==16215==    by 0x47C9FD4: _cairo_surface_offset_fill (cairo-surface-offset.c:239)
==16215==    by 0x47CAAEF: _cairo_surface_subsurface_fill (cairo-surface-subsurface.c:165)
==16215==    by 0x47C44A4: _cairo_surface_fill (cairo-surface.c:2305)
==16215==    by 0x477D40F: _cairo_gstate_fill (cairo-gstate.c:1317)
==16215==    by 0x477567D: _cairo_default_context_fill (cairo-default-context.c:1055)
==16215==    by 0x476DE7A: cairo_fill (cairo.c:2205)
==16215==    by 0x41F22FD: draw_shadow (gtkcssshadowvalue.c:517)
==16215==    by 0x41F385A: _gtk_css_shadow_value_paint_box (gtkcssshadowvalue.c:577)
==16215==    by 0x41F1993: _gtk_css_shadows_value_paint_box (gtkcssshadowsvalue.c:301)
==16215==    by 0x436529E: _gtk_theming_background_render (gtkthemingbackground.c:271)
==16215==    by 0x4368244: gtk_theming_engine_render_background (gtkthemingengine.c:1367)
==16215==    by 0x431C1DB: gtk_render_background (gtkstylecontext.c:3961)
==16215==    by 0x4195A81: gtk_button_draw (gtkbutton.c:1855)
==16215==    by 0x427C445: _gtk_marshal_BOOLEAN__BOXEDv (gtkmarshalers.c:130)
==16215==    by 0x43C03D6: gtk_widget_draw_marshallerv (gtkwidget.c:1009)
==16215==    by 0x4D75456: g_type_class_meta_marshalv (gclosure.c:988)
==16215==    by 0x4D76C39: _g_closure_invoke_va (gclosure.c:831)
==16215==    by 0x4D9007F: g_signal_emit_valist (gsignal.c:3215)
==16215==    by 0x4D90BF2: g_signal_emit (gsignal.c:3363)
==16215==    by 0x43CF6AD: _gtk_widget_draw_internal.part.62 (gtkwidget.c:6441)
==16215==    by 0x43D12A5: _gtk_widget_draw (gtkwidget.c:6573)
==16215==    by 0x41D6FB1: gtk_container_propagate_draw (gtkcontainer.c:3528)
==16215==    by 0x41D708C: gtk_container_draw (gtkcontainer.c:3363)
==16215==  Address 0xbee2eac4 is on thread 1's stack"
Comment 1 Uli Schlachter 2014-03-07 17:31:37 UTC

*** This bug has been marked as a duplicate of bug 52548 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.