Bug 23697 - swfdec_gtk_widget coredump randomly in directfb for cairo_surface destroyed
Summary: swfdec_gtk_widget coredump randomly in directfb for cairo_surface destroyed
Status: NEW
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium major
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 23:48 UTC by zevolo
Modified: 2009-09-03 23:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
backtrace of coredump (2.41 KB, application/x-compressed-tar)
2009-09-03 23:48 UTC, zevolo
Details

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.