equalx 0.7.1 segmentation fault when config from 0.6 present

Bug #1318130 reported by Dariusz Dwornikowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EqualX
Confirmed
Medium
Unassigned

Bug Description

I am preparing a new package version for Debian with 0.7.1 release. After compiling equalx, it gives seg fault, when configs are present from the 0.6 version. When I deleted ~.config/equalx/ and ~/.equalx/ directories - it works. A part of strace is presented below.

I have: qt 5.2.1+dfsg-3

stat("/home/tdi/.config/equalx/settings.conf", {st_mode=S_IFREG|0644, st_size=633, ...}) = 0
lstat("/home/tdi/.config/equalx.conf", 0x7fff8d4cdd90) = -1 ENOENT (No such file or directory)
open("/home/tdi/.config/equalx.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/tdi/.config/equalx.conf", 0x7fff8d4cdde0) = -1 ENOENT (No such file or directory)
stat("/home/tdi/.config/equalx.conf", 0x7fff8d4cddd0) = -1 ENOENT (No such file or directory)
lstat("/etc/xdg/equalx/settings.conf", 0x7fff8d4cdd90) = -1 ENOENT (No such file or directory)
open("/etc/xdg/equalx/settings.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/etc/xdg/equalx/settings.conf", 0x7fff8d4cdde0) = -1 ENOENT (No such file or directory)
stat("/etc/xdg/equalx/settings.conf", 0x7fff8d4cddd0) = -1 ENOENT (No such file or directory)
lstat("/etc/xdg/equalx.conf", 0x7fff8d4cdd90) = -1 ENOENT (No such file or directory)
open("/etc/xdg/equalx.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/etc/xdg/equalx.conf", 0x7fff8d4cdde0) = -1 ENOENT (No such file or directory)
stat("/etc/xdg/equalx.conf", 0x7fff8d4cddd0) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

summary: - equalx 0.7.1 segmentation fault
+ equalx 0.7.1 segmentation fault when config from 0.6 present
description: updated
description: updated
Revision history for this message
Mihai Niculescu (q-quark) wrote :

I know about this problem. Can you make your package so that it automatically removes the settings file ?

Changed in equalx:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.