Error loading old project.

Official support for: tx16wx.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Getting an error when trying to open an older project.

v3.5.1a, not sure of the bitness of the plugin due to bridging vagueness but same error in both 32 and 64 bit hosts. FWIW host is Jeskola Buzz, OS is Win 11, 64bit.

Image

Mini dump... https://www.dropbox.com/s/yzhwtkowclqv2 ... p.zip?dl=1

Post

You seem to have one or more (at least the first one) places set up that causes a broken response from Windows. It does not give an error code on name query, but returns NULL instead, causing the crash. Can't really say more than that. Adding checks here will be difficult, since not returning a name from an object is here considered fatal.

Maybe it is a deleted folder? Try removing it from places list and try again...
TX16Wx Software Sampler:
http://www.tx16wx.com/

Post

elcallio wrote: Fri Dec 30, 2022 11:18 pm You seem to have one or more (at least the first one) places set up that causes a broken response from Windows. It does not give an error code on name query, but returns NULL instead, causing the crash. Can't really say more than that. Adding checks here will be difficult, since not returning a name from an object is here considered fatal.

Maybe it is a deleted folder? Try removing it from places list and try again...
Ah okay, thanks, I must've moved something. I'll have a look at the places. Cheers! :)

Post

Hmmm, all the current paths in Places are correct and looking in the dump with a hex editor, it seems the places in there are correct too (at 0081 3EB8 yes? "NumPaths=3 URL0=file:///E:/Sound/Audio/Samples" )

Could it be a permissions thing?

Post

Maybe. Though generally, if you can view the folder in explorer as the user running the daw, the component model should be able to resolve the path. Could you maybe switch to 64-bit? And even better, the 3.6 beta? I would very much like to know if and how it fails there.
TX16Wx Software Sampler:
http://www.tx16wx.com/

Post

elcallio wrote: Sat Dec 31, 2022 2:02 pm Could you maybe switch to 64-bit? And even better, the 3.6 beta?
With a bit of file juggling I got it to try loading the 64bit version in the 64bit host rather than bridging in the 32bit. Here's the dump.. https://www.dropbox.com/s/4y3h7qwagctn1 ... p.zip?dl=1

Computer's a bit overloaded right now so I'll give the 3.6 beta a whirl later this evening.

Post

Nice to know it breaks the exact same way. The best I can figure out, it might be some weird COM issue just suddenly manifesting itself on your machine. After new years I'll try to repro it. You might need to run some private builds for me. :-)
TX16Wx Software Sampler:
http://www.tx16wx.com/

Post

Never mind; I just figured out why it is not working. It is the DAW that is broken, at least to some degree. It calls VST::effSetChunk on a worker thread, not main thread. While not 100% well specified, all such calls are supposed to come on main/GUI thread, never workers. Since COM is initialized in apartment mode (threaded, but non-lock-guarded), this call to an object _not_ created on this thread fails.
I can maybe build some safety rails for this, but honestly, Jeskola should probably change this behaviour.
TX16Wx Software Sampler:
http://www.tx16wx.com/

Post

Ah, okay, thanks for investigating. Buzz doesn't actually have VST loading, it was implemented as a plugin by a third party, which is good because said third party is still active. I'll pass the info on. :)

Post Reply

Return to “CWITEC”