Some time ago xnecview, which I used to use regularly on this system, after some upgrade or other started crashing with the error: (xnecview:77768): Gdk-CRITICAL **: IA__gdk_window_set_back_pixmap: assertion `pixmap == NULL || gdk_drawable_get_depth (window) == gdk_drawable_get_depth (pixmap)' failed This is repeatable on any NEC output, including old NEC output I had lying around from the days when I used xnecview regularly. Fix: The attached patch fixes the issue. It is taken from a Debian bug fix I found in their bug tracker, dated 2008: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484725 This patch completely fixes the issue I have observed, and all my old NEC files (including the one in the "How To Repeat" section above) are viewable after the patch. Patch attached with submission follows: How-To-Repeat: Run xnecview on any valid NEC input file, such as ----CUT----- CM EXAMPLE 3. VERTICAL HALF WAVELENGTH ANTENNA OVER GROUND CM EXTENDED THIN WIRE KERNEL USED CM 1. PERFECT GROUND CM with phased vertical some distance away CE PATTERN CALCULATIONS GW 0 9 0.0 0.0 2.0 0.0 0.0 7.0 0.00051 GW 1 9 2.5 0.0 2.0 2.5 0.0 7.0 0.00051 GE 0 EX 0 0 5 0 1.0 0.0 0.0 0.0 EX 0 1 5 0 -1.0 1.e-16 0.0 0.0 GN 2 0 0 0 13.0 .002 0.0 0.0 FR 0 1 0 0 30.0 0.0 0.0 0.0 EN -----CUT------ The program will put up a blank window, and will crash if any interaction is attempted.
Responsible Changed From-To: freebsd-ports-bugs->xride Over to maintainer (via the GNATS Auto Assign Tool)
xride 2011-04-13 19:49:39 UTC FreeBSD ports repository Modified files: comms/xnecview Makefile Added files: comms/xnecview/files patch-xwin.c Log: Fixed Gdk-CRITICAL error PR: ports/155255 Submitted by: Tom Russo <russo@bogodyn.org> Revision Changes Path 1.14 +1 -1 ports/comms/xnecview/Makefile 1.4 +80 -0 ports/comms/xnecview/files/patch-xwin.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, Thanks