[~/t/build/1/network_reply_error-qt5_clang_64-Debug]$ gdb ./network_reply_error GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./network_reply_error...done. (gdb) run Starting program: /home/fanda/t/build/1/network_reply_error-qt5_clang_64-Debug/network_reply_error [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff32c4700 (LWP 22727)] [New Thread 0x7ffff190a700 (LWP 22728)] [New Thread 0x7ffff1109700 (LWP 22729)] finished: 24430 deleting reply Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7a674a4 in load (_q_value=@0x7fff00000001: ) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/thread/qgenericatomic.h:98 98 return _q_value; (gdb) bt #0 0x00007ffff7a674a4 in load (_q_value=@0x7fff00000001: ) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/thread/qgenericatomic.h:98 #1 QBasicAtomicInteger::load (this=0x7fff00000001) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/thread/qbasicatomic.h:124 #2 0x00007ffff7a673b9 in QtPrivate::RefCount::deref (this=0x7fff00000001) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qrefcount.h:68 #3 0x00007ffff7a654df in QByteArray::~QByteArray (this=0x649de0) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qbytearray.h:427 #4 0x00007ffff7a6b2ce in QPair::~QPair (this=0x649de0) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qpair.h:51 #5 0x00007ffff7a6b5e0 in QList >::node_destruct (this=0x64e020, from=0x64a4f0, to=0x64a4f0) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qlist.h:432 #6 0x00007ffff7a6b57f in QList >::dealloc (this=0x64e020, data=0x64a4e0) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qlist.h:784 #7 0x00007ffff7a6be06 in QList >::~QList (this=0x64e020) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qlist.h:760 #8 0x00007ffff7a9b7b5 in QtMetaTypePrivate::QMetaTypeFunctionHelper >, true>::Destruct (t=0x64e020) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/kernel/qmetatype.h:726 #9 0x00007ffff750924e in (anonymous namespace)::TypeDestructor::customTypeDestructor (type=1062, where=0x64e020) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qmetatype.cpp:1811 #10 0x00007ffff75090df in (anonymous namespace)::TypeDestructor::delegate (this=0x7fffffffd1a8, where=0x64e020) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qmetatype.cpp:1797 #11 0x00007ffff74fd981 in QMetaTypeSwitcher::switcher (logic=..., type=1062, data=0x64e020) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/corelib/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/kernel/qmetatypeswitcher_p.h:83 #12 0x00007ffff74fd2ee in QMetaType::destruct (type=1062, where=0x64e020) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qmetatype.cpp:1833 #13 0x00007ffff75548a1 in (anonymous namespace)::customClear (d=0x64e020) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qvariant.cpp:884 #14 0x00007ffff754b994 in QVariant::~QVariant (this=0x64e020) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qvariant.cpp:1208 #15 0x00007ffff7ab1dcc in QHashNode::~QHashNode (this=0x64e010) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qhash.h:209 #16 0x00007ffff7ab1d4d in QHash::deleteNode2 (node=0x64e010) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qhash.h:553 #17 0x00007ffff7291ec5 in QHashData::free_helper (this=0x64a620, node_delete=0x7ffff7ab1d30 ::deleteNode2(QHashData::Node*)>) at /home/fanda/proj/qt5/qtbase/src/corelib/tools/qhash.cpp:495 #18 0x00007ffff7ab1d83 in QHash::freeData (this=0x62a4b8, x=0x64a620) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qhash.h:600 #19 0x00007ffff7ab1edc in QHash::~QHash (this=0x62a4b8) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/network/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qhash.h:310 #20 0x00007ffff7ab1fa9 in QNetworkHeadersPrivate::~QNetworkHeadersPrivate (this=0x62a4b0) at /home/fanda/proj/qt5/qtbase/src/network/access/qnetworkrequest_p.h:67 #21 0x00007ffff7ab3c4b in QNetworkReplyPrivate::~QNetworkReplyPrivate (this=0x62a3e0) at /home/fanda/proj/qt5/qtbase/src/network/access/qnetworkreply_p.h:65 #22 0x00007ffff7ac0c9c in QNetworkReplyHttpImplPrivate::~QNetworkReplyHttpImplPrivate (this=0x62a3e0) at /home/fanda/proj/qt5/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp:457 #23 0x00007ffff7ac0b59 in QNetworkReplyHttpImplPrivate::~QNetworkReplyHttpImplPrivate (this=0x62a3e0) at /home/fanda/proj/qt5/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp:453 ---Type to continue, or q to quit--- #24 0x00007ffff753fffe in QScopedPointerDeleter::cleanup (pointer=0x62a3e0) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/corelib/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qscopedpointer.h:62 #25 0x00007ffff753c558 in QScopedPointer >::~QScopedPointer (this=0x61f308) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/corelib/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qscopedpointer.h:109 #26 0x00007ffff752f410 in QObject::~QObject (this=0x61f300) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qobject.cpp:1034 #27 0x00007ffff73ebae5 in QIODevice::~QIODevice (this=0x61f300) at /home/fanda/proj/qt5/qtbase/src/corelib/io/qiodevice.cpp:405 #28 0x00007ffff7ab3345 in QNetworkReply::~QNetworkReply (this=0x61f300) at /home/fanda/proj/qt5/qtbase/src/network/access/qnetworkreply.cpp:406 #29 0x00007ffff7abfb45 in QNetworkReplyHttpImpl::~QNetworkReplyHttpImpl (this=0x61f300) at /home/fanda/proj/qt5/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp:247 #30 0x00007ffff7abfb19 in QNetworkReplyHttpImpl::~QNetworkReplyHttpImpl (this=0x61f300) at /home/fanda/proj/qt5/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp:245 #31 0x00007ffff753015e in qDeleteInEventHandler (o=0x61f300) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qobject.cpp:4345 #32 0x00007ffff752fd32 in QObject::event (this=0x61f300, e=0x64fdf0) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qobject.cpp:1232 #33 0x00007ffff74e3db8 in QCoreApplicationPrivate::notify_helper (this=0x6060f0, receiver=0x61f300, event=0x64fdf0) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1052 #34 0x00007ffff74e3d0d in QCoreApplication::notify (this=0x7fffffffdf00, receiver=0x61f300, event=0x64fdf0) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:997 #35 0x00007ffff74e3be5 in QCoreApplication::notifyInternal (this=0x7fffffffdf00, receiver=0x61f300, event=0x64fdf0) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:935 #36 0x00007ffff74e89ba in QCoreApplication::sendEvent (receiver=0x61f300, event=0x64fdf0) at /home/fanda/proj/_build/qt5-clang-64/qtbase/src/corelib/../../include/QtCore/../../../../../qt5/qtbase/src/corelib/kernel/qcoreapplication.h:237 #37 0x00007ffff74e508a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6061b0) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1539 #38 0x00007ffff74e44ef in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1397 #39 0x00007ffff757b21a in postEventSourceDispatch (s=0x608620) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:279 #40 0x00007ffff3a39e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007ffff3a3a048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007ffff3a3a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #43 0x00007ffff7579f56 in QEventDispatcherGlib::processEvents (this=0x608a80, flags=...) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:426 #44 0x00007ffff74df6fa in QEventLoop::processEvents (this=0x7fffffffde40, flags=...) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:136 #45 0x00007ffff74df931 in QEventLoop::exec (this=0x7fffffffde40, flags=...) at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212 #46 0x00007ffff74e4395 in QCoreApplication::exec () at /home/fanda/proj/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1188 #47 0x0000000000401fac in main (argc=1, argv=0x7fffffffe008) at ../../../network_reply_error/main.cpp:59 (gdb)