I think it's related to a coroutine that finishes the "sale" routine, and then tries to run the loaded profile. Removing the food/drink entry in settings should fix this anyway, now that i know what it was trying to buy/sell to vendors.
Not sure what's going on in warspear, because the AH, mailbox(s) and bank(s) are within closer distance than the alliance ones in stormshield, on their side of ashran. if it's caching them from the area, there might need to be some caching of NPC's and mailboxes while navigating the zone(s) where the AH is located. perhaps also a parking node to navigate to in the center of an auctioneer area to navigate cleanly from and to the bank/guild/mailbox/ah, in the case of larger cities. it seemed to get stuck in the goblin area of orgrimmar getting to the mailbox as a direct nav route. nitpicking, but it's the only time it worked well so far, or enough to leave it alone for 5 minutes without it dryhumping a mailbox.
(garrison AH trading post / Storehouse bank/guild bank support would be a good option too, possibly a quest complete check when in the garrison for those who are lucky/rich enough to have set up their auctioneer and a trading post / storehouse eg
Auctioning for Parts - Quest - World of Warcraft and
Auctioning for Parts - Quest - World of Warcraft for alliance)
the biggest issue rather than wandering off, is just getting stuck trying to get more items out of the mail. it became more usable in orgrimmar, but when i have 40+ sellable items and it loops picking up 1 item from the mailbox over and over, with 3 spots free in the bag, this seems to be a problem that requires a cooldown to prevent it checking the mail more than 20 seconds at a time.
I might delete the item DB, start again with only inventory items instead of preset items, and see if i can get it to cancel & repost items.