[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    dbus_connection_send_with_reply_and_block eats 100% CPU then eventually times out
From:       Alex Brooks <a.brooks () marathon-targets ! com>
Date:       2015-01-31 4:04:42
Message-ID: 54CC545A.1010603 () marathon-targets ! com
[Download RAW message or body]

Hi,

I've been fighting for a long time with what now looks like a libdbus bug.
I have a cut-down test program which calls a dbus method of 
wpa_supplicant at 100Hz, it does this happily for several hours then at 
some point the behaviour changes: any future calls sit at 100% CPU for 
25sec then time out.
I don't think the problem is on the wpa_supplicant side: other clients 
can simultaneously make this call without any problems, and restarting 
the client fixes it.
[I'm running at 100Hz because the faster I run this loop, the faster it 
reproduces the problem.  CPU load sits below 20% before I hit the bug].

I posted details and a sample program as a Qt bug report (I'm using the 
QDBus wrapper and thought it might be a Qt bug initially):
https://bugreports.qt.io/browse/QTBUG-43550

Does anyone have any thoughts?


Thanks,

Alex

_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic