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

            Bug ID: 446119
           Summary: plasma-browser-integration-host crashes after closing
                    Firefox
           Product: plasma-browser-integration
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Firefox
          Assignee: k...@privat.broulik.de
          Reporter: bugsefor...@gmx.com
  Target Milestone: ---

STEPS TO REPRODUCE
1. run Firefox
2. try to use 'Share...' feature from the context menu with any webpage
(nothing happens)
3. close Firefox

OBSERVED RESULT
plasma notifies plasma-browser-integration-host crash

EXPECTED RESULT
'Share...' feature should work, no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: X11

Application: plasma-browser-integration-host (plasma-browser-integration-host),
signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 12665]
[New LWP 12837]
[New LWP 12838]
[New LWP 12839]
[New LWP 12668]
[New LWP 12836]
[New LWP 12667]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-browser-integration-host
/usr/lib/mozilla/native-messaging-host'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f98ba8eb940 (LWP 12665))]
__preamble__

[Current thread is 1 (Thread 0x7f98ba8eb940 (LWP 12665))]

Thread 7 (Thread 0x7f98b9a32700 (LWP 12667)):
#0  0x00007f98beb17aff in __GI___poll (fds=fds@entry=0x7f98b9a31b68,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f98bcaf9c1a in poll (__timeout=-1, __nfds=1, __fds=0x7f98b9a31b68)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55fbd13553d0, cond=cond@entry=0x55fbd1355410,
vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:480
#3  0x00007f98bcafb90a in xcb_wait_for_event (c=c@entry=0x55fbd13553d0) at
../../src/xcb_in.c:697
#4  0x00007f98ba228e88 in QXcbEventQueue::run (this=0x55fbd13454b0) at
qxcbeventqueue.cpp:228
#5  0x00007f98beea445c in QThreadPrivate::start (arg=0x55fbd13454b0) at
thread/qthread_unix.cpp:329
#6  0x00007f98bd692609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f98beb24293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f98b1e2c700 (LWP 12836)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55fbd142a988) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fbd142a938,
cond=0x55fbd142a960) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fbd142a960, mutex=0x55fbd142a938) at
pthread_cond_wait.c:647
#3  0x00007f98b213bb1b in cnd_wait (mtx=0x55fbd142a938, cond=0x55fbd142a960) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fbd1518240) at
../src/util/u_queue.c:294
#5  0x00007f98b213b71b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f98bd692609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f98beb24293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f98b3fff700 (LWP 12668)):
#0  0x00007f98beb17aff in __GI___poll (fds=0x7f98ac004e60, nfds=3, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f98bcc7136e in g_main_context_poll (priority=<optimized out>,
n_fds=3, fds=0x7f98ac004e60, timeout=<optimized out>, context=0x7f98ac000c20)
at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f98ac000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:4042
#3  0x00007f98bcc714a3 in g_main_context_iteration (context=0x7f98ac000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f98bf0e5602 in QEventDispatcherGlib::processEvents
(this=0x7f98ac000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f98bf0898ab in QEventLoop::exec (this=this@entry=0x7f98b3ffec30,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f98beea32c2 in QThread::exec (this=this@entry=0x7f98c0142d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f98c00bef4b in QDBusConnectionManager::run (this=0x7f98c0142d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x00007f98beea445c in QThreadPrivate::start (arg=0x7f98c0142d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:329
#9  0x00007f98bd692609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f98beb24293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f98abfff700 (LWP 12839)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55fbd142a988) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fbd142a938,
cond=0x55fbd142a960) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fbd142a960, mutex=0x55fbd142a938) at
pthread_cond_wait.c:647
#3  0x00007f98b213bb1b in cnd_wait (mtx=0x55fbd142a938, cond=0x55fbd142a960) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fbd1647720) at
../src/util/u_queue.c:294
#5  0x00007f98b213b71b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f98bd692609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f98beb24293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f98b0e2a700 (LWP 12838)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55fbd142a988) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fbd142a938,
cond=0x55fbd142a960) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fbd142a960, mutex=0x55fbd142a938) at
pthread_cond_wait.c:647
#3  0x00007f98b213bb1b in cnd_wait (mtx=0x55fbd142a938, cond=0x55fbd142a960) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fbd164ac80) at
../src/util/u_queue.c:294
#5  0x00007f98b213b71b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f98bd692609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f98beb24293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f98b162b700 (LWP 12837)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55fbd142a988) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fbd142a938,
cond=0x55fbd142a960) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fbd142a960, mutex=0x55fbd142a938) at
pthread_cond_wait.c:647
#3  0x00007f98b213bb1b in cnd_wait (mtx=0x55fbd142a938, cond=0x55fbd142a960) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fbd1519290) at
../src/util/u_queue.c:294
#5  0x00007f98b213b71b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007f98bd692609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007f98beb24293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f98ba8eb940 (LWP 12665)):
[KCrash Handler]
#3  0x00007f98bfba3767 in QWidget::~QWidget (this=0x55fbd140ad90,
__in_chrg=<optimized out>) at
../../include/QtWidgets/../../src/widgets/kernel/qapplication.h:217
#4  0x00007f98c06e4c15 in Purpose::Menu::~Menu (this=0x55fbd140ad90,
__in_chrg=<optimized out>) at ./src/widgets/menu.h:20
#5  Purpose::Menu::~Menu (this=0x55fbd140ad90, __in_chrg=<optimized out>) at
./src/widgets/menu.h:20
#6  0x000055fbd076b27d in QScopedPointerDeleter<Purpose::Menu>::cleanup
(pointer=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:52
#7  QScopedPointer<Purpose::Menu, QScopedPointerDeleter<Purpose::Menu> >::reset
(this=0x55fbd1453f60, other=0x0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:159
#8  PurposePlugin::onUnload (this=0x55fbd1453f40) at
./host/purposeplugin.cpp:31
#9  PurposePlugin::~PurposePlugin (this=0x55fbd1453f40, __in_chrg=<optimized
out>) at ./host/purposeplugin.cpp:26
#10 0x000055fbd076b2ed in PurposePlugin::~PurposePlugin (this=0x55fbd1453f40,
__in_chrg=<optimized out>) at ./host/purposeplugin.cpp:24
#11 0x00007f98bf0b53ce in QObjectPrivate::deleteChildren (this=0x55fbd1342030)
at kernel/qobject.cpp:2104
#12 0x00007f98bf0bfdf6 in QObject::~QObject (this=<optimized out>,
__in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#13 0x00007f98bf08d02c in QCoreApplication::~QCoreApplication
(this=0x7fff28a25e10, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/text/qstringlist.h:111
#14 0x00007f98bfb65784 in QApplication::~QApplication() () at
kernel/qapplication.cpp:769
#15 0x000055fbd07311f7 in main (argc=<optimized out>, argv=<optimized out>) at
./host/main.cpp:115

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

Reply via email to