Bug 362086

Summary: [OS X] konqueror crashing on exit
Product: [Applications] konqueror Reporter: RJVB <rjvbertin>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: macOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description RJVB 2016-04-22 13:04:35 UTC
Application: konqueror (5.20.0)
 (Compiled from sources)
Qt Version: 5.6.0
Frameworks Version: Unknown
Operating System: Darwin 13.4.0 x86_64
Distribution (Platform): MacPorts Packages

-- Information about the crash:
- What I was doing when the application crashed:
1) start konqueror with a http URL
2) wait until the startup has completed and the page is shown
3) quit, either via the Quit menu item in the application menu or by closing the (single/last) window

Note that at this time, loading webpages fails with the error message "File or Folder Does Not Exist".
KIO's http.so plugin is installed at the same location as other KIO plugins that do work, like man.so;  those show the same crash.

Using kf5-baseapps 9f574fc68d7133831505a1c71ef370edf49b41c5 (v15.03.80-517-g9f574fc)

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault: 11
(lldb) process attach --pid 32309
Process 32309 stopped
Executable module set to "/Applications/MacPorts/KF5/konqueror.app/Contents/MacOS/konqueror".
Architecture set to: x86_64-apple-macosx.
(lldb) set set term-width 200
(lldb) thread info
thread #1: tid = 0x116c673, 0x00007fff89660e20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1: tid = 0x116c673, 0x00007fff89660e20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff89660e20 libsystem_kernel.dylib`__wait4 + 8
    frame #1: 0x000000010c51cfde libKF5Crash.5.dylib`KCrash::startProcess(int, char const**, bool) [inlined] startProcessInternal(argc=<unavailable>, directly=<unavailable>) + 125 at kcrash.cpp:641
    frame #2: 0x000000010c51cf61 libKF5Crash.5.dylib`KCrash::startProcess(argc=<unavailable>, argv=<unavailable>, waitAndExit=<unavailable>) + 17 at kcrash.cpp:623
    frame #3: 0x000000010c51cde9 libKF5Crash.5.dylib`KCrash::defaultCrashHandler(sig=<unavailable>) + 1049 at kcrash.cpp:527
    frame #4: 0x00007fff8b9645aa libsystem_platform.dylib`_sigtramp + 26
    frame #5: 0x000000010d73610b QtCore`QHash<QString, QCache<QString, bool>::Node>::find(QString const&) [inlined] QHash<QString, QCache<QString, bool>::Node>::findNode(this=<unavailable>, akey=0x00007fff54f13b08, h=1618761909) const + 10 at qhash.h:886
    frame #6: 0x000000010d736101 QtCore`QHash<QString, QCache<QString, bool>::Node>::find(QString const&) [inlined] QHash<QString, QCache<QString, bool>::Node>::findNode(akey=0x00007fff54f13b08) const + 28 at qhash.h:905
    frame #7: 0x000000010d7360e5 QtCore`QHash<QString, QCache<QString, bool>::Node>::find(this=0x00007f9b832b5e90, akey=0x00007fff54f13b08) + 117 at qhash.h:869
    frame #8: 0x000000010d734647 QtCore`setNativeLocks(QString const&, int) [inlined] QCache<QString, bool>::relink(this=0x00007f9b832b5e80, key=0x00007f9b83053bf0) + 17 at qcache.h:66
    frame #9: 0x000000010d734636 QtCore`setNativeLocks(QString const&, int) [inlined] QCache<QString, bool>::object(key=0x00007f9b83053bf0) const at qcache.h:127
    frame #10: 0x000000010d734636 QtCore`setNativeLocks(QString const&, int) [inlined] QStringBuilder<QString, QString>::operator QString(fn=0x00007f9b83053bf0, a=0x00007f9b83064ca0, b=0x00007f9b830bb9b0, rc=<unavailable>) const + 56 at qlockfile_unix.cpp:139
    frame #11: 0x000000010d7345fe QtCore`setNativeLocks(fileName=<unavailable>, fd=7) + 126 at qlockfile_unix.cpp:160
    frame #12: 0x000000010d733e24 QtCore`QLockFilePrivate::tryLock_sys(this=0x00007f9b80d04290) + 612 at qlockfile_unix.cpp:190
    frame #13: 0x000000010d6d9870 QtCore`QLockFile::tryLock(this=<unavailable>, timeout=-1) + 112 at qlockfile.cpp:212
    frame #14: 0x000000010be6b474 libKF5ConfigCore.5.dylib`KConfigIniBackend::lock(this=0x00007f9b832f9c90) + 260 at kconfigini.cpp:635
    frame #15: 0x000000010be54a13 libKF5ConfigCore.5.dylib`KConfig::sync() [inlined] KConfigPrivate::lockLocal(this=<unavailable>) + 275 at kconfig.cpp:109
    frame #16: 0x000000010be54a01 libKF5ConfigCore.5.dylib`KConfig::sync(this=<unavailable>) + 257 at kconfig.cpp:420
    frame #17: 0x000000010be53898 libKF5ConfigCore.5.dylib`KConfig::~KConfig() [inlined] KConfig::~KConfig(this=0x00007f9b832f9ea0) + 46 at kconfig.cpp:272
    frame #18: 0x000000010be5386a libKF5ConfigCore.5.dylib`KConfig::~KConfig() [inlined] KConfig::~KConfig(this=0x00007f9b832f9ea0) at kconfig.cpp:269
    frame #19: 0x000000010be5386a libKF5ConfigCore.5.dylib`KConfig::~KConfig(this=0x00007f9b832f9ea0) + 10 at kconfig.cpp:269
    frame #20: 0x000000010ad8e967 libkdeinit5_konqueror.dylib`KonqClosedWindowsManager::~KonqClosedWindowsManager(this=0x00007f9b80e00250) + 119 at konqclosedwindowsmanager.cpp:78
    frame #21: 0x000000010ad9072a libkdeinit5_konqueror.dylib`$_0::destroy() [inlined] KonqClosedWindowsManager::~KonqClosedWindowsManager(this=0x00007f9b80e00250) + 42 at konqclosedwindowsmanager.cpp:73
    frame #22: 0x000000010ad90722 libkdeinit5_konqueror.dylib`$_0::destroy() [inlined] KonqClosedWindowsManagerPrivate::~KonqClosedWindowsManagerPrivate(this=0x00007f9b80e00250) at konqclosedwindowsmanager.cpp:39
    frame #23: 0x000000010ad90722 libkdeinit5_konqueror.dylib`$_0::destroy() [inlined] QBasicAtomicPointer<KonqClosedWindowsManagerPrivate>::load(this=0x00007f9b80e00250) const at konqclosedwindowsmanager.cpp:39
    frame #24: 0x000000010ad90722 libkdeinit5_konqueror.dylib`$_0::destroy() + 34 at konqclosedwindowsmanager.cpp:46
    frame #25: 0x00007fff80fb37b5 libsystem_c.dylib`__cxa_finalize + 177
    frame #26: 0x00007fff80fb3a60 libsystem_c.dylib`exit + 22
    frame #27: 0x00007fff8ad2e604 libdyld.dylib`start + 8

  thread #2: tid = 0x116c676, 0x00007fff89661662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff89661662 libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x00007fff8ca3c421 libdispatch.dylib`_dispatch_mgr_invoke + 239
    frame #2: 0x00007fff8ca3c136 libdispatch.dylib`_dispatch_mgr_thread + 52

  thread #3: tid = 0x116c677, 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff8966df08 libsystem_pthread.dylib`_pthread_wqthread + 330
    frame #2: 0x00007fff89670fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #4: tid = 0x116c67b, 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff8966df08 libsystem_pthread.dylib`_pthread_wqthread + 330
    frame #2: 0x00007fff89670fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #5: tid = 0x116c686, 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff8966df08 libsystem_pthread.dylib`_pthread_wqthread + 330
    frame #2: 0x00007fff89670fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #6: tid = 0x116c687, 0x00007fff896609aa libsystem_kernel.dylib`__select + 10, name = 'QDBusConnectionManager'
    frame #0: 0x00007fff896609aa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000010d7f1754 QtCore`qt_safe_select(nfds=7, fdread=0x00007f9b81834d98, fdwrite=0x00007f9b81835028, fdexcept=0x00007f9b818352b8, orig_timeout=<unavailable>) + 564 at qcore_unix.cpp:75
    frame #2: 0x000000010d7f28d9 QtCore`QEventDispatcherUNIXPrivate::doSelect(this=0x00007f9b81834c00, timeout=<unavailable>, flags=<unavailable>) + 665 at qeventdispatcher_unix.cpp:192
    frame #3: 0x000000010d7f39fe QtCore`QEventDispatcherUNIX::processEvents(this=0x00007f9b80ebb860, flags=<unavailable>) + 222 at qeventdispatcher_unix.cpp:607
    frame #4: 0x000000010d797f01 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 401 at qeventloop.cpp:128
    frame #5: 0x000000010d797ee4 QtCore`QEventLoop::exec(this=0x000000011582be28, flags=<unavailable>) + 372 at qeventloop.cpp:204
    frame #6: 0x000000010d5d97b5 QtCore`QThread::exec(this=<unavailable>) + 117 at qthread.cpp:503
    frame #7: 0x000000010bef78c3 QtDBus`QDBusConnectionManager::run(this=0x00007f9b80eb7420) + 19 at qdbusconnection.cpp:181
    frame #8: 0x000000010d5dd1cb QtCore`QThreadPrivate::start(arg=0x00007f9b80eb7420) + 363 at qthread_unix.cpp:340
    frame #9: 0x00007fff8966c899 libsystem_pthread.dylib`_pthread_body + 138
    frame #10: 0x00007fff8966c72a libsystem_pthread.dylib`_pthread_start + 137
    frame #11: 0x00007fff89670fc9 libsystem_pthread.dylib`thread_start + 13

  thread #7: tid = 0x116c692, 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff89660e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff8966df08 libsystem_pthread.dylib`_pthread_wqthread + 330
    frame #2: 0x00007fff89670fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #8: tid = 0x116c696, 0x00007fff8965ca1a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #0: 0x00007fff8965ca1a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff8965bd18 libsystem_kernel.dylib`mach_msg + 64
    frame #2: 0x00007fff8346ff15 CoreFoundation`__CFRunLoopServiceMachPort + 181
    frame #3: 0x00007fff8346f539 CoreFoundation`__CFRunLoopRun + 1161
    frame #4: 0x00007fff8346ee75 CoreFoundation`CFRunLoopRunSpecific + 309
    frame #5: 0x00007fff8983e05e AppKit`_NSEventThread + 144
    frame #6: 0x00007fff8966c899 libsystem_pthread.dylib`_pthread_body + 138
    frame #7: 0x00007fff8966c72a libsystem_pthread.dylib`_pthread_start + 137
    frame #8: 0x00007fff89670fc9 libsystem_pthread.dylib`thread_start + 13

  thread #9: tid = 0x116c69a, 0x00007fff896609aa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff896609aa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff834bba03 CoreFoundation`__CFSocketManager + 867
    frame #2: 0x00007fff8966c899 libsystem_pthread.dylib`_pthread_body + 138
    frame #3: 0x00007fff8966c72a libsystem_pthread.dylib`_pthread_start + 137
    frame #4: 0x00007fff89670fc9 libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 32309 detached

Possible duplicates by query: bug 361960, bug 361946, bug 361916, bug 361893, bug 361856.

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:49:15 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-16 11:41:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-12-02 03:47:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!