Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300638 - x11-terms/rxvt-unicode: randomly hangs on scrolling text
Summary: x11-terms/rxvt-unicode: randomly hangs on scrolling text
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 22:31 UTC by Rafał Mużyło
Modified: 2020-12-07 17:23 UTC (History)
2 users (show)

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


Attachments
emerge --info rxvt-unicode (urxvt-info,5.19 KB, text/plain)
2010-01-11 22:57 UTC, Rafał Mużyło
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2010-01-11 22:31:00 UTC
This problem carries on for a few years, across several
versions of urxvt, xorg-server, gcc and other packages.

Upstream has just given me a firm FU (dismissing it as a Gentoo bug).
I hope I'll get a better answer here.
The problem is hard to reproduce, as it seems random - it doesn't happen
every time and I'm not 100% sure what causes it.

Every now and then, when scrolling through a large text,
terminal hangs - that is it stops being redrawn, if I switch to a different
desktop, whole window (including scrollbar) turns black
and has to be xkilled (cause it can't be closed otherwise).

I think it's related to CJK glyphs, but can't say for sure.

Could somebody give me a hint what should I do to provide some data
for this bug if such hang happens ?
Comment 1 Rafał Mużyło 2010-01-11 22:50:10 UTC
What may matter is that I use a freetype font,
as I don't like bitmap ones for several reasons.

The setting is:
URxvt.font: xft:monospace:pixelsize=18

no other custom settings, IIRC.
Comment 2 Rafał Mużyło 2010-01-11 22:57:40 UTC
Created attachment 216139 [details]
emerge --info rxvt-unicode

In hope it helps.
Most of it won't be very helpful, as it's been happening several versions of gcc, glibc, etc. back.
Comment 3 Rafał Mużyło 2010-01-11 23:08:09 UTC
As I mentioned on IRC, it seems to happen most of
the time either in midnight commander F3 view
or in mutt when scrolling very fast the mail list
(I've got a fairly long one).

But it doesn't happen every time and mc can view CJK files just fine
most of the time.
Comment 4 Rafał Mużyło 2010-03-25 00:57:35 UTC
I've looked on the configure.ac and added '--enable-warnings'
to see compiler warnings...
Well, as that hang was random, I can't tell for sure,
but it may be, that the answer to the problem
is simply '-fno-strict-aliasing', as it seems libev
(one of more important elements of rxvt-unicode, it seems)
was designed to be broken otherwise (at least for C++ and gcc 4.x).

Would be nice, if there would be a simple way to verify it,
but I can't think of one.
Comment 5 Jesse Adelman 2011-09-19 17:48:35 UTC
Perhaps try to run it under strace -f -ff or ltrace, and see what it is doing when it "hangs"?
Comment 6 Marek Szuba archtester gentoo-dev 2020-12-07 17:23:33 UTC
Presumably fixed some time within the last 9 years.