Windows 7 EAccessViolation with dialog.dll

bevan.bennett posted 5 years ago in Creating a connection

I've been tearing out my hair trying to find a Windows GUI client that will work with either pam_auth or pam_auth_compat to our Percona server. HeidiSQL looked extremely promising, and in fact runs flawlessly under Wine from my Linux box, but when my Windows 7 coworkers try the same thing they get:

Access violation at address 000007FEFA9FA2BC in module 'dialog.dll'. Write of address 000007FEFA9FA2BC.

There's a stack trace as well, but I don't want to clutter the post. They get this with both HeidiSQL 8.2 or 8.3 reliably...

Hmm... one difference is that under Wine I get the 32bit executable and the installer gives them 64bit.
bevan.bennett posted 5 years ago
Following up, we have successfully gotten the 32bit version to work!
It's just tricky convincing the installer that we'd like 32bit even though the system is natively 64bit.
ansgar posted 5 years ago
Yes, the installer automatically installs binaries such as heidisql.exe, dialog.dll, libmysql.dll and probably more in the right bit-version, matching your Windows version.
bevan.bennett posted 5 years ago
I was hoping there was a flag we could feed the installer so that it would install the 32bit version exclusively, since the 64bit version is not working for us.

Sadly, it looks like we'll need to create our own installer...
bevan.bennett posted 5 years ago
...or, you know, we could help fix the bugs in the 64bit version...
ansgar posted 5 years ago
I could produce a 32-bit only installer for the last release if you want?
bevan.bennett posted 5 years ago
That would be a huge help!
ansgar posted 5 years ago
Hm. I could also extend the build process to build a 32-bit only installer everytime a new build is compiled. Ensures you will get a more recent version here.
bevan.bennett posted 5 years ago
Whichever is easier for you.

I'll be happy just having an installer for -any- recent 32bit version to pass on to my less-manual-installation-savvy co-workers.

I think the in app "check updates" will keep them going from there.

The better long-term fix would be getting you the data to find out why the 64bit library errors out.
ansgar posted 5 years ago
Yes, of course, the bugs must get fixed. But I heard that wish for a 32bit installer earlier, so I have just tried it. Should be visible on the download page in some minutes.
ansgar posted 5 years ago
bevan.bennett posted 5 years ago
That is awesome!
Thank you!!!
acscott posted 5 years ago
I'm not getting the dialog plugin to work. I've tried different combinations of 32-bit and 64-bit, portal, and installer on Windows 7 64 bit.

For HeidiSQl Version (32 Bit) against MariaDB 5.5.35 I get an APPCRAASH in Module StackHash_5130

I'm using the 32 bit dialog.dll from


Please login to leave a reply, or register at first.