Skip to content

Instantly share code, notes, and snippets.

@johncant
Created February 23, 2016 09:27
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/f4c04c6a9f2349ce2caf to your computer and use it in GitHub Desktop.
Save johncant/f4c04c6a9f2349ce2caf to your computer and use it in GitHub Desktop.
$ owncloud --version
ownCloud version 2.1.1
Using Qt 5.5.1
$ 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 0x7fffe5a0a700 (LWP 31223)]
[New Thread 0x7fffdcad3700 (LWP 31224)]
[New Thread 0x7fffd6b50700 (LWP 31482)]
ICE default IO error handler doing an exit(), pid = 31219, errno = 32
[Thread 0x7fffd6b50700 (LWP 31482) exited]
[Thread 0x7fffe5a0a700 (LWP 31223) exited]
[Thread 0x7fffe77ba800 (LWP 31219) exited]
[Inferior 1 (process 31219) exited with code 01]
(gdb) thread apply all backtrace
(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 0x7fffe5a0a700 (LWP 625)]
[New Thread 0x7fffdcad3700 (LWP 627)]
[New Thread 0x7fffd6b50700 (LWP 638)]
ICE default IO error handler doing an exit(), pid = 623, errno = 32
[Thread 0x7fffd6b50700 (LWP 638) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdcad3700 (LWP 627)]
0x00007ffff7f4c4e0 in QDBusConnection::QDBusConnection(QDBusConnection const&) () from /usr/lib/libQt5DBus.so.5
(gdb) thread apply all backtrace
Thread 3 (Thread 0x7fffdcad3700 (LWP 627)):
#0 0x00007ffff7f4c4e0 in QDBusConnection::QDBusConnection(QDBusConnection const&) () from /usr/lib/libQt5DBus.so.5
#1 0x00007ffff7f4f06c in QDBusConnection::systemBus() () from /usr/lib/libQt5DBus.so.5
#2 0x00007fffdc26d51c in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#3 0x00007fffdc2753bf in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#4 0x00007fffdc289ef9 in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#5 0x00007ffff6b7131a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#6 0x00007fffdc2873c5 in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#7 0x00007fffdc26a0cc in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#8 0x00007fffdc28909c in ?? () from /usr/lib/qt/plugins/bearer/libqnmbearer.so
#9 0x00007ffff6b7131a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#10 0x00007ffff7f9911f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/libQt5DBus.so.5
#11 0x00007ffff7f9a7f5 in ?? () from /usr/lib/libQt5DBus.so.5
#12 0x00007ffff6b721e1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007ffff75899ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff758ee86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff6b42bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007ffff6b44fa6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#17 0x00007ffff6b99143 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff201edc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007ffff201f020 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007ffff201f0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007ffff6b9954f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#22 0x00007ffff6b4057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007ffff695cbe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#24 0x00007ffff6961b8e in ?? () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff51b14a4 in start_thread () from /usr/lib/libpthread.so.0
#26 0x00007ffff54b013d in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0x7fffe5a0a700 (LWP 625)):
#0 0x00007ffff54a718d in poll () from /usr/lib/libc.so.6
#1 0x00007fffed7a7ae2 in ?? () from /usr/lib/libxcb.so.1
#2 0x00007fffed7a9757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3 0x00007fffe7538379 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4 0x00007ffff6961b8e in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff51b14a4 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff54b013d in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7fffe77ba800 (LWP 623)):
#0 0x00007ffff7def547 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 0x00007ffff06685e1 in ?? () from /usr/lib/libdl.so.2
#4 0x00007ffff06680bf in dlclose () from /usr/lib/libdl.so.2
#5 0x00007ffff6b3d317 in ?? () from /usr/lib/libQt5Core.so.5
#6 0x00007ffff6b37242 in ?? () from /usr/lib/libQt5Core.so.5
#7 0x00007ffff6b2f732 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x00007ffff6b2f959 in ?? () from /usr/lib/libQt5Core.so.5
#9 0x00007ffff6b79618 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#10 0x00007ffff6b2e8c0 in QFactoryLoader::~QFactoryLoader() () from /usr/lib/libQt5Core.so.5
#11 0x00007ffff7379649 in ?? () from /usr/lib/libQt5Network.so.5
#12 0x00007ffff53fcf88 in __run_exit_handlers () from /usr/lib/libc.so.6
#13 0x00007ffff53fcfd5 in exit () from /usr/lib/libc.so.6
#14 0x00007fffe6ed10fa in ?? () from /usr/lib/libICE.so.6
#15 0x00007fffe6ed70c4 in IceFlush () from /usr/lib/libICE.so.6
#16 0x00007fffe7566301 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#17 0x00007fffe756658a in ?? () from /usr/lib/libQt5XcbQpa.so.5
#18 0x00007fffe7567011 in ?? () from /usr/lib/libQt5XcbQpa.so.5
---Type <return> to continue, or q <return> to quit---
#19 0x00007fffe7567bb4 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#20 0x00007fffe70ebc38 in _SmcProcessMessage () from /usr/lib/libSM.so.6
#21 0x00007fffe6edb46c in IceProcessMessages () from /usr/lib/libICE.so.6
#22 0x00007ffff6b7131a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#23 0x00007ffff6bf121e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib/libQt5Core.so.5
#24 0x00007ffff6b7de3b in QSocketNotifier::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff75899ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff758ee86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff6b42bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007ffff6b99a1d in ?? () from /usr/lib/libQt5Core.so.5
#29 0x00007ffff201edc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007ffff201f020 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007ffff201f0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007ffff6b9954f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007ffff6b4057a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#34 0x00007ffff6b4853c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#35 0x0000000000467b00 in main ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment