[Users] [Bug 2656] crash: claws-mail assert failure when using SSL or STARTTLS with SMTP

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Apr 15 02:55:53 CEST 2013


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2656

--- Comment #15 from dev at diy-biogas.eu ---
>Claws Mail does not call cairo_surface_set_device_offset()
true, it's gdk_window_begin_paint_region ()

#4  0x00bf4147 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
#5  0x00705f0a in cairo_surface_set_device_offset ()
   from /usr/lib/i386-linux-gnu/libcairo.so.2
#6  0x00615194 in gdk_window_begin_paint_region ()
   from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#7  0x002ac0f3 in gtk_main_do_event ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#8  0x0061a2bf in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#9  0x0064ccd3 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#10 0x00614dc4 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#11 0x00617218 in gdk_window_process_updates ()
   from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#12 0x08267a7c in gtkut_widget_draw_now (widget=0x850fa58) at gtkutils.c:661

The problem is not in cairo_surface_set_device_offset(). The state is
already corrupt before. And before this function is called, pretty much
anything could be going on.

One start for debugging is to add 

  cairo_matrix_t m = surface->device_transform;
  cairo_status_t status = cairo_matrix_invert(&m);
  assert(status == CAIRO_STATUS_SUCCESS);

to gtkut_widget_draw_now () before 569:

 gdk_window_process_updates(gtk_widget_get_window(widget), FALSE);

as this is essentially what cairo_surface_set_device_offset() does when it
fails.
(http://git.claws-mail.org/?p=claws.git;a=blob;f=src/gtk/gtkutils.c#l656)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list