&Kean,
Okay, I think it's feasible, except for very low frequencies, as DiAna needs a sufficient amount of consecutive cycles. But first things first: Getting the current version bug free.
Cheers, E.
Okay, I think it's feasible, except for very low frequencies, as DiAna needs a sufficient amount of consecutive cycles. But first things first: Getting the current version bug free.
Cheers, E.
I also get an invalid window handle error after I close the preferences window after changing a simulation number.
Hi Kean,
>"simulation number" ?
Do you mean you get this error after changing one of the variables in the simulation menu? If so, some specific variable or with all variables?
Also, what's your operating system? Perhaps Wine?
Cheers, E.
>"simulation number" ?
Do you mean you get this error after changing one of the variables in the simulation menu? If so, some specific variable or with all variables?
Also, what's your operating system? Perhaps Wine?
Cheers, E.
I changed noise db to 1, but it seems to happen no matter which one I change.
Yes, I am using WINE.
It successfully complained "harmonic level too high" when I use 0.01db for a harmonic, but it still crashed after I clicked OK.
Yes, I am using WINE.
It successfully complained "harmonic level too high" when I use 0.01db for a harmonic, but it still crashed after I clicked OK.
Yes.
Sometimes the WINE API doesn't have all functions implemented or it behaves differently in a way that crashes the program. For these cases we can use the DLLs from a working Windows installation. A large number of programs work in WINE however.
In the stacktrace I see kernel32, ntdll, usp10, etc. Do you have any idea which ones would affect this behavior?
Sometimes the WINE API doesn't have all functions implemented or it behaves differently in a way that crashes the program. For these cases we can use the DLLs from a working Windows installation. A large number of programs work in WINE however.
In the stacktrace I see kernel32, ntdll, usp10, etc. Do you have any idea which ones would affect this behavior?
Wine
Hi Kean,
Sorry, I haven't the faintest idea. But does the debugger report the numeric value of a faulty handle, is it perhaps zero?
Though unlikely, there might (theoretically) a problem after resizing the diana main window under W10. The program toggles between two! (hwnd) handles in order to prevent jitter. So, would you check the value of GraphicModes in the *.ini file? Normally it is 0X1, but in case of dual handles, the value is 0X11. Maybe it has something to do with the crash.
On the other hand, I wouldn't spend much time on the current version, as the new version is almost ready to release. Perhaps it behaves better under Wine, you never know.
Cheers, E.
Hi Kean,
Sorry, I haven't the faintest idea. But does the debugger report the numeric value of a faulty handle, is it perhaps zero?
Though unlikely, there might (theoretically) a problem after resizing the diana main window under W10. The program toggles between two! (hwnd) handles in order to prevent jitter. So, would you check the value of GraphicModes in the *.ini file? Normally it is 0X1, but in case of dual handles, the value is 0X11. Maybe it has something to do with the crash.
On the other hand, I wouldn't spend much time on the current version, as the new version is almost ready to release. Perhaps it behaves better under Wine, you never know.
Cheers, E.
So I used winetricks to install these DLLs:
comctl32 comctl32ocx comdlg32ocx gdiplus gdiplus_winxp usp10
I don't know which one did it, but now clicking the distortion button displays what appears to be a demo measurement. However now when I try to open an audio file it crashes with "process not found", something having to do with comtl32.dll (could be a WINE thing I need to fix). If you want I can attach debug info or send it to you in mail.
EDIT: Here WINE provided some useful feedback:
comctl32 comctl32ocx comdlg32ocx gdiplus gdiplus_winxp usp10
I don't know which one did it, but now clicking the distortion button displays what appears to be a demo measurement. However now when I try to open an audio file it crashes with "process not found", something having to do with comtl32.dll (could be a WINE thing I need to fix). If you want I can attach debug info or send it to you in mail.
EDIT: Here WINE provided some useful feedback:
0096:err:module😀elayLoadFailureHook failed to delay load comctl32.dll.HIMAGELIST_QueryInterface
wine: Call from 0x7b43c8bc to unimplemented function comctl32.dll.HIMAGELIST_QueryInterface, aborting
wine: Unimplemented function comctl32.dll.HIMAGELIST_QueryInterface called at address 0x5c0023:0x7b43c8bc (thread 0096), starting debugger...
Unhandled exception: unimplemented function comctl32.dll.HIMAGELIST_QueryInterface called in 32-bit code (0x7b43c8bc).
Last edited:
So, the unknown window handle errors were coming from the WINE comctl32.dll. The solution is to set a DLL override in WINE to use the Windows DLL. However the import audio error still occurs and seems to be related to comctl32.dll.
Aha. The WINE comctl32.dll fails with the window handle error on some dialogs, but it succeeds at loading an input file. The window handle error seems to have started occurring for some programs somewhere between Ubuntu 17 and 18. This is the only thing I could find about it (in the comments at the bottom of the page):
ToDoList 7.1.4 - An effective and flexible way to keep on top of your tasks - CodeProject
ToDoList 7.1.4 - An effective and flexible way to keep on top of your tasks - CodeProject
@Kean,
But I also found a bug in the simulation preferences: A "dangling pointer" to a text string.
One more reason to try the new version.
Would you send me a PM with your email address, so I can mail the new version to you.
I think it makes more sense to try this first (as debugging Wine with a buggy program leads only to more confusion)
Cheers, E.
But I also found a bug in the simulation preferences: A "dangling pointer" to a text string.
One more reason to try the new version.
Would you send me a PM with your email address, so I can mail the new version to you.
I think it makes more sense to try this first (as debugging Wine with a buggy program leads only to more confusion)
Cheers, E.
False alarm. There was no angling pointer (of course 🙂).@Kean,
But I also found a bug in the simulation preferences: A "dangling pointer" to a text string.
[...]
Cheers, E.
Cheers, E.
Wine
@Kean
As you can see, also zfe had issues under Wine. On the other hand, Manolis experienced no crashes, only had issues with the driver.
Apparently, it all depends on which Wine version is used.
Perhaps I should write my own preference menu instead of using the predefined (pre-baked) PropertySheet() windows function, as this thing is not easy to handle and has serious limitation and quirks. Hopefully the crashes under Wine are gone as well.
Cheers, E.
@Kean
As you can see, also zfe had issues under Wine. On the other hand, Manolis experienced no crashes, only had issues with the driver.
Apparently, it all depends on which Wine version is used.
DiAna crashes WINE (a Windows "emulator" on Mac/Linux) as soon some menu item is selected.
E.g. ARTA or Audiotester run fine with WINE.
Just, I tried the DiAna under Wine in Linux Mint, it works normally with the only message popup that there is no any ASIO driver found. No crash, no hangs!
Perhaps I should write my own preference menu instead of using the predefined (pre-baked) PropertySheet() windows function, as this thing is not easy to handle and has serious limitation and quirks. Hopefully the crashes under Wine are gone as well.
Cheers, E.
Edmond,
I will try on Wine with the last edition that I have, again.
Probably, late today or tomorrow, I will feedback about this.
I will try on Wine with the last edition that I have, again.
Probably, late today or tomorrow, I will feedback about this.
Just, I tried the Diana 1.48.9 with Wine 1.6.2 on Linux Mint (last version)
The first time that the Diana runs, you have the message "erroneous driver number" and something like "the .ini file is corrupted".
Probably, there is no any ASIO and the procedures corrupts the ini file.
Then next time, Diana opens normally, you can click on Preferences and tabs in it, but just to close it...the Diana crashes.
I have enclosed some of these.
The first time that the Diana runs, you have the message "erroneous driver number" and something like "the .ini file is corrupted".
Probably, there is no any ASIO and the procedures corrupts the ini file.
Then next time, Diana opens normally, you can click on Preferences and tabs in it, but just to close it...the Diana crashes.
I have enclosed some of these.
Attachments
Wining Wine
Hi Manolis,
So your updated Wine has also issues with the property sheets (just as Kean)
In the meantime I started already to re-write this part of the program. Let's pray this work-around does work.
Thanks for testing.
Cheers, E.
Hi Manolis,
So your updated Wine has also issues with the property sheets (just as Kean)
In the meantime I started already to re-write this part of the program. Let's pray this work-around does work.
Thanks for testing.
Cheers, E.
I'm using Wine 3.0.1. It's hard to run a project like Wine without having some regressions, so previous Wine versions will sometimes be used for certain programs. PlayOnLinux is a program typically used to install multiple Wine versions for compatibility (But it's a new piece of software to learn and manage).
New Microsoft developer kits are more likely to have problems with Wine as Wine development lags behind Windows changes.
New Microsoft developer kits are more likely to have problems with Wine as Wine development lags behind Windows changes.
Wining Wine
>"New Microsoft developer kits are more likely to have problems with Wine as Wine development lags behind Windows changes."
One more reason to not use those modern tools (do you hear me Chris?) or am I too old to be swayed by issues of the day? 😉
Cheers, E.
>"New Microsoft developer kits are more likely to have problems with Wine as Wine development lags behind Windows changes."
One more reason to not use those modern tools (do you hear me Chris?) or am I too old to be swayed by issues of the day? 😉
Cheers, E.
- Home
- Design & Build
- Equipment & Tools
- DiAna, a software Distortion Analyzer