this is error report, memory problems yeah? my program may crash at start or over some times of runtime, program opens file, and program crash at one of the file openings
calls from qt lldb 1
i dunno why it crash but it crash at file opening and stack calls every time differs
calls from qt lldb 2
QString fileName = QFileDialog::getOpenFileName(this, tr("Load incidence matrix"), QDir::home().absolutePath(), tr("Incidence Matrix (*.txt);;All Files (*)"));
if(fileName.isEmpty())
return;
QFile *file = new QFile(fileName);
if(!file->open(QIODevice::ReadOnly))
{
QMessageBox::information(this, tr("Error at opening file"), file->errorString());
appendConsole(tr("Error at opening file ") + fileName);
return;
}
appendConsole(tr("File \"") + fileName + tr("\" reading success"));
Process: lab4_graphs_main_terms [10383]
Path: /Users/USER/*/lab4_graphs_main_terms.app/Contents/MacOS/lab4_graphs_main_terms
Identifier: troxycoru.lab4-graphs-main-terms
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: lab4_graphs_main_terms [10383]
User ID: 501
Date/Time: 2019-03-25 09:22:12.869 +1000
OS Version: Mac OS X 10.14.3 (18D42)
Report Version: 12
Bridge OS Version: 3.0 (14Y674)
Anonymous UUID: C5B29707-C3C2-5600-72D4-D4D0A644F37D
Sleep/Wake UUID: 7FDDF2B9-3E37-4554-B225-0B36DB0BA767
Time Awake Since Boot: 110000 seconds
Time Since Wake: 13000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [10383]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_malloc.dylib 0x00007fff6a766a8e nanov2_allocate_from_block + 622
1 libsystem_malloc.dylib 0x00007fff6a7660f6 nanov2_allocate + 142
2 libsystem_malloc.dylib 0x00007fff6a766017 nanov2_malloc + 56
3 libsystem_malloc.dylib 0x00007fff6a759807 malloc_zone_malloc + 103
4 libsystem_malloc.dylib 0x00007fff6a759783 malloc + 24
5 libc++abi.dylib 0x00007fff67cd0f48 operator new(unsigned long) + 40
6 org.qt-project.QtGui 0x0000000101fb44f7 QTextOption::operator=(QTextOption const&) + 55
7 org.qt-project.QtGui 0x0000000101fe6dba QTextDocumentLayoutPrivate::layoutBlock(QTextBlock const&, int, QTextBlockFormat const&, QTextLayoutStruct*, int, int, QTextBlockFormat const*) + 1114
8 org.qt-project.QtGui 0x0000000101fdf769 QTextDocumentLayoutPrivate::layoutFlow(QTextFrame::iterator, QTextLayoutStruct*, int, int, QFixed) + 2329
9 org.qt-project.QtGui 0x0000000101fe65ba QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed, QFixed, QFixed) + 1946
10 org.qt-project.QtGui 0x0000000101fe5de8 QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed) + 968
11 org.qt-project.QtGui 0x0000000101fe8dcf QTextDocumentLayout::doLayout(int, int, int) + 511
12 org.qt-project.QtGui 0x0000000101fe8791 QTextDocumentLayout::documentChanged(int, int, int) + 529
13 org.qt-project.QtGui 0x0000000101fc5017 QTextDocumentPrivate::finishEdit() + 199
14 org.qt-project.QtGui 0x0000000101ff5eb5 QTextCursor::endEditBlock() + 229
15 org.qt-project.QtWidgets 0x0000000101ae2d59 QWidgetTextControlPrivate::append(QString const&, Qt::TextFormat) + 265
16 org.qt-project.QtWidgets 0x0000000101aba673 QTextEdit::append(QString const&) + 83
17 troxycoru.lab4-graphs-main-terms 0x000000010189cbe1 MainWindow::appendConsole(QString) + 145 (mainwindow.cpp:20)
18 troxycoru.lab4-graphs-main-terms 0x00000001018a231c MainWindow::showGraph(AdjacencyMatrix*, unsigned int) + 14924 (mainwindow.cpp:601)
19 troxycoru.lab4-graphs-main-terms 0x000000010189c4fa MainWindow::open() + 1338 (mainwindow.cpp:834)
20 troxycoru.lab4-graphs-main-terms 0x00000001018aa0ae QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MainWindow::*)()>::call(void (MainWindow::*)(), MainWindow*, void**) + 126 (qobjectdefs_impl.h:152)
21 troxycoru.lab4-graphs-main-terms 0x00000001018aa003 void QtPrivate::FunctionPointer<void (MainWindow::*)()>::call<QtPrivate::List<>, void>(void (MainWindow::*)(), MainWindow*, void**) + 99 (qobjectdefs_impl.h:186)
22 troxycoru.lab4-graphs-main-terms 0x00000001018a9ed6 QtPrivate::QSlotObject<void (MainWindow::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 166 (qobjectdefs_impl.h:415)
23 org.qt-project.QtCore 0x00000001025fb87b QMetaObject::activate(QObject*, int, int, void**) + 2219
24 org.qt-project.QtWidgets 0x00000001018e9c45 QAction::activate(QAction::ActionEvent) + 309
25 org.qt-project.QtCore 0x00000001025f42c1 QObject::event(QEvent*) + 753
26 org.qt-project.QtWidgets 0x00000001018f32cd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
27 org.qt-project.QtWidgets 0x00000001018f46d2 QApplication::notify(QObject*, QEvent*) + 594
28 org.qt-project.QtCore 0x00000001025caa04 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
29 org.qt-project.QtCore 0x00000001025cbc3e QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 878
30 libqcocoa.dylib 0x00000001044c1759 QCocoaEventDispatcherPrivate::processPostedEvents() + 313
31 libqcocoa.dylib 0x00000001044c1fd0 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 32
32 com.apple.CoreFoundation 0x00007fff3d376475 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
33 com.apple.CoreFoundation 0x00007fff3d37641b __CFRunLoopDoSource0 + 108
34 com.apple.CoreFoundation 0x00007fff3d359eb5 __CFRunLoopDoSources0 + 195
35 com.apple.CoreFoundation 0x00007fff3d35945e __CFRunLoopRun + 1219
36 com.apple.CoreFoundation 0x00007fff3d358d48 CFRunLoopRunSpecific + 463
37 com.apple.HIToolbox 0x00007fff3c5efab5 RunCurrentEventLoopInMode + 293
38 com.apple.HIToolbox 0x00007fff3c5ef6f4 ReceiveNextEventCommon + 371
39 com.apple.HIToolbox 0x00007fff3c5ef568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
40 com.apple.AppKit 0x00007fff3a8aa363 _DPSNextEvent + 997
41 com.apple.AppKit 0x00007fff3a8a9102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
42 com.apple.AppKit 0x00007fff3a8a3165 -[NSApplication run] + 699
43 libqcocoa.dylib 0x00000001044c0e2b QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2955
44 org.qt-project.QtCore 0x00000001025c606f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
45 org.qt-project.QtCore 0x00000001025cb012 QCoreApplication::exec() + 130
46 troxycoru.lab4-graphs-main-terms 0x00000001018989b0 main + 96 (main.cpp:13)
47 libdyld.dylib 0x00007fff6a5aaed9 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff6a79d3f8 start_wqthread + 0
1 ??? 0x0000000054485244 0 + 1414025796
Thread 2:
0 libsystem_pthread.dylib 0x00007fff6a79d3f8 start_wqthread + 0
1 ??? 0x000060000218f080 0 + 105553151455360
Thread 3:: Dispatch queue: TBrowserViewDataSource
0 libsystem_kernel.dylib 0x00007fff6a6e77de __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6a7a1593 _pthread_cond_wait + 724
2 libc++.1.dylib 0x00007fff67c7fbda std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 com.apple.FinderKit 0x00007fff540c7011 void std::__1::condition_variable_any::wait<std::__1::mutex>(std::__1::mutex&) + 75
4 com.apple.FinderKit 0x00007fff540c61e3 TConditionVariable::Wait(std::__1::mutex&) + 29
5 com.apple.FinderKit 0x00007fff54247493 ModifyDataSourceOnMainThreadSync(FI_TBrowserViewDataSource*, FI_TBVDSChangedNotificationData*, std::__1::function<void ()> const&) + 393
6 com.apple.FinderKit 0x00007fff54243515 __44-[FI_TBrowserViewDataSource aboutToTearDown]_block_invoke + 328
7 libdispatch.dylib 0x00007fff6a55bd53 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff6a55cdcf _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff6a563124 _dispatch_lane_serial_drain + 618
10 libdispatch.dylib 0x00007fff6a563bdc _dispatch_lane_invoke + 388
11 libdispatch.dylib 0x00007fff6a56c090 _dispatch_workloop_worker_thread + 603
12 libsystem_pthread.dylib 0x00007fff6a79d60b _pthread_wqthread + 409
13 libsystem_pthread.dylib 0x00007fff6a79d405 start_wqthread + 13
Thread 4:
0 libsystem_pthread.dylib 0x00007fff6a79d3f8 start_wqthread + 0
1 ??? 0x00006000030882d0 0 + 105553167155920
Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff6a6e417a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6a6e46d0 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff3d35a0c2 __CFRunLoopServiceMachPort + 337
3 com.apple.CoreFoundation 0x00007fff3d359611 __CFRunLoopRun + 1654
4 com.apple.CoreFoundation 0x00007fff3d358d48 CFRunLoopRunSpecific + 463
5 com.apple.AppKit 0x00007fff3a8b2f89 _NSEventThread + 160
6 libsystem_pthread.dylib 0x00007fff6a79e305 _pthread_body + 126
7 libsystem_pthread.dylib 0x00007fff6a7a126f _pthread_start + 70
8 libsystem_pthread.dylib 0x00007fff6a79d415 thread_start + 13
Thread 6:
0 libsystem_pthread.dylib 0x00007fff6a79d3f8 start_wqthread + 0
1 ??? 0x0000000000002d1f 0 + 11551
Thread 7:
0 libsystem_pthread.dylib 0x00007fff6a79d3f8 start_wqthread + 0
1 ??? 0x0000000000000300 0 + 768
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x5cb8665a41dd00e4 rbx: 0x0000000000000000 rcx: 0x00007fff6a6e40ae rdx: 0x0000000000001000
rdi: 0x0000000000000103 rsi: 0x0000000107407000 rbp: 0x00007ffeee367610 rsp: 0x00007ffeee3675b0
r8: 0x0000000000000000 r9: 0x00007ffeee367350 r10: 0x000000010740708e r11: 0x0000000000000246
r12: 0x00000000b4c86aed r13: 0x00000000000002ec r14: 0x00000001029d7c58 r15: 0x0000600000db0000
rip: 0x00007fff6a766a8e rfl: 0x0000000000010206 cr2: 0x0000000107407000
Logical CPU: 0 Error Code: 0x00000000 Trap Number: 6
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 64088 thread_create: 0 thread_set_state: 12355
VM Region Summary: ReadOnly portion of Libraries: Total=481.9M resident=0K(0%) swapped_out_or_unallocated=481.9M(100%) Writable regions: Total=624.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=624.6M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 384K 4 Activity Tracing 256K 2 CG backing stores 1032K 4 CG image 1140K 39 CG raster data 32K 5 CoreAnimation 16.2M 45 CoreGraphics 8K 2 CoreImage 172K 23 CoreServices 64K 2 CoreUI image data 2556K 31 CoreUI image file 380K 8 Foundation 4K 2 Kernel Alloc Once 8K 2 MALLOC 207.5M 38 MALLOC guard page 32K 9 MALLOC_NANO (reserved) 384.0M 2 reserved VM address space (unallocated) Memory Tag 242 12K 2 Memory Tag 251 72K 5 STACK GUARD 56.0M 9 Stack 11.6M 9 VM_ALLOCATE 328K 23 __DATA 39.2M 368 __FONT_DATA 4K 2 __LINKEDIT 219.3M 27 __TEXT 262.6M 364 __UNICODE 564K 2 mapped file 58.2M 55 shared memory 688K 17 =========== ======= ======= TOTAL 1.2G 1073 TOTAL, minus reserved VM space 878.2M 1073
Model: MacBookPro14,2, BootROM 184.0.0.0.0, 2 processors, Intel Core i5, 3,1 GHz, 8 GB, SMC 2.44f1 Graphics: Intel Iris Plus Graphics 650, Intel Iris Plus Graphics 650, Built-In Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445364533303445422D45474347202020 Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445364533303445422D45474347202020 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x171), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2) Bluetooth: Version 6.0.10f1, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB 3.0 Bus USB Device: iBridge Thunderbolt Bus: MacBook Pro, Apple Inc., 39.2 Thunderbolt Bus: MacBook Pro, Apple Inc., 39.2
User contributions licensed under CC BY-SA 3.0