View Issue Details

IDProjectCategoryView StatusLast Update
0005659Multi Theft Auto : San AndreasServerpublic2010-12-16 20:36
Reporteronestone Assigned ToGamesnert  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version1.1Fixed in Version1.1 
Summary0005659: onDebugMessage crashes the server

An eventhandler with onDebugMessage crashes the client without an error.
Commenting out the code will make the server run as it should.

Also a dump-file is created, but the dumpfile is empty:

Steps To Reproduce

local function onServerInfo(sMessage, nLevel, sFile, nLine)

addEventHandler("onDebugMessage", root, onServerInfo)

TagsNo tags attached.



2010-11-28 10:50

administrator   ~~0012204

Unable to reproduce.


2010-11-28 13:08

developer   ~~0012205

Unable to reproduce as well. I doubt an empty function is capable of crashing anything anyway. Are you using any specific functions in the event handler?

Does the Debug Monitor ( ) work properly for you? It uses onDebugMessage and onClientDebugMessage, but doesn't crash at all for me.


2010-11-28 14:36

viewer   ~~0012206

Found the problem:

If you have an error in another onDebugMessage the server will not output the error even if you set report-level to 3.


2010-12-16 20:35

developer   ~~0012292

All crashes related to on(Client)DebugMessage should be fixed as of r2124.

Please note that any errors or other debug messages caused while on(Client)DebugMessage is being triggered, will not trigger on(Client)DebugMessage, and can only be seen in the server console or the /debugscript window.

Issue History

Date Modified Username Field Change