Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on most pdfs #9

Open
littlewu2508 opened this issue Jul 21, 2023 · 3 comments
Open

Crash on most pdfs #9

littlewu2508 opened this issue Jul 21, 2023 · 3 comments

Comments

@littlewu2508
Copy link

I am self compiling this on Debian 12 KDE-wayland. However it segfaults when opening most pdfs, only few can be viewed without issue.

@gustawho hope you can see this, since you maintain the latest fork.

The back trace is

Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7f6d48d5d0 in int QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_mupdf.so
#5  0x00007f7f6d48ca44 in QBasicAtomicInteger<int>::loadRelaxed() const () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_mupdf.so
#6  0x00007f7f6d48bf8c in QtPrivate::RefCount::ref() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_mupdf.so
#7  0x00007f7f6d48c323 in QString::QString(QString const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_mupdf.so
#8  0x00007f7f6d49217d in QMuPDF::Outline::title() const () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_mupdf.so
#9  0x00007f7f6d490e43 in recurseCreateTOC(QMuPDF::Document const&, QDomDocument&, QMuPDF::Outline*, QDomNode&, QSizeF const&) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_mupdf.so
#10 0x00007f7f6d491368 in MuPDFGenerator::generateDocumentSynopsis() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_mupdf.so
#11 0x00007f7f9817c2fd in TOC::notifySetup(QVector<Okular::Page*> const&, int) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#12 0x00007f7f91d696ca in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) () from /lib/x86_64-linux-gnu/libOkular5Core.so.10
#13 0x00007f7f980ddc72 in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#14 0x00007f7f980dea34 in Okular::Part::openFile() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#15 0x00007f7fb92ca785 in ?? () from /lib/x86_64-linux-gnu/libKF5Parts.so.5
#16 0x00007f7fb92cb87e in KParts::ReadOnlyPart::openUrl(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5Parts.so.5
#17 0x00007f7f980ce23b in Okular::Part::openUrl(QUrl const&, bool) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#18 0x000055e1f5b6617e in ?? ()
#19 0x000055e1f5b6856d in ?? ()
#20 0x00007f7fb76e8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x000055e1f5b5d445 in ?? ()
#22 0x00007f7fb76e8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f7fb85cee15 in QAbstractItemView::activated(QModelIndex const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f7fb85de530 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f7fb83a572c in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f7fb845048e in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f7fb76b147b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f7fb8362f9e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f7fb836b552 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f7fb76b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f7fb836965e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f7fb83bdbd8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f7fb83c0f60 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f7fb8362fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f7fb76b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f7fb7b3d37d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#37 0x00007f7fb7b11cac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#38 0x00007f7fb5c274b0 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#39 0x00007f7fb5dd07a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f7fb5dd0a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f7fb5dd0acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f7fb7709836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f7fb76b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007f7fb76b82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x000055e1f5b5c215 in ?? ()
#46 0x00007f7fb724618a in __libc_start_call_main (main=main@entry=0x55e1f5b5ba50, argc=argc@entry=1, argv=argv@entry=0x7fff03bf99d8) at ../sysdeps/nptl/libc_start_call_main.h:58
#47 0x00007f7fb7246245 in __libc_start_main_impl (main=0x55e1f5b5ba50, argc=1, argv=0x7fff03bf99d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff03bf99c8) at ../csu/libc-start.c:381
#48 0x000055e1f5b5d1f1 in ?? ()
[Inferior 1 (process 101441) detached]
@gustawho
Copy link

Hi @littlewu2508, sorry for the delayed response.

If you're still interesting in figuring this one out, would you mind sharing a PDF that could help to reproduce this issue? I've just compiled my fork and all the PDF files that I tested were opened just fine (although I have to admit they were rather simple 1-5 pages files).

Having said that, this project hasn't received much love in a while, so it's more than likely that it might need to be reworked in some places, particularly with the migration from KF5 to KF6.

@littlewu2508
Copy link
Author

Hi @littlewu2508, sorry for the delayed response.

If you're still interesting in figuring this one out, would you mind sharing a PDF that could help to reproduce this issue? I've just compiled my fork and all the PDF files that I tested were opened just fine (although I have to admit they were rather simple 1-5 pages files).

Try this document:

https://ftp.jaist.ac.jp/pub/CTAN/macros/latex/contrib/lipsum/lipsum.pdf

The only pdf I can open without crash is a some text generated by the following tex file:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{lipsum}
\begin{document}
\lipsum[1-100][1-100]
\end{document}

@gustawho
Copy link

Thank you for providing the sample file, I was able to reproduce this on my end.

I'll try to spin out a clean testing environment to further investigate on this. Attaching my trace.

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff144a6c0 (LWP 481754)]
[New Thread 0x7ffff0c496c0 (LWP 481755)]
[New Thread 0x7fffe8d656c0 (LWP 481761)]
[New Thread 0x7fffdbbff6c0 (LWP 481762)]
[New Thread 0x7fffdb3fe6c0 (LWP 481763)]
[New Thread 0x7fffdabfd6c0 (LWP 481764)]
[New Thread 0x7fffda3fc6c0 (LWP 481765)]
[New Thread 0x7fffd9bfb6c0 (LWP 481766)]
[New Thread 0x7fffd93fa6c0 (LWP 481767)]
[New Thread 0x7fffd8bf96c0 (LWP 481768)]
[New Thread 0x7fffbbfff6c0 (LWP 481769)]
[New Thread 0x7fffbb7fe6c0 (LWP 481770)]
[New Thread 0x7fffbaffd6c0 (LWP 481771)]
[New Thread 0x7fffba7fc6c0 (LWP 481772)]
[Thread 0x7fffba7fc6c0 (LWP 481772) exited]
[Thread 0x7fffbaffd6c0 (LWP 481771) exited]
[New Thread 0x7fffbaffd6c0 (LWP 481776)]
[New Thread 0x7fffba7fc6c0 (LWP 481777)]
[New Thread 0x7fff97dff6c0 (LWP 481778)]
[New Thread 0x7fff975fe6c0 (LWP 481779)]
[New Thread 0x7fff966546c0 (LWP 481784)]
[Detaching after fork from child process 481785]
[New Thread 0x7fff95e376c0 (LWP 481787)]
[New Thread 0x7fff951c86c0 (LWP 481788)]
[New Thread 0x7fff949c76c0 (LWP 481789)]
[Detaching after fork from child process 481801]
[Detaching after fork from child process 481802]
[New Thread 0x7fff7ffff6c0 (LWP 481803)]
[New Thread 0x7fff7f7fe6c0 (LWP 481804)]

Thread 1 "okular" received signal SIGSEGV, Segmentation fault.
0x00007fff981348ff in QMuPDF::Outline::~Outline() () from /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#0  0x00007fff981348ff in QMuPDF::Outline::~Outline() () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#1  0x00007fff98134926 in QMuPDF::Outline::~Outline() () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#2  0x00007fff9813565e in QMuPDF::Document::outline() const () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#3  0x00007fff98137b5d in MuPDFGenerator::generateDocumentSynopsis() () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#4  0x00007fffe835bef7 in TOC::notifySetup(QVector<Okular::Page*> const&, int) () at /usr/lib/qt/plugins/okularpart.so
#5  0x00007fffe816762b in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) () at /usr/lib/libOkular5Core.so.11
#6  0x00007fffe82b9f67 in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) () at /usr/lib/qt/plugins/okularpart.so
#7  0x00007fffe82badd1 in Okular::Part::openFile() () at /usr/lib/qt/plugins/okularpart.so
#8  0x00007ffff7f8c1dd in KParts::ReadOnlyPartPrivate::openLocalFile() (this=this@entry=0x5555556ea620) at /usr/src/debug/kparts5/kparts-5.111.0/src/readonlypart.cpp:184
#9  0x00007ffff7f92330 in KParts::ReadOnlyPart::openUrl(QUrl const&) (this=<optimized out>, url=...) at /usr/src/debug/kparts5/kparts-5.111.0/src/readonlypart.cpp:145
#10 0x00007fffe82a8dad in Okular::Part::openUrl(QUrl const&, bool) () at /usr/lib/qt/plugins/okularpart.so
#11 0x0000555555572d31 in  ()
#12 0x0000555555574950 in  ()
#13 0x00007ffff64d1097 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffc4d0, r=<optimized out>, this=0x555555f135d0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false>(QObject*, int, void**) (sender=0x5555570a0820, signal_index=7, argv=0x7fffffffc4d0) at kernel/qobject.cpp:3925
#15 0x00007ffff64d1097 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffc600, r=<optimized out>, this=0x555555ad48c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x555555c07d40, signal_index=9, argv=0x7fffffffc600) at kernel/qobject.cpp:3925
#17 0x00007ffff725c677 in QAbstractButton::clicked(bool) (this=this@entry=0x555555c07d40, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#18 0x00007ffff725ef2a in QAbstractButtonPrivate::emitClicked() (this=this@entry=0x555556124610) at widgets/qabstractbutton.cpp:416
#19 0x00007ffff726042c in QAbstractButtonPrivate::click() (this=0x555556124610) at widgets/qabstractbutton.cpp:409
#20 0x00007ffff72605d0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x555555c07d40, e=0x7fffffffcb80) at widgets/qabstractbutton.cpp:1045
#21 0x00007ffff71af1a1 in QWidget::event(QEvent*) (this=0x555555c07d40, event=0x7fffffffcb80) at kernel/qwidget.cpp:8671
#22 0x00007ffff71788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5555555b0650, receiver=receiver@entry=0x555555c07d40, e=e@entry=0x7fffffffcb80) at kernel/qapplication.cpp:3640
#23 0x00007ffff717ddaf in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x555555c07d40, e=0x7fffffffcb80) at kernel/qapplication.cpp:3084
#24 0x00007ffff649c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555c07d40, event=0x7fffffffcb80) at kernel/qcoreapplication.cpp:1064
#25 0x00007ffff649c1f3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#26 0x00007ffff717c0ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x555555c07d40, event=0x7fffffffcb80, alienWidget=<optimized out>, nativeWidget=0x55555589a170, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#27 0x00007ffff71cce85 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x555555cdad60, event=event@entry=0x7fffffffcee0) at kernel/qwidgetwindow.cpp:684
#28 0x00007ffff71cebd7 in QWidgetWindow::event(QEvent*) (this=0x555555cdad60, event=0x7fffffffcee0) at kernel/qwidgetwindow.cpp:300
#29 0x00007ffff71788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555555cdad60, e=0x7fffffffcee0) at kernel/qapplication.cpp:3640
#30 0x00007ffff649c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555cdad60, event=0x7fffffffcee0) at kernel/qcoreapplication.cpp:1064
#31 0x00007ffff649c1f3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#32 0x00007ffff694194c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55555605ae10) at kernel/qguiapplication.cpp:2285
#33 0x00007ffff692a6e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#34 0x00007ffff152f5e0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#35 0x00007ffff4f0df69 in g_main_dispatch (context=0x7fffec000ec0) at ../glib/glib/gmain.c:3476
#36 0x00007ffff4f6c327 in g_main_context_dispatch_unlocked (context=0x7fffec000ec0) at ../glib/glib/gmain.c:4284
#37 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffec000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#38 0x00007ffff4f0c162 in g_main_context_iteration (context=0x7fffec000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#39 0x00007ffff64eaf7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555690e70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007ffff649ae74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd280, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x00007ffff649c313 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x00005555555657e3 in  ()
#43 0x00007ffff5c45cd0 in __libc_start_call_main (main=main@entry=0x555555565060, argc=argc@entry=1, argv=argv@entry=0x7fffffffd4c8) at ../sysdeps/nptl/libc_start_call_main.h:58
#44 0x00007ffff5c45d8a in __libc_start_main_impl (main=0x555555565060, argc=1, argv=0x7fffffffd4c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd4b8) at ../csu/libc-start.c:360
#45 0x00005555555668d5 in  ()
#0  0x00007fff981348ff in QMuPDF::Outline::~Outline() () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#1  0x00007fff98134926 in QMuPDF::Outline::~Outline() () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#2  0x00007fff9813565e in QMuPDF::Document::outline() const () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#3  0x00007fff98137b5d in MuPDFGenerator::generateDocumentSynopsis() () at /usr/lib/qt/plugins/okular/generators/okularGenerator_mupdf.so
#4  0x00007fffe835bef7 in TOC::notifySetup(QVector<Okular::Page*> const&, int) () at /usr/lib/qt/plugins/okularpart.so
#5  0x00007fffe816762b in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) () at /usr/lib/libOkular5Core.so.11
#6  0x00007fffe82b9f67 in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) () at /usr/lib/qt/plugins/okularpart.so
#7  0x00007fffe82badd1 in Okular::Part::openFile() () at /usr/lib/qt/plugins/okularpart.so
#8  0x00007ffff7f8c1dd in KParts::ReadOnlyPartPrivate::openLocalFile() (this=this@entry=0x5555556ea620) at /usr/src/debug/kparts5/kparts-5.111.0/src/readonlypart.cpp:184
        q = 0x5555558581f0
        ret = <optimized out>
#9  0x00007ffff7f92330 in KParts::ReadOnlyPart::openUrl(QUrl const&) (this=<optimized out>, url=...) at /usr/src/debug/kparts5/kparts-5.111.0/src/readonlypart.cpp:145
        d = 0x5555556ea620
        args = {d = {d = 0x55555651e580}}
        closed = true
#10 0x00007fffe82a8dad in Okular::Part::openUrl(QUrl const&, bool) () at /usr/lib/qt/plugins/okularpart.so
#11 0x0000555555572d31 in  ()
#12 0x0000555555574950 in  ()
#13 0x00007ffff64d1097 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffc4d0, r=<optimized out>, this=0x555555f135d0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
        receiver = <optimized out>
        td = <optimized out>
        senderData = {previous = 0x0, receiver = 0x55555589a170, sender = 0x5555570a0820, signal = 7}
        c = 0x555555f13600
        connections = {d = 0x555555ad4920}
        list = 0x5555567c40f0
        inSenderThread = <optimized out>
        highestConnectionId = 7
        signalVector = 0x5555567c4060
        currentThreadId = <optimized out>
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#14 doActivate<false>(QObject*, int, void**) (sender=0x5555570a0820, signal_index=7, argv=0x7fffffffc4d0) at kernel/qobject.cpp:3925
        receiver = <optimized out>
        td = <optimized out>
        senderData = {previous = 0x0, receiver = 0x55555589a170, sender = 0x5555570a0820, signal = 7}
        c = 0x555555f13600
        connections = {d = 0x555555ad4920}
        list = 0x5555567c40f0
        inSenderThread = <optimized out>
        highestConnectionId = 7
        signalVector = 0x5555567c4060
        currentThreadId = <optimized out>
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#15 0x00007ffff64d1097 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffc600, r=<optimized out>, this=0x555555ad48c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
        receiver = <optimized out>
        td = <optimized out>
        senderData = {previous = 0x0, receiver = 0x5555570a0820, sender = 0x555555c07d40, signal = 9}
        c = 0x555555982ca0
        connections = {d = 0x55555686b150}
        list = 0x555555982c00
        inSenderThread = <optimized out>
        highestConnectionId = 4
        signalVector = 0x555555982b50
        currentThreadId = <optimized out>
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#16 doActivate<false>(QObject*, int, void**) (sender=0x555555c07d40, signal_index=9, argv=0x7fffffffc600) at kernel/qobject.cpp:3925
        receiver = <optimized out>
        td = <optimized out>
        senderData = {previous = 0x0, receiver = 0x5555570a0820, sender = 0x555555c07d40, signal = 9}
        c = 0x555555982ca0
        connections = {d = 0x55555686b150}
        list = 0x555555982c00
        inSenderThread = <optimized out>
        highestConnectionId = 4
        signalVector = 0x555555982b50
        currentThreadId = <optimized out>
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#17 0x00007ffff725c677 in QAbstractButton::clicked(bool) (this=this@entry=0x555555c07d40, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
        _a = {0x0, 0x7fffffffc5fc}
#18 0x00007ffff725ef2a in QAbstractButtonPrivate::emitClicked() (this=this@entry=0x555556124610) at widgets/qabstractbutton.cpp:416
        q = 0x555555c07d40
#19 0x00007ffff726042c in QAbstractButtonPrivate::click() (this=0x555556124610) at widgets/qabstractbutton.cpp:409
        q = <optimized out>
        changeState = <optimized out>
#20 0x00007ffff72605d0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x555555c07d40, e=0x7fffffffcb80) at widgets/qabstractbutton.cpp:1045
        d = 0x555556124610
#21 0x00007ffff71af1a1 in QWidget::event(QEvent*) (this=0x555555c07d40, event=0x7fffffffcb80) at kernel/qwidget.cpp:8671
        d = 0x555556124610
#22 0x00007ffff71788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5555555b0650, receiver=receiver@entry=0x555555c07d40, e=e@entry=0x7fffffffcb80) at kernel/qapplication.cpp:3640
        consumed = false
        filtered = false
#23 0x00007ffff717ddaf in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x555555c07d40, e=0x7fffffffcb80) at kernel/qapplication.cpp:3084
        me = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff6e5ecf0 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff658a260 <_ZL25qt_meta_stringdata_QEvent.lto_priv.0>, data = 0x7ffff6589ca0 <_ZL19qt_meta_data_QEvent.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}, ts = 96411852}, l = {xp = 75, yp = 18}, w = {xp = 710, yp = 738}, s = {xp = 710, yp = 762}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}}
        w = 0x555555c07d40
        mouse = 0x7fffffffcb80
        eventAccepted = <optimized out>
        relpos = {xp = 75, yp = 18}
        d = 0x5555555b0650
        res = false
#24 0x00007ffff649c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555c07d40, event=0x7fffffffcb80) at kernel/qcoreapplication.cpp:1064
        selfRequired = true
        result = false
        cbdata = {0x555555c07d40, 0x7fffffffcb80, 0x7fffffffc97f}
        d = <optimized out>
        threadData = 0x55555558f550
        scopeLevelCounter = {threadData = 0x55555558f550}
#25 0x00007ffff649c1f3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#26 0x00007ffff717c0ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x555555c07d40, event=0x7fffffffcb80, alienWidget=<optimized out>, nativeWidget=0x55555589a170, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
        receiverGuard = {wp = {d = <optimized out>, value = <optimized out>}}
        nativeGuard = {wp = {d = <optimized out>, value = <optimized out>}}
        alienGuard = {wp = {d = 0x55555686b110, value = 0x555555c07d40}}
        activePopupWidget = {wp = {d = 0x0, value = 0x0}}
        graphicsWidget = false
        widgetUnderMouse = <optimized out>
        wasLeaveAfterRelease = <optimized out>
        result = true
#27 0x00007ffff71cce85 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x555555cdad60, event=event@entry=0x7fffffffcee0) at kernel/qwidgetwindow.cpp:684
        translated = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff6e5ecf0 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff658a260 <_ZL25qt_meta_stringdata_QEvent.lto_priv.0>, data = 0x7ffff6589ca0 <_ZL19qt_meta_data_QEvent.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 8191}, modState = {i = 0}, ts = 96411852}, l = {xp = 75, yp = 18}, w = {xp = 710, yp = 738}, s = {xp = 710, yp = 762}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}}
        widget = <optimized out>
        mapped = {xp = 75, yp = 18}
        initialPress = <optimized out>
        receiver = 0x555555c07d40
        contextMenuTrigger = QEvent::MouseButtonPress
#28 0x00007ffff71cebd7 in QWidgetWindow::event(QEvent*) (this=0x555555cdad60, event=0x7fffffffcee0) at kernel/qwidgetwindow.cpp:300
#29 0x00007ffff71788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555555cdad60, e=0x7fffffffcee0) at kernel/qapplication.cpp:3640
        consumed = false
        filtered = false
#30 0x00007ffff649c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555cdad60, event=0x7fffffffcee0) at kernel/qcoreapplication.cpp:1064
        selfRequired = true
        result = false
        cbdata = {0x555555cdad60, 0x7fffffffcee0, 0x7fffffffcd9f}
        d = <optimized out>
        threadData = 0x55555558f550
        scopeLevelCounter = {threadData = 0x55555558f550}
#31 0x00007ffff649c1f3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#32 0x00007ffff694194c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55555605ae10) at kernel/qguiapplication.cpp:2285
        type = QEvent::MouseButtonRelease
        button = Qt::LeftButton
        window = 0x555555cdad60
        positionChanged = <optimized out>
        mouseMove = <optimized out>
        mousePress = <optimized out>
        localPoint = {xp = 710, yp = 738}
        globalPoint = {xp = 710, yp = 762}
        doubleClick = false
        ev = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff6e5ecf0 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff658a260 <_ZL25qt_meta_stringdata_QEvent.lto_priv.0>, data = 0x7ffff6589ca0 <_ZL19qt_meta_data_QEvent.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 2737}, modState = {i = 0}, ts = 96411852}, l = {xp = 710, yp = 738}, w = {xp = 710, yp = 738}, s = {xp = 710, yp = 762}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}}
#33 0x00007ffff692a6e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
        event = 0x55555605ae10
        nevents = 1
#34 0x00007ffff152f5e0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
        xcbEventSource = <optimized out>
        flags = {i = 36}
#35 0x00007ffff4f0df69 in g_main_dispatch (context=0x7fffec000ec0) at ../glib/glib/gmain.c:3476
        dispatch = 0x7ffff152f5c0 <xcbSourceDispatch(GSource*, GSourceFunc, gpointer)>
        prev_source = 0x0
        begin_time_nsec = 96411852740655
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = 0x0
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0x55555568c940
        current = 0x555556742cc0
        i = 1
        __func__ = "g_main_dispatch"
#36 0x00007ffff4f6c327 in g_main_context_dispatch_unlocked (context=0x7fffec000ec0) at ../glib/glib/gmain.c:4284
        max_priority = 2147483647
        timeout = 14
        some_ready = 1
        nfds = 3
        allocated_nfds = 3
        fds = 0x555556095e20
        begin_time_nsec = 96411842471636
#37 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffec000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
        max_priority = 2147483647
        timeout = 14
        some_ready = 1
        nfds = 3
        allocated_nfds = 3
        fds = 0x555556095e20
        begin_time_nsec = 96411842471636
#38 0x00007ffff4f0c162 in g_main_context_iteration (context=0x7fffec000ec0, may_block=1) at ../glib/glib/gmain.c:4414
        retval = <optimized out>
#39 0x00007ffff64eaf7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555690e70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
        d = 0x5555556916a0
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#40 0x00007ffff649ae74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd280, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
        d = 0x5555556a22e0
        threadData = <optimized out>
        locker = {val = 93824992476152}
        app = <optimized out>
#41 0x00007ffff649c313 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
        threadData = 0x55555558f550
        eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff6727750 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff6595b00 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7ffff65959e0 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7ffff64d1520 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x5555556a22e0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff65c6720 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7ffff65c38a0 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff67205a0 <QObject::staticMetaObject>}, stringdata = 0x7ffff65914c0 <_ZL29qt_meta_stringdata_QEventLoop.lto_priv.0>, data = 0x7ffff6591460 <_ZL23qt_meta_data_QEventLoop.lto_priv.0>, static_metacall = 0x7ffff6498b70 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#42 0x00005555555657e3 in  ()
#43 0x00007ffff5c45cd0 in __libc_start_call_main (main=main@entry=0x555555565060, argc=argc@entry=1, argv=argv@entry=0x7fffffffd4c8) at ../sysdeps/nptl/libc_start_call_main.h:58
        self = <optimized out>
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737488344264, -6715248063966572549, 0, 140737488344280, 140737354125312, 93824992426232, 6715248065439502331, 6715235373316739067}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fffffffd4c8, 0x1}, data = {prev = 0x0, cleanup = 0x0, canceltype = -11064}}}
        not_first_call = <optimized out>
#44 0x00007ffff5c45d8a in __libc_start_main_impl (main=0x555555565060, argc=1, argv=0x7fffffffd4c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd4b8) at ../csu/libc-start.c:360
#45 0x00005555555668d5 in  ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants