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

When running in Wine, tabs in the configuration window crash Dn-Famitracker #54

Closed
r4dian opened this issue Apr 7, 2021 · 5 comments
Closed

Comments

@r4dian
Copy link

r4dian commented Apr 7, 2021

Set up:
The 64bit 0.3.0.0 version of Dn-Famitracker, (debug or release)
MacOS Catalina 10.15.7
Wine 5.7 installed via homebrew (wine-stable or wine-devel package is the same result)

Steps to reproduce:

  • Open the File, Configuration.... menu
  • Try to select the tabs beyond the first

Result:
Famitracker crashes, the following is printed in the terminal which was used to launch wine:

0009:err:seh:setup_exception stack overflow 2512 bytes in thread 0009 eip 000000007bc8c30c esp 0000000000410c40 stack 0x410000-0x411000-0x510000

Screenshot 2021-04-07 at 15 48 31

Screenshot 2021-04-07 at 15 48 38

@r4dian
Copy link
Author

r4dian commented Apr 7, 2021

May be a bug in Wine I dunno.
Tabs in openMPT (pattern, instrument, sample etc.) do not cause this issue though.

Anyway, I need to up the buffer size.
As a workaround, is there a config file or way to set it via the commandline?

Cheers!

@nyanpasu64
Copy link
Collaborator

As a workaround, is there a config file or way to set it via the commandline?

the buffer size is stored in the registry, at HKEY_CURRENT_USER\Software\0CC-FamiTracker\Sound\Buffer length. The attached file will set the buffer length to 70 ms, but you can adjust it further, either by editing the .reg file or in-program.

0cc buffer.zip

@r4dian
Copy link
Author

r4dian commented Apr 7, 2021

Thank you so much.

@nyanpasu64
Copy link
Collaborator

on my computer (arch linux, wine 6.12), i don't get a crash when switching tabs. don't know what's different. My suspicion is that mac wine on catalina (probably not officially supported) and official linux wine behave differently in some ways.

@r4dian
Copy link
Author

r4dian commented Jan 6, 2022

This is resolved in wine-6.0.2 which is now the version of wine-stable available via homebrew.

@r4dian r4dian closed this as completed Jan 6, 2022
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

2 participants