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

Romain Bazile <grom...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|kfile                       |kdialog
          Component|general                     |general
            Version|unspecified                 |1.0

--- Comment #3 from Romain Bazile <grom...@hotmail.com> ---
I changed the concerned module. The problem can be reproduced by calling
'kdialog  --getopenfilename'.
Also, I ran an strace on the call.
A lot of calls are made and are all the same.

More specifically this sequence is repeated continuously:
ioctl(10, FIONREAD, [32])               = 0 <0.000021>
read(10, "\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0logkdialog2\0\0\0\0\0", 32) = 32
<0.000023>
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable) <0.000023>
poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN},
{fd=8, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13,
events=POLLPRI}, {fd=14, events=POLLIN}, {fd=16, events=POLLIN}, {fd=17,
events=POLLIN}, {fd=18, events=POLLIN}], 11, 0) = 1 ([{fd=10, revents=POLLIN}])
<0.000028>
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable) <0.000022>


If the calls are counted I get this results:
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 30.91    0.000017           0      1213       821 recvmsg
 27.27    0.000015           8         2           wait4
 20.00    0.000011           0      2099       206 stat
 10.91    0.000006           0       652           fstat
 10.91    0.000006           0      2806      1650 access

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

Reply via email to