Windows 7 EAccessViolation with dialog.dll

[expired user #8122]'s profile image [expired user #8122] posted 10 years ago in Creating a connection Permalink
unhappy

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:

EAccessViolation
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.
[expired user #8122]'s profile image [expired user #8122] posted 10 years ago Permalink
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's profile image ansgar posted 10 years ago Permalink
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.
[expired user #8122]'s profile image [expired user #8122] posted 10 years ago Permalink
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...
[expired user #8122]'s profile image [expired user #8122] posted 10 years ago Permalink
...or, you know, we could help fix the bugs in the 64bit version...
ansgar's profile image ansgar posted 10 years ago Permalink
I could produce a 32-bit only installer for the last release if you want?
[expired user #8122]'s profile image [expired user #8122] posted 10 years ago Permalink
That would be a huge help!
ansgar's profile image ansgar posted 10 years ago Permalink
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.
[expired user #8122]'s profile image [expired user #8122] posted 10 years ago Permalink
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.
Code modification/commit from ansgar.becker, 10 years ago, revision 8.3.0.4781
Add a 32bit-only installer, for users who want the 32bit version on a 64bit Windows. See http://www.heidisql.com/forum.php?t=15800
ansgar's profile image ansgar posted 10 years ago Permalink
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's profile image ansgar posted 10 years ago Permalink
Tada....
[expired user #8122]'s profile image [expired user #8122] posted 10 years ago Permalink
That is awesome!
Thank you!!!
[expired user #8390]'s profile image [expired user #8390] posted 10 years ago Permalink
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 8.3.0.4822 (32 Bit) against MariaDB 5.5.35 I get an APPCRAASH in Module StackHash_5130

I'm using the 32 bit dialog.dll from https://heidisql.googlecode.com/svn/trunk/out/plugins32/dialog.dll

Thoughts?



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