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

Crash on "Save Master" #93

Open
notklaatu opened this issue Jan 2, 2022 · 4 comments
Open

Crash on "Save Master" #93

notklaatu opened this issue Jan 2, 2022 · 4 comments
Labels

Comments

@notklaatu
Copy link

notklaatu commented Jan 2, 2022

OS

Linux

Zyn Version

zyn-fusion-linux-64bit-3.0.2-patch4-release.tar.bz2

Downloaded and installed using install-linux.sh from Gumroad.

To reproduce:

  1. Launch with zynaddsubfx --auto-connect
  2. Go to File > Save Master (or any "save" dialogue)
  3. Click into the text field and start to type.
  4. Zyn-fusion crashes at the first keypress, with this output in the terminal:
Unknown address<BACKEND:online> '/file_list_dirs:'
Unknown address<BACKEND:online> '/file_list_files:'
Unknown address<BACKEND:online> '/file_list_dirs:'
Unknown address<BACKEND:online> '/file_list_files:'
[Zyn:Error] stat cannot handle </home/klaatu//.#.#file.txt>:-1
[Zyn:Error] stat cannot handle </home/klaatu//Artkit>:-1
[Zyn:Error] stat cannot handle </home/klaatu//.steampath>:-1
[Zyn:Error] stat cannot handle </home/klaatu//.#.#file.txt>:-1
[Zyn:Error] stat cannot handle </home/klaatu//Artkit>:-1
[Zyn:Error] stat cannot handle </home/klaatu//.steampath>:-1
trace:
        [0] /home/mark/code/zyn-fusion-build/mruby-zest-build/src/mruby-widget-lib/mrblib/fcache.rb:12554:in Qml::TextField.onKey
        [1] /home/mark/code/zyn-fusion-build/mruby-zest-build/src/mruby-widget-lib/mrblib/script.rb:324:in ZRunner.key
/home/mark/code/zyn-fusion-build/mruby-zest-build/src/mruby-widget-lib/mrblib/fcache.rb:12554: expected Array (TypeError)
[FATAL ERROR] Mruby Is Unable To Continue
Jack reports error: Cannot delete key http://jackaudio.org/metadata/event-types (DB_NOTFOUND: No matching key/data pair found)
Deactivating and closing JACK client

(Note that my username is not mark, despite the errors listing /home/mark/code)

Workaround

So far I have not discovered a way around this bug. It seems I cannot save any session information without a crash.

@fundamental
Copy link
Member

Thanks for reporting the issue. I suspect that it's fixed in a development copy, but I'll get you an updated binary to verify if that's the case or not. To confirm, typing in the text field with any key triggers the crash, correct? Or is it just certain keys like delete/backspace?

@fundamental fundamental added the bug label Jan 3, 2022
@notklaatu
Copy link
Author

Correct, it's literally any key.

In the meantime, I have discovered a workaround: create an empty file using a file manage or terminal (touch foo). Then save master (or instrument, or whatever) and click on the empty file. Settings are saved as foo.xmz (or whatever extension is appropriate for what you're saving).

It'd be cool if it were fixed in a new version, though, and I'm happy to test it.

@fundamental
Copy link
Member

https://fundamental-code.com/tmp/zyn-fusion-linux-64bit-3.0.6-git-demo.tar.bz2 should have a demo built from the current master. For some reason I was encountering some hiccups from the build scripts, but it looks like everything in the resulting tarball is ok. You should be able to run it without installing to see if the problem is installed. Usually for development I go to the directory and run './zynaddsubfx -I null -O null -U -P 1337' and then run './zyn-fusion' in another terminal. In case there is still a crash this version of zyn-fusion will print out all OSC messages received via a hexdump like mechanism. The line numbers with regards to backtraces will also be consistent between this version and my local system.

@notklaatu
Copy link
Author

notklaatu commented Jan 5, 2022

Downloaded, testing.

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

No branches or pull requests

2 participants