monomadic / tinyui-rs

A tiny OS windowing and GUI toolkit library for MacOS and Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clicking on the button in vst-webkit crashes the plugin

conundrumer opened this issue · comments

MacOS version: 10.11.6 (El Capitan)
Rust version: 1.24.1
Host: Bitwig Studio

The standalone version works. The plugin version crashes when the button is clicked. I don't know how to get the crash log.

The plugin version also crashes under Ableton Live 10.0.2 (no crash log either)

I ran Live under dtruss (sudo dtruss -n Live) and got the following information:

 1620/0x2ba6:  write(0x2, "thread '\0", 0x8)		 = 8 0
 1620/0x2ba6:  write(0x2, "<unnamed>\0", 0x9)		 = 9 0
 1620/0x2ba6:  write(0x2, "' panicked at '\0", 0xF)		 = 15 0
 1620/0x2ba6:  write(0x2, "Ivar EventHandler not found on class OPluginCocoaWindowDelegate\0", 0x3F)		 = 63 0
 1620/0x2ba6:  write(0x2, "', \0", 0x3)		 = 3 0
 1620/0x2ba6:  write(0x2, "/Users/fischer/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.2.2/src/runtime.rs\0", 0x58)		 = 88 0
 1620/0x2ba6:  write(0x2, ":\334\022*T\006\0", 0x1)		 = 1 0
 1620/0x2ba6:  write(0x2, "452\0", 0x3)		 = 3 0
 1620/0x2ba6:  write(0x2, ":\0", 0x1)		 = 1 0
 1620/0x2ba6:  write(0x2, "25\0", 0x2)		 = 2 0
 1620/0x2ba6:  write(0x2, "\n\0", 0x1)		 = 1 0
 1620/0x2ba6:  write(0x2, "note: Run with `RUST_BACKTRACE=1` for a backtrace.\n\0", 0x33)		 = 51 0