15,906,816 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by jugs0101 (Top 6 by date)
jugs0101
15-Mar-18 11:54am
View
Thanks for the SecureString pointer Rick, I'll look into using that and yes I'll be obfuscating using a third party product.
So do you think this is the right way to go when doing this?
Julian
jugs0101
11-Aug-17 4:27am
View
Thanks. Yes, was just doing exactly that. It gets called a lot, and the mutex is wrapped in a class, so I have more control there, to add id's when the class is created, what created it, and a counter to indicate which locks have locked and released.
I'll let you know how that one goes!
Cheers.
jugs0101
11-Aug-17 4:24am
View
Hi David,
Yes, thanks for that. I've checked the spec of the machine and as far as I can tell, it's fine. They're also not running over Citrix or anything like that. I also checked anti-virus. It's possible that it could be an issue, but I can't see anything in it's logs to indicate that it has intervened.
The freeze also does not happen at any particular point during the running of the software, it's a bit random. I've watched it happen with them, and I've checked the resources of the computer when it did happen, and again, they looked fine.
I am also investigating if other software they have running might be interfering. The one thing I know they have running in the background is Worldox DMS. I know they are quite involved bits of software (I'v developed one myself). But I'm not sure how to work out if it has got in the way at all.
Anyway, I'll probably get on another GoTo meet with them and recheck all this. Trouble is when I do, it USUALLY all works fine. Difficult.
Thanks for your input. Good to chat.
Julian
jugs0101
10-Aug-17 12:24pm
View
Thanks, name is one thing I haven't logged. Will let you know how it goes.
Thanks for your thoughts.
Julian
jugs0101
10-Aug-17 12:08pm
View
Thanks Kornfeld.
I think I will draw out exactly what threads are being created and where, how long they run for (it looks like 3 thread IDs are being used during the call to the Mutex, so they are in loops througout the duration, if you get my drift).
I will then see if I can spot any obvious way in which one lock may happen and cause another to freeze.
It it your understanding that a mutex lock is only locked on a particular thread?
Julian
jugs0101
10-Aug-17 11:23am
View
Hi Kornfeld,
Thanks for responding! In answer to your questions:
1. There is no indication in my own event log (to file) or the Windows Event Log as to the freeze. Windows just indicates that the program has frozen (I don't have the exact text in front of me I'm afraid).
2. Yes, there is only ever one instance of the program running. I have confirmed this by actually watching the client repeat the problem over a GoTo meeting.
3. I believe that there are 2 separate instances of mutexs occurring, being locked and released at various stages.
Of note, I didn't write the code originally and the developer that did is no longer at the company.
Cheers.
Show More