Hello,
I am having a program crash when it reaches the QApplication’s exec method. Here is the stacktrace from it.
Program received signal SIGABRT, Aborted.
0x00007fff872ac212 in __pthread_kill ()
(gdb) bt
#0 0x00007fff872ac212 in __pthread_kill ()
#1 0x00007fff8c1b4b54 in pthread_kill ()
#2 0x00007fff8c1f8dce in abort ()
#3 0x00007fff8c5d99eb in abort_message ()
#4 0x00007fff8c5d739a in default_terminate ()
#5 0x00007fff8a27d887 in _objc_terminate ()
#6 0x00007fff8c5d73c9 in safe_handler_caller ()
#7 0x00007fff8c5d7424 in std::terminate ()
#8 0x00007fff8c5d861b in __cxa_rethrow ()
#9 0x00007fff8a27d575 in objc_exception_rethrow ()
#10 0x00007fff86450146 in CFRunLoopRunSpecific ()
#11 0x00007fff8228beb4 in RunCurrentEventLoopInMode ()
#12 0x00007fff8228bc52 in ReceiveNextEventCommon ()
#13 0x00007fff8228bae3 in BlockUntilNextEventMatchingListInMode ()
#14 0x00007fff8a4da533 in _DPSNextEvent ()
#15 0x00007fff8a4d9df2 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#16 0x00007fff8a4d11a3 in -[NSApplication run] ()
#17 0x0000000102f1652b in QCocoaEventDispatcher::processEvents ()
#18 0x0000000100c88a33 in QEventLoop::exec ()
#19 0x0000000100c8bb25 in QCoreApplication::exec ()
#20 0x0000000100005f1f in main ()
I believe the problem lies with me using QNetworkAccessManager.
I am creating many copies of this [github.com] class.
Any help is appreciated.
↧