Bug 249988

Summary: Konq crashes on startup in sycoca access
Product: [Applications] konqueror Reporter: Stefan Majewsky <majewsky>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adawit, balancedliu, brbeacon144295, frank78ac, marsu1
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Majewsky 2010-09-03 11:54:00 UTC
Application: konqueror (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Title says it all. The crash dialog is all I get to see when I try to launch Konqueror. My distribution is Kubuntu Lucid. The crash has appeared since the installation and thus cannot be related to any special package selections.

The backtrace indicates that the crash originates in the code for the welcome page. However, it did not help to manually set the "UserSettings/HomeURL" key in konquerorrc to specify a home page instead of the welcome page.

I do not need the welcome page, I need Konqueror. It would be very nice if you could provide me with a workaround to disable the codepaths which cause the crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  KSycocaEntry::d_func (this=0x0, name=...) at ../../kdecore/sycoca/ksycocaentry.h:155
#6  KSycocaEntry::property (this=0x0, name=...) at ../../kdecore/sycoca/ksycocaentry.cpp:170
#7  0x00007f5383f12041 in KonqAboutPageSingleton::launch (this=0x215adb0) at ../../../../apps/konqueror/about/konq_aboutpage.cc:123
#8  0x00007f5383f190b0 in KonqAboutPage::openUrl (this=0x1ffba80, u=<value optimized out>) at ../../../../apps/konqueror/about/konq_aboutpage.cc:412
#9  0x00007f5390ad8d63 in KonqView::openUrl (this=0x1ffb5c0, url=..., locationBarURL=<value optimized out>, nameFilter=<value optimized out>, tempFile=<value optimized out>)
    at ../../../../apps/konqueror/src/konqview.cpp:233
#10 0x00007f5390b15e57 in KonqMainWindow::openView (this=0x1d5fdb0, mimeType=) at ../../../../apps/konqueror/src/konqmainwindow.cpp:951
#11 0x00007f5390ae100c in KonqViewManager::loadItem (this=0x1d4e3d0, cfg=..., parent=<value optimized out>, name=<value optimized out>, defaultURL=<value optimized out>, 
    openUrl=<value optimized out>, forcedUrl=..., openAfterCurrentPage=<value optimized out>, pos=-1) at ../../../../apps/konqueror/src/konqviewmanager.cpp:1252
#12 0x00007f5390ae1273 in KonqViewManager::loadRootItem (this=0x1d4e3d0, cfg=..., parent=<value optimized out>, defaultURL=..., openUrl=true, forcedUrl=..., openAfterCurrentPage=false, pos=-1)
    at ../../../../apps/konqueror/src/konqviewmanager.cpp:1141
#13 0x00007f5390ae1421 in KonqViewManager::loadViewProfileFromGroup (this=0x1d4e3d0, profileGroup=<value optimized out>, filename=<value optimized out>, forcedUrl=..., req=..., openUrl=true)
    at ../../../../apps/konqueror/src/konqviewmanager.cpp:970
#14 0x00007f5390ae1ade in KonqViewManager::loadViewProfileFromConfig (this=0x1d4e3d0, _cfg=<value optimized out>, path=<value optimized out>, filename=..., forcedUrl=<value optimized out>, 
    req=<value optimized out>, resetWindow=false, openUrl=true) at ../../../../apps/konqueror/src/konqviewmanager.cpp:948
#15 0x00007f5390ae5664 in KonqMisc::createBrowserWindowFromProfile (_path=<value optimized out>, filename=<value optimized out>, url=<value optimized out>, args=<value optimized out>, 
    browserArgs=..., forbidUseHTML=false, filesToSelect=..., tempFile=false, openUrl=false, show=true) at ../../../../apps/konqueror/src/konqmisc.cpp:153
#16 0x00007f5390b367c6 in KonquerorAdaptor::createBrowserWindowFromProfile (this=<value optimized out>, path=<value optimized out>, filename=..., startup_id=<value optimized out>)
    at ../../../../apps/konqueror/src/KonquerorAdaptor.cpp:107
#17 0x00007f5390b37b2c in KonquerorAdaptor::qt_metacall (this=0x1cfe840, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff91698110) at ./KonquerorAdaptor.moc:127
#18 0x00007f539b6de486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#19 0x00007f539b6df6ef in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1cfe840, flags=256, msg=...) at qdbusintegrator.cpp:809
#20 0x00007f539b6dff0e in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1383
#21 0x00007f539b6e0468 in QDBusActivateObjectEvent::placeMetaCall (this=0x1cbf490) at qdbusintegrator.cpp:1477
#22 0x00007f539d329d49 in QObject::event (this=0x1cfe840, e=0x1cbf490) at kernel/qobject.cpp:1248
#23 0x00007f539c4b622c in QApplicationPrivate::notify_helper (this=0x1c374a0, receiver=0x1cfe840, e=0x1cbf490) at kernel/qapplication.cpp:4300
#24 0x00007f539c4bc6fb in QApplication::notify (this=0x7fff916990d0, receiver=0x1cfe840, e=0x1cbf490) at kernel/qapplication.cpp:4183
#25 0x00007f539d861526 in KApplication::notify (this=0x7fff916990d0, receiver=0x1cfe840, event=0x1cbf490) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x00007f539d31a06c in QCoreApplication::notifyInternal (this=0x7fff916990d0, receiver=0x1cfe840, event=0x1cbf490) at kernel/qcoreapplication.cpp:704
#27 0x00007f539d31c7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1b9dc30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1b9dc30) at kernel/qcoreapplication.cpp:1345
#29 0x00007f539d3439d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007f53986fb8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007f53986ff748 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007f53986ff8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007f539d343513 in QEventDispatcherGlib::processEvents (this=0x1b9f140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007f539c56646e in QGuiEventDispatcherGlib::processEvents (this=0x7fff91695f00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f539d318992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f539d318d6c in QEventLoop::exec (this=0x7fff91698dd0, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f539d31caab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0x00007f5390b51076 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/konqueror/src/konqmain.cpp:271
#40 0x00000000004070f3 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x1be8b94 "ptpcp11;1283506867;235673;23374_TIME684284632") at ../../kinit/kinit.cpp:717
#41 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#42 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#43 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 247903.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2010-09-03 13:44:57 UTC
Not sure if it works, but you could try to launch Konqueror from the command line with an argument, such as "konqueror ~". That should bypass the welcome page. Then you can open the settings and disable it.

BTW, it seems that somebody else saw the same crash (bug 247903), but that report does not contain much useful info.
Comment 2 Frank Reininghaus 2010-09-06 13:50:39 UTC
*** Bug 250305 has been marked as a duplicate of this bug. ***
Comment 3 Tommi Tervo 2011-01-16 18:03:43 UTC
*** Bug 263335 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2011-09-05 21:52:28 UTC
*** Bug 281333 has been marked as a duplicate of this bug. ***
Comment 5 Dawit Alemayehu 2011-11-22 01:37:29 UTC
Most likely installation related as reported in bug# 247903. Marking this as duplicate of that one. Feel free to reopen if that is not the case for you.

*** This bug has been marked as a duplicate of bug 247903 ***