View previous topic :: View next topic |
Author |
Message |
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Wed Aug 10, 2011 5:35 pm Post subject: Crashes when calling OpenFileDialog / SaveFileDialog |
|
|
Some of my customers have reported me that my application will crash when doing save or open files. The crash rate is quite high, maybe 10% of all my users have this problem.
The crashes happen when calls are made to OpenFileDialog/SaveFileDialog. I am not able to reproduce any of the crashes at my local PCs.
So far, the customers that have this probpem seems to run my application under Windows 7.
I've no clue on this issue. Please help! |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Aug 10, 2011 10:33 pm Post subject: |
|
|
What version of .NET Encryptor are you using?
There were some issues fixed in Version 2.0.3 and 2.0.4 related to behaviour of common file dialogs under Windows 7. These issues relate to the anti-cracking measures used by .NET Encryptor. You can alternatively turn these off by setting the integrity level constant (passed to CheckProcessIntegrity) to 2 or lower.
You can download the latest version (2.0.4) from our downloads page. _________________ Infralution Support |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Wed Aug 10, 2011 11:59 pm Post subject: |
|
|
Sorry, I was in a panic and forgot to provide enough information.
oh my god... my bad.
From this forum, I knew this issue exist in 2.0.3 but I thought I were using 2.0.4.
To be sure, I've re-checked my version and found out that I am using 2.0.3^^
I will install 2.0.4 and try again.
Thanks for quick response!!! It's really a relief. |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Thu Aug 11, 2011 5:07 pm Post subject: |
|
|
Thank you! After upgrade to 2.0.4, one of my customers have told me that the issue is fixed. |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Fri Aug 12, 2011 10:53 am Post subject: |
|
|
Another user just told me that the issue remains.
I am about to prepare another version with lower integrity level.
Can I save integrity level in a license file, which I give to user and after license file is loaded, I then call CheckProcessIntegrity(). Will it work? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Aug 12, 2011 11:10 am Post subject: |
|
|
The CheckProcessIntegrity call needs to be made before the call to ExecuteAssembly in the bootstrapper to prevent the possibility of someone attaching to the process (with a dubugger or other tool) and dumping the assembly out of memory. So you can't really do it after the license check.
Is this customer also running Windows 7 x64?
What are the exact symptoms?
Is the customer using an Anti-Virus product? If they turn this off does it fix the issue?
Do they have any other unusual software installed? _________________ Infralution Support |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Fri Aug 12, 2011 1:40 pm Post subject: |
|
|
1. user is running Windows 7 64 bit.
2. has anti-virus program.
3. just got the info: it gets improved after upgrade to 2.0.4. (so it does crash everytime. great news! ^_^) |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Aug 12, 2011 1:50 pm Post subject: |
|
|
Did you mean "It doesn't crash everytime"?
What is their anti-virus software? If they disable it does it change the behaviour?
If you are still having issues then I will organise to send you a special version of the AssemblyLoader dll that will output some diagnostics that may assist us track down the issue. _________________ Infralution Support |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Sat Aug 13, 2011 7:45 am Post subject: |
|
|
sorry, i meant it doesn't crash everytime.
My co-worker told me that after user turn off anti-virus, it seems fine now.
If the problem occurs again on this user, I would like to try the special AssemblyLoader approach.
By the way.. I really love your .Net Encryptor, because it doesn't slow speed down. For my CPU and memory consuming app, it won't survive with any other obfuscation tool.
Thanks for your great tool and support! |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sat Aug 13, 2011 8:47 am Post subject: |
|
|
If you can tell me the anti-virus prorgam they are using then I will do some further investigation. _________________ Infralution Support |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Tue Aug 16, 2011 4:17 pm Post subject: |
|
|
Let me ask user. Will post when I get the reply. |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Thu Aug 18, 2011 2:48 am Post subject: |
|
|
User is using:
Microsoft Security Essentials 2.1.1116.0
They also told me the shutdown problem doesn't happen again.
I suspect the first time they told me they still have issue with 2.0.4 was a mistake. maybe version confusion.
Thanks! |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Aug 18, 2011 4:37 am Post subject: |
|
|
Great. Thanks for getting back to us on this. _________________ Infralution Support |
|
Back to top |
|
|
ychung
Joined: 25 Jan 2007 Posts: 16
|
Posted: Fri Sep 23, 2011 6:18 am Post subject: |
|
|
Another customer reported this issue again. (using 2.0.4)
Can you provide the SPECIAL dll, which you mentioned in the previous reply of this thread? So I can send user a DEBUG package to install.
I hope this special dll can catch enough information. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sat Sep 24, 2011 1:42 am Post subject: |
|
|
OK I will email you some modified versions of the Loader dll on Monday. Is this customer also running Microsoft Security Essentials?
What Operating system? 32 or 64bit? _________________ Infralution Support |
|
Back to top |
|
|
|