Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 version crashes on Mac #18

Closed
vernaillen opened this issue Nov 3, 2021 · 8 comments
Closed

v2 version crashes on Mac #18

vernaillen opened this issue Nov 3, 2021 · 8 comments

Comments

@vernaillen
Copy link

Hi,
I was able to build the latest commit from your v2 branch on Mac OS (Monterey), but VCV Rack crashes on loading the Algomorph module in the module browser.
Build and tested with VCV Rack Community Edition 2.git.219bbaf1

here's the stack strace from log.txt:

[34.551 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_ScreenButtonLight_0.svg [34.551 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_ScreenButtonLight_1.svg [34.551 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_1b_light_0.svg [34.551 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_1b_light_1.svg [34.551 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_2b_light_0.svg [34.551 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_2b_light_1.svg [34.551 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_3b_light_0.svg [34.552 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Users/wouter/Documents/Rack2/plugins/DelexanderVol1/res/DLX_3b_light_1.svg [34.552 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Applications/VCV Rack 2.app/Contents/Resources/res/ComponentLibrary/PJ301M.svg [34.552 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Applications/VCV Rack 2.app/Contents/Resources/res/ComponentLibrary/RoundHugeBlackKnob.svg [34.552 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Applications/VCV Rack 2.app/Contents/Resources/res/ComponentLibrary/RoundSmallBlackKnob.svg [34.552 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Applications/VCV Rack 2.app/Contents/Resources/res/ComponentLibrary/RoundSmallBlackKnob-bg.svg [34.552 info src/window/Svg.cpp:28 loadFile] Loaded SVG /Applications/VCV Rack 2.app/Contents/Resources/res/ComponentLibrary/RoundHugeBlackKnob-bg.svg [34.553 fatal adapters/standalone.cpp:49 fatalSignalHandler] Fatal signal 11. Stack trace: 19: 1 Rack 0x000000010e07230d _ZL18fatalSignalHandleri + 45 18: 2 libsystem_platform.dylib 0x00007ff8011e4e2d _sigtramp + 29 17: 3 ??? 0x000000000e0a4000 0x0 + 235552768 16: 4 plugin.dylib 0x0000000013b10e63 _ZZN4rack11createModelI14AlgomorphLarge20AlgomorphLargeWidgetEEPNS_6plugin5ModelENSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEEN6TModel18createModuleWidgetEPNS_6engine6ModuleE + 83 15: 5 libRack.dylib 0x000000000eaa2b4a _ZN4rack3app7browser8ModelBox13createPreviewEv + 426 14: 6 libRack.dylib 0x000000000eaa252d _ZN4rack3app7browser8ModelBox4drawERKNS_6widget6Widget8DrawArgsE + 29 13: 7 libRack.dylib 0x000000000eb1f62d _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 365 12: 8 libRack.dylib 0x000000000eb1f62d _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 365 11: 9 libRack.dylib 0x000000000eb1f62d _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 365 10: 10 libRack.dylib 0x000000000eb1f62d _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 365 9: 11 libRack.dylib 0x000000000eb18544 _ZN4rack2ui12ScrollWidget4drawERKNS_6widget6Widget8DrawArgsE + 52 8: 12 libRack.dylib 0x000000000eb1f62d _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 365 7: 13 libRack.dylib 0x000000000eb1f62d _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 365 6: 14 libRack.dylib 0x000000000eb1f62d _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 365 5: 15 libRack.dylib 0x000000000eb242f5 _ZN4rack6window6Window4stepEv + 1829 4: 16 libRack.dylib 0x000000000eb23bb8 _ZN4rack6window6Window3runEv + 40 3: 17 Rack 0x000000010e071f06 main + 2774 2: 18 dyld 0x00000001104344fe start + 462 1: 19 ??? 0x0000000000000000 0x0 + 0 0: 20 Rack 0x000000010e070000 __dso_handle + 0

xandramax pushed a commit that referenced this issue Nov 4, 2021
@xandramax
Copy link
Owner

Thank you, fixed!

@vernaillen
Copy link
Author

Unfortunately that didn't fix it, it's still crashing here with the same error.

I tried to take a look at the code myself, but with no luck as I'm not familiar with C++ (I'm a java developer)

@xandramax xandramax reopened this Nov 4, 2021
@xandramax
Copy link
Owner

Hmm, I had the same issue but d2604b7 fixed it for me (running on Windows). I'll try to reproduce the crash on a Mac soon.

@pgatt
Copy link

pgatt commented Nov 4, 2021

Can verify, latest version still crashes.

@xandramax
Copy link
Owner

xandramax commented Nov 4, 2021

Ok, I have not tested on Mac but I was able to reproduce a crash on Linux. I identified another issue and pushed a fix 0b63f7d / 0f68666. I'm surprised it wasn't crashing on Windows.

Hopefully it's fixed on Mac this time.

@vernaillen
Copy link
Author

I can confirm it's working on mac too now. Thanks!

@pgatt
Copy link

pgatt commented Nov 4, 2021

Yep, all good.

@xandramax
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants