Skip to content

Instantly share code, notes, and snippets.

@FreddieChopin
Created May 15, 2016 20:14
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 FreddieChopin/5eccac0a3bae11c6f4f70ab4e410e612 to your computer and use it in GitHub Desktop.
Save FreddieChopin/5eccac0a3bae11c6f4f70ab4e410e612 to your computer and use it in GitHub Desktop.
$ gdb eiskaltdcpp-qt
GNU gdb (GDB) 7.11
Copyright (C) 2016 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-pc-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 eiskaltdcpp-qt...done.
(gdb) run
Starting program: /usr/bin/eiskaltdcpp-qt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe8262700 (LWP 22495)]
Installing handler for: Segmentation fault
Installing handler for: Aborted
Installing handler for: Bus error
Installing handler for: Terminated
Signal handlers installed.
[New Thread 0x7fffde3d5700 (LWP 22498)]
Thread 1 "eiskaltdcpp-qt" received signal SIGSEGV, Segmentation fault.
0x00007ffff4860580 in __memcmp_sse4_1 () from /usr/lib/libc.so.6
(gdb) bt full
#0 0x00007ffff4860580 in __memcmp_sse4_1 () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007ffff44b653f in std::char_traits<char>::compare (__n=<optimized out>, __s2=0x7ffff5fef94d "http://",
__s1=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:262
No locals.
#2 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare (this=0xd1a9d0, __pos=__pos@entry=0,
__n1=__n1@entry=7, __s=__s@entry=0x7ffff5fef94d "http://")
at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:1412
__osize = 7
__r = 7
#3 0x00007ffff5fe9976 in dcpp::DynDNS::Request (this=this@entry=0xd26430)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/extra/dyndns.cpp:39
tmps = ""
#4 0x00007ffff5fe9ccb in dcpp::DynDNS::DynDNS (this=0xd26430)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/extra/dyndns.cpp:28
No locals.
#5 0x00007ffff5f8300f in dcpp::Singleton<dcpp::DynDNS>::newInstance ()
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/dcpp/Singleton.h:46
No locals.
#6 dcpp::startup (
f=f@entry=0x5376e0 <callBack(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>,
p=p@entry=0x0) at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/dcpp/DCPlusPlus.cpp:111
XmlListFileName = <error: Cannot access memory at address 0x64003700320033>
#7 0x00000000004c322e in main (argc=<optimized out>, argv=<optimized out>)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/eiskaltdcpp-qt/src/main.cpp:147
app = {<QtSingleCoreApplication> = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {
superdata = 0x7ffff7da9100 <QApplication::staticMetaObject>,
stringdata = 0x717f00 <qt_meta_stringdata_QtSingleCoreApplication>,
data = 0x717e60 <qt_meta_data_QtSingleCoreApplication>,
static_metacall = 0x554960 <QtSingleCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, _isRunning = false, sharedMemory = <incomplete type>}, static staticMetaObject = {
d = {superdata = 0x9a8740 <QtSingleCoreApplication::staticMetaObject>,
stringdata = 0x714ce0 <qt_meta_stringdata_EiskaltApp>, data = 0x714ca0 <qt_meta_data_EiskaltApp>,
static_metacall = 0x550260 <EiskaltApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, extradata = 0x0}}, ef = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {
superdata = 0x7ffff56948e0 <QObject::staticMetaObject>,
stringdata = 0x714d80 <qt_meta_stringdata_EiskaltEventFilter>, data = 0x714d20 <qt_meta_data_EiskaltEventFilter>,
static_metacall = 0x5502b0 <EiskaltEventFilter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, extradata = 0x0}}, timer = <incomplete type>, counter = 0, has_activity = true}}
ret = 0
(gdb) thr a all bt full
Thread 3 (Thread 0x7fffde3d5700 (LWP 22498)):
#0 0x00007ffff4dcc487 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
No symbol table info available.
#1 0x00007ffff4dcc534 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
No symbol table info available.
#2 0x00007ffff5f1ae38 in dcpp::Semaphore::wait (this=<optimized out>)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/dcpp/Semaphore.h:116
retval = <optimized out>
#3 dcpp::SearchManager::UdpQueue::run (this=<optimized out>)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/dcpp/SearchManager.cpp:179
x = ""
remoteIp = ""
#4 0x00007ffff5ee869a in dcpp::Thread::starter (p=<optimized out>)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/dcpp/Thread.h:117
t = <optimized out>
#5 0x00007ffff4dc4474 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#6 0x00007ffff47ffacd in clone () from /usr/lib/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7fffe8262700 (LWP 22495)):
#0 0x00007ffff47f6abd in poll () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007fffefee2ae2 in ?? () from /usr/lib/libxcb.so.1
No symbol table info available.
#2 0x00007fffefee4757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
No symbol table info available.
#3 0x00007fffeabe4a99 in ?? () from /usr/lib/libQt5XcbQpa.so.5
No symbol table info available.
#4 0x00007ffff5084de8 in ?? () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#5 0x00007ffff4dc4474 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#6 0x00007ffff47ffacd in clone () from /usr/lib/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7ffff7f227c0 (LWP 22491)):
#0 0x00007ffff4860580 in __memcmp_sse4_1 () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007ffff44b653f in std::char_traits<char>::compare (__n=<optimized out>, __s2=0x7ffff5fef94d "http://",
__s1=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:262
---Type <return> to continue, or q <return> to quit---
No locals.
#2 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare (this=0xd1a9d0, __pos=__pos@entry=0,
__n1=__n1@entry=7, __s=__s@entry=0x7ffff5fef94d "http://")
at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:1412
__osize = 7
__r = 7
#3 0x00007ffff5fe9976 in dcpp::DynDNS::Request (this=this@entry=0xd26430)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/extra/dyndns.cpp:39
tmps = ""
#4 0x00007ffff5fe9ccb in dcpp::DynDNS::DynDNS (this=0xd26430)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/extra/dyndns.cpp:28
No locals.
#5 0x00007ffff5f8300f in dcpp::Singleton<dcpp::DynDNS>::newInstance ()
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/dcpp/Singleton.h:46
No locals.
#6 dcpp::startup (
f=f@entry=0x5376e0 <callBack(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>,
p=p@entry=0x0) at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/dcpp/DCPlusPlus.cpp:111
XmlListFileName = <error: Cannot access memory at address 0x64003700320033>
#7 0x00000000004c322e in main (argc=<optimized out>, argv=<optimized out>)
at /tmp/yaourt-tmp-freddie/aur-eiskaltdcpp-qt-git/src/eiskaltdcpp/eiskaltdcpp-qt/src/main.cpp:147
app = {<QtSingleCoreApplication> = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {
superdata = 0x7ffff7da9100 <QApplication::staticMetaObject>,
stringdata = 0x717f00 <qt_meta_stringdata_QtSingleCoreApplication>,
data = 0x717e60 <qt_meta_data_QtSingleCoreApplication>,
static_metacall = 0x554960 <QtSingleCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, _isRunning = false, sharedMemory = <incomplete type>}, static staticMetaObject = {
d = {superdata = 0x9a8740 <QtSingleCoreApplication::staticMetaObject>,
stringdata = 0x714ce0 <qt_meta_stringdata_EiskaltApp>, data = 0x714ca0 <qt_meta_data_EiskaltApp>,
static_metacall = 0x550260 <EiskaltApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, extradata = 0x0}}, ef = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {
superdata = 0x7ffff56948e0 <QObject::staticMetaObject>,
stringdata = 0x714d80 <qt_meta_stringdata_EiskaltEventFilter>, data = 0x714d20 <qt_meta_data_EiskaltEventFilter>,
static_metacall = 0x5502b0 <EiskaltEventFilter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, extradata = 0x0}}, timer = <incomplete type>, counter = 0, has_activity = true}}
ret = 0
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment