#482 closed defect (fixed)
Logging mechanism can sometimes crash if GetCurrentUserInfo() throws an exception
Reported by: | brucedechant | Owned by: | brucedechant |
---|---|---|---|
Priority: | high | Milestone: | 2.1 |
Component: | Server | Version: | 2.0.0 |
Severity: | major | Keywords: | |
Cc: | External ID: | 1050025 |
Description
The logging macro MG_CONNECTION_INFO calls MgUserInformation::GetCurrentUserInfo() and in some cases (especially on Linux) this API can throw the MgConnectionNotOpenException exception which is not being caught by the macro. This then causes the server to crash because it is an uncaught exception.
The fix for this is to add a try/catch block to the macro.
Change History (3)
comment:1 by , 17 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
This occured when you try and enable the
[TraceLogProperties] Enabled=1
in serverconfig.ini on XP as well