Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RUNTIME] Hypnosis destroy proc called many times #888

Closed
MonkestationIssueBot opened this issue Jan 7, 2024 · 0 comments
Closed

[RUNTIME] Hypnosis destroy proc called many times #888

MonkestationIssueBot opened this issue Jan 7, 2024 · 0 comments

Comments

@MonkestationIssueBot
Copy link

MonkestationIssueBot commented Jan 7, 2024

Reporting client info: Client Information:
BYOND:515.1623
Key:dexee

Round ID:

3249

Testmerges:

Reproduction:

[07:37:16] Runtime in code/controllers/subsystem/garbage.dm, line 416: /datum/brain_trauma/hypnosis destroy proc was called multiple times, likely due to a qdel loop in the Destroy logic
proc name: qdel (/proc/qdel)
usr: ANNmagedon/(Ann Anderson)
usr.loc: (Medbay Treatment Center (161,89,2))
src: null
call stack:
qdel(Hypnosis (/datum/brain_trauma/hypnosis), 0)
Hypnotized Victim (/datum/antagonist/hypnotized): Destroy(0)
qdel(Hypnotized Victim (/datum/antagonist/hypnotized), 0)
Hypnotized Victim (/datum/antagonist/hypnotized): on removal()
FIR-X (/datum/mind): remove antag datum(/datum/antagonist/hypnotized (/datum/antagonist/hypnotized))
Hypnosis (/datum/brain_trauma/hypnosis): on lose()
Hypnosis (/datum/brain_trauma/hypnosis): Destroy(0)
qdel(Hypnosis (/datum/brain_trauma/hypnosis), 0)
the ipc positronic brain (/obj/item/organ/internal/brain/positron): cure trauma type(/datum/brain_trauma/hypnosis (/datum/brain_trauma/hypnosis), 2)
FIR-X (/mob/living/carbon/human): cure trauma type(/datum/brain_trauma/hypnosis (/datum/brain_trauma/hypnosis), 2)
...
Ann Anderson (/mob/living/carbon/human): say("Here you go", null, /list (/list), 1, /datum/language/common (/datum/language/common), 0, null, null, 7, null)
Ann Anderson (/mob/living/carbon/human): say("here you go", null, null, null, null, null, null, null, null, null)
/datum/callback/verb_callback (/datum/callback/verb_callback): Invoke()
world: push usr(Ann Anderson (/mob/living/carbon/human), /datum/callback/verb_callback (/datum/callback/verb_callback))
/datum/callback/verb_callback (/datum/callback/verb_callback): InvokeAsync()
Speech Controller (/datum/controller/subsystem/verb_manager/speech_controller): run verb queue()
Speech Controller (/datum/controller/subsystem/verb_manager/speech_controller): fire(0)
Master (/datum/controller/master): RunQueue()
Master (/datum/controller/master): StartProcessing(0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants