|
Post by bono78 on Feb 6, 2008 5:20:03 GMT -5
Hi!
I'm using VBCorLib for Rijandeal-En-&-Decryption. Everything seemed to work fine, but last week i found out, that there is a problem on some Win2003-Servers. The application that uses VBCorLib chrashes without any message (or entry into the eventlog) on each first function i call from the corlib.
This error only appears on some customer servers (windows server 2003), ... I couldn't reproduce it in my development-environment or any servers I installed for testing this.
By writing a log-file it looks like, that the crash happens already when the corlib is initialized ... no line in the corlib will be executed (!) ...
Perhaps the com-interface is to big/corrupt? Perhaps there are some undefined dependencies?
To solve this problem i've tried to change the threading model or set other compiling options, nothing works ...
please help, bono
|
|
|
Post by Kelly Ethridge on Feb 6, 2008 22:54:58 GMT -5
Hello Bono,
I've spoken with someone about this before, I'm not sure if you're the same person. Anyhow, what seems to be causing the problem is the Data Execution Prevention (DEP) setting. VBCorLib has a few functions build in assembly and are directly executed. The asm code is held in an array. That is probably what is causing your situation. It would only happen on machines that have a CPU that implements DEP, so it won't happen to everyone. I've replicated the problem on XP, so I'll have a go at getting everything in order. Hopefully that will also solve the same issue on 2003. In the mean time, you could allow your application to be excluded from DEP, though I'm not sure if that is an ideal work around in your situation.
Kelly
|
|
|
Post by bono78 on Feb 7, 2008 3:34:22 GMT -5
Hello Kelly, you're right, that is the problem! I think the workarround will be sufficient, 'till there is the new version of VBCorLib availaible... ... and fyi: I'm another person ;-)
thank you very very much, bono
|
|
|
Post by Kelly Ethridge on Feb 8, 2008 15:37:28 GMT -5
I'm glad that solved your problem! I have successfully implemented a fix for this to make VBCorLib DEP compatible. So the next release should work without any security modifications.
Kelly
|
|
|
Post by bono78 on Jun 6, 2008 7:18:48 GMT -5
Hello Kelly, do you already have a ReleaseDate for the new DEP-Compatible-Version ?
Bono
|
|
|
Post by Kelly Ethridge on Jun 7, 2008 0:07:30 GMT -5
Hi Bono,
Sorry about the delay of things. Before I release anything, I'd appreciate it if you'd give it a test to ensure that the DEP code is working correctly. I'll put the library up and post a link to it in this thread.
Kelly
|
|
|
Post by Kelly Ethridge on Jun 8, 2008 21:17:42 GMT -5
|
|
|
Post by bono78 on Oct 3, 2008 6:24:42 GMT -5
Hi Kelly, I've been busy with a lot of other projects. Sorry for that! Now I've tested the new version 2.3 and everything works fine now ;-)
Thank you very much for your assistance and commitment ...
Bono
|
|