Trackvis在M1处理器的Mac上一直闪退, macOS 12和13均闪退,同平台Diffusion Toolkit软件可正常打开。
但Trackvis在旧的Macbook air(intel)macOS 11上可以正常运行。
报错如下:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: TrackVis [46675]
Path: /Applications/TrackVis.app/Contents/MacOS/TrackVis
Identifier: org.trackvis
Version: 0.6.1 (18)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-09-16 12:25:21.7780 +0800
OS Version: macOS 13.4.1 (22F770820d)
Report Version: 12
Anonymous UUID: B4DC1549-3EE7-18AB-C2A8-E0D477C9FD5C
Sleep/Wake UUID: 915D4EEC-A4CB-4AC2-8549-FC5284A85F4A
Time Awake Since Boot: 310000 seconds
Time Since Wake: 1621 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000676c6f6a
Exception Codes: 0x0000000000000001, 0x00000000676c6f6a
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [46675]
VM Region Info: 0x676c6f6a is not in any region. Bytes before following region: 2629488790
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104274000-105294000 [ 16.1M] r-x/rwx SM=COW ...acOS/TrackVis
Kernel Triage:
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x110a5df04 QAction::isEnabled() const + 4
1 QtGui 0x110a44b41 QMenuBar::macUpdateMenuBar() + 881
2 QtGui 0x110a44c0b QMenuBar::macUpdateMenuBar() + 1083
3 QtGui 0x110a44d4b QMenuBar::macUpdateMenuBar() + 1403
4 QtGui 0x110a48bdd QMenuBar::macMenu() + 1069
5 QtGui 0x110a12975 QMacInputContext::reset() + 45717
6 QtGui 0x110a12c11 QMacInputContext::reset() + 46385
7 QtGui 0x110a127ed QMacInputContext::reset() + 45325
8 AppKit 0x7ff806008ace -[NSApplication _handleEvent:] + 65
9 AppKit 0x7ff805bddb0d -[NSApplication run] + 623
10 QtGui 0x110a1d680 QDesktopWidget::resizeEvent(QResizeEvent*) + 13040
11 QtCore 0x110268af4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
12 QtCore 0x110268ea4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
13 QtCore 0x11026b58c QCoreApplication::exec() + 188
14 TrackVis 0x1042ad8bf main + 239
15 TrackVis 0x104279894 start + 52
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc93694 0x7ff7ffc8f000 + 18068
Thread 2:
0 runtime 0x7ff7ffcb187c 0x7ff7ffc8f000 + 141436
Thread 3:
0 runtime 0x7ff7ffcb187c 0x7ff7ffc8f000 + 141436
Thread 4:
0 runtime 0x7ff7ffcb187c 0x7ff7ffc8f000 + 141436
Thread 5:
0 runtime 0x7ff7ffcb187c 0x7ff7ffc8f000 + 141436
Thread 6:: QProcessManager
0 ??? 0x7ff89271a9a8 ???
1 libsystem_kernel.dylib 0x7ff802ae9282 __select + 10
2 QtCore 0x11023d1d0 QFSFileEngine::mkdir(QString const&, bool) const + 20560
3 QtCore 0x11014f6d4 QThread::setPriority(QThread::Priority) + 820
4 libsystem_pthread.dylib 0x7ff802b1f1d3 _pthread_start + 125
5 libsystem_pthread.dylib 0x7ff802b1abd3 thread_start + 15
Thread 7:: com.apple.CFSocket.private
0 ??? 0x7ff89271a9a8 ???
1 libsystem_kernel.dylib 0x7ff802ae9282 __select + 10
2 CoreFoundation 0x7ff802c222b2 __CFSocketManager + 617
3 libsystem_pthread.dylib 0x7ff802b1f1d3 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff802b1abd3 thread_start + 15
Thread 8:: com.apple.NSEventThread
0 ??? 0x7ff89271a9a8 ???
1 libsystem_kernel.dylib 0x7ff802ae05b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff802aee72d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff802ae75e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff802ae089a mach_msg + 19
5 CoreFoundation 0x7ff802bfaa40 __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x7ff802bf94cb __CFRunLoopRun + 1365
7 CoreFoundation 0x7ff802bf891c CFRunLoopRunSpecific + 560
8 AppKit 0x7ff805d4c789 _NSEventThread + 132
9 libsystem_pthread.dylib 0x7ff802b1f1d3 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff802b1abd3 thread_start + 15
Thread 9:: QThread
0 ??? 0x7ff89271a9a8 ???
1 libsystem_kernel.dylib 0x7ff802ae9282 __select + 10
2 QtCore 0x11029b0f5 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 389
3 QtCore 0x11029f494 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 388
4 QtCore 0x11029f954 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 308
5 QtCore 0x110268af4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
6 QtCore 0x110268ea4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
7 QtCore 0x11014ca98 QThread::exec() + 312
8 QtCore 0x11014f6d4 QThread::setPriority(QThread::Priority) + 820
9 libsystem_pthread.dylib 0x7ff802b1f1d3 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff802b1abd3 thread_start + 15
Thread 10:: QThread
0 ??? 0x7ff89271a9a8 ???
1 libsystem_kernel.dylib 0x7ff802ae9282 __select + 10
2 QtCore 0x11029affe qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 142
3 QtCore 0x11029f494 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 388
4 QtCore 0x11029f954 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 308
5 QtCore 0x110268af4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
6 QtCore 0x110268ea4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
7 QtCore 0x11014ca98 QThread::exec() + 312
8 QtCore 0x11014f6d4 QThread::setPriority(QThread::Priority) + 820
9 libsystem_pthread.dylib 0x7ff802b1f1d3 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff802b1abd3 thread_start + 15
Thread 11:: Thread (pooled)
0 ??? 0x7ff89271a9a8 ???
1 libsystem_kernel.dylib 0x7ff802ae30ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff802b1f758 _pthread_cond_wait + 1242
3 QtCore 0x1101506f0 QWaitCondition::wait(QMutex*, unsigned long) + 272
4 QtCore 0x110141d32 QThreadPool::globalInstance() + 994
5 QtCore 0x11014f6d4 QThread::setPriority(QThread::Priority) + 820
6 libsystem_pthread.dylib 0x7ff802b1f1d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff802b1abd3 thread_start + 15
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000000676c6f62 rbx: 0x00007ff80278a904 rcx: 0x0000000000000000 rdx: 0x00000001114387d0
rdi: 0x00000000676c6f62 rsi: 0x00007ff8222b1f98 rbp: 0x000000030dcd2370 rsp: 0x000000030dcd2370
r8: 0x0000000000000020 r9: 0x00007f9d9974fca0 r10: 0x00007ff846221b40 r11: 0x00007ff805bf4ba2
r12: 0x00007f9d9a082a40 r13: 0x0000000000000003 r14: 0x0000000000000007 r15: 0x00007f9d997a7540
rip: <unavailable> rfl: 0x0000000000000202
tmp0: 0x0000000110a44b39 tmp1: 0x0000000110a44b39 tmp2: 0x0000000110a44b41
Binary Images:
0x20595f000 - 0x2059fafff dyld (*) <5db85b72-c63a-3182-91e5-5c942ec30e48> /usr/lib/dyld
0x7ff7ffc8f000 - 0x7ff7ffcbefff runtime (*) <c4d322c3-30c5-3c52-adb8-2fd12ec92bc0> /usr/libexec/rosetta/runtime
0x10f111000 - 0x10f164fff libRosettaRuntime (*) <c8f25cdc-b334-3f67-bc30-50e9852f8da2> /Library/Apple/*/libRosettaRuntime
0x104274000 - 0x105293fff org.trackvis (0.6.1) <c4542501-7095-3d14-8747-63827679e3b1> /Applications/TrackVis.app/Contents/MacOS/TrackVis
0x10fa91000 - 0x10fb74fff QtOpenGL (*) <af32deb0-2b23-8ac1-3215-f08eb5b13706> /Applications/TrackVis.app/Contents/Frameworks/QtOpenGL.framework/Versions/4/QtOpenGL
0x1109db000 - 0x1113f7fff QtGui (*) <cd803c71-f94d-524c-1a39-07d1a339a0f0> /Applications/TrackVis.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
0x110128000 - 0x110402fff QtCore (*) <4172eabd-46be-2722-c849-f7fb5632ded2> /Applications/TrackVis.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore
0x10fde2000 - 0x10ff24fff QtNetwork (*) <7fc3fd1e-2a18-3b59-022e-0aca3211c6e8> /Applications/TrackVis.app/Contents/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
0x10f97f000 - 0x10f996fff com.apple.security.csparser (3.0) <75cf9d81-d8fa-3241-8a6c-188e6d92aa81> /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser
0x112271000 - 0x1122ecfff ColorSyncDeprecated.dylib (*) <63048648-8d3e-353d-95b7-f308e633b40e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
0x11a83b000 - 0x11a84afff libobjc-trampolines.dylib (*) <1d043270-56bc-35fb-bef3-b1ba8ecb9120> /usr/lib/libobjc-trampolines.dylib
0x11a85b000 - 0x11a861fff libqgif.dylib (*) <a8811843-af83-f4ab-c0f5-1dece61ad171> /Applications/TrackVis.app/Contents/PlugIns/imageformats/libqgif.dylib
0x11a877000 - 0x11a87dfff libqico.dylib (*) <64666b1c-5499-57ff-7180-7f4b39d136ae> /Applications/TrackVis.app/Contents/PlugIns/imageformats/libqico.dylib
0x11a8db000 - 0x11a916fff libqjpeg.dylib (*) <eef8d311-049a-6e08-a6fa-4c6b02e21292> /Applications/TrackVis.app/Contents/PlugIns/imageformats/libqjpeg.dylib
0x11a9e2000 - 0x11aa36fff libqmng.dylib (*) <21bb7157-69d9-e507-d9c3-7d9c025b9ec8> /Applications/TrackVis.app/Contents/PlugIns/imageformats/libqmng.dylib
0x11a895000 - 0x11a899fff libqtga.dylib (*) <96e0be59-e38b-4fd8-1a0e-18a615ec3a2c> /Applications/TrackVis.app/Contents/PlugIns/imageformats/libqtga.dylib
0x11ab08000 - 0x11ab5dfff libqtiff.dylib (*) <397a275d-a9a3-b69b-cc79-6a18210ea06e> /Applications/TrackVis.app/Contents/PlugIns/imageformats/libqtiff.dylib
0x11be3b000 - 0x11beaafff com.apple.AppleMetalOpenGLRenderer (1.0) <a4afa5bc-3a5c-3088-8a77-e73d43e0be6b> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
0x13217b000 - 0x132193fff libqcorewlanbearer.dylib (*) <caf690d7-f528-0536-b902-7c79a2696c8a> /Applications/TrackVis.app/Contents/PlugIns/bearer/libqcorewlanbearer.dylib
0x11abfa000 - 0x11ac05fff libqgenericbearer.dylib (*) <f9287d24-2b9c-0a5d-9707-b4577b3f8677> /Applications/TrackVis.app/Contents/PlugIns/bearer/libqgenericbearer.dylib
0x7ff805bae000 - 0x7ff806bb5ff8 com.apple.AppKit (6.9) <935dfca1-61f9-377d-895a-99ef90266c86> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x7ff802adf000 - 0x7ff802b18ff7 libsystem_kernel.dylib (*) <eb4e80a0-99da-32dc-b9ad-394fbb50a0ac> /usr/lib/system/libsystem_kernel.dylib
0x7ff802b19000 - 0x7ff802b24fff libsystem_pthread.dylib (*) <8cb0b396-011f-31f2-8915-94cde1abae84> /usr/lib/system/libsystem_pthread.dylib
0x7ff802b7e000 - 0x7ff803018fff com.apple.CoreFoundation (6.9) <661e8471-af64-30f9-9ce3-40bdaeeec321> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
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: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=426.0M resident=0K(0%) swapped_out_or_unallocated=426.0M(100%)
Writable regions: Total=435.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=435.5M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG backing stores 768K 4
CG image 48K 12
ColorSync 248K 27
CoreAnimation 2584K 9
CoreGraphics 12K 2
CoreGraphics (reserved) 8K 1 reserved VM address space (unallocated)
CoreUI image data 976K 14
Dispatch continuations 64.0M 1
Foundation 16K 1
Kernel Alloc Once 8K 1
MALLOC 89.2M 40
MALLOC guard page 192K 8
MALLOC_MEDIUM (reserved) 112.0M 1 reserved VM address space (unallocated)
Rosetta Arena 4096K 2
Rosetta Generic 1564K 388
Rosetta IndirectBranch 1024K 1
Rosetta JIT 128.0M 1
Rosetta Return Stack 220K 22
Rosetta Thread Context 220K 22
STACK GUARD 16K 4
Stack 13.1M 11
Stack Guard 56.0M 7
VM_ALLOCATE 5980K 31
VM_ALLOCATE (reserved) 52K 13 reserved VM address space (unallocated)
__CTF 824 1
__DATA 19.6M 351
__DATA_CONST 14.4M 207
__DATA_DIRTY 672K 110
__FONT_DATA 2352 1
__GLSLBUILTINS 5174K 1
__LINKEDIT 132.6M 24
__OBJC_RO 66.3M 1
__OBJC_RW 2010K 1
__TEXT 293.4M 369
dyld private memory 516K 4
mapped file 4.7G 1378
shared memory 820K 18
unshared pmap 10.4M 8
=========== ======= =======
TOTAL 5.7G 3100
TOTAL, minus reserved VM space 5.6G 3100
Macbook Air M1, 2020
Mac OS 13.4.1 (c)
终端使用签名代码:codesign --force --deep --sign - /Applications/name.app 不能解决问题。
CodeSigner不能使用(CodeSigner needs at least OS X 10.8 (Mountain Lion) for Platypus and Notification Center support. However, you can always use the shell script version 'codesigner'.)
是否可以在M1平台下运行Trackvis
引用 皆我百晓生 小程序回复内容作答:
Trackvis 是一个已经停止开发的软件,可能不适配 M1 处理器的 Mac。虽然 Diffusion Toolkit 软件可以在 M1 上正常运行,但这并不意味着 Trackvis 也可以。
由于 Trackvis 的闪退问题可能与 M1 处理器的兼容性有关,建议尝试以下解决方法:
更新软件:确保使用的是最新版本的 Trackvis。访问软件开发者的官方网站,查看是否提供了适用于 M1 处理器的更新版本。
与开发者联系:通过软件开发者的官方网站或支持页面,寻求帮助并报告闪退问题。他们可能会提供关于如何在 M1 处理器上运行 Trackvis 的解决方案或更新信息。
使用虚拟机或容器:尝试在 M1 处理器的 Mac 上使用虚拟机或容器来运行旧版本的 macOS(如 macOS 11),以便能够正常运行 Trackvis。虚拟机软件如 VirtualBox 或 Parallels Desktop,容器软件如 Docker 可能有助于模拟旧版本的 macOS。
使用替代软件:如果 Trackvis 无法在 M1 上正常运行,可以寻找替代软件进行类似的任务。您可以查看其他软件包,如 DSI Studio、MRtrix、FSL 等,看它们是否支持 M1 处理器。
由于 Trackvis 是一个过时的软件,它可能无法在 M1 处理器的 Mac 上正常运行。尝试上述解决方法,如果都无法解决问题,可能需要考虑替代软件或在旧的 Mac 上继续使用 Trackvis。