Bug 312093 - "konqueror --profile midnightcommander " crashes due to failed assertion everytime.
Summary: "konqueror --profile midnightcommander " crashes due to failed assertion ever...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.10.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 03:09 UTC by Jekyll Wu
Modified: 2013-07-16 11:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
proposed patch (1.76 KB, patch)
2013-05-05 14:21 UTC, Dawit Alemayehu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jekyll Wu 2012-12-23 03:09:09 UTC
Application: konqueror (4.9.90)
KDE Platform Version: 4.10.60 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.7.1-gentoo+ i686
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

Just run "konqueror --profile midnightcommander" in konsole

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb48fa740 (LWP 7350))]

Thread 2 (Thread 0xae638b40 (LWP 7357)):
#0  0xb4b032fd in __GI_clock_gettime (clock_id=1, tp=0xae637fc8) at ../sysdeps/unix/clock_gettime.c:115
#1  0xb57a88b5 in do_gettime (frac=0xae637fc0, sec=0xae637fb8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5893a86 in QTimerInfoList::updateCurrentTime (this=0xadd00efc) at kernel/qeventdispatcher_unix.cpp:354
#4  0xb5893dea in QTimerInfoList::timerWait (this=0xadd00efc, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#5  0xb5892553 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xae6380c8) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb58925f5 in timerSourcePrepare (source=0xadd00ec8, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb4ce71ae in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0xb4db4000 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb4dc7660 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb48fa740 (LWP 7350)):
[KCrash Handler]
#7  0xb7709424 in __kernel_vsyscall ()
#8  0xb537a93f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#9  0xb537c205 in __GI_abort () at abort.c:90
#10 0xb573ef9a in qt_message_output (msgType=QtFatalMsg, buf=0x9fdb620 "ASSERT: \"!childFrameList.isEmpty()\" in file /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp, line 4144") at global/qglobal.cpp:2323
#11 0xb573f159 in qt_message (msgType=QtFatalMsg, msg=0xb58cc4d4 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfc8c334 "\301<j\267\064\326i\267\060\020") at global/qglobal.cpp:2369
#12 0xb573f258 in qFatal (msg=0xb58cc4d4 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
#13 0xb573f2e5 in qt_assert (assertion=0xb76a3cc1 "!childFrameList.isEmpty()", file=0xb769d634 "/home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp", line=4144) at global/qglobal.cpp:2018
#14 0xb7658f75 in KonqMainWindow::updateViewActions (this=0x9c85248) at /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp:4144
#15 0xb7649e51 in KonqMainWindow::slotPartActivated (this=0x9c85248, part=0x9f24c28) at /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp:2110
#16 0xb7615f04 in KonqViewManager::emitActivePartChanged (this=0x9c90ca8) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:1108
#17 0xb7615d0a in KonqViewManager::doSetActivePart (this=0x9c90ca8, part=0x9f24c28) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:1079
#18 0xb7615a77 in KonqViewManager::setActivePart (this=0x9c90ca8, part=0x9f24c28) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:1045
#19 0xb76157cd in KonqViewManager::loadViewProfileFromGroup (this=0x9c90ca8, profileGroup=..., filename=..., forcedUrl=..., req=..., openUrl=true) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:999
#20 0xb7615585 in KonqViewManager::loadViewProfileFromConfig (this=0x9c90ca8, _cfg=..., path=..., filename=..., forcedUrl=..., req=..., resetWindow=false, openUrl=true) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:963
#21 0xb761e2b9 in KonqMisc::createBrowserWindowFromProfile (_path=..., _filename=..., url=..., req=..., openUrl=true) at /home/whodare/code/kde/baseapps/konqueror/src/konqmisc.cpp:150
#22 0xb769027f in kdemain (argc=3, argv=0xbfc8cb44) at /home/whodare/code/kde/baseapps/konqueror/src/konqmain.cpp:167
#23 0x080487f9 in main (argc=3, argv=0xbfc8cb44) at /home/whodare/code/kde/baseapps/build/konqueror/src/konqueror_dummy.cpp:3

Possible duplicates by query: bug 311441, bug 310887, bug 310885, bug 307621, bug 302243.

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2013-05-05 14:21:33 UTC
Created attachment 79716 [details]
proposed patch

That midnightcommander profile is completely out of date.  It attempts to use the non-existent  konq_detailedlistview part. Can you try the attached patch and see if it fixes the crash for you and provides close enough functionality to how it behaved before ?
Comment 2 Dawit Alemayehu 2013-05-05 14:58:55 UTC
See comment #1.
Comment 3 Jekyll Wu 2013-05-06 14:17:47 UTC
Strange.   Now the git master code doesn't crash any more for me, but it doesn't do anything useful, neither. After applying the patch, it  begins to crash again : )

Application: Konqueror (konqueror), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb48f8740 (LWP 7346))]

Thread 2 (Thread 0xafba4b40 (LWP 7347)):
#0  0xb7762424 in __kernel_vsyscall ()
#1  0xb5492a9b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb4d3525b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb4d26108 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb4d26248 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb58f960f in QEventDispatcherGlib::processEvents (this=0xaf200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb58c65fc in QEventLoop::processEvents (this=this@entry=0xafba4258, flags=...) at kernel/qeventloop.cpp:149
#7  0xb58c68f9 in QEventLoop::exec (this=this@entry=0xafba4258, flags=...) at kernel/qeventloop.cpp:204
#8  0xb57b260c in QThread::exec (this=this@entry=0x8da58c8) at thread/qthread.cpp:542
#9  0xb58a4f0d in QInotifyFileSystemWatcherEngine::run (this=0x8da58c8) at io/qfilesystemwatcher_inotify.cpp:256
#10 0xb57b5a48 in QThreadPrivate::start (arg=0x8da58c8) at thread/qthread_unix.cpp:338
#11 0xb5733d43 in start_thread (arg=0xafba4b40) at pthread_create.c:308
#12 0xb549e4be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb48f8740 (LWP 7346)):
[KCrash Handler]
#7  0xb7762424 in __kernel_vsyscall ()
#8  0xb53df696 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9  0xb53e0c0f in __GI_abort () at abort.c:90
#10 0xb57aac8e in qt_message_output (msgType=QtFatalMsg, buf=0x8ec8948 "ASSERT: \"!childFrameList.isEmpty()\" in file /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp, line 4152") at global/qglobal.cpp:2323
#11 0xb57aae49 in qt_message (msgType=QtFatalMsg, msg=0xb5932e54 "ASSERT: \"%s\" in file %s, line %d", ap=0xbf9b1e74 "\325qo\267\324\no\267\070\020") at global/qglobal.cpp:2369
#12 0xb57aaf48 in qFatal (msg=msg@entry=0xb5932e54 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
#13 0xb57aafd5 in qt_assert (assertion=0xb76f71d5 "!childFrameList.isEmpty()", file=0xb76f0ad4 "/home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp", line=4152) at global/qglobal.cpp:2018
#14 0xb76ac0ab in KonqMainWindow::updateViewActions (this=0x8a92440) at /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp:4152
#15 0xb769cd1f in KonqMainWindow::slotPartActivated (this=0x8a92440, part=0x8df53a8) at /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp:2118
#16 0xb76688ec in KonqViewManager::emitActivePartChanged (this=0x8b14158) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:1105
#17 0xb76686e4 in KonqViewManager::doSetActivePart (this=0x8b14158, part=0x8df53a8) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:1076
#18 0xb7668456 in KonqViewManager::setActivePart (this=0x8b14158, part=0x8df53a8) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:1044
#19 0xb76681c1 in KonqViewManager::loadViewProfileFromGroup (this=0x8b14158, profileGroup=..., filename=..., forcedUrl=..., req=..., openUrl=true) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:1003
#20 0xb7667f79 in KonqViewManager::loadViewProfileFromConfig (this=0x8b14158, _cfg=..., path=..., filename=..., forcedUrl=..., req=..., resetWindow=false, openUrl=true) at /home/whodare/code/kde/baseapps/konqueror/src/konqviewmanager.cpp:967
#21 0xb7670cff in KonqMisc::createBrowserWindowFromProfile (_path=..., _filename=..., url=..., req=..., openUrl=true) at /home/whodare/code/kde/baseapps/konqueror/src/konqmisc.cpp:150
#22 0xb76e3472 in kdemain (argc=3, argv=0xbf9b2644) at /home/whodare/code/kde/baseapps/konqueror/src/konqmain.cpp:167
#23 0x080488cd in main (argc=3, argv=0xbf9b2644) at /home/whodare/code/kde/baseapps/build/konqueror/src/konqueror_dummy.cpp:3
Comment 4 Dawit Alemayehu 2013-05-14 12:36:39 UTC
Git commit 67d4ea943146a5e1d7fdef3ce9a55bc5eb6c1245 by Dawit Alemayehu.
Committed on 05/01/2013 at 07:52.
Pushed by adawit into branch 'KDE/4.10'.

Updated the midnightcommander profile to use dolphinpart instead of konq_detailedlistview.

Bug reporter says it still does not fix the crash, but for me it at least restores a working
midnight commander profile.
REVIEW: 110421

M  +13   -9    konqueror/profile_midnightcommander.desktop

http://commits.kde.org/kde-baseapps/67d4ea943146a5e1d7fdef3ce9a55bc5eb6c1245
Comment 5 Dawit Alemayehu 2013-07-16 05:19:35 UTC
Jekyll, do you still have this crash? My changes were committed for KDE 4.10.4 release. I do not see the crash and the profile launches correctly for me. Though correctly is a subjective term in this case.
Comment 6 Jekyll Wu 2013-07-16 11:03:32 UTC
Just checked git master. It now works for me.