Bug 23697

Summary: swfdec_gtk_widget coredump randomly in directfb for cairo_surface destroyed
Product: swfdec Reporter: zevolo <wang.common>
Component: libraryAssignee: swfdec ml <swfdec>
Status: NEW --- QA Contact: swfdec ml <swfdec>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: backtrace of coredump

Description zevolo 2009-09-03 23:48:04 UTC
Created attachment 29200 [details]
backtrace of coredump

enviroment:
   --build gtk with directfb backend
   --swfdec.0.9.2
reproduce step:
   run swfplay, and sometimes crash.

backtrace:
   please refer to the attachment (swfdec.coredump.bt)

Anaysis:
   cairo_surface_t will be created in swfdec_gtk_widget_update_renderer when swfdec_gtk_widget_realize. But when gtk widget showing, it will cause the cairo_surface_t destroyed. Please refer to the attachment (swfdec.destroy.bt)

one proposal:
   remove the surface when resize, realize, etc. and initialize it in expose event. Please refer to attachment (swfdec_gtk_widget.c.diff)

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.