Diagnostics. Tracking an access attempts to already destroyed objects

529 views
Skip to first unread message

slifeleaf

unread,
Jan 29, 2016, 6:45:11 AM1/29/16
to jcontain...@googlegroups.com
Turns out there are some 'dead' access attempts. Needless to say that this might be source of bugs in dependent mods. Needless to say that only the authors of the mods may fix their issues? Might need to upload diagnostic version of JContainers for those who wants to test their setups - https://github.com/SilverIce/JContainers/releases/tag/diagnostics-v3.3

Warning: access to non-existing object with id 0x828
Warning: access to non-existing object with id 0x828
Warning: access to non-existing object with id 0x1CF3
Warning: access to non-existing object with id 0x1CF7

For instance, JValue.releaseAndRetain tries to access died object, not critical probably (?), it just releases non-existing object

[01/29/2016 - 12:13:46AM] Error: Unable to call releaseAndRetain - no native object bound to the script object, or object is of incorrect type
stack:
    <unknown self>.JValue.releaseAndRetain() - "<native>" Line ?
    [SlaveTatsMenu (36000800)].SlaveTatsMCMMenu._setup_sections() - "SlaveTatsMCMMenu.psc" Line 61
    [SlaveTatsMenu (36000800)].SlaveTatsMCMMenu.OnMenuOpenST() - "SlaveTatsMCMMenu.psc" Line 447
    [SlaveTatsMenu (36000800)].SlaveTatsMCMMenu.RequestMenuDialogData() - "ski_configbase.psc" Line 986
    [SKI_ConfigManagerInstance (34000802)].SKI_ConfigManager.OnMenuSelect() - "ski_configmanager.psc" Line 205

It also prints usage statistics into JContainers.log (during saving), though its results look weird, not sure if I set the timers properly

Function: timing in microseconds / call-count
JArray object: 0.000000 / 414
JArray objectWithSize: 0.000000 / 0
JArray objectWithInts: 0.000000 / 248
JArray objectWithStrings: 0.000000 / 0
JArray objectWithFloats: 0.000000 / 0
JArray objectWithBooleans: 0.000000 / 0
JArray objectWithForms: 0.000000 / 0
JArray subArray: 0.000000 / 0
JArray addFromArray: 0.000000 / 1
JArray addFromFormList: 0.000000 / 0
JArray GetInt: 0.000000 / 19
JArray getFlt: 0.000000 / 0
JArray getStr: 12.074381 / 1292
JArray getObj: 0.000000 / 1756
JArray GetForm: 0.000000 / 33
JArray findInt: 0.000000 / 34
JArray findFlt: 0.000000 / 0
JArray findStr: 0.000000 / 128
<snip>
Reply all
Reply to author
Forward
0 new messages