Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907990 - x11-terms/rxvt-unicode-9.31-r1[wide-glyphs] segfaults
Summary: x11-terms/rxvt-unicode-9.31-r1[wide-glyphs] segfaults
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 09:22 UTC by Mamadou Babaei
Modified: 2023-06-07 12:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mamadou Babaei 2023-06-07 09:22:04 UTC
OK, since my last emerge -auDN @world urxvt keeps crashing on me on certain situations.

For example, if I change my keyboard layout to Farsi and type anything it crashes!

Also, if I for example open neovim in one tab and move to another tab and move back it crashes!

It's really weird. Masking x11-terms/rxvt-unicode-9.31-r1 and reverting back to 9.31 works as expected.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-07 09:23:27 UTC
Could you include emerge --info, and ideally a backtrace (see https://wiki.gentoo.org/wiki/Debugging#Per-package)? Thanks.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-07 09:29:31 UTC
(To be explicit, the difference between -r0 and -r1 is:

commit 1aa65552501b171eb6d36cf702fcc2755e8333d3
Author: Marek Szuba <marecki@gentoo.org>
Date:   Thu Mar 30 10:05:39 2023 +0100

    x11-terms/rxvt-unicode: add IUSE=wide-glyphs

    Another fine import from Arch.

    Suggested-by: Marek Behún <kabel@kernel.org>
    Closes: https://github.com/gentoo/gentoo/pull/30354
    Signed-off-by: Marek Szuba <marecki@gentoo.org>)
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2023-06-07 10:04:05 UTC
Mamadou, have you emerged 9.31-r1 with or without USE=wide-glyphs?
Comment 4 Mamadou Babaei 2023-06-07 12:17:59 UTC
Thank you Marek!

I've just rebuilt it using your suggestion and it seems to work. I'll report back if I see the issue again.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-07 12:18:55 UTC
(In reply to Mamadou Babaei from comment #4)
> Thank you Marek!
> 
> I've just rebuilt it using your suggestion and it seems to work. I'll report
> back if I see the issue again.

Which were you using before?
Comment 6 Mamadou Babaei 2023-06-07 12:19:37 UTC
It was enabled.
Comment 7 Mamadou Babaei 2023-06-07 12:20:06 UTC
Now, I have it disabled and it works it seems.
Comment 8 Marek Szuba (RETIRED) archtester gentoo-dev 2023-06-07 12:23:52 UTC
Mid-air collision with both of you :-) Thanks for clarifying, I was worried the wide-glyph patch had the same problem as the 24-bit-colour one i.e. could not be completely disabled at configure time - in which case we would have to apply it conditionally as well.

However, seeing as the crashes appear to be specific to wide-glyph functionality  there isn't much to do.
Comment 9 Mamadou Babaei 2023-06-07 12:27:08 UTC
I remember 24-bit-colour having issues so I had that disabled for a while and it seems to be OK for now. I did apply both use flags together. Could it be because of that?
Comment 10 Mamadou Babaei 2023-06-07 12:27:27 UTC
$ emerge -avt x11-terms/rxvt-unicode

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
Dependency resolution took 1.82 s.

[ebuild   R    ] x11-terms/rxvt-unicode-9.31-r1::gentoo  USE="24-bit-color 256-color blink fading-colors font-styles gdk-pixbuf iso14755 mousewheel perl startup-notification unicode3 xft -wide-glyphs" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
Comment 11 Larry the Git Cow gentoo-dev 2023-06-07 12:31:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba23fa56669f404526c4f3c0839e1ae96afcbe70

commit ba23fa56669f404526c4f3c0839e1ae96afcbe70
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-06-07 12:29:37 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-06-07 12:31:33 +0000

    x11-terms/rxvt-unicode: mention potential stability issues in USE=wide-glyphs description
    
    With thanks to Mamadou Babaei for having reported his problems with this feature.
    
    Bug: https://bugs.gentoo.org/907990
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 x11-terms/rxvt-unicode/metadata.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 12 Marek Szuba (RETIRED) archtester gentoo-dev 2023-06-07 12:35:38 UTC
(In reply to Mamadou Babaei from comment #9)

> I remember 24-bit-colour having issues so I had that disabled for a while
> and it seems to be OK for now. I did apply both use flags together. Could it
> be because of that?

Hard to say but personally, I suspect the problem lies with wide-glyph support not having been tested with right-to-left languages.