Crash (projectsView)

Evgeniy Ivanov powerfox at kde.ru
Sat Aug 23 22:30:41 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
These lines make me sad:
KDevelop::IProject* curProject =
core()->projectController()->findProjectForUrl(KUrl(checkoutJob->getDirectory()));
KUrl projectFile = curProject->projectFileUrl();

The second one sometimes gives me a crash.
Unfortunately it isn't look like bic (rebuilding didn't help).
Also I've noticed it depends on url: if I call first one for rootItem,
then ProjectsView is closed (and I can't find it in addView):
kdevelop(13441)/kdevplatform (projectmanagerview)
ProjectManagerViewPlugin::unload: unloading manager view
kdevelop(13441)/kdevplatform (shell) KDevelop::UiController::removeToolView:
kdevelop(13441)/kdevelop (xtest) QTestPlugin::maybeRemoveResultsView:
Sublime::View(0x84e5760)
kdevelop(13441)/kdevplatform (sublime) Sublime::Area::removeToolView:
Sublime::Area(0x8163808, name = "code") removed tool view
"org.kdevelop.ProjectsView"

The plugin is unloaded =(

If I call it for any subItem then I get a crash:
#0  0xb3e45972 in
KDevelop::DistributedVersionControlPlugin::checkoutFinished
(this=0x8253978, _checkoutJob=0x858d440)
    at /workspace/gsoc/kdevplatform/vcs/dvcs/dvcsplugin.cpp:542

It's a new bug, I found it today after merging with SVN (approximately
my code is 15 days old).

Any ideas?


- --
Cheers, Evgeniy.
Key fingerprint: F316 B5A1 F6D2 054F CD18 B74A 9540 0ABB 1FE5 67A3

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkiwj5EACgkQlUAKux/lZ6OP8wCgsQ47ze67xUDkBcJA9W2RkPH9
BMQAnA7m82FVCoc8fXnX0v5pFduxl4ut
=uTY3
-----END PGP SIGNATURE-----




More information about the KDevelop-devel mailing list