GP 2 crash on plugin load

Hey all,
Just purchased the upgrade to GigPerformer 2 and I’m excited to try it out. Unfortunately though I have been unable to load any of my old concerts, and it seems to be stemming from the Kontakt 5 VST. I confirmed this by attempting to load the plugin in a new empty concert, which causes an immediate crashes as well. Here is the full crash report:

Process: GigPerformer [1787]
Path: /Applications/GigPerformer.app/Contents/MacOS/GigPerformer
Identifier: com.deskew.gigperformer2
Version: 2.0.18 (2.0.18)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: GigPerformer [1787]
User ID: 501

Date/Time: 2018-03-16 21:03:15.460 -0700
OS Version: Mac OS X 10.11.6 (15G31)
Report Version: 11
Anonymous UUID: ED0E629C-2157-2461-3927-FA93567BA91F

Time Awake Since Boot: 21000 seconds

System Integrity Protection: disabled

Crashed Thread: 0 Juce Message Thread Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes: 0x0000000000000032, 0x000000012f29c000
Exception Note: EXC_CORPSE_NOTIFY

kernel messages:
-0 sec CODE SIGNING: cs_invalid_page(0x12f29c000): p=1787[GigPerformer] final status 0x3004200, denying page sending SIGKILL
-0 sec CODE SIGNING: process 1787[GigPerformer]: rejecting invalid page at address 0x12f29c000 from offset 0x276000 in file “/Library/Audio/Plug-Ins/VST/Kontakt 5.vst/Contents/MacOS/Kontakt 5” (cs_mtime:1481825182.0 == mtime:1481825182.0) (signed:1 validated:1 tainted:1 wpmapped:0 slid:0)

VM Regions Near 0x12f29c000:
CoreAnimation 000000012ef25000-000000012f026000 [ 1028K] rw-/rwx SM=PRV
–> __TEXT 000000012f026000-00000001308bb000 [ 24.6M] r-x/rwx SM=COW /Library/Audio/Plug-Ins/VST/Kontakt 5.vst/Contents/MacOS/Kontakt 5
__DATA 00000001308bb000-0000000130a54000 [ 1636K] rw-/rwx SM=COW /Library/Audio/Plug-Ins/VST/Kontakt 5.vst/Contents/MacOS/Kontakt 5

Thread 0 Crashed:: Juce Message Thread Dispatch queue: com.apple.main-thread
0 Kontakt 5.Synth.vst 0x000000012f29bffc BLibraryInfo::Init() + 76
1 Kontakt 5.Synth.vst 0x000000012f257369 BLibHandling::InitRegistration(bool) + 4441
2 Kontakt 5.Synth.vst 0x000000012f271fbb BOptions::GetFromRegistry(bool) + 27787
3 Kontakt 5.Synth.vst 0x000000012f709a34 BAppModule::init() + 564
4 Kontakt 5.Synth.vst 0x000000013001ca81 NI::UIA::DETAIL::AppModuleStartup::init() + 97
5 Kontakt 5.Synth.vst 0x000000012f70b721 NICreatePlugInInstance + 113
6 com.deskew.gigperformer2 0x000000010cdcdf7e 0x10cb58000 + 2580350
7 com.deskew.gigperformer2 0x000000010cdbcf8f 0x10cb58000 + 2510735
8 com.deskew.gigperformer2 0x000000010cdbcbad 0x10cb58000 + 2509741
9 com.deskew.gigperformer2 0x000000010cdb226a 0x10cb58000 + 2466410
10 com.deskew.gigperformer2 0x000000010cd2c608 0x10cb58000 + 1918472
11 com.deskew.gigperformer2 0x000000010cd12c6a 0x10cb58000 + 1813610
12 com.deskew.gigperformer2 0x000000010cca724f 0x10cb58000 + 1372751
13 com.deskew.gigperformer2 0x000000010cec36bb 0x10cb58000 + 3585723
14 com.deskew.gigperformer2 0x000000010cf51b8f 0x10cb58000 + 4168591
15 com.deskew.gigperformer2 0x000000010cf50beb 0x10cb58000 + 4164587
16 com.deskew.gigperformer2 0x000000010cec7967 0x10cb58000 + 3602791
17 com.deskew.gigperformer2 0x000000010cf441ee 0x10cb58000 + 4112878
18 com.deskew.gigperformer2 0x000000010cf7536b 0x10cb58000 + 4313963
19 com.deskew.gigperformer2 0x000000010cf731d2 0x10cb58000 + 4305362
20 com.apple.AppKit 0x00007fff97d5ab15 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2108
21 com.apple.AppKit 0x00007fff97799539 -[NSWindow sendEvent:] + 517
22 com.apple.AppKit 0x00007fff97719ac7 -[NSApplication sendEvent:] + 2683
23 com.apple.AppKit 0x00007fff97580df2 -[NSApplication run] + 796
24 com.deskew.gigperformer2 0x000000010ce469d6 0x10cb58000 + 3074518
25 com.deskew.gigperformer2 0x000000010ce46903 0x10cb58000 + 3074307
26 libdyld.dylib 0x00007fff8b90e5ad start + 1

Any idea what’s going on here? It seems to be saying something about codesigning?

Thanks for any and all help,
-Mechanica

So I fixed it. In case anyone runs into the same issue with a plugin, I just ad hoc signed it using the following terminal command:

sudo codesign -f -s - “/Library/Audio/Plug-Ins/VST/Kontakt 5.vst/Contents/MacOS/Kontakt 5”

So there you go. Crisis averted.

-M.

Hmm, glad you fixed it but I don’t quite understand what happened — Gig Performer 2 would have nothing to do with the need for Kontakt to be code signed so the real question is what happened to Kontakt that made it necessary to code sign it.

I’m not really sure either, but it’s interesting that GP1 didn’t have a problem with it and GP2 just could not abide. Ah well…

Well, that’s not particularly interesting, GP2 does load plugins slightly differently. However, the crash is CLEARLY in the Kontakt code. You should probably reach out to Native Instruments. What’s more interesting is that it happened to you but it hasn’t happened to anyone else (at least we haven’t heard of it happening to anyone else). I use Kontakt myself every day. Were you using latest version? Was it happening every time? Any chance the time was wrong on your computer (that CAN break some certificates)?

D


Thread 0 Crashed:: Juce Message Thread Dispatch queue: com.apple.main-thread
0 Kontakt 5.Synth.vst 0x000000012f29bffc BLibraryInfo::Init() + 76
1 Kontakt 5.Synth.vst 0x000000012f257369 BLibHandling::InitRegistration(bool) + 4441
2 Kontakt 5.Synth.vst 0x000000012f271fbb BOptions::GetFromRegistry(bool) + 27787
3 Kontakt 5.Synth.vst 0x000000012f709a34 BAppModule::init() + 564
4 Kontakt 5.Synth.vst 0x000000013001ca81 NI::UIA::DETAIL::AppModuleStartup::init() + 97
5 Kontakt 5.Synth.vst 0x000000012f70b721 NICreatePlugInInstance + 113
6 com.deskew.gigperformer2 0x000000010cdcdf7e 0x10cb58000 + 2580350

Eh, I probably just did something goofy to break it. If anyone else pops up with similar issues then we’ll know otherwise. Until then though I’m satisfied to just call it a “me” problem and move on.