Segmentation fault on launch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxappearance (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 21.04 (Canonical Gnome Desktop not flavour). Installed openbox (3.6.1-9+deb11u1) and lxappearance (0.6.3-1) from standard repos.
Launching immediately segfaults.
Rebuilding the package still segfaults.
It seems to be having issues parsing:
/usr/
/usr/
These files look normal and have correct permissions.
I added a small hack to src/icon-theme.c to ignore these files and lxappearance now works correctly but is missing these themes.
########### BACKTRACE FROM GDB
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff791179d in ?? () from /lib/x86_
(gdb) b
Breakpoint 1 at 0x7ffff791179d
(gdb) backtrace
#0 0x00007ffff791179d in () at /lib/x86_
#1 0x00007ffff7911cc1 in () at /lib/x86_
#2 0x00007ffff7911f41 in () at /lib/x86_
#3 0x00007ffff7912079 in g_key_file_
#4 0x000055555555d5d4 in load_icon_
(base_
#5 0x000055555555d92a in load_icon_themes () at icon-theme.c:125
#6 icon_theme_init (b=b@entry=
#7 0x000055555555ab0e in main (argc=<optimised out>, argv=<optimised out>) at lxappearance.c:663
########### HACK TO FIX ISSUE
--- lxappearance-
+++ lxappearance-
@@ -81,7 +81,15 @@ void load_icon_
+ // printf("%s\n", index_theme);
+ if (strcmp(
+ continue;
+
+ if (strcmp(
+ continue;
+
{
tags: | added: hirsute |