Skip to content

Bug Report: Random crashes: RundownContentObserver.#cleanup has not been set! #1463

@justandras

Description

@justandras

About me

This issue is reported on behalf of Superfly

Observed Behavior

Sofie randomly crashes with the following stack trace:

[METEOR] I20250605-08:57:53.020(2)? Error: RundownContentObserver.#cleanup has not been set!
[METEOR] I20250605-08:57:53.020(2)?     at RundownContentObserver.value (server/api/deviceTriggers/RundownContentObserver.ts:37:9)
[METEOR] I20250605-08:57:53.020(2)?     at RundownContentObserver.stop (server/api/deviceTriggers/RundownContentObserver.ts:178:7)
[METEOR] I20250605-08:57:53.020(2)?     at RundownsObserver.<anonymous> (server/api/deviceTriggers/StudioObserver.ts:224:10)
[METEOR] I20250605-08:57:53.020(2)?     at RundownsObserver.stop (server/api/deviceTriggers/RundownsObserver.ts:89:7)
[METEOR] I20250605-08:57:53.020(2)?     at PromiseDebounce.<anonymous> (server/api/deviceTriggers/StudioObserver.ts:201:28)
[METEOR] I20250605-08:57:53.020(2)?     at server/publications/lib/PromiseDebounce.ts:78:30
[METEOR] I20250605-08:57:53.020(2)?     at runNextTicks (node:internal/process/task_queues:65:5)
[METEOR] I20250605-08:57:53.020(2)?     at processTimers (node:internal/timers:526:9) {"error":{},"stack":"Error: RundownContentObserver.#cleanup has not been set!\n    at RundownContentObserver.value (server/api/deviceTriggers/RundownContentObserver.ts:37:9)\n    at RundownContentObserver.stop (server/api/deviceTriggers/RundownContentObserver.ts:178:7)\n    at RundownsObserver.<anonymous> (server/api/deviceTriggers/StudioObserver.ts:224:10)\n    at RundownsObserver.stop (server/api/deviceTriggers/RundownsObserver.ts:89:7)\n    at PromiseDebounce.<anonymous> (server/api/deviceTriggers/StudioObserver.ts:201:28)\n    at server/publications/lib/PromiseDebounce.ts:78:30\n    at runNextTicks (node:internal/process/task_queues:65:5)\n    at processTimers (node:internal/timers:526:9)","rejection":true,"date":"Thu Jun 05 2025 08:57:53 GMT+0200 (Central European Summer Time)","process":{"pid":26324,"uid":null,"gid":null,"cwd":"C:\\Users\\Admin\\Documents\\code\\SuperFlyTv\\sofie-core\\meteor\\.meteor\\local\\build\\programs\\server","execPath":"C:\\Users\\Admin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\3.1.2\\mt-os.windows.x86_64\\dev_bundle\\bin\\node.exe","version":"v22.13.1","argv":["C:\\Users\\Admin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\3.1.2\\mt-os.windows.x86_64\\dev_bundle\\bin\\node.exe","C:\\Users\\Admin\\Documents\\code\\SuperFlyTv\\sofie-core\\meteor\\.meteor\\local\\build\\main.js","program.json"],"memoryUsage":{"rss":347004928,"heapTotal":131612672,"heapUsed":110823928,"external":24141631,"arrayBuffers":20558749}},"os":{"loadavg":[0,0,0],"uptime":6621.703},"trace":[{"column":9,"file":"server/api/deviceTriggers/RundownContentObserver.ts","function":"RundownContentObserver.value","line":37,"method":"value","native":false},{"column":7,"file":"server/api/deviceTriggers/RundownContentObserver.ts","function":"RundownContentObserver.stop","line":178,"method":"stop","native":false},{"column":10,"file":"server/api/deviceTriggers/StudioObserver.ts","function":null,"line":224,"method":null,"native":false},{"column":7,"file":"server/api/deviceTriggers/RundownsObserver.ts","function":"RundownsObserver.stop","line":89,"method":"stop","native":false},{"column":28,"file":"server/api/deviceTriggers/StudioObserver.ts","function":null,"line":201,"method":null,"native":false},{"column":30,"file":"server/publications/lib/PromiseDebounce.ts","function":null,"line":78,"method":null,"native":false},{"column":5,"file":"node:internal/process/task_queues","function":"runNextTicks","line":65,"method":null,"native":false},{"column":9,"file":"node:internal/timers","function":"processTimers","line":526,"method":null,"native":false}]}
[METEOR] => Exited with code: 0
[METEOR] => Your application is crashing. Waiting for file change.

Expected Behavior

Sofie not crashing

Version

release53

Severity / Impact

Potentially a blocker in production

Level of Involvement

Raising awareness, came across the issue during development, not actively looking into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedNoone is actively working on this, contributions are welcome🐛bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions