Project

General

Profile

Bug #2236

[lxappearance-gtk3]: segfault

daniel-molina - about 5 years ago - . Updated over 3 years ago.

Status:
forwarded upstream
Priority:
bug
Assignee:
-
% Done:

0%


Description

Just executing the program it returns a segfault

$ lxappearance
Segmentation fault (core dumped)

History

#1

Updated by bill-auger about 5 years ago

it runs fine for me - maybe you may have a theme or some mouse cursors that are borked

normally i would suggest to try making a new user; but didnt you just install this yesterday?

#2

Updated by daniel-molina about 5 years ago

Yes, installed the system just some days ago.
I run it with gdb:

(gdb) run
Starting program: /usr/bin/lxappearance 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff3d5f700 (LWP 2295)]
[New Thread 0x7ffff355e700 (LWP 2296)]

Thread 1 "lxappearance" received signal SIGSEGV, Segmentation fault.
0x00007ffff6facc70 in cairo_surface_get_content () from /usr/lib/libcairo.so.2
(gdb) backtrace 
#0  0x00007ffff6facc70 in cairo_surface_get_content ()
    at /usr/lib/libcairo.so.2
#1  0x00007ffff77f0dbe in gdk_pixbuf_get_from_surface ()
    at /usr/lib/libgdk-3.so.0
#2  0x00007ffff2ce843d in preview_theme ()
    at /usr/lib/lxappearance/plugins/obconf.so
#3  0x00007ffff2ce8b66 in preview_update_all ()
    at /usr/lib/lxappearance/plugins/obconf.so
#4  0x00007ffff2ce9329 in theme_load_all ()
    at /usr/lib/lxappearance/plugins/obconf.so
#5  0x00007ffff2ce6cc2 in plugin_load ()
    at /usr/lib/lxappearance/plugins/obconf.so
#6  0x000055555555d301 in plugins_init ()
#7  0x0000555555559348 in main ()
#3

Updated by bill-auger over 3 years ago

  • Status changed from unconfirmed to confirmed
  • Subject changed from lxappearance segfault to [lxappearance-gtk3]: segfault

i believe that this is confirmed now - the segfault is with 'lxappearance-gtk3', not 'lxappearance'

#4

Updated by bill-auger over 3 years ago

  • Status changed from confirmed to forwarded upstream
#5

Updated by bill-auger over 3 years ago

for a work-around, until this is fixed, uninstall 'lxappearance-obconf-gtk3'

# pacman -R lxappearance-obconf-gtk3
#6

Updated by bill-auger over 3 years ago

backtrace with debugging symbols:

(gdb) run
Starting program: /usr/bin/lxappearance 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Detaching after fork from child process 20185]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6e4dfe0 in cairo_surface_get_content () from /usr/lib/libcairo.so.2
(gdb) bt
#0  0x00007ffff6e4dfe0 in cairo_surface_get_content () at /usr/lib/libcairo.so.2
#1  0x00007ffff7739d1c in gdk_pixbuf_get_from_surface () at /usr/lib/libgdk-3.so.0
#2  0x00007ffff5b14692 in preview_theme () at /usr/lib/lxappearance/plugins/obconf.so
#3  0x00007ffff5b14f56 in preview_update_all () at /usr/lib/lxappearance/plugins/obconf.so
#4  0x00007ffff5b15707 in theme_load_all () at /usr/lib/lxappearance/plugins/obconf.so
#5  0x00007ffff5b12d04 in plugin_load () at /usr/lib/lxappearance/plugins/obconf.so
#6  0x000055555555d3a9 in plugins_init (builder=0x55555582ec60) at plugin.c:62
#7  0x0000555555559372 in main (argc=<optimized out>, argv=<optimized out>) at lxappearance.c:670
(gdb)

the segfault goes away, after uninstalling 'lxappearance-obconf-gtk3'

when 'lxappearance-obconf-gtk3' is compiled with the PKGBUILD (same version), the backtrace is different

(gdb) run
Starting program: /usr/bin/lxappearance 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Detaching after fork from child process 26979]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6e4dfe0 in cairo_surface_get_content () from /usr/lib/libcairo.so.2
(gdb) bt
#0  0x00007ffff6e4dfe0 in cairo_surface_get_content () at /usr/lib/libcairo.so.2
#1  0x00007ffff7739d1c in gdk_pixbuf_get_from_surface () at /usr/lib/libgdk-3.so.0
#2  0x00007ffff5b14692 in preview_menu (theme=0x555555c26040) at src/preview.c:152
#3  preview_theme
    (name=<optimized out>, titlelayout=0x555555a7bdd0 "NLIMC", active_window_font=<optimized out>, inactive_window_font=<optimized out>, menu_title_font=<optimized out>, menu_item_font=<optimized out>, osd_active_font=0x555555b37b20, osd_inactive_font=0x5555558dff20) at src/preview.c:835
#4  0x00007ffff5b14f56 in preview_update_all () at src/preview_update.c:60
#5  0x00007ffff5b15707 in theme_load_all () at src/theme.c:242
#6  0x00007ffff5b12d04 in plugin_load (app=<optimized out>, lxappearance_builder=<optimized out>)
    at src/main.c:231
#7  0x000055555555d3a9 in plugins_init (builder=0x55555581cc60) at plugin.c:62
#8  0x0000555555559372 in main (argc=<optimized out>, argv=<optimized out>) at lxappearance.c:670
(gdb)

$ pkgfile /usr/lib/libcairo.so.2
extra/cairo

$ pkgfile /usr/lib/libgdk-3.so.0
extra/gtk3

#7

Updated by bill-auger over 3 years ago

for some reason, the arch BR was closed - i dont know why; because the bug is still present, and the package is still useless

libre/lxappearance-obconf-gtk3 0.2.3-.parabola1 fixes this for parabola; and 'lxappearance-obconf-gtk3' is added to the blacklist - i sent patches upstream and requested that the arch BR be re-opened - will leave this BR open for now

'lxappearance-obconf-gtk3' should be removed from the blacklist eventually, and the [libre] package deleted

Also available in: Atom PDF