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

            Bug ID: 462915
           Summary: QWebEngineViewPrivate crashed with wrong QThreadData
                    pointer
    Classification: Applications
           Product: konqueror
           Version: 22.12.0
          Platform: OpenSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konq-b...@kde.org
          Reporter: giecr...@stegny.2a.pl
  Target Milestone: ---

Application: konqueror (22.12.0)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.10-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
I opened Konqueror, waited for it to lad and closed it.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault

[KCrash Handler]
#4  std::__atomic_base<QThreadData*>::load (__m=std::memory_order_acquire,
this=<error reading variable: Cannot access memory at address 0x55ef885f1fc3>)
at /usr/include/c++/12/bits/atomic_base.h:818
#5  std::atomic<QThreadData*>::load (__m=std::memory_order_acquire, this=<error
reading variable: Cannot access memory at address 0x55ef885f1fc3>) at
/usr/include/c++/12/atomic:579
#6  QAtomicOps<QThreadData*>::loadAcquire<QThreadData*> (_q_value=<error
reading variable: Cannot access memory at address 0x55ef885f1fc3>) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#7  QBasicAtomicPointer<QThreadData>::loadAcquire (this=<error reading
variable: Cannot access memory at address 0x55ef885f1fc3>) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#8  QBasicAtomicPointer<QThreadData>::operator QThreadData* (this=<error
reading variable: Cannot access memory at address 0x55ef885f1fc3>) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:251
#9  QObjectPrivate::connectImpl (sender=0x55ead62da650, signal_index=19,
receiver=0x55ef885f1fbb, slot=0x7ffdb664bb60, slotObj=0x55ead5fb1310,
type=Qt::AutoConnection, types=0x0, senderMetaObject=0x7fb67c78d7e0
<QWebEnginePage::staticMetaObject>) at kernel/qobject.cpp:5086
#10 0x00007fb6969092a5 in QObject::connectImpl
(sender=sender@entry=0x55ead62da650, signal=signal@entry=0x7ffdb664bb50,
receiver=receiver@entry=0x55ef885f1fbb, slot=slot@entry=0x7ffdb664bb60,
slotObj=0x55ead5fb1310, type=Qt::AutoConnection, types=0x0,
senderMetaObject=<optimized out>) at kernel/qobject.cpp:5034
#11 0x00007fb67c77e3f6 in QObject::connect<void (QWebEnginePage::*)(QString
const&), void (QWebEngineView::*)(QString const&)> (type=Qt::AutoConnection,
slot=(void (QWebEngineView::*)(QWebEngineView * const, const QString &))
0x7fb67c77a7d0 <QWebEngineView::titleChanged(QString const&)>,
receiver=0x55ef885f1fbb, signal=(void (QWebEnginePage::*)(QWebEnginePage *
const, const QString &)) 0x7fb67c770c70 <QWebEnginePage::titleChanged(QString
const&)>, sender=0x55ead62da650) at /usr/include/qt5/QtCore/qobject.h:268
#12 QWebEngineViewPrivate::pageChanged(QWebEnginePage*, QWebEnginePage*) [clone
.isra.0] (oldPage=0x0, newPage=0x55ead62da650, this=<optimized out>) at
api/qwebengineview.cpp:77
#13 0x00007fb67c76f565 in QWebEnginePagePrivate::bindPageAndView
(page=<optimized out>, view=0x55ead71de750) at api/qwebengineview.h:140
#14 0x00007fb67c779cc6 in QWebEngineView::page (this=0x55ead71de750) at
api/qwebengineview.cpp:201
#15 0x00007fb67c395f92 in WebEnginePart::page (this=this@entry=0x55ead71d2d10)
at /usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginepart.cpp:198
#16 0x00007fb67c39bc6d in WebEnginePart::walletFinishedFormDetection
(this=0x55ead71d2d10, url=..., found=<optimized out>,
autoFillableFound=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginepart.cpp:1004
#17 0x00007fb6969132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffdb664bdd0,
r=0x55ead71d2d10, this=0x55ead7227370) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x55ead7226b20, signal_index=6,
argv=0x7ffdb664bdd0) at kernel/qobject.cpp:3919
#19 0x00007fb69690c74f in QMetaObject::activate
(sender=sender@entry=0x55ead7226b20, m=<optimized out>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdb664bdd0)
at kernel/qobject.cpp:3979
#20 0x00007fb67c3c497e in WebEngineWallet::formDetectionDone (_t3=<optimized
out>, _t2=<optimized out>, _t1=..., this=0x55ead7226b20) at
/usr/src/debug/konqueror-22.12.0/build/webenginepart/src/kwebenginepartlib_autogen/include/moc_webenginewallet.cpp:280
#21 operator() (forms=..., __closure=0x55ead6a60ac0) at
/usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginewallet.cpp:139
#22 std::__invoke_impl<void,
WebEngineWallet::detectAndFillPageForms(WebEnginePage*)::<lambda(const
WebEngineWallet::WebFormList&)>&, const QVector<WebEngineWallet::WebForm>&>
(__f=...) at /usr/include/c++/12/bits/invoke.h:61
#23 std::__invoke_r<void,
WebEngineWallet::detectAndFillPageForms(WebEnginePage*)::<lambda(const
WebEngineWallet::WebFormList&)>&, const QVector<WebEngineWallet::WebForm>&>
(__fn=...) at /usr/include/c++/12/bits/invoke.h:154
#24 std::_Function_handler<void(const QVector<WebEngineWallet::WebForm>&),
WebEngineWallet::detectAndFillPageForms(WebEnginePage*)::<lambda(const
WebEngineWallet::WebFormList&)> >::_M_invoke(const std::_Any_data &, const
QVector<WebEngineWallet::WebForm> &) (__functor=..., __args#0=...) at
/usr/include/c++/12/bits/std_function.h:290
#25 0x00007fb67c3c4602 in std::function<void (QVector<WebEngineWallet::WebForm>
const&)>::operator()(QVector<WebEngineWallet::WebForm> const&) const
(__args#0=..., this=0x55ead70ee110) at
/usr/include/c++/12/bits/std_function.h:591
#26 operator() (jsForms=..., __closure=0x55ead70ee110) at
/usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginewalletprivate.cpp:170
#27 QtWebEnginePrivate::QWebEngineCallbackPrivate<const QVariant&,
WebEngineWallet::WebEngineWalletPrivate::detectFormsInPage(WebEnginePage*,
WebWalletCallback, bool)::<lambda(const QVariant&)> >::operator()(const
QVariant &) (this=0x55ead70ee100, value=...) at
/usr/include/qt5/QtWebEngineCore/qwebenginecallback.h:69
#28 0x00007fb67c76ff2c in
QtWebEngineCore::CallbackDirectory::invokeEmptyInternal<QVariant const&>
(this=<optimized out>, callback=<optimized out>) at
../core/api/qwebenginecallback_p.h:193
#29 QtWebEngineCore::CallbackDirectory::CallbackSharedDataPointer<QVariant
const&>::invokeEmpty (this=<optimized out>) at
../core/api/qwebenginecallback_p.h:244
#30 0x00007fb67c76f0ae in
QtWebEngineCore::CallbackDirectory::~CallbackDirectory (this=<optimized out>,
this=<optimized out>) at ../core/api/qwebenginecallback_p.h:87
#31 QWebEnginePagePrivate::~QWebEnginePagePrivate (this=<optimized out>,
this=<optimized out>) at api/qwebenginepage.cpp:169
#32 0x00007fb67c76f29e in QWebEnginePagePrivate::~QWebEnginePagePrivate
(this=<optimized out>, this=<optimized out>) at api/qwebenginepage.cpp:164
#33 QScopedPointerDeleter<QWebEnginePagePrivate>::cleanup
(pointer=0x55ead71b1380) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#34 QScopedPointer<QWebEnginePagePrivate,
QScopedPointerDeleter<QWebEnginePagePrivate> >::~QScopedPointer
(this=<optimized out>, this=<optimized out>) at
/usr/include/qt5/QtCore/qscopedpointer.h:107
#35 QWebEnginePage::~QWebEnginePage (this=<optimized out>, this=<optimized
out>) at api/qwebenginepage.cpp:974
#36 0x00007fb67c3b0aaa in WebEnginePage::~WebEnginePage (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginepage.cpp:102
#37 WebEnginePage::~WebEnginePage (this=<optimized out>, this=<optimized out>)
at /usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginepage.cpp:102
#38 0x00007fb6969057de in QObjectPrivate::deleteChildren
(this=this@entry=0x55ead716c100) at kernel/qobject.cpp:2137
#39 0x00007fb6975e2636 in QWidget::~QWidget (this=this@entry=0x55ead71de750,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1524
#40 0x00007fb67c77243c in QWebEngineView::~QWebEngineView (this=<optimized
out>, this=<optimized out>) at api/qwebengineview.cpp:194
#41 0x00007fb67c3a7e30 in WebEngineView::~WebEngineView (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/webenginepart/src/webengineview.cpp:73
#42 WebEngineView::~WebEngineView (this=<optimized out>, this=<optimized out>)
at /usr/src/debug/konqueror-22.12.0/webenginepart/src/webengineview.cpp:73
#43 0x00007fb6969057de in QObjectPrivate::deleteChildren
(this=this@entry=0x55ead71a93f0) at kernel/qobject.cpp:2137
#44 0x00007fb6975e2636 in QWidget::~QWidget (this=0x55ead71d4740,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1524
#45 0x00007fb6975e2979 in QWidget::~QWidget (this=0x55ead71d4740,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1548
#46 0x00007fb6988edf37 in KParts::Part::~Part() () from /lib64/libKF5Parts.so.5
#47 0x00007fb67c393c2f in WebEnginePart::~WebEnginePart (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginepart.cpp:181
#48 0x00007fb67c393c89 in WebEnginePart::~WebEnginePart (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/webenginepart/src/webenginepart.cpp:181
#49 0x00007fb698c11164 in KonqView::~KonqView (this=<optimized out>,
this=<optimized out>) at /usr/src/debug/konqueror-22.12.0/src/konqview.cpp:120
#50 0x00007fb698c1e155 in KonqView::~KonqView (this=<optimized out>,
this=<optimized out>) at /usr/src/debug/konqueror-22.12.0/src/konqview.cpp:105
#51 KonqViewManager::clear (this=this@entry=0x55ead68e9a30) at
/usr/src/debug/konqueror-22.12.0/src/konqviewmanager.cpp:717
#52 0x00007fb698c1e30c in KonqViewManager::~KonqViewManager (this=<optimized
out>, this=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/src/konqviewmanager.cpp:81
#53 KonqViewManager::~KonqViewManager (this=<optimized out>, this=<optimized
out>) at /usr/src/debug/konqueror-22.12.0/src/konqviewmanager.cpp:82
#54 0x00007fb698c3518d in KonqMainWindow::~KonqMainWindow (this=<optimized
out>, this=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/src/konqmainwindow.cpp:313
#55 0x00007fb698c357e9 in KonqMainWindow::~KonqMainWindow (this=<optimized
out>, this=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/src/konqmainwindow.cpp:357
#56 0x00007fb696907a0f in QObject::event (this=0x55ead53f6a40,
e=0x55ead6f483c0) at kernel/qobject.cpp:1334
#57 0x00007fb69835e849 in KXmlGuiWindow::event(QEvent*) () from
/lib64/libKF5XmlGui.so.5
#58 0x00007fb6975a53fe in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55ead53f6a40, e=0x55ead6f483c0) at
kernel/qapplication.cpp:3637
#59 0x00007fb6968dc128 in QCoreApplication::notifyInternal2
(receiver=0x55ead53f6a40, event=0x55ead6f483c0) at
kernel/qcoreapplication.cpp:1064
#60 0x00007fb6968df0c1 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55ead47fef50) at
kernel/qcoreapplication.cpp:1821
#61 0x00007fb696934353 in postEventSourceDispatch (s=0x55ead4921180) at
kernel/qeventdispatcher_glib.cpp:277
#62 0x00007fb69471ca90 in g_main_dispatch (context=0x7fb68c005010) at
../glib/gmain.c:3444
#63 g_main_context_dispatch (context=context@entry=0x7fb68c005010) at
../glib/gmain.c:4162
#64 0x00007fb69471ce48 in g_main_context_iterate
(context=context@entry=0x7fb68c005010, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4238
#65 0x00007fb69471cedc in g_main_context_iteration (context=0x7fb68c005010,
may_block=1) at ../glib/gmain.c:4303
#66 0x00007fb696933b56 in QEventDispatcherGlib::processEvents
(this=0x55ead491f6a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#67 0x00007fb6968dab9b in QEventLoop::exec (this=this@entry=0x7ffdb664c610,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#68 0x00007fb6968e2d06 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#69 0x00007fb696d6ee4c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1870
#70 0x00007fb6975a5375 in QApplication::exec () at kernel/qapplication.cpp:2829
#71 0x00007fb698c71aca in KonquerorApplication::startFirstInstance
(this=0x7ffdb664c700) at
/usr/src/debug/konqueror-22.12.0/src/konqapplication.cpp:192
#72 KonquerorApplication::start (this=0x7ffdb664c700) at
/usr/src/debug/konqueror-22.12.0/src/konqapplication.cpp:234
#73 kdemain (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/konqueror-22.12.0/src/konqmain.cpp:40
#74 0x00007fb6989ea5b0 in __libc_start_call_main
(main=main@entry=0x55ead3788050 <main(int, char**)>, argc=argc@entry=2,
argv=argv@entry=0x7ffdb664c888) at ../sysdeps/nptl/libc_start_call_main.h:58
#75 0x00007fb6989ea679 in __libc_start_main_impl (main=0x55ead3788050
<main(int, char**)>, argc=2, argv=0x7ffdb664c888, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb664c878) at
../csu/libc-start.c:381
#76 0x000055ead3788085 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 4906) detached]

Reported using DrKonqi

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

Reply via email to