xpad 4.9.0 segfaults when Prefs -> Layout -> use colors from theme is chosen

Bug #1710417 reported by somercet on 2017-08-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xpad
High
Arthur Borsboom

Bug Description

xpad-4.9.0 segfaults immediately when run.

I recompiled the package using the www.archlinux.org/packages/ PKGBUILD (installing intltool) and ran it under gdb(1). The backtrace is attached.

Steps to reproduce:

I am running an up-to-date Arch testing install, with X.org as the GUI, i3 window manager. I installed xpad-4.9.0-1 and ran it. The segfault occurs immediately without user input.

I moved ~/.config/xpad/ out of the way and re-ran xpad. It started properly. I then moved the content-XXX and info-XXX files from the old xpad rc dir into the new one, and it continued to work.

When I moved "old-xpad/default-style" into the new .config/xpad and ran it, it crashed again. I removed it, started xpad, and selected Prefs -> Layout -> Use colors from theme. It wrote a new default-style file and crashed immediately. I changed themes (using LXappearance) but it still crashed.

The old default-style file:

decorations 0
height 200
width 200
confirm_destroy 1
edit_lock 0
sticky_on_start 0
tray_enabled 1
tray_click_configuration 1
back NULL
use_back 0
text NULL
use_text 0
fontname NULL
toolbar 1
auto_hide_toolbar 1
scrollbar 1
buttons New, Delete, Separator, Cut, Copy, Paste, Separator, Undo, Redo
autostart_wait_systray 1
autostart_delay 0
autostart_new_pad 0
autostart_display_pads 2
hide_from_taskbar 0
hide_from_task_switcher 0

The new default-style file xpad wrote when I set "Use colors from theme" just before it crashed:

decorations 0
height 200
width 200
confirm_destroy 1
edit_lock 0
sticky_on_start 0
tray_enabled 1
tray_click_configuration 1
back NULL
use_back 0
text NULL
use_text 0
fontname NULL
toolbar 1
auto_hide_toolbar 1
scrollbar 1
buttons New, Delete, Separator, Cut, Copy, Paste, Separator, Undo, Redo
autostart_wait_systray 1
autostart_delay 0
autostart_new_pad 0
autostart_display_pads 2
hide_from_taskbar 0
hide_from_task_switcher 0

somercet (somercet) wrote :

Hi somercet,

Thanks for reporting this bug.
This bug is indeed introduced in Xpad 4.9 and has already been in Xpad 5.0, which will be released soon.

Changed in xpad:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Arthur Borsboom (arthurborsboom)
milestone: none → 5.0.0
somercet (somercet) wrote :

Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments