[Bug 720882] Re: Kmix causes my computer cpu to use 100% mainly in core 0, but both cores get affected.
billy shears
billy.shears at gmx.com
Sat Mar 12 20:39:18 UTC 2011
After some debugging I've found that it gets stuck in ViewSliders::_setMixSet() at line 184, here's the block of code:
foreach ( ProfControl* control, _guiprof->getControls() )
{
//ProfControl* control = *it;
// The TabName of the control matches this View name (!! attention: Better use some ID, due to i18n() )
bool isUsed = false;
QRegExp idRegexp(control->id);
//bool isExactRegexp = control->id.startsWith('^') && control->id.endsWith('$'); // for optimizing
//isExactRegexp &= ( ! control->id.contains(".*") ); // For now. Might be removed in the future, as it cannot be done properly !!!
//kDebug(67100) << "ViewSliders::setMixSet(): Check GUIProfile id==" << control->id << "\n";
// The following for-loop could be simplified by using a std::find_if
for ( int i=0; i<mixset.count(); i++ ) {
MixDevice *md = mixset[i];
if ( md->id().contains(idRegexp) )
the problem is that control->id is an absurd string (^stream:�\203\302\203�\202\302\203�\203\302\202�\202\302\203�\203\302\203�\202\302\202�\203\302\202 and so on, it's extremely long, the debugger didn't even display the whole string).
I didn't try to find when kmix creates the control with the wrong id.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdemultimedia in ubuntu.
https://bugs.launchpad.net/bugs/720882
Title:
Kmix causes my computer cpu to use 100% mainly in core 0, but both
cores get affected.
More information about the kubuntu-bugs
mailing list