Hello Claudio,
I can compile and link the code now but it crashes on execution.
The rplInstallLibrary function in QThread is the one causing it.
Same thing for the command line version.
Best regards,
Sylvain
Partial core dump ...
Code:
Process: newrpl-ui [6080]
Path: /Volumes/VOLUME/UsersData/*/newrpl-ui.app/Contents/MacOS/newrpl-ui
Identifier: home.sycote.osx.newrpl-ui
Version: ???
Code Type: X86-64 (Native)
Parent Process: Qt Creator [4884]
Responsible: Qt Creator [4884]
User ID: 502
Date/Time: 2015-03-30 21:37:03.110 -0400
OS Version: Mac OS X 10.10.2 (14C1514)
Report Version: 11
Anonymous UUID: FDD89841-3119-41CC-9021-2170BD6994D4
Time Awake Since Boot: 9900 seconds
Crashed Thread: 7 QThread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000d6f5c7c
VM Regions Near 0xd6f5c7c:
-->
__TEXT 000000010d57a000-000000010d706000 [ 1584K] r-x/rwx SM=COW /Volumes/VOLUME/UsersData/*/newrpl-ui.app/Contents/MacOS/newrpl-ui
Thread 0:: Dispatch queue: com.apple.main-thread
0 org.qt-project.QtWidgets 0x000000010d896b51 QGestureManager::filterEvent(QWidget*, QEvent*) + 1
1 org.qt-project.QtWidgets 0x000000010d846316 QApplication::notify(QObject*, QEvent*) + 518
2 org.qt-project.QtCore 0x000000010e6c0fb3 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
3 org.qt-project.QtWidgets 0x000000010d8774fe QWidget::ensurePolished() const + 94
4 org.qt-project.QtWidgets 0x000000010d8775a1 QWidget::ensurePolished() const + 257
5 org.qt-project.QtWidgets 0x000000010d8775a1 QWidget::ensurePolished() const + 257
6 org.qt-project.QtWidgets 0x000000010d88386e QWidget::setVisible(bool) + 926
7 home.sycote.osx.newrpl-ui 0x000000010d57d3a7 main + 87
8 home.sycote.osx.newrpl-ui 0x000000010d57d344 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff83562232 kevent64 + 10
1 libdispatch.dylib 0x00007fff8e363a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8356194a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8312a40d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8356194a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8312a40d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8356194a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8312a40d start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8356194a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8312a40d start_wqthread + 13
Thread 6:
Thread 7 Crashed:: QThread
0 home.sycote.osx.newrpl-ui 0x000000010d5b52cc rplInstallLibrary + 124
1 home.sycote.osx.newrpl-ui 0x000000010d5b5c47 rplInit + 327
2 home.sycote.osx.newrpl-ui 0x000000010d5f7d87 main_virtual + 135
3 home.sycote.osx.newrpl-ui 0x000000010d5f7ee6 startup + 86
4 home.sycote.osx.newrpl-ui 0x000000010d5f8041 RPLThread::run() + 17
5 org.qt-project.QtCore 0x000000010e4b7393 QThreadPrivate::start(void*) + 339
6 libsystem_pthread.dylib 0x00007fff8312c268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8312c1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8312a41d thread_start + 13
Thread 7 crashed with X86 Thread State (64-bit):
rax: 0x000000000d6f5c7c rbx: 0x000000010d711b98 rcx: 0x000000000d6f5c7c rdx: 0x0000000000000000
rdi: 0x000000010d5b3f70 rsi: 0x000000010d711af0 rbp: 0x00000001152e7d70 rsp: 0x00000001152e7d10
r8: 0x000000010d711b90 r9: 0x000000010d70bda0 r10: 0x000000010d711b88 r11: 0x000000010d711b80
r12: 0x000000010d70bdb8 r13: 0x000000010d711ae8 r14: 0x000000010d70cad8 r15: 0x000000010d70bdd8
rip: 0x000000010d5b52cc rfl: 0x0000000000010202 cr2: 0x000000000d6f5c7c
Logical CPU: 1
Error Code: 0x00000004
Trap Number: 14