-
Posts
31 -
Joined
-
Last visited
-
Days Won
1 -
Donations
15.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Bug Comments posted by Vale the Violet Mote
-
-
-
Attempting to access that (*i) value produces a segmentation fault.
```Thread 6 "mangosd" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffecd78700 (LWP 26823)]
0x0000000000673932 in Reference<Loot, LootValidatorRef>::isValid (this=0x2000007465677261)
at /home/mangos/zero/src/server/src/shared/Utilities/LinkedReference/Reference.h:137
137 return iRefTo != NULL;```
-
The issue is here:
https://github.com/mangoszero/server/blob/master/src/modules/Bots/playerbot/strategy/actions/LootRollAction.cpp#L26
Iterating over group->GetRolls() [which is Rolls in Group.h & RollId in Group.cpp] causes the core to crash without error at some point during the loop (presumably the last item). try/catch blocks cannot catch the error.Specifically, the core crashes when the value of the iterated item (*i) is first referenced/used in the loop. Any code executed prior to this call will be fine. So the error is really on line 28, when (*i) is invoked for ->IsValid(). IsValid() is not the issue. Any code referencing (*i) will cause the crash.
I lack both the knowledge of both C++ and the core to truly understand why this is happening.
-
This only appears to occur if the bots need/greed. When they all pass, the player receives the item without a problem.
-
This is actually a non-issue: by default, there's a command prefix of ~ in in the playerbot conf. If the prefix is used, the commands are functional.
-
Actually, this quest can be completed, if the player continues to attack Bartleby after the quest is marked complete. If the player brings his health even further down, his correct behaviour will eventually trigger.
-
While I was on an account with elevated privileges (3), my GM mode was not on.
Greed/Need Does Auto-Pass for All After a Few Seconds
-
-
-
-
-
in Tasks (One)
Posted
Note: this is inconsistent, will continue investigating what the key factor is.