https://bugs.kde.org/show_bug.cgi?id=358998

            Bug ID: 358998
           Summary: NULL ptr (this) dereference in KDeclarative starting
                    KRunner
           Product: krunner
           Version: 5.5.4
          Platform: Compiled Sources
                OS: OS X
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: m...@vhanda.in
          Reporter: rjvber...@gmail.com

Application: krunner (5.5.4)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Darwin 13.4.0 x86_64
Distribution (Platform): MacPorts Packages

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

The attached crash is systematic on OS X.

This ticket is FYI and FWIW, serving at least the purpose of testing DrKonqi in
a real-world scenario. Working on the plasma-workspace package in order to get
DrKonqi to build I noticed that KRunner doesn't have any build-time
dependencies on libraries that are not available on OS X (or "outside" of
plasma). It built without issues, but this is the result when starting it
(without arguments).

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

(lldb) bt all
* thread #1: tid = 0xf408ad, 0x00007fff895eae20 libsystem_kernel.dylib`__wait4
+ 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff895eae20 libsystem_kernel.dylib`__wait4 + 8
    frame #1: 0x00000001075d4dde
libKF5Crash.5.dylib`startProcessInternal(argc=<unavailable>,
argv=<unavailable>, waitAndExit=<unavailable>, directly=<unavailable>) + 1054
at kcrash.cpp:639
    frame #2: 0x00000001075d47f6
libKF5Crash.5.dylib`KCrash::defaultCrashHandler(int) [inlined]
KCrash::startProcess(argc=<unavailable>, argv=0x00007fabe3d38400,
waitAndExit=<unavailable>) + 1142 at kcrash.cpp:621
    frame #3: 0x00000001075d47bb
libKF5Crash.5.dylib`KCrash::defaultCrashHandler(sig=<unavailable>) + 1083 at
kcrash.cpp:527
    frame #4: 0x00007fff8a4d65aa libsystem_platform.dylib`_sigtramp + 26
    frame #5: 0x0000000107eeb485 QtQml`QQmlComponent::status() const [inlined]
QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data() const
+ 1 at qscopedpointer.h:135
    frame #6: 0x0000000107eeb484 QtQml`QQmlComponent::status() const [inlined]
QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::pointer
qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >
>(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const&) at
qglobal.h:983
    frame #7: 0x0000000107eeb484 QtQml`QQmlComponent::status() const [inlined]
QQmlComponent::d_func(this=0x0000000000000000) const at qqmlcomponent.h:59
    frame #8: 0x0000000107eeb484
QtQml`QQmlComponent::status(this=0x0000000000000000) const + 4 at
qqmlcomponent.cpp:422
    frame #9: 0x0000000107720a7e
libKF5Declarative.5.dylib`KDeclarative::QmlObject::completeInitialization(this=0x00007fabe3c5a880,
initialProperties=0x00007fff586b9bc8) + 62 at qmlobject.cpp:312
    frame #10: 0x000000010754eb53 krunner`View::View(this=0x00007fff586b9db0,
(null)=<unavailable>) + 3843 at view.cpp:94
    frame #11: 0x000000010754da8f krunner`main(argc=1, argv=<unavailable>) +
1535 at main.cpp:75
    frame #12: 0x00007fff8508c5fd libdyld.dylib`start + 1
    frame #13: 0x00007fff8508c5fd libdyld.dylib`start + 1

  thread #2: tid = 0xf408b1, 0x00007fff895eb662 libsystem_kernel.dylib`kevent64
+ 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff895eb662 libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x00007fff84274421 libdispatch.dylib`_dispatch_mgr_invoke + 239
    frame #2: 0x00007fff84274136 libdispatch.dylib`_dispatch_mgr_thread + 52

  thread #3: tid = 0xf408b2, 0x00007fff895eae6a
libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff895eae6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff83156f08 libsystem_pthread.dylib`_pthread_wqthread +
330
    frame #2: 0x00007fff83159fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #4: tid = 0xf408b3, 0x00007fff895eae6a
libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff895eae6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff83156f08 libsystem_pthread.dylib`_pthread_wqthread +
330
    frame #2: 0x00007fff83159fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #5: tid = 0xf408cb, 0x00007fff895eae6a
libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff895eae6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff83156f08 libsystem_pthread.dylib`_pthread_wqthread +
330
    frame #2: 0x00007fff83159fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #6: tid = 0xf408d1, 0x00007fff895ea9aa libsystem_kernel.dylib`__select
+ 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff895ea9aa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff8a16da03 CoreFoundation`__CFSocketManager + 867
    frame #2: 0x00007fff83155899 libsystem_pthread.dylib`_pthread_body + 138
    frame #3: 0x00007fff8315572a libsystem_pthread.dylib`_pthread_start + 137
    frame #4: 0x00007fff83159fc9 libsystem_pthread.dylib`thread_start + 13

  thread #7: tid = 0xf408d6, 0x00007fff895ea9aa libsystem_kernel.dylib`__select
+ 10, name = 'QQmlThread'
    frame #0: 0x00007fff895ea9aa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000010c54bb34 libglib-2.0.0.dylib`g_poll + 356
    frame #2: 0x000000010c53c7b5 libglib-2.0.0.dylib`g_main_context_iterate +
453
    frame #3: 0x000000010c53c894 libglib-2.0.0.dylib`g_main_context_iteration +
100
    frame #4: 0x0000000109d444fc
QtCore`QEventDispatcherGlib::processEvents(this=0x00007fabe3f30c90,
flags=<unavailable>) + 140 at qeventdispatcher_glib.cpp:420
    frame #5: 0x0000000109ced9dd
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 381 at
qeventloop.cpp:128
    frame #6: 0x0000000109ced9c4
QtCore`QEventLoop::exec(this=0x0000000112929e38, flags=<unavailable>) + 356 at
qeventloop.cpp:204
    frame #7: 0x0000000109b40445 QtCore`QThread::exec(this=<unavailable>) + 117
at qthread.cpp:503
    frame #8: 0x0000000107f69219
QtQml`QQmlThreadPrivate::run(this=0x00007fabe3cab8a0) + 57 at
qqmlthread.cpp:141
    frame #9: 0x0000000109b43f59
QtCore`QThreadPrivate::start(arg=<unavailable>) + 313 at qthread_unix.cpp:331
    frame #10: 0x00007fff83155899 libsystem_pthread.dylib`_pthread_body + 138
    frame #11: 0x00007fff8315572a libsystem_pthread.dylib`_pthread_start + 137
    frame #12: 0x00007fff83159fc9 libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 66098 detached

Possible duplicates by query: bug 358986, bug 358873, bug 358805, bug 358797,
bug 358771.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to