06 Sep 2010
Support Center
»
Knowledgebase
»
6.x: random crashes in multi-threaded application
6.x: random crashes in multi-threaded application
Article
Problem: I'm using EurekaLog in multi-threaded application and sometimes see random access violations or range check errors or other exceptions.
Reason: You're calling some EurekaLog routines, which works with global resources. For example, building call stack mean accessing debug information - which is a global resource. These routines are not thread-safe - i.e. there is no lock inside.
We can't set a critical section on our side, since if code crashes while holding critical section - then EurekaLog may be not be able to gain access to protected resource, when generating a report.
Solution: The solution is to wrap calls to such EurekaLog routines into critical section on your side. When crashing while holding your critical section, EurekaLog will not aquire your critical section for building report.
Checked EL version: 6.0.24
Ticket ID: 2282
Article Details
Article ID:
27
Created On:
30 Jun 2010 8:54 AM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Image Verification Required
Please enter the characters that appear to the right in the space provided. This is just to verify that you are a human.
Full Name:
E-mail Address: (optional)
Comment:
Back
Login
[Lost Password]
E-mail:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
E-mail Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
Troubleshooter
|
News
|
Downloads
Language:
English (U.S.)
Help Desk Software by Kayako eSupport v3.60.03