! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-screenshooter-1.7.9: Segmentation fault when no configuration file present
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-screenshooter
Component:
General

Comments

Description Thomas 2010-05-20 21:10:07 CEST
Created attachment 2987 
don't call xfce_rc_close if rc == null

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

The patch provided fixes the problem.
Comment 1 Jérôme Guelfucci editbugs 2010-05-21 08:19:52 CEST
Thanks a lot for your fix, I just applied it to the master branch. It'll be available in the next stable 1.8.0 release.

Bug #6460

Reported by:
Thomas
Reported on: 2010-05-20
Last modified on: 2010-05-21

People

Assignee:
Jérôme Guelfucci
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information