<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>312093</bug_id>
          
          <creation_ts>2012-12-23 03:09:09 +0000</creation_ts>
          <short_desc>&quot;konqueror --profile midnightcommander &quot; crashes due to failed assertion everytime.</short_desc>
          <delta_ts>2013-07-16 11:03:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>general</component>
          <version>4.10.0</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jekyll Wu">adaptee</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>adawit</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1325862</commentid>
    <comment_count>0</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2012-12-23 03:09:09 +0000</bug_when>
    <thetext>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: &quot;NAME=Gentoo&quot;

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

Just run &quot;konqueror --profile midnightcommander&quot; in konsole

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Aborted
Using host libthread_db library &quot;/lib/libthread_db.so.1&quot;.
[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=&lt;optimized out&gt;, timeout=0xae6380c8) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb58925f5 in timerSourcePrepare (source=0xadd00ec8, timeout=&lt;optimized out&gt;) 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 &quot;ASSERT: \&quot;!childFrameList.isEmpty()\&quot; in file /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp, line 4144&quot;) at global/qglobal.cpp:2323
#11 0xb573f159 in qt_message (msgType=QtFatalMsg, msg=0xb58cc4d4 &quot;ASSERT: \&quot;%s\&quot; in file %s, line %d&quot;, ap=0xbfc8c334 &quot;\301&lt;j\267\064\326i\267\060\020&quot;) at global/qglobal.cpp:2369
#12 0xb573f258 in qFatal (msg=0xb58cc4d4 &quot;ASSERT: \&quot;%s\&quot; in file %s, line %d&quot;) at global/qglobal.cpp:2552
#13 0xb573f2e5 in qt_assert (assertion=0xb76a3cc1 &quot;!childFrameList.isEmpty()&quot;, file=0xb769d634 &quot;/home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp&quot;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366455</commentid>
    <comment_count>1</comment_count>
      <attachid>79716</attachid>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2013-05-05 14:21:33 +0000</bug_when>
    <thetext>Created attachment 79716
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 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366467</commentid>
    <comment_count>2</comment_count>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2013-05-05 14:58:55 +0000</bug_when>
    <thetext>See comment #1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366707</commentid>
    <comment_count>3</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-05-06 14:17:47 +0000</bug_when>
    <thetext>Strange.   Now the git master code doesn&apos;t crash any more for me, but it doesn&apos;t do anything useful, neither. After applying the patch, it  begins to crash again : )

Application: Konqueror (konqueror), signal: Aborted
Using host libthread_db library &quot;/lib/libthread_db.so.1&quot;.
[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 &quot;ASSERT: \&quot;!childFrameList.isEmpty()\&quot; in file /home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp, line 4152&quot;) at global/qglobal.cpp:2323
#11 0xb57aae49 in qt_message (msgType=QtFatalMsg, msg=0xb5932e54 &quot;ASSERT: \&quot;%s\&quot; in file %s, line %d&quot;, ap=0xbf9b1e74 &quot;\325qo\267\324\no\267\070\020&quot;) at global/qglobal.cpp:2369
#12 0xb57aaf48 in qFatal (msg=msg@entry=0xb5932e54 &quot;ASSERT: \&quot;%s\&quot; in file %s, line %d&quot;) at global/qglobal.cpp:2552
#13 0xb57aafd5 in qt_assert (assertion=0xb76f71d5 &quot;!childFrameList.isEmpty()&quot;, file=0xb76f0ad4 &quot;/home/whodare/code/kde/baseapps/konqueror/src/konqmainwindow.cpp&quot;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368776</commentid>
    <comment_count>4</comment_count>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2013-05-14 12:36:39 +0000</bug_when>
    <thetext>Git commit 67d4ea943146a5e1d7fdef3ce9a55bc5eb6c1245 by Dawit Alemayehu.
Committed on 05/01/2013 at 07:52.
Pushed by adawit into branch &apos;KDE/4.10&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383683</commentid>
    <comment_count>5</comment_count>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2013-07-16 05:19:35 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383738</commentid>
    <comment_count>6</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-07-16 11:03:32 +0000</bug_when>
    <thetext>Just checked git master. It now works for me.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>79716</attachid>
            <date>2013-05-05 14:21:33 +0000</date>
            <delta_ts>2013-05-05 14:21:33 +0000</delta_ts>
            <desc>proposed patch</desc>
            <filename>bug_312093.patch</filename>
            <type>text/plain</type>
            <size>1798</size>
            <attacher name="Dawit Alemayehu">adawit</attacher>
            
              <data encoding="base64">Y29tbWl0IDJmNmNiYzJiZGQ2YjZiNzdmNTdmMDliYzE4M2I0ZDVjM2RjZGJlODQKQXV0aG9yOiBE
YXdpdCBBbGVtYXllaHUgPGFkYXdpdEBrZGUub3JnPgpEYXRlOiAgIFNhdCBKYW4gNSAwMTo1Mjo0
MyAyMDEzIC0wNTAwCgogICAgVXBkYXRlZCB0aGUgbWlkbmlnaHRjb21tYW5kZXIgcH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