Summary: | close all files crash | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Niko Sams <niko.sams> |
Component: | shell | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | david.nolden.kde |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Niko Sams
2010-03-04 16:36:21 UTC
Just hit this crash again. Can you reproduce this? It would be helpful if you could describe your main-window layout before the crash happened. How many files were open, and did you use split-views? - default tool views, nothing moved around - only toolbar customized - no split views open - "a lot" of files open so I lost the overview and had to close them all Can't really reproduce, it just happens sometimes. Yay, I got it reproducible: - open two source files - open a pdf file - nothing happens (no error, to pdf gets opened) - Close All - Crash Maybe something is wrong on my system as the pdf doesn't get opened. This is the console output when I try to open the pdf file: kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers kdevelop(26951)/kdevplatform (sublime) Sublime::Area::addView: view added in Sublime::Area(0x10026e0, name = "code") kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSet::areaViewAdded: added view in Sublime::Area(0x10026e0, name = "code") , id "code_9442551" kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSet::changed: recording change done to "code_9442551" kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSet::saveFromArea: saving "code_9442551" from area kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") QObject(0x0) false kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") Sublime::Area(0x10026e0, name = "code") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0xfff6a0, name = "debug") Sublime::Area(0xfff6a0, name = "debug") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10081e0, name = "review") Sublime::Area(0x10081e0, name = "review") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") QObject(0x0) false kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") Sublime::Area(0x10026e0, name = "code") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0xfff6a0, name = "debug") Sublime::Area(0xfff6a0, name = "debug") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10081e0, name = "review") Sublime::Area(0x10081e0, name = "review") true kdevelop(26951)/kdevplatform (sublime) Sublime::MainWindowPrivate::ViewCreator::operator: reconstructing views for area index 0xfff3d0 kdevelop(26951)/kdevplatform (shell) KDevelop::PartController::createPart: creating part with url KUrl("file:///home/niko/www/haus 1.pdf") and pref part: "" kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers QObject::connect: Cannot connect (null)::destroyed() to Sublime::View::unsetWidget() kdevelop(26951)/kdevplatform (shell) KDevelop::PartController::createPart: creating part with url KUrl("file:///home/niko/www/haus 2.pdf") and pref part: "" kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers QObject::connect: Cannot connect (null)::destroyed() to Sublime::View::unsetWidget() kdevelop(26951)/kdevplatform (shell) KDevelop::PartController::createPart: creating part with url KUrl("file:///home/niko/www/haus 3.pdf") and pref part: "" kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers QObject::connect: Cannot connect (null)::destroyed() to Sublime::View::unsetWidget() kdevelop(26951)/kdevplatform (documentswitcher) DocumentSwitcherPlugin::addView: got signal from mainwindow: KDevelop::MainWindow(0xfe6c90, name = "MainWindow") "Doleschal: library, vps-1.8, phpunit, doleschal - [ vps-1.8/tests/Vpc/News/Test.php ] ? KDevelop" kdevelop(26951)/kdevplatform (documentswitcher) DocumentSwitcherPlugin::addView: its area is: Sublime::Area(0x10026e0, name = "code") "Code" kdevelop(26951)/kdevplatform (documentswitcher) DocumentSwitcherPlugin::addView: adding view: Sublime::View(0x51f2ef0) "haus 3.pdf" kdevelop(26951)/kdevplatform (usehighlight) ContextBrowserView::documentJumpPerformed: updating jump source kdevelop(26951)/kdevplatform (usehighlight) ContextBrowserView::documentJumpPerformed: new doc: 0x5b7dcc0 new cursor: (0, 0) Hmm, that doesn't crash for me here, but the PDF is also not opened. The QObject::connect error might hint to the fact that fetching the KPart worked, but not creating the widget from it, but for some reason thats ignored to a certain extent. Hence various signals are sent out and sublime thinks it has a view for it, but in fact doesn't? Using 4.3.5 here, maybe that matters. What *should* happen when opening a pdf? (In reply to comment #6) > Using 4.3.5 here, maybe that matters. Its 4.3.4 here. > What *should* happen when opening a pdf? Well, okular should be loaded (as kpart) and shown as a new tab in KDevelop. Similar to how ui-files are loaded with kuiserver. Of course only if it is installed. ok, the crash is not reproducible anymore (maybe it was a kde bug, at least with 4.4.4 it works). still, we have to fix pdf loading, I'll take a look at it now. |