[Bug 159588] Weird behaviour on KMix start in KDE4 when started with the session

Thiago Macieira thiago at kde.org
Sun May 18 21:18:51 BST 2008

Christian Esken wrote:
>Am Samstag, 17. Mai 2008 schrieb Thiago Macieira:
>> Christian Esken wrote:
>> >read(3,
>> > "l\2\1\1\n\0\0\0\7\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.19\0\0\0"..., 2048)
>> > = 90 read(3, 0x61bdb0, 2048)                 = -1 EAGAIN (Resource
>> > temporarily unavailable) writev(3,
>> > [{"l\1\0\1\0\0\0\0\7\0\0\0{\0\0\0\1\1o\0\20\0\0\0/MainApp"..., 144},
>> > {"", 0}], 2) = 144 poll([{fd=3, events=POLLIN}], 1, 25000) = ?
>> > ERESTART_RESTARTBLOCK (To be restarted)
>> >
>> >My guess was that it is related to KMix being a "KUniqueApplication"
>> > or KMix accesing the global keyboard shorcut service. It's hard to
>> > find, as it only happens during session start. Does anybody has a
>> > idea what is going on, or how to debug this?
>> Can you run this again with -s 2048? If you can include timestamps
>> too, it would be great.
>OK, here we go: Available at
> https://bugs.kde.org/attachment.cgi?id=24828&action=view

Both traces in that attachment are identical, except for the PID of the 
forked process on line 588. If it weren't for that, I'd have said that 
someone attached the same file twice by mistake.

They both indicate a fork(), a connection to D-Bus, setup, a call to the 
new application then a call to newInstance.

Without timestamps there's no way of telling whether there was a pause or 

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080518/a861615e/attachment.sig>

More information about the kde-core-devel mailing list