Crash while loading TX16Wx into my plugin bridge
-
- KVRist
- Topic Starter
- 57 posts since 5 Mar, 2007
It seems that loading TX16Wx into my plugin bridge for plugin verification seems to cause a crash while unloading the plugin. The bridge doesn't really do anything fancy and the crash appears to happen in a window handling function (which should not be called at this point...?), so I'm posting this here, as it could very well be a plugin bug.
Basically, this happens while the plugin is scanned for first use. During this process, effOpen, effGetPlugCategory and effClose are called. The crash appears to happen in effClose. I've attached the minidump generated by the plugin. My host, including the plugin bridge, can be found at http://openmpt.org/ - registering the plugin is as simple as dragging the DLL onto the main window. It should crash when doing so. Please let me know if you need any further help with reproducing the crash.
Basically, this happens while the plugin is scanned for first use. During this process, effOpen, effGetPlugCategory and effClose are called. The crash appears to happen in effClose. I've attached the minidump generated by the plugin. My host, including the plugin bridge, can be found at http://openmpt.org/ - registering the plugin is as simple as dragging the DLL onto the main window. It should crash when doing so. Please let me know if you need any further help with reproducing the crash.
You do not have the required permissions to view the files attached to this post.
-
- KVRAF
- 2400 posts since 27 May, 2005 from Stockholm
-
- KVRist
- Topic Starter
- 57 posts since 5 Mar, 2007
-
- KVRAF
- 2400 posts since 27 May, 2005 from Stockholm
Aha. I see the problem. Seems your bridge is something as rare as a windows program with no COM usage, exposing with uninitialized COM before actually releasing the last COM object.
I've updated the builds (no version change - lazy, but detail version no will differ). It should hopefully fix this.
I've updated the builds (no version change - lazy, but detail version no will differ). It should hopefully fix this.
TX16Wx Software Sampler:
http://www.tx16wx.com/
http://www.tx16wx.com/
-
- KVRist
- Topic Starter
- 57 posts since 5 Mar, 2007
Yup, that seems to do the trick - thanks a lot for fixing it! The bridge does indeed pretty much do nothing at all apart from passing through dispatch codes, there's not a single bit of COM or anything.
By the way, I noticed that your installer seems to try opening the readme file after installation even when one chooses not to install documentation. This results in Notepad popping up with a "no such file" error. It's just a minor detail but it seemed a bit odd.
By the way, I noticed that your installer seems to try opening the readme file after installation even when one chooses not to install documentation. This results in Notepad popping up with a "no such file" error. It's just a minor detail but it seemed a bit odd.
-
- KVRAF
- 2400 posts since 27 May, 2005 from Stockholm
Installer condition broken. Thanks for the heads up. Should be fixed now.
TX16Wx Software Sampler:
http://www.tx16wx.com/
http://www.tx16wx.com/