Skip to content

Instantly share code, notes, and snippets.

@johncant
Created February 22, 2016 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johncant/b26022474e9d3fcaab2c to your computer and use it in GitHub Desktop.
Save johncant/b26022474e9d3fcaab2c to your computer and use it in GitHub Desktop.
$ gdb `which owncloud`
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/owncloud...(no debugging symbols found)...done.
(gdb) handle SIGPIPE nostop noprint pass
Signal Stop Print Pass to program Description
SIGPIPE No No Yes Broken pipe
(gdb) run
Starting program: /usr/bin/owncloud
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe5a0d700 (LWP 22393)]
[New Thread 0x7fffdcad3700 (LWP 22394)]
[New Thread 0x7fffd6b50700 (LWP 22544)]
ICE default IO error handler doing an exit(), pid = 22389, errno = 32
[Thread 0x7fffd6b50700 (LWP 22544) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdcad3700 (LWP 22394)]
0x00007ffff7f8fe6b in QDBusMetaType::typeToSignature(int) () from /usr/lib/libQt5DBus.so.5
(gdb) thread apply all backtrace
Thread 3 (Thread 0x7fffdcad3700 (LWP 22394)):
#0 0x00007ffff7f8fe6b in QDBusMetaType::typeToSignature(int) () from /usr/lib/libQt5DBus.so.5
#1 0x00007ffff7f99327 in ?? () from /usr/lib/libQt5DBus.so.5
#2 0x00007ffff7f9af6a in QDBusPendingReplyData::setMetaTypes(int, int const*) () from /usr/lib/libQt5DBus.so.5
#3 0x00007fffdc26d768 in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#4 0x00007fffdc2753bf in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#5 0x00007fffdc289ef9 in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#6 0x00007ffff6b7431a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#7 0x00007fffdc2873c5 in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#8 0x00007fffdc26a0cc in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#9 0x00007fffdc28909c in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#10 0x00007ffff6b7431a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#11 0x00007ffff7f9911f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/libQt5DBus.so.5
#12 0x00007ffff7f9a7f5 in ?? () from /usr/lib/libQt5DBus.so.5
#13 0x00007ffff6b751e1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff758c9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff7591e86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff6b45bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#17 0x00007ffff6b47fa6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff6b9c143 in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007ffff2021dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00007ffff2022020 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007ffff20220cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x00007ffff6b9c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007ffff6b4357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007ffff695fbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff6964b8e in ?? () from /usr/lib/libQt5Core.so.5
#26 0x00007ffff51b44a4 in start_thread () from /usr/lib/libpthread.so.0
#27 0x00007ffff54b313d in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0x7fffe5a0d700 (LWP 22393)):
#0 0x00007ffff54aa18d in poll () from /usr/lib/libc.so.6
#1 0x00007fffed7aaae2 in ?? () from /usr/lib/libxcb.so.1
#2 0x00007fffed7ac757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3 0x00007fffe753b379 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4 0x00007ffff6964b8e in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff51b44a4 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff54b313d in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7fffe77bd800 (LWP 22389)):
#0 0x00007ffff7def7c3 in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2
#1 0x00007ffff7defefe in _dl_close () from /lib64/ld-linux-x86-64.so.2
#2 0x00007ffff7dea124 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#3 0x00007ffff066b5e1 in ?? () from /usr/lib/libdl.so.2
#4 0x00007ffff066b0bf in dlclose () from /usr/lib/libdl.so.2
#5 0x00007ffff6b40317 in ?? () from /usr/lib/libQt5Core.so.5
#6 0x00007ffff6b3a242 in ?? () from /usr/lib/libQt5Core.so.5
#7 0x00007ffff6b32732 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x00007ffff6b32959 in ?? () from /usr/lib/libQt5Core.so.5
#9 0x00007ffff6b7c618 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#10 0x00007ffff6b318c0 in QFactoryLoader::~QFactoryLoader() () from /usr/lib/libQt5Core.so.5
#11 0x00007ffff737c649 in ?? () from /usr/lib/libQt5Network.so.5
#12 0x00007ffff53fff88 in __run_exit_handlers () from /usr/lib/libc.so.6
#13 0x00007ffff53fffd5 in exit () from /usr/lib/libc.so.6
#14 0x00007fffe6ed40fa in ?? () from /usr/lib/libICE.so.6
#15 0x00007fffe6eda0c4 in IceFlush () from /usr/lib/libICE.so.6
#16 0x00007fffe7569301 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#17 0x00007fffe756958a in ?? () from /usr/lib/libQt5XcbQpa.so.5
---Type <return> to continue, or q <return> to quit---
#18 0x00007fffe756a011 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#19 0x00007fffe756abb4 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#20 0x00007fffe70eec38 in _SmcProcessMessage () from /usr/lib/libSM.so.6
#21 0x00007fffe6ede46c in IceProcessMessages () from /usr/lib/libICE.so.6
#22 0x00007ffff6b7431a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#23 0x00007ffff6bf421e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib/libQt5Core.so.5
#24 0x00007ffff6b80e3b in QSocketNotifier::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff758c9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff7591e86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff6b45bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007ffff6b9ca1d in ?? () from /usr/lib/libQt5Core.so.5
#29 0x00007ffff2021dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007ffff2022020 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007ffff20220cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007ffff6b9c54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007ffff6b4357a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#34 0x00007ffff6b4b53c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#35 0x00000000004671a0 in main ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment