https://bugs.kde.org/show_bug.cgi?id=409574

Méven Car <meve...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |meve...@gmail.com
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from Méven Car <meve...@gmail.com> ---
There are two issues causing the bug, I believe :

What Christopher said, we can see the 5 seconds futex timeout :

14498 13:05:27.346112 futex(0x55638e72d680, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4,
tv_nsec=999998802} <unfinished ...>
14499 13:05:27.346137 poll([{fd=3, events=POLLIN}], 1, -1 <unfinished ...>
14498 13:05:32.346393 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed
out) <5.000231>
14498 13:05:32.346666 futex(0x55638e72d630, FUTEX_WAKE_PRIVATE, 1) = 0
<0.000097>

The futex lock seems to be in ki18n loading, because prior to this mutex loop
invocation we have :
14498 13:05:27.341563 statx(AT_FDCWD,
"/usr/share/locale/en/LC_SCRIPTS/kio5/kio5.js", AT_STATX_SYNC_AS_STAT,
STATX_ALL, 0x7ffcb000c4d0) = -1 ENOENT (No such file or directory) <0.000012>

That is clearly originating from klocalizedstring.cpp and this file deels with
QMutex.

The lines :

4498 13:05:35.209272 read(10,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0log1.txt\0\0\0\0\0\0\0\0", 32) = 32
<0.000008>
14498 13:05:35.209317 poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN},
{fd=10, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLPRI},
{fd=13, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21,
events=POLLIN}, {fd=22, events=POLLIN}], 10, 104) = 1 ([{fd=10,
revents=POLLIN}]) <0.000009>
14498 13:05:35.209395 ioctl(10, FIONREAD, [32]) = 0 <0.000007>

Could be due to mimetype determination or metadata gathering going wrong,
reading a whole file when it fails or errors.
I haven't yet investigated into it as much as the first issue.

I reproduce at least one of the two issues, but I don't know which one yet.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to