Topic: SVP Crashes on MacOS Monterey

Hi,

I have tried SVP on Monterey and it just crashes. Will an update be coming to make it compatible?

Process:               SVPManager [5757]
Path:                  /Applications/SVP 4 Mac.app/Contents/MacOS/SVPManager
Identifier:            com.svp-team.svpmanager
Version:               4.5.0.206 (206)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2021-06-10 21:40:32.9455 +0800
OS Version:            macOS 12.0 (21A5248p)
Report Version:        12
Bridge OS Version:     6.0 (19P50264n)

Time Awake Since Boot: 4500 seconds
Time Since Wake:       2908 seconds

System Integrity Protection: enabled

Crashed Thread:        12  Extractor

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [5757]

VM Region Info: 0x10 is not in any region.  Bytes before following region: 4294967280
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
---> 
      __TEXT                      100000000-10021e000    [ 2168K] r-x/rwx SM=COW  ...OS/SVPManager

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                0x7ff80892d52a __rename + 10
1   libsystem_kernel.dylib                0x7ff80892d50c rename + 11
2   QtCore                                   0x107a63ea9 0x1078d0000 + 1654441
3   QtCore                                   0x107a5e58b QFSFileEngine::renameOverwrite(QString const&) + 59
4   QtCore                                   0x107a1a778 QSaveFile::commit() + 376
5   QtCore                                   0x107a4f4a3 0x1078d0000 + 1569955
6   QtCore                                   0x107a4ee2b 0x1078d0000 + 1568299
7   QtCore                                   0x107a5386c QSettings::event(QEvent*) + 28
8   QtWidgets                                0x1067c91bd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
9   QtWidgets                                0x1067ca5c2 QApplication::notify(QObject*, QEvent*) + 594
10  QtCore                                   0x107ab8c64 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
11  QtCore                                   0x107ab9e9e QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 878
12  libqcocoa.dylib                          0x1090300c9 0x109000000 + 196809
13  CoreFoundation                        0x7ff808a27783 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
14  CoreFoundation                        0x7ff808a27620 __CFRunLoopDoObservers + 543
15  CoreFoundation                        0x7ff808a26034 CFRunLoopRunSpecific + 446
16  HIToolbox                             0x7ff811545254 RunCurrentEventLoopInMode + 292
17  HIToolbox                             0x7ff811544e7b ReceiveNextEventCommon + 284
18  HIToolbox                             0x7ff811544d48 _BlockUntilNextEventMatchingListInModeWithFilter + 70
19  AppKit                                0x7ff80b40ae3c _DPSNextEvent + 886
20  AppKit                                0x7ff80b4095e7 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
21  AppKit                                0x7ff80b3fb588 -[NSApplication run] + 586
22  libqcocoa.dylib                          0x10902f79b 0x109000000 + 194459
23  QtCore                                   0x107ab42cf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
24  QtCore                                   0x107ab9272 QCoreApplication::exec() + 130
25  ???                                      0x101153773 ???
26  dyld                                     0x1096b84d5 start + 421

Thread 1:
0   libsystem_pthread.dylib               0x7ff80895c0b0 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib               0x7ff80895c0b0 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib               0x7ff80895c0b0 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib               0x7ff80895c0b0 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib               0x7ff80895c0b0 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib               0x7ff80895c0b0 start_wqthread + 0

Thread 7:: com.apple.CFSocket.private
0   libsystem_kernel.dylib                0x7ff808932af6 __select + 10
1   CoreFoundation                        0x7ff808a4f8cd __CFSocketManager + 630
2   libsystem_pthread.dylib               0x7ff8089605b8 _pthread_start + 125
3   libsystem_pthread.dylib               0x7ff80895c0d3 thread_start + 15

Thread 8:: Qt bearer thread
0   libsystem_kernel.dylib                0x7ff808930e52 poll + 10
1   QtCore                                   0x107b0ec1a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
2   QtCore                                   0x107b10617 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
3   QtCore                                   0x107ab42cf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
4   QtCore                                   0x1078f1a4c QThread::exec() + 140
5   QtCore                                   0x1078f29c3 0x1078d0000 + 141763
6   libsystem_pthread.dylib               0x7ff8089605b8 _pthread_start + 125
7   libsystem_pthread.dylib               0x7ff80895c0d3 thread_start + 15

Thread 9:: DeviceFinder
0   libsystem_kernel.dylib                0x7ff808930e52 poll + 10
1   QtCore                                   0x107b0ec1a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
2   QtCore                                   0x107b10617 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
3   QtCore                                   0x107ab42cf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
4   QtCore                                   0x1078f1a4c QThread::exec() + 140
5   libsvpcast.dylib                         0x12d16c68e DeviceFinder::run() + 398
6   QtCore                                   0x1078f29c3 0x1078d0000 + 141763
7   libsystem_pthread.dylib               0x7ff8089605b8 _pthread_start + 125
8   libsystem_pthread.dylib               0x7ff80895c0d3 thread_start + 15

Thread 10:: LEDEngine
0   libsystem_kernel.dylib                0x7ff808930e52 poll + 10
1   QtCore                                   0x107b0ec1a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
2   QtCore                                   0x107b10617 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
3   QtCore                                   0x107ab42cf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
4   QtCore                                   0x1078f1a4c QThread::exec() + 140
5   libsvplight.dylib                        0x12d09df22 LEDEngine::run() + 338
6   QtCore                                   0x1078f29c3 0x1078d0000 + 141763
7   libsystem_pthread.dylib               0x7ff8089605b8 _pthread_start + 125
8   libsystem_pthread.dylib               0x7ff80895c0d3 thread_start + 15

Thread 11:: Thread (pooled)
0   libsystem_kernel.dylib                0x7ff80892d05a __semwait_signal + 10
1   libsystem_c.dylib                     0x7ff808843969 nanosleep + 196
2   QtCore                                   0x107b0e5db 0x1078d0000 + 2352603
3   libsvplight.dylib                        0x12d07dfab LightPlugin::worker(LightPlugin*) + 891
4   libsvplight.dylib                        0x12d080d40 QtConcurrent::RunFunctionTask<void>::run() + 48
5   QtCore                                   0x1078f795d 0x1078d0000 + 162141
6   QtCore                                   0x1078f29c3 0x1078d0000 + 141763
7   libsystem_pthread.dylib               0x7ff8089605b8 _pthread_start + 125
8   libsystem_pthread.dylib               0x7ff80895c0d3 thread_start + 15

Thread 12 Crashed:: Extractor
0   Python                                   0x12d542e50 _PyObject_GC_Alloc + 39
1   Python                                   0x12d411a11 PyDict_New + 138
2   Python                                   0x12d478d29 PyUnicode_InternInPlace + 143
3   Python                                   0x12d4f9dbb PyImport_Import + 710
4   Python                                   0x12d4f9aba PyImport_ImportModule + 57
5   _io.so                                   0x12b4622df init_io + 72
6   Python                                   0x12d79f1c8 _PyImport_LoadDynamicModule + 150
7   Python                                   0x12d79df5f 0x12d6ff000 + 651103
8   Python                                   0x12d79db36 0x12d6ff000 + 650038
9   Python                                   0x12d79cae1 PyImport_ImportModuleLevel + 582
10  Python                                   0x12d77faa8 0x12d6ff000 + 527016
11  Python                                   0x12d70cd65 PyObject_Call + 97
12  Python                                   0x12d78d831 PyEval_CallObjectWithKeywords + 159
13  Python                                   0x12d787fff PyEval_EvalFrameEx + 15079
14  Python                                   0x12d783f18 PyEval_EvalCodeEx + 536
15  Python                                   0x12d783cfa PyEval_EvalCode + 23
16  Python                                   0x12d79b6e9 PyImport_ExecCodeModuleEx + 212
17  Python                                   0x12d79e4b5 0x12d6ff000 + 652469
18  Python                                   0x12d79df5f 0x12d6ff000 + 651103
19  Python                                   0x12d79db83 0x12d6ff000 + 650115
20  Python                                   0x12d79cae1 PyImport_ImportModuleLevel + 582
21  Python                                   0x12d77faa8 0x12d6ff000 + 527016
22  Python                                   0x12d70cd65 PyObject_Call + 97
23  Python                                   0x12d78d831 PyEval_CallObjectWithKeywords + 159
24  Python                                   0x12d787fff PyEval_EvalFrameEx + 15079
25  Python                                   0x12d783f18 PyEval_EvalCodeEx + 536
26  Python                                   0x12d783cfa PyEval_EvalCode + 23
27  Python                                   0x12d79b6e9 PyImport_ExecCodeModuleEx + 212
28  Python                                   0x12d79e4b5 0x12d6ff000 + 652469
29  Python                                   0x12d79e745 0x12d6ff000 + 653125
30  Python                                   0x12d79df5f 0x12d6ff000 + 651103
31  Python                                   0x12d79db36 0x12d6ff000 + 650038
32  Python                                   0x12d79cae1 PyImport_ImportModuleLevel + 582
33  Python                                   0x12d77faa8 0x12d6ff000 + 527016
34  Python                                   0x12d70cd65 PyObject_Call + 97
35  Python                                   0x12d70ceea 0x12d6ff000 + 57066
36  Python                                   0x12d70ce80 PyObject_CallFunction + 184
37  Python                                   0x12d79c782 PyImport_Import + 349
38  Python                                   0x12d79ac5a PyImport_ImportModule + 28
39  libPythonQt.dylib.3                      0x12da25286 PythonQt::importModule(QString const&) + 86
40  libmain.dylib                            0x12d2a7b2d Extractor::initYoutubeDL() + 765
41  libmain.dylib                            0x12d2a77a2 Extractor::run() + 18
42  QtCore                                   0x1078f29c3 0x1078d0000 + 141763
43  libsystem_pthread.dylib               0x7ff8089605b8 _pthread_start + 125
44  libsystem_pthread.dylib               0x7ff80895c0d3 thread_start + 15

Thread 13:: QNetworkAccessManager thread
0   libsystem_kernel.dylib                0x7ff808930e52 poll + 10
1   QtCore                                   0x107b0ec1a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
2   QtCore                                   0x107b10617 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 903
3   QtCore                                   0x107ab42cf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
4   QtCore                                   0x1078f1a4c QThread::exec() + 140
5   QtCore                                   0x1078f29c3 0x1078d0000 + 141763
6   libsystem_pthread.dylib               0x7ff8089605b8 _pthread_start + 125
7   libsystem_pthread.dylib               0x7ff80895c0d3 thread_start + 15


Thread 12 crashed with X86 Thread State (64-bit):
  rax: 0x7ffffffffffffff0  rbx: 0x000000012d0ee070  rcx: 0x000000012d660cf0  rdx: 0x0000000000000030
  rdi: 0x0000000000000000  rsi: 0x0000000000000030  rbp: 0x0000700003260f20  rsp: 0x0000700003260f00
   r8: 0x5f5f74726f706d69   r9: 0x0000000000000000  r10: 0x0000000000041002  r11: 0xffffffffffac0272
  r12: 0x0000000000000000  r13: 0x000000012d0284b0  r14: 0x0000000000000000  r15: 0x000000010d8bd000
  rip: 0x000000012d542e50  rfl: 0x0000000000010283  cr2: 0x0000000000000010
 
Logical CPU:     6
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 12 instruction stream:
  c0 f6 81 a9 00 00 00 40-75 02 5d c3 48 8b 89 48  .......@u.].H..H
  01 00 00 b8 01 00 00 00-48 85 c9 74 ed ff d1 89  ........H..t....
  c1 31 c0 85 c9 0f 95 c0-eb e0 55 48 89 e5 48 89  .1........UH..H.
  fe 31 ff 5d e9 00 00 00-00 55 48 89 e5 41 57 41  .1.].....UH..AWA
  56 53 50 4c 8b 35 16 93-13 00 48 b8 f0 ff ff ff  VSPL.5....H.....
  ff ff ff 7f 48 39 c6 0f-83 f0 00 00 00 48 89 f2  ....H9.......H..
[4d]8b 7e 10 48 83 c2 10-85 ff 0f 85 ec 00 00 00  M.~.H...........    <==
  48 8b 3d 41 8e 11 00 48-89 d6 ff 15 40 8e 11 00  H.=A...H....@...
  48 89 c3 48 85 c0 0f 84-c1 00 00 00 0f 57 c0 0f  H..H.........W..
  11 03 41 8b 87 90 02 00-00 41 8b 8f 94 02 00 00  ..A......A......
  ff c1 41 89 8f 94 02 00-00 39 c1 7f 12 48 83 c3  ..A......9...H..
  10 48 89 d8 48 83 c4 08-5b 41 5e 41 5f 5d c3 85  .H..H...[A^A_]..

Binary Images:
    0x7ff808929000 -     0x7ff808959fff libsystem_kernel.dylib (*) <1ce9fea0-66b2-3399-95dd-089f8c812d91> /usr/lib/system/libsystem_kernel.dylib
       0x1078d0000 -        0x107dfefff com.svp-team.svpmanager (4.5.0.206) <1318a67f-4ad7-3367-83e1-bb6b88d1488c> /Applications/SVP 4 Mac.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
       0x1067b9000 -        0x106bf7fff com.svp-team.svpmanager (4.5.0.206) <43c396f0-f48c-39be-94f0-b48f0e4e6155> /Applications/SVP 4 Mac.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
       0x109000000 -        0x10915cfff com.svp-team.svpmanager (4.5.0.206) <84496e6a-00ad-3e15-abba-a11c753378c7> /Applications/SVP 4 Mac.app/Contents/PlugIns/platforms/libqcocoa.dylib
    0x7ff8089a7000 -     0x7ff808ea7fff com.apple.CoreFoundation (6.9) <8b5803ee-4e49-3380-9c1e-02905ff2a7b0> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff811515000 -     0x7ff811808fff com.apple.HIToolbox (2.1.1) <05a3bba5-f869-3615-b139-d3addd9de047> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff80b3cc000 -     0x7ff80c23bfff com.apple.AppKit (6.9) <f3d3650f-1dd4-336d-86b2-abf55088ecdb> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1096b3000 -        0x10971afff dyld (*) <4e207376-cc5d-3986-a0bd-4d09f4217e68> /usr/lib/dyld
    0x7ff80895a000 -     0x7ff808965fff libsystem_pthread.dylib (*) <a955c3d1-1895-35df-b127-df3a448d6851> /usr/lib/system/libsystem_pthread.dylib
       0x12d143000 -        0x12d21ffff com.svp-team.svpmanager (4.5.0.206) <c10c471b-8bec-3342-9113-3c72fdeda852> /Applications/SVP 4 Mac.app/Contents/Resources/extensions/libsvpcast.dylib
       0x12d077000 -        0x12d0c9fff com.svp-team.svpmanager (4.5.0.206) <61091eee-be3a-3522-b75d-5782133e318a> /Applications/SVP 4 Mac.app/Contents/Resources/extensions/libsvplight.dylib
    0x7ff808833000 -     0x7ff8088bbfff libsystem_c.dylib (*) <38f33f67-fa8f-3e1b-9868-a8a79102fcf2> /usr/lib/system/libsystem_c.dylib
       0x12d36f000 -        0x12d63efff org.python.python (3.9.2, (c) 2001-2019 Python Software Foundation.) <a2bafbde-0992-3e0f-9fc4-804b191c9de4> /usr/local/Cellar/python@3.9/3.9.2_1/Frameworks/Python.framework/Versions/3.9/Python
       0x12b45a000 -        0x12b469fff _io.so (*) <031ee404-10b1-322e-b58a-79d913daf1a9> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
       0x12d6ff000 -        0x12d7f6fff org.python.python (2.7.16) <a12c93e0-c97d-32fe-aa42-02c1968ec477> /System/Library/Frameworks/Python.framework/Versions/2.7/Python
       0x12d9d2000 -        0x12db0cfff com.svp-team.svpmanager (4.5.0.206) <3ebaf498-4d53-378d-9d7a-8b61bc510c1e> /Applications/SVP 4 Mac.app/Contents/Resources/extensions/tube/libPythonQt.dylib.3
       0x12d287000 -        0x12d2d9fff com.svp-team.svpmanager (4.5.0.206) <4ec04a75-58c5-3f4e-800b-d9f601d329c8> /Applications/SVP 4 Mac.app/Contents/Resources/extensions/tube/libmain.dylib

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=903.3M resident=0K(0%) swapped_out_or_unallocated=903.3M(100%)
Writable regions: Total=1.4G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.4G(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
.UPX0                             15.3M        3
.UPX1                             1604K        1
.UPX2                               12K        1
Accelerate framework               128K        1
Activity Tracing                   256K        1
CG backing stores                 5760K        4
CG image                           260K        1
ColorSync                          228K       25
CoreUI image data                  152K        1
Foundation                          16K        1
Kernel Alloc Once                    8K        1
MALLOC                           305.8M       62
MALLOC guard page                   48K        9
MALLOC_MEDIUM (reserved)         712.0M        6         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.1M       14
Stack                             14.6M       14
VM_ALLOCATE                       1400K       20
__DATA                            33.4M      358
__DATA_CONST                      13.8M      188
__DATA_DIRTY                       537K      103
__FONT_DATA                          4K        1
__GLSLBUILTINS                    5176K        1
__LINKEDIT                       619.6M       49
__OBJC_RO                         80.3M        1
__OBJC_RW                         3008K        2
__TEXT                           283.7M      365
__UNICODE                          588K        1
dyld private memory               1024K        1
mapped file                       85.6M       29
shared memory                      792K       19
===========                     =======  =======
TOTAL                              2.6G     1284
TOTAL, minus reserved VM space     1.5G     1284

Re: SVP Crashes on MacOS Monterey

from this log the crash in Python, initiated from SVPtube extension
so I can only suggest to disable SVPtube

edit ~/Library/Application Support/SVP4/settings/main.cfg, set "extensions/svptube" to false