Skip to content

Instantly share code, notes, and snippets.

@AkechiShiro
Last active January 7, 2021 16:24
Show Gist options
  • Save AkechiShiro/0d132831c9d3a3d55bdac22605bf7adf to your computer and use it in GitHub Desktop.
Save AkechiShiro/0d132831c9d3a3d55bdac22605bf7adf to your computer and use it in GitHub Desktop.
GEF backtrace of Nextcloud conflict crash with style fusion

GEF status

[ Legend: Modified register | Code | Heap | Stack | String ]
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── registers ────
$rax   : 0x0               
$rbx   : 0x00007fffb038a4c00x00007fffb038a4c0  →  [loop detected]
$rcx   : 0x00007fffede99615<raise+325> mov rax, QWORD PTR [rsp+0x108]
$rdx   : 0x0               
$rsp   : 0x00007fffffffa2a00x0000000000000000
$rbp   : 0x00007fffffffa4f80x00007fffee7039400x00000000ffffffff
$rsi   : 0x00007fffffffa2a00x0000000000000000
$rdi   : 0x2               
$rip   : 0x00007fffede99615<raise+325> mov rax, QWORD PTR [rsp+0x108]
$r8    : 0x0               
$r9    : 0x00007fffffffa2a00x0000000000000000
$r10   : 0x8               
$r11   : 0x246             
$r12   : 0x00007fffffffa6000x0000000000000002
$r13   : 0x00005555563c1c300x00007fffee8b14e00x00007fffee643080<QObject::metaObject()+0> mov rdi, QWORD PTR [rdi+0x8]
$r14   : 0x00007fffffffa5e80x0000555557dca0300x0000004200000001
$r15   : 0x00007fffffffa5f00x00007fffefc3ab800x00000005ffffffff
$eflags: [ZERO carry PARITY adjust sign trap INTERRUPT direction overflow resume virtualx86 identification]
$cs: 0x0033 $ss: 0x002b $ds: 0x0000 $es: 0x0000 $fs: 0x0000 $gs: 0x0000 
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── stack ────
0x00007fffffffa2a0+0x0000: 0x0000000000000000	← $rsp, $rsi, $r9
0x00007fffffffa2a8+0x0008: 0x00000000ededd2bd
0x00007fffffffa2b0+0x0010: 0x000000770000005d ("]"?)
0x00007fffffffa2b8+0x0018: 0x00007fffee01f4400x00000000fbad2887
0x00007fffffffa2c0+0x0020: 0x0000555555e6df680x0000000000000000
0x00007fffffffa2c8+0x0028: 0x809f171a88ec8400
0x00007fffffffa2d0+0x0030: 0x0000000000000d68 ("h\r"?)
0x00007fffffffa2d8+0x0038: 0x0000000000000000
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── code:x86:64 ────
   0x7fffede99609 <raise+313>      mov    edi, 0x2
   0x7fffede9960e <raise+318>      mov    eax, 0xe
   0x7fffede99613 <raise+323>      syscall0x7fffede99615 <raise+325>      mov    rax, QWORD PTR [rsp+0x108]
   0x7fffede9961d <raise+333>      sub    rax, QWORD PTR fs:0x28
   0x7fffede99626 <raise+342>      jne    0x7fffede9964c <raise+380>
   0x7fffede99628 <raise+344>      mov    eax, r8d
   0x7fffede9962b <raise+347>      add    rsp, 0x118
   0x7fffede99632 <raise+354>      ret    
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── threads ────
[#0] Id 1, Name: "nextcloud", stopped 0x7fffede99615 in raise (), reason: SIGABRT
[#1] Id 2, Name: "QXcbEventQueue", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#2] Id 3, Name: "nextcloud:cs0", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#3] Id 4, Name: "nextclo:disk$0", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#4] Id 5, Name: "nextclo:disk$1", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#5] Id 6, Name: "nextclo:disk$2", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#6] Id 7, Name: "nextclo:disk$3", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#7] Id 8, Name: "nextcloud:sh0", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#8] Id 9, Name: "nextcloud:sh1", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#9] Id 10, Name: "nextcloud:sh2", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#10] Id 11, Name: "nextcloud:sh3", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#11] Id 12, Name: "nextcloud:sh4", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#12] Id 13, Name: "nextcloud:sh5", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#13] Id 14, Name: "nextclou:shlo0", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#14] Id 15, Name: "nextclou:shlo1", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#15] Id 16, Name: "nextclou:shlo2", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#16] Id 17, Name: "nextclou:shlo3", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#17] Id 18, Name: "nextclou:gdrv0", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#18] Id 19, Name: "Qt bearer threa", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#19] Id 20, Name: "QDBusConnection", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#20] Id 25, Name: "QQmlThread", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#21] Id 26, Name: "gmain", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#22] Id 28, Name: "gdbus", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#23] Id 30, Name: "nextclou:gdrv0", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#24] Id 31, Name: "QSGRenderThread", stopped 0x7fffed8cf6a2 in pthread_cond_wait@@GLIBC_2.3.2 (), reason: SIGABRT
[#25] Id 32, Name: "QNetworkAccessM", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#26] Id 34, Name: "QQuickPixmapRea", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#27] Id 35, Name: "QNetworkAccessM", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
[#28] Id 151, Name: "Thread (pooled)", stopped 0x7fffed8cf9c8 in pthread_cond_timedwait@@GLIBC_2.3.2 (), reason: SIGABRT
[#29] Id 152, Name: "Thread (pooled)", stopped 0x7fffed8cf9c8 in pthread_cond_timedwait@@GLIBC_2.3.2 (), reason: SIGABRT
[#30] Id 153, Name: "Thread (pooled)", stopped 0x7fffed8cf9c8 in pthread_cond_timedwait@@GLIBC_2.3.2 (), reason: SIGABRT
[#31] Id 154, Name: "Thread (pooled)", stopped 0x7fffed8cf9c8 in pthread_cond_timedwait@@GLIBC_2.3.2 (), reason: SIGABRT
[#32] Id 159, Name: "Thread (pooled)", stopped 0x7fffed8cf9c8 in pthread_cond_timedwait@@GLIBC_2.3.2 (), reason: SIGABRT
[#33] Id 162, Name: "SyncEngine_Thre", stopped 0x7fffedf5146f in poll (), reason: SIGABRT
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── trace ────
[#0] 0x7fffede99615raise()
[#1] 0x7fffede82862abort()
[#2] 0x7fffee3f49acQMessageLogger::fatal(char const*, ...) const()
[#3] 0x7fffefb14651QQmlData::destroyed(QObject*)()
[#4] 0x7fffee64ec51QObject::~QObject()()
[#5] 0x7ffff00cd2e7mov rdi, rbp
[#6] 0x7fffee64410eQObjectPrivate::deleteChildren()()
[#7] 0x7fffee64ef75QObject::~QObject()()
[#8] 0x7fff4c3ab403mov rdi, rbp
[#9] 0x7fffee646340QObject::event(QEvent*)()

Actual Backtrace

#0  0x00007fffede99615 in raise () at /usr/lib/libc.so.6
#1  0x00007fffede82862 in abort () at /usr/lib/libc.so.6
#2  0x00007fffee3f49ac in  () at /usr/lib/libQt5Core.so.5
#3  0x00007fffefb14651 in QQmlData::destroyed(QObject*) () at /usr/lib/libQt5Qml.so.5
#4  0x00007fffee64ec51 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#5  0x00007ffff00cd2e7 in  () at /usr/lib/libQt5Quick.so.5
#6  0x00007fffee64410e in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#7  0x00007fffee64ef75 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#8  0x00007fff4c3ab403 in  () at /usr/lib/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#9  0x00007fffee646340 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007fffef190752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fffee619a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007fffee61c573 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#13 0x00007fffee6730a4 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007ffff7c29a84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#15 0x00007ffff7c7d9b1 in  () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffff7c282b1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#17 0x00007fffee6726e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#18 0x00007fffee6183fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007fffef39420a in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#20 0x00005555556d0d0f in OCC::ActivityListModel::triggerDefaultAction(int) const ()
#21 0x0000555555613023 in OCC::ActivityListModel::qt_metacall(QMetaObject::Call, int, void**) ()
#22 0x00007fffefb5f56e in  () at /usr/lib/libQt5Qml.so.5
#23 0x00007fffefa4509f in  () at /usr/lib/libQt5Qml.so.5
#24 0x00007fffefa46f3a in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/libQt5Qml.so.5
#25 0x00007fffefa742fa in QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int) () at /usr/lib/libQt5Qml.so.5
#26 0x00007fff2800ffa1 in  ()
#27 0x0000000000000000 in  ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment