Saturday, February 19, 2005

KDE Bug 97831

I've spent the last two weeks burrowing through the internals of KDE, the GNU/Linux desktop in an attempt to see from the inside how KDE development works. I´ve picked Bug 98930 to be my vehicle - a nasty crash during the shutdown of Kivio. Tracking down a bug is the best way to explore unfamiliar code and this bug took a lot a tracing. I´ve finally traced the cause to a race condition between KConfig XT and KLibFactory. I´ve verified the cause and posted a full analysis and demo patch - it will be interesting to see what the maintainer does with this information.