PDA

View Full Version : [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.



Weissrolf
November 24th, 2020, 12:05
Hello.

v4.0.1, steps to reproduce:

As GM:

- Created new Pathfinder 2 campaign.

As PC (likely irrelevant):

- Connected via localhost.
- Created nee char, only changed name, nothing else.

As GM:

- Unload all preloaded modules (likely 5).
- Closed Data Module Activation window.
- Checked assets window.
- Opened Data Module Activation window.

- Changed size of Data Module Activation window:

Console log popped up displaying 5x "[ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object."

- Tried to load FG Battle Maps module:

1x "[ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object."

- Unload FG Battle Maps module.
- Load FG Battle Maps module: succeeded without error.

Weissrolf
November 24th, 2020, 12:07
Here is the console log concerning this error. Notable oddity:

- The lines containing the error use my local date/time format, while all other lines use English formats.
- The last error line listed as happening at the same second as the first 5, despite me being quite sure that the last error happened when I first tried to load the FG Battle Maps module for the first time.

[11/24/2020 12:43:25 PM] Starting private server mode. [(192.168.255.1:1802) (fe80::684c:bc02:c0be:75a2:1802)]
[11/24/2020 12:43:25 PM] Game server started. [192.168.101.22:1802]
[11/24/2020 12:43:25 PM] Launcher scene exiting.
[11/24/2020 12:43:25 PM] Tabletop scene starting.
[11/24/2020 12:43:25 PM] NETWORK STATUS: [Server] [Connected]
[Server Type - LAN]
[11/24/2020 12:43:31 PM] MEASURE: RULESETS LOAD - 6.1365046 - PFRPG2
[11/24/2020 12:43:31 PM] MEASURE: EXTENSIONS LOAD - 0 - 0
[11/24/2020 12:43:32 PM] MEASURE: MODULE LIST BUILD - 1.1401905 - 30
[11/24/2020 12:43:32 PM] MEASURE: REFRESH IMAGE ASSETS - 0.0339943
[11/24/2020 12:43:32 PM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0020072
[11/24/2020 12:43:32 PM] MEASURE: REFRESH TOKEN ASSETS - 0.0390023
[11/24/2020 12:43:32 PM] MEASURE: ASSET LIST BUILD - 0.0750038
[11/24/2020 12:43:33 PM] MEASURE: LOAD - PART 1 - 8.4437843
[11/24/2020 12:43:33 PM] Loaded FreeType library version 2.10.2
[11/24/2020 12:43:35 PM] RULESET: Pathfinder RPG Second Edition ruleset v3.3.11 (PF2 release 17e) for Fantasy Grounds
Copyright 2020 Smiteworks USA, LLC
[11/24/2020 12:43:35 PM] RULESET: Core RPG ruleset v3.3.12A for Fantasy Grounds
Copyright 2019 Smiteworks USA, LLC
[11/24/2020 12:43:35 PM] MEASURE: LOAD - PART 2 - 1.3811201
[11/24/2020 12:44:05 PM] Attempting direct connection to server. [localhost:1802]
[11/24/2020 12:44:05 PM] Client connected. Waiting for authorization. [1]
[11/24/2020 12:44:05 PM] Attempting authorization. [Weissrolf - DIRECT]
[11/24/2020 12:44:05 PM] 'Weissrolf' connected
[11/24/2020 12:44:05 PM] Client connected to host as 'Weissrolf'
[11/24/2020 12:44:21 PM] Client ruleset download complete
[11/24/2020 12:44:22 PM] Launcher scene exiting.
[11/24/2020 12:44:23 PM] Tabletop scene starting.
[11/24/2020 12:44:23 PM] NETWORK STATUS: [Client] [Connected]
[Client Type - DIRECT]
[11/24/2020 12:44:29 PM] MEASURE: RULESETS LOAD - 6.1521632 - PFRPG2
[11/24/2020 12:44:29 PM] MEASURE: EXTENSIONS LOAD - 0 - 0
[11/24/2020 12:44:30 PM] MEASURE: MODULE LIST BUILD - 1.2315367 - 30
[11/24/2020 12:44:30 PM] MEASURE: REFRESH IMAGE ASSETS - 0
[11/24/2020 12:44:30 PM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0020048
[11/24/2020 12:44:30 PM] MEASURE: REFRESH TOKEN ASSETS - 0.0300018
[11/24/2020 12:44:30 PM] MEASURE: ASSET LIST BUILD - 0.0320066
[11/24/2020 12:44:31 PM] MEASURE: LOAD - PART 1 - 8.315771
[11/24/2020 12:44:31 PM] Loaded FreeType library version 2.10.2
[11/24/2020 12:44:32 PM] RULESET: Pathfinder RPG Second Edition ruleset v3.3.11 (PF2 release 17e) for Fantasy Grounds
Copyright 2020 Smiteworks USA, LLC
[11/24/2020 12:44:32 PM] RULESET: Core RPG ruleset v3.3.12A for Fantasy Grounds
Copyright 2019 Smiteworks USA, LLC
[11/24/2020 12:44:32 PM] MEASURE: LOAD - PART 2 - 1.3073507
[11/24/2020 12:47:20 PM] [WARNING] Frame charsheet contains out-of-range values in BottomLeft.
[11/24/2020 12:47:20 PM] [WARNING] Frame charsheet contains out-of-range values in Bottom.
[11/24/2020 12:47:20 PM] [WARNING] Frame charsheet contains out-of-range values in BottomRight.
[11/24/2020 12:47:20 PM] [WARNING] Frame tabs contains out-of-range values in BottomLeft.
[11/24/2020 12:48:35 PM] Campaign saved.
[24.11.2020 12:49:37] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 12:49:37] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 12:49:37] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 12:49:37] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 12:49:37] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 12:49:37] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[11/24/2020 12:50:19 PM] MEASURE: MODULE LOAD - 0.0659974 - FG Battle Maps
[11/24/2020 12:50:23 PM] MEASURE: MODULE LOAD - 0.0952392 - FG Battle Maps
[11/24/2020 12:50:26 PM] MEASURE: MODULE LOAD - 0.0600157 - FG Battle Maps
[11/24/2020 12:50:28 PM] MEASURE: MODULE LOAD - 0.0239999 - Calendars

Weissrolf
November 24th, 2020, 12:13
Same error just popped up 6 times in a row when I moved the CT window as a GM after adding the PC to the CT and then adding a portrait/token to the PC sheet.

[11/24/2020 1:10:49 PM] MEASURE: MODULE LOAD - 0.0730057 - FG Battle Maps
[11/24/2020 1:11:36 PM] NETWORK SEND FILE: campaign/portraits/id-00001 (3261)
[11/24/2020 1:11:36 PM] NETWORK RECV FILE: campaign/portraits/id-00001 (3261)
[24.11.2020 13:12:12] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 13:12:12] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 13:12:12] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 13:12:12] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 13:12:12] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[24.11.2020 13:12:12] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.

Zacchaeus
November 24th, 2020, 16:04
I think Moon Wizard added that error for his own internal purposes. It can be ignored.

Moon Wizard
November 24th, 2020, 16:22
Thanks for posting. I've been trying to track down any remaining items like this.

When posting steps to recreate, please document all steps and starting from the same starting point. For example, there are no modules auto-loaded when creating a new PFRPG2 campaign; so not sure why those steps are listed, unless it wasn't a new campaign or you took additional steps in the Setup dialog to load the core modules. Also, starting from a new campaign is great; but make sure to always start a new campaign if those are part of your steps to recreate.

I followed these steps exactly to attempt to follow your steps above, but did not get an error:

* Start first FGU instance (GM client)
* Create brand new PFRPG2 campaign in LAN mode (with no extensions)
* Once loaded, close Campaign Setup window (without pressing any other buttons)
* Start second FGU instance (player client)
* Connect via localhost to GM client
* Close Campaign Setup window (window pressing any other buttons)
* Click New Character button in Character Selection window
* Change new character name to "Testor"
* Switch to GM client
* Press Library sidebar button
* Press Modules button in Library window
* Verify no modules are currently loaded in Data Module Activation window (by toggling All/Loaded button)
* Close Data Module Activation window
* Close Library window
* Press Assets sidebar button
* Press Library sidebar button
* Press Modules button in Library window
* Resize Data Module Activation window
* Enter "FG Battle" into search box of Data Module Activation window, and press Enter.
* Click Load button on FG Battle Maps module entry
* Click Unload button on FG Battle Maps module entry
* Click Load button on FG Battle Maps module entry

Given that I couldn't recreate, my guess is that there were either additional/different steps that you took that caused the error; or there were modifications to the ruleset (either directly on disk or via extensions).

Regards,
JPG

Weissrolf
November 24th, 2020, 17:10
I think Moon Wizard added that error for his own internal purposes. It can be ignored.

When a large unmovable console window pushes itself into my sight then it is really hard to ignore. :P

Weissrolf
November 24th, 2020, 17:12
Given that I couldn't recreate, my guess is that there were either additional/different steps that you took that caused the error; or there were modifications to the ruleset (either directly on disk or via extensions).
I wrote everything down from the top of my head, could be that I clicked some minor buttons in-between. There are no modifications to the ruleset and no extensions were loaded (I specifically created this campaign to reproduce the image-toolbar bug).

Weissrolf
November 24th, 2020, 17:19
Seems like I mixed up the "modules unloading" thing. Instead of having to unload modules I had to unshare them. Sorry for the confusion. Here is a screenshot of which modules are automatically shared when I create a new PF2 campaign (no idea why).

https://i.imgur.com/2M8ahXc.png

I also closed the campaign setup window and deleted the checkmark on "Always load" before doing anything else. Since I did not plan on getting the error, but was setting up reproduction of another error I wasn't ready to write down all steps.

LordEntrails
November 24th, 2020, 17:37
Modules that are player facing are automatically marked to allow sharing. What you see if marked to allowed to be shared, they are not actually shared. Any marked to allow sharing are available for a player to activate.

Weissrolf
November 24th, 2020, 17:40
Yes, I know that players have to load these first. I did not know about the "player facing" flag/rule, but speculated it could be something like that. For bug testing I wanted all off, and for games I also want some of them off, because I might buy modules that I don't want players to use (yet).

Moon Wizard
November 24th, 2020, 18:02
Can you give me the exact steps to produce your error? (Similar to the steps I gave in post #5)

Thanks,
JPG

Weissrolf
November 24th, 2020, 18:14
I gave you the steps I knew. If this did not reproduce the error then no, I cannot give you more exact steps for the time being. Sorry.

If this happens often enough to be disturbing then I will put more time into it.

Kelrugem
November 24th, 2020, 20:17
Can you give me the exact steps to produce your error? (Similar to the steps I gave in post #5)

Thanks,
JPG

Yesterday when I tested the campaign I have sent to your support for recreating the toolbar issue, I also got such an error after the steps of reproducing the toolbar bug (that error then came on the client side when the client left the session; when the host then also closed the campaign, the host also got that error); but when I retry these steps, I do not get this error anymore :/ But maybe you have more luck, when you test that campaign I have sent for the toolbar thingy :) I will let you know whether I find out how to reproduce that to 100% :)

Fishypeanuts
September 5th, 2021, 04:45
I have this same error. I am on 4.1.5 of FGU.
What should I do?


[9/4/2021 7:15:50 PM] Campaign saved.
[9/4/2021 7:17:03 PM] NETWORK RECV FILE REQUEST: tokens/Medium/i.png@Letter Tokens
[9/4/2021 7:17:03 PM] NETWORK FILE CACHE MATCH: tokens/Medium/i.png@Letter Tokens (10273)
[9/4/2021 7:17:03 PM] NETWORK RECV FILE REQUEST: tokens/Medium/i.png@Letter Tokens
[9/4/2021 7:17:03 PM] NETWORK FILE CACHE MATCH: tokens/Medium/i.png@Letter Tokens (10273)
[9/4/2021 7:17:04 PM] NETWORK RECV FILE REQUEST: tokens/Medium/i.png@Letter Tokens
[9/4/2021 7:17:04 PM] NETWORK FILE CACHE MATCH: tokens/Medium/i.png@Letter Tokens (10273)
[9/4/2021 7:17:17 PM] NETWORK RECV FILE REQUEST: tokens/Medium/i.png@Letter Tokens
[9/4/2021 7:17:17 PM] NETWORK FILE CACHE MATCH: tokens/Medium/i.png@Letter Tokens (10273)
[9/4/2021 7:20:51 PM] Campaign saved.
[9/4/2021 7:25:51 PM] Campaign saved.
[9/4/2021 7:30:51 PM] Campaign saved.
[9/4/2021 7:35:52 PM] Campaign saved.
[9/4/2021 7:40:52 PM] Campaign saved.
[9/4/2021 7:45:52 PM] Campaign saved.
[9/4/2021 7:50:53 PM] Campaign saved.
[9/4/2021 7:55:53 PM] Campaign saved.
[9/4/2021 8:00:54 PM] Campaign saved.
[9/4/2021 8:05:54 PM] Campaign saved.
[9/4/2021 8:10:54 PM] Campaign saved.
[9/4/2021 8:15:55 PM] Campaign saved.
[9/4/2021 8:20:55 PM] Campaign saved.
[9/4/2021 8:25:56 PM] Campaign saved.
[9/4/2021 8:30:56 PM] Campaign saved.
[9/4/2021 8:35:56 PM] Campaign saved.
[9/4/2021 8:36:42 PM] 'sage halforcan' disconnected
[9/4/2021 8:37:08 PM] 'BigTaz' disconnected
[9/4/2021 8:37:26 PM] 'cavynaw' disconnected
[9/4/2021 8:38:12 PM] 'DrBob314' disconnected
[9/4/2021 8:39:03 PM] Destroying match
[9/4/2021 8:39:03 PM] Tabletop scene exiting.
[9/4/2021 8:39:04 PM] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[9/4/2021 8:39:04 PM] [ERROR] Object (DATABASENODE) deleted without cleaning up attached Lua object.
[9/4/2021 8:39:04 PM] Launcher scene starting.

Zacchaeus
September 5th, 2021, 08:37
Moon Wizard will need the exact steps that you took leading up to the error. It's an internal error message added to help track down these instances so it's nothing bad or anything you need to worry about.

Moon Wizard
September 5th, 2021, 19:04
Yes, it's just a scenario where some object is not getting cleaned up correctly. I left the error in there specifically so I can get info and track down when it arises. Since it doesn't happen every time, that's why I need any steps for what you were doing that you might not do every session.

Regards,
JPG

TMayes
October 17th, 2021, 04:49
Could the error be caused by deleting an extension from the extension folder? I just started getting this error today

Zacchaeus
October 17th, 2021, 05:28
Possibly, but as previously posted Moon Wizard will need steps to reproduce. The problem I find is that I can never quite recreate the exact sequence required when I see it.

bmos
October 17th, 2021, 14:53
Possibly, but as previously posted Moon Wizard will need steps to reproduce. The problem I find is that I can never quite recreate the exact sequence required when I see it.Same here. I see it pretty often but since it only occurs when closing FG I never know what prompted it.

Grommit57
October 18th, 2021, 19:50
I see that a lot. End of session I always do a /save, then shut down. See this almost every time. Since it only seems to happen to me when I shut down I've just been ignoring it. Doesn't seem to affect anything.

Moon Wizard
October 19th, 2021, 15:50
It doesn't affect anything, but it has been left in to capture any mid-session cleanup that might not be happening. It seems to be caused by a certain combination of APIs, but I need more information on how to create since it doesn't seem to happen during normal play with default ruleset code.

Regards,
JPG

Grommit57
October 19th, 2021, 19:32
Clean up important. I'll try to keep better track then. I know this comes up at some point almost every session.