Dn-Programming-Core-Management / Dn-FamiTracker

modifications and improvements for 0CC-FamiTracker (based on j0CC-FamiTracker 0.6.3)
Other
372 stars 23 forks source link

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

Closed r4dian closed 2 years ago

r4dian commented 3 years ago

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:

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Thank you so much.

nyanpasu64 commented 3 years ago

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 commented 2 years ago

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