[Swfdec] [Bug 23697] New: swfdec_gtk_widget coredump randomly in directfb for cairo_surface destroyed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 3 23:48:05 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23697

           Summary: swfdec_gtk_widget coredump randomly in directfb for
                    cairo_surface destroyed
           Product: swfdec
           Version: unspecified
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: library
        AssignedTo: swfdec at lists.freedesktop.org
        ReportedBy: wang.common at gmail.com
         QAContact: swfdec at lists.freedesktop.org


Created an attachment (id=29200)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29200)
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)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Swfdec mailing list