Sig fault 11-22

Have you made sure everything is up to date using pacman -Syuu ?

Excellent suggestion. Also, you might try building some plugins that are known to work, to take your plugin out of the equation.

Updated, and built this one: github com/squinkylabs/Demo same results (had to remove the web links as for some reason they got flagged as spam)

So it’s not something with my plugin but rather with the compilation

Did you test the SquinkyLabsDemo using GDB? If so did GDB show the same kind of fault as your plugin?

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff939765990 in libRack!_ZN4rack6engine6Module10isBypassedEv () from /c/Program Files/VCV/Rack2 Pro/libRack.dll

I’m getting the same thing, no symbols found, do i have to build Rack myself?

No. How are you starting GDB?

gdb --args Rack.exe -u /home/haqz

What’s the output of GDB when you try to add your module to Rack?

Oh sorry i didnt realise i had to type run as well What i got is:

0x00007ff9e26d3d10 in libRack!_ZN4rack10contextSetEPNS_7ContextE () from C:\Program Files\VCV\Rack2Free\libRack.dll

Iike @Steve_Russell says, gdb is just saying that rack itself has no symbols, doesn’t mean the plugin you are testing doesn’t.

That said, this does re-inforce for me that building rack yourself makes this stuff a little easier… But maybe not enough easier to make it worth it.

but that’s not from the crash right? You need to make it crash in gdb, then use the bt command to have gdb tell you what happened.

Oh ok, there you go then - this is the result of bt:

#0  0x00007ff9e26d3d10 in libRack!_ZN4rack10contextSetEPNS_7ContextE ()
   from C:\Program Files\VCV\Rack2Free\libRack.dll
#1  0x00007ff9e26a984f in nvgFill ()
   from C:\Program Files\VCV\Rack2Free\libRack.dll
#2  0x00007ff9e274e881 in libRack!_ZN4rack6widget17FramebufferWidget6renderENS_4math3VecES3_NS2_4RectE () from C:\Program Files\VCV\Rack2Free\libRack.dll
#3  0x00007ff9e274ee01 in libRack!_ZN4rack6widget17FramebufferWidget4drawERKNS0_6Widget8DrawArgsE () from C:\Program Files\VCV\Rack2Free\libRack.dll
#4  0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#5  0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#6  0x00007ff9e275089e in libRack!_ZN4rack6widget10ZoomWidget4drawERKNS0_6Widget8DrawArgsE () from C:\Program Files\VCV\Rack2Free\libRack.dll
#7  0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#8  0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#9  0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#10 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#11 0x00007ff9e2ba4a07 in libRack!_ZN4rack3app7browser8ModelBox4drawERKNS_6widget6Widget8DrawArgsE () from C:\Program Files\VCV\Rack2Free\libRack.dll
#12 0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#13 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#14 0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#15 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#16 0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#17 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#18 0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#19 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#20 0x00007ff9e2748850 in libRack!_ZN4rack2ui12ScrollWidget4drawERKNS_6widget6Widget8DrawArgsE () from C:\Program Files\VCV\Rack2Free\libRack.dll
#21 0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#22 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#23 0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#24 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#25 0x00007ff9e27504f1 in libRack!_ZN4rack6widget6Widget9drawChildEPS1_RKNS1_8DrawArgsEi () from C:\Program Files\VCV\Rack2Free\libRack.dll
#26 0x00007ff9e2750612 in libRack!_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE
    () from C:\Program Files\VCV\Rack2Free\libRack.dll
#27 0x00007ff9e27531aa in libRack!_ZN4rack6window6Window4stepEv ()
   from C:\Program Files\VCV\Rack2Free\libRack.dll
#28 0x00007ff9e27532c8 in libRack!_ZN4rack6window6Window3runEv ()
   from C:\Program Files\VCV\Rack2Free\libRack.dll
#29 0x00007ff66b541211 in ?? ()
#30 0x00007ff66b531973 in ?? ()
#31 0x00007ff66b5313d4 in ?? ()
#32 0x00007ff66b5314e6 in ?? ()
#33 0x00007ffa7fa87034 in KERNEL32!BaseThreadInitThunk ()
   from C:\Windows\System32\kernel32.dll
#34 0x00007ffa81262651 in ntdll!RtlUserThreadStart ()
   from C:\Windows\SYSTEM32\ntdll.dll
#35 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I can’t make heads or tails of that. I’ve never dealt with a plugin that was crashing only in rack code, with none of the plugin code implicated.

In my estimate nvgFill is setting a draw context and failing. Is the graphic for the plugin correctly formatted SVG? It’s a guess.

It’s valid SVG as it’s from the tutorial, plus I got it working my end.

Can you compare graphics driver version information?

It’s likely to do with compilation. His build environment seems to be borked in some way. Check a few posts up, his debug build fails on my machine, yet the one I built works perfectly.

echo %PATH% rem it might be linking to some other library code??

Hard to tell atm, as Bruce said above it’s failing in Rack code not plugin code. I was wondering about whether the correct SDK is being used but the plugin loads so the ABI version is good.