Wireshark-bugs: [Wireshark-bugs] [Bug 9179] wireshark 1.10.2 32 bit SVN 51934 voip flow graph cr
Date: Mon, 24 Mar 2014 12:47:14 +0000

Comment # 9 on bug 9179 from
(In reply to comment #8)
> (In reply to comment #7)
> > Looks like this is considered a bug in cairo.
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741470
> > 
> > Is it possible to track down which line in Wireshark causes the crash?
> > 
> > If it's this code in graph_analysis.c
> > 	/* XXX can't we just set the background color ? */
> > 	GdkPixbuf *bg_pixbuf;
> > 
> > 	/* Dashed line pattern */
> > 	static const double dashed1[] = {5.0, 4.0};
> > 	static int len1  = sizeof(dashed1) / sizeof(dashed1[0]);
> > 
> > 	GtkAllocation draw_area_time_alloc, draw_area_alloc,
> > draw_area_comments_alloc;
> > 
> > 	if(!user_data->dlg.needs_redraw) {
> > 		return;
> > 	}
> > 
> > 	bg_pixbuf =  gdk_pixbuf_new_from_xpm_data(voip_bg_xpm);
> > 	user_data->dlg.needs_redraw = FALSE;
> > :
> > gdk_cairo_set_source_pixbuf (cr, bg_pixbuf, 0, 0);
> > 
> > It might be possible to just set the backround color as the comment suggests
> > which would simplify the code. If some one want's to try that...
> 
> 
> 
> Good afternoon
> Which part/lines would you comment out? I can test it rebuilding package
> with pbuilder quickly
> Thanks
> -- -
> Marc Leurent

You can try this commit and se if it helps.
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d35a4e82849354ec61dc0600938bb560fd57bfa3

Regards
Anders


You are receiving this mail because:
  • You are watching all bug changes.