Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76921 - [default-cursors] Version 2-1 causes segfaults for Brave and Signal

Attached to Project: Arch Linux
Opened by Stephan Windmüller (windy) - Friday, 23 December 2022, 19:46 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 28 December 2022, 22:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading to default-cursors 2-1, the Brave browser stopped working:

$ brave
[...]
[1] 5598 segmentation fault (core dumped) brave


The same happens for signal-desktop:

$ signal-desktop
[...]
[1] 5947 segmentation fault (core dumped) signal-desktop


After downgrading to 1-1, both packages work fine again.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 28 December 2022, 22:01 GMT
Reason for closing:  Works for me
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Friday, 23 December 2022, 23:19 GMT
Please post a backtrace with symbols [1] so we can see what's going on.

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod
Comment by Stephan Windmüller (windy) - Saturday, 24 December 2022, 13:22 GMT
Core was generated by `/usr/lib/signal'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fb1370b4ff5 in __GI___realpath (name=0x7fb1301fec89 "/usr/share/icons", resolved=0x7fb1301fdbd0 '\252' <repeats 200 times>...) at canonicalize.c:427
427 {
[Current thread is 1 (Thread 0x7fb1309fc6c0 (LWP 4054))]
(gdb) bt full
#0 0x00007fb1370b4ff5 in __GI___realpath (name=0x7fb1301fec89 "/usr/share/icons", resolved=0x7fb1301fdbd0 '\252' <repeats 200 times>...) at canonicalize.c:427

bufs = {rname = {data = 0x0, length = 0, __space = {__align = {__max_align_ll = 0, __max_align_ld = 0}, __c = '\000' <repeats 328 times>...}}, extra = {data = 0x0, length = 0, __space = {__align = {__max_align_ll = 0, __max_align_ld = 0}, __c = '\000' <repeats 152 times>, "uS\v7\261\177\000\000\000\000\000\000\000\000\000\000\340\340\037\060\261\177\000\000\200\330\037\060\261\177\000\000\252\361\037\060\261\177\000\000\253\361\037\060\261\177\000\000"...}}, link = {data = 0x0, length = 140398993335360, __space = {__align = {__max_align_ll = 140398993333216, __max_align_ld = <invalid float value>}, __c = "\340\333\037\060\261\177\000\000\n\365\037\060\261\177\000\000\v\365\037\060\261\177\000\000\342\327\037\060\261\177\000\000\000\000\000\000\000\000\000\000\300\327\037\060\261\177\000\000\360\337\037\060\261\177\000\000\000\000\000\000\000\000\000\000\320\327\037\060\261\177\000\000\000\004\000\000\000\000\000\000/usr/share/pixmaps", '\000' <repeats 142 times>...}}}
result = <optimized out>
#1 0x000055e6c0795b67 in ()
#2 0xaaaaaaaaaaaaaaaa in ()
#3 0xaaaaaaaaaaaaaaaa in ()
[...]
Comment by Toolybird (Toolybird) - Monday, 26 December 2022, 01:03 GMT
Thanks, but as expected not much to go on in there. I cannot repro with either signal or brave in a fresh VM. What DE/WM environment is this? What gtk theme related settings? In other words, we need to know the exact conditions and steps in order to reproduce the crash.
Comment by Stephan Windmüller (windy) - Tuesday, 27 December 2022, 12:21 GMT
I am using Cinnamon 5.6.0 (meta-package 5.6.5). The themes are:

Cursor: Default
Applications: Mint-Y
Symbols: Mint-Y-Dark
Desktop: Mint-Y-Dark

The themes can be installed with the AUR packages "mint-themes" and "mint-y-icons".
Comment by Toolybird (Toolybird) - Tuesday, 27 December 2022, 22:46 GMT
Ok, still can't repro even after setting up exactly with those components. Seeing as there are no other reports about this, there must be something else interfering with your system. Do you have a "foreign" or self compiled gtk3 or something like gtk3-classic installed?
Comment by Stephan Windmüller (windy) - Wednesday, 28 December 2022, 10:26 GMT
No, I have neither a self-compiled version of gtk3 nor gtk3-classic installed.

Would a list of installed packages help? However, I would rather sent it privately via e-mail or attach an encrypted version of the list.
Comment by Stephan Windmüller (windy) - Wednesday, 28 December 2022, 10:49 GMT
I just created a new account with an empty home directory. This does not show the segfault, signal-desktop starts without problems.

So it looks like some configuration for my user. Is there anything I can try or some config I can try to sync between the accounts?
Comment by Toolybird (Toolybird) - Wednesday, 28 December 2022, 22:01 GMT
> I just created a new account with an empty home directory. This does not show the segfault, signal-desktop starts without problems.

So this confirms it's not an Arch packaging issue. Maybe use "strace" to figure out where the bad config is? You could also try the support channels (forum/IRC/etc) to see if anyone else can assist with debugging.

Loading...