Dangling pointers in cargo loads causing crashing [MOD]

Izmaragon
Posts: 480
Joined: 17 Jul 2014 12:29

Dangling pointers in cargo loads causing crashing [MOD]

#1 Post by Izmaragon » 14 Mar 2023 18:07

So, I've only been able to get one savegame to work so far, and it seems to be an issue with some of the cargo types...


00:02:12.920 : Loading save '/home/profiles/4D6F6E696361/save/autosave/game.sii'
00:02:12.995 : <ERROR> [unit] The unit '_nameless.166.3f1e.dbe0' of type 'job_offer_data' has dangling pointer (to 'trailer.gas') in the attribute named 'trailer_variant'.
00:02:12.995 : <ERROR> [unit] The unit '_nameless.166.3f1e.dbe0' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:12.995 : <WARNING> [unit] The pointer to 'trailer.gas' looks like dangling pointer.
00:02:12.995 : <WARNING> [unit] The pointer to 'trailer_def.propane.gas' looks like dangling pointer.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.4160.a270' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas_l') in the attribute named 'trailer_definition'.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.4160.9b20' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.4160.a410' of type 'job_offer_data' has dangling pointer (to 'trailer.gas_l') in the attribute named 'trailer_variant'.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.4160.a410' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas_l') in the attribute named 'trailer_definition'.
00:02:12.996 : <WARNING> [unit] The pointer to 'trailer_def.propane.gas_l' looks like dangling pointer.
00:02:12.996 : <WARNING> [unit] The pointer to 'trailer.gas_l' looks like dangling pointer.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.415c.2460' of type 'job_offer_data' has dangling pointer (to 'trailer.gas') in the attribute named 'trailer_variant'.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.415c.2460' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.415d.6b00' of type 'job_offer_data' has dangling pointer (to 'trailer.gas') in the attribute named 'trailer_variant'.
00:02:12.996 : <ERROR> [unit] The unit '_nameless.166.415d.6b00' of type 'job_offer_data' has dangling pointer (to 'trailer_def.ethane.gas') in the attribute named 'trailer_definition'.
00:02:12.997 : <WARNING> [unit] The pointer to 'trailer_def.ethane.gas' looks like dangling pointer.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.415d.86a0' of type 'job_offer_data' has dangling pointer (to 'trailer.gas') in the attribute named 'trailer_variant'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.415d.86a0' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.417b.c670' of type 'job_offer_data' has dangling pointer (to 'trailer.gas') in the attribute named 'trailer_variant'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.417b.c670' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.417b.c4d0' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.417b.cf60' of type 'job_offer_data' has dangling pointer (to 'trailer_def.ethane.gas') in the attribute named 'trailer_definition'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.417c.2a60' of type 'job_offer_data' has dangling pointer (to 'trailer.gas_l') in the attribute named 'trailer_variant'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.417c.2a60' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas_l') in the attribute named 'trailer_definition'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.4182.5360' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas_l') in the attribute named 'trailer_definition'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.4183.0890' of type 'job_offer_data' has dangling pointer (to 'trailer.gas') in the attribute named 'trailer_variant'.
00:02:12.997 : <ERROR> [unit] The unit '_nameless.166.4183.0890' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:12.998 : <ERROR> [unit] The unit '_nameless.166.4172.d7f0' of type 'job_offer_data' has dangling pointer (to 'trailer.gas') in the attribute named 'trailer_variant'.
00:02:12.998 : <ERROR> [unit] The unit '_nameless.166.4172.d7f0' of type 'job_offer_data' has dangling pointer (to 'trailer_def.propane.gas') in the attribute named 'trailer_definition'.
00:02:13.001 : <ERROR> Reward medal count must match reward title, reward name and reward damage level counts.
00:02:13.001 : <ERROR> [unit] The unit 'economy.data.storage' of type 'economy_data' failed in its post-load hook.
00:02:13.001 : <ERROR> load_unit_tree() - Failed to load unit tree from file (/def/economy_data.sii)


The above was at the end of the game log file that was fresh and new. At first, I thought it was a mod issue, but then I had a game save that worked, and it had many of the core mods I tend to use for my games, so I can only conclude that its an issue with a newer load that originates in the midwest. I do not use many mods that explicitly adjust the economy itself.

Edit: Had the same issue with my oldest savegame, which did not have the financial supplement mods that I had on half the others. Generated a new game log file for it, and the game crashed. At 760some kb, I'm not going to bother you with that file's content, because it also ends just like the one ending shown here.

Win64, nvidia1050m, 16gb ram, 500gb HD.

And one of my other games worked after I took out a mod, but because I did NOT have that mod on my oldest savegame, which still crashed. I'm thinking its more something with the game and not a mod.

With that said, I'll leave this here and will look back on this while logged out. Just so you know that it appears to be a problem with larger saves that include the midwest.
My WoT

Show trucks are working trucks, they simply do the same job in a slightly more noticeable and stylish fashion.
User avatar
mackintosh
Posts: 3055
Joined: 03 Feb 2013 17:58
Location: Warsaw, Poland

Re: Dangling pointers in cargo loads causing crashing

#2 Post by mackintosh » 14 Mar 2023 20:59

This definitely sounds like an economy mod messing with things. Do you have anything that alters delivery time/speed?
User avatar
xXCARL1992Xx
Posts: 16387
Joined: 17 Aug 2016 12:18

Re: Dangling pointers in cargo loads causing crashing

#3 Post by xXCARL1992Xx » 14 Mar 2023 21:02

the gas tanker were added, all old gas tanker related jobs where purged from the game, if this doesnt show after the next loading of the savegame it is normal, like it was with every patch that brought new trailers

other than that, any mods that use a modified economy_data.sii will not work with 1.47
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
[ external image ]
User avatar
Mohegan13
Global moderator
Posts: 19549
Joined: 05 Jul 2013 09:44
Location: Olympus Mons; Mars

Re: Dangling pointers in cargo loads causing crashing

#4 Post by Mohegan13 » 14 Mar 2023 21:04

In theory the economy reset should have prevented any crash for non-modded games. However if you have modded cargo or potentially modded trailers for these things then it could be fall out of that.

I would suggest reverting back to 1.46, using your backups, sell all trailers related to gas etc. Close the game, go into mod manager and remove and mod that might affect trailers and cargo. Load, save, close and reupdate. So if you can carry on then without a crash.

Without a full log we're all blindly guessing though, that's why a full log - particularly with potential bugs - is hugely important.
[ external image ]
I reserve the right to be 100% wrong.
Can't you see the fire that burns inside of me?
She doesn't really want to know you

Return to “Bugs 1.47”

Who is online

Users browsing this forum: CCBot [Bot]