Hello,<br><br>SUMMARY:<br>libdbus-1.dll was causing errors in all kde applications, until I ran 'emerge dbus-src', which fixed it, I think.<br><br>DETAIL:<br>I've been building kde applications with emerge. All the applications built (at least, the ones I tried to run) would cause a "Runtime Error!" [1] dialog to pop up. Once I clicked ok on the dialog, the application would be terminated.
<br>By moving a "while (1) ;" loop around in the code I finally determined that the problem was caused in or below the function dbus_bus_get_private() in libdbus-1.dll. Unfortunately I couldn't find the source code for this dll on my machine so I couldn't dig any deeper. I found the target "dbus-src" in emerge\portage... and decided to try it. And the problem went away! (Note: I only tried kpercentage and kstars.) This was last night.
<br>Decided to verify this overnight, since I had messed around in the code so much, so I did:<br>- deleted EVERYTHING KDE-RELATED EXCEPT my %KDEROOT%\etc\kdesettings.bat<br>- checked out latest emerge with svn<br>- ran 'emerge mingw' to get the compiler tools
<br>- verified that mingw was in my %PATH%<br>- ran 'emerge kdeedu' (overnight)<br>- tried kpercentage.exe - it still caused the "Runtime Error!"<br>- ran 'emerge dbus-src'<br>- tried kpercentage.exe
- showed a splash screen, did nothing for a while, then I got a "not responding" dialog from Windows :( [I'm certain this was working last night]<br>- tried kstars.exe - works!<br><br>COMMENTS:<br>I don't know where the bad
libdbus-1.dll came from, but I'm pretty sure the source code wasn't on my machine until I ran 'emerge dbus-src'. I think somebody smart should fix this problem.<br>As far as I know, I'm the only one having this problem.
<br>I don't know why kpercentage.exe is broken this morning, but it's broken in a different way than before.<br>Although to verify I ran 'emerge kdeedu' right away, before I first did 'emerge qt' then 'emerge kdesdk' then 'emerge kdeedu' - and the problem was still there.
<br><br>NOTES:<br>[1] "Runtime Error!" dialog details:<br>Title:<br> Microsoft Visual C++ Runtime Library<br>Text:<br> Runtime Error!<br> Program: c:\kderoot\bin\<whatever_kde_app>.exe<br> This application has requested the Runtime to terminate it in an unusual way.
<br>
Please contact the application's support team for more information.<br>It has an "Ok" button only.<br><br><br>Thanks to #kde-windows on irc and especially SaroEngels for the help on this.<br><br>Clint<br>
<br>