Bug 291264 - Krunner killed by failing assertion in Marble
Summary: Krunner killed by failing assertion in Marble
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.3 (KDE 4.8)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-11 13:11 UTC by Stephan Diestelhorst
Modified: 2012-01-12 14:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Diestelhorst 2012-01-11 13:11:31 UTC
Version:           unspecified (using Devel) 
OS:                Linux

This is on Project Neon from 2012-01-11...

Starting Krunner from the command line and then starting it with Alt + F2 results in the window popping up. However, as soon as I enter three characters, krunner dies (tried this with "firefox"). 

Console output indicates that this is a problem with Marble:
ASSERT: "d->m_bookmarkDocument" in file /build/buildd/project-neon-marble-2+git20120109+r6408/src/lib/BookmarkManager.cpp, line 101
ASSERT: "d->m_bookmarkDocument" in file /build/buildd/project-neon-marble-2+git20120109+r6408/src/lib/BookmarkManager.cpp, line 101
rKCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = krunner path = /opt/project-neon/bin pid = 1259
KCrash: Arguments: /opt/project-neon/bin/krunner --nocrashhandler 
KCrash: Attempting to start /opt/project-neon/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/syon/.project-neon-kde/socket-j-tolkien/kdeinit4__0
eKCrash: Attempting to start /opt/project-neon/bin/krunner from kdeinit
sock_file=/home/syon/.project-neon-kde/socket-j-tolkien/kdeinit4__0
Unable to start Dr. Konqi

Have not actually started Marble, just installed the full KDE desktop from Project Neon.

Reproducible: Always

Steps to Reproduce:
Enter "fir" into Krunner dialog.

Actual Results:  
Krunner crashes with a failing assertion in Marble.
ASSERT: "d->m_bookmarkDocument" in file /build/buildd/project-neon-marble-2+git20120109+r6408/src/lib/BookmarkManager.cpp, line 101


Expected Results:  
Krunner should not crash. Marble should not throw the assertion.

Info from the KDE Crash Handler:

Application: krunner (0.1)
KDE Platform Version: 4.7.97 (4.8 RC2 (4.7.97)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
A useful backtrace could not be generated

Report to https://bugs.kde.org
Comment 1 Stephan Diestelhorst 2012-01-11 13:15:21 UTC
Just checking that the same problem occurs if I start marble directly.
Comment 2 Dennis Nienhüser 2012-01-11 13:25:42 UTC
Should have been fixed earlier by dfaure:

David Faure master * rv4.7.95-120-ge4c7b92 src/lib/BookmarkManager.cpp
(log message trimmed)
This code asserts on me when I type "co" in krunner. Check for empty path.
I assume empty path means file not found, which seems logical; I have no
marble bookmarks, I'm just trying to type a http url in krunner...
And remove the assert, since "document is NULL" is already checked by an if
above, which attempts to recover from it.
Please check.
Comment 3 Stephan Diestelhorst 2012-01-12 14:08:12 UTC
I can confirm that this bug has gone.
Many thanks for fixing!