When xfce4-screenshooter is started by a user for the first time (i. e. without configuration file), it terminates immediately with a Segmentation fault. When libxfce4util-4.7.1 is installed, it does not crash, but libxfce4util complains about a failed assertion: (xfce4-screenshooter:23878): libxfce4util-CRITICAL **: xfce_rc_close: assertion `rc != NULL' failed Reproducible: Always Steps to Reproduce: 1. rm .config/xfce4/xfce4-screenshooter 2. xfce4-screenshooter 3. -> Segmentation fault Actual Results: Segmentation fault Expected Results: The configuration dialog is started.
Hi, Can you please file a bug report upstream at http://bugzilla.xfce.org/ ?
Created attachment 232283 [details, diff] don't call xfce_rc_close if rc == null This patch fixes the problem
(In reply to comment #1) > Hi, Can you please file a bug report upstream at http://bugzilla.xfce.org/ ? > Sure. Could you add the patch to the gentoo patches for xfce4-screenshooter in the meantime? TNX.
+*xfce4-screenshooter-1.7.9-r1 (23 May 2010) + + 23 May 2010; Christoph Mende <angelos@gentoo.org> + +xfce4-screenshooter-1.7.9-r1.ebuild, + +files/xfce4-screenshooter-1.7.9-fix-segfault-at-startup.patch: + Fix segfaults at first startup (bug #320789), thanks to Thomas
Thank you for integrating the patch so quickly. -r1 works fine on amd64, i think you can stabilize it. (Well, the patch is simple enough. ;-)