Skip to content

fix(viewerCrash): fix stdout/stderr for buffer OS#444

Closed
MaxNumerique wants to merge 1 commit into
nextfrom
fix/viewer-crash
Closed

fix(viewerCrash): fix stdout/stderr for buffer OS#444
MaxNumerique wants to merge 1 commit into
nextfrom
fix/viewer-crash

Conversation

@MaxNumerique

Copy link
Copy Markdown
Contributor

No description provided.

console.log(`[${child.name}] ${line}`);
recordOutput(line);
if (line.includes(expectedResponse)) {
cleanup();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dès que le viewer ou le backend écrivait plus de 64 Ko de logs (warnings de caméra, requêtes...), le buffer OS de son pipe saturait et le processus se bloquait indéfiniment sur son prochain log, provoquant des timeouts

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JulienChampagnol c'est toi qui a ajouté tout ca hier. Qu'en penses-tu ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est ça qui provoquait les crash. J'ai testé en local avec cleanup() je reproduisais le bug facilement. et du coup en l'enlevant ça ne crash plus, avec la même data ( 3000 corner, 2600 lines)

@MaxNumerique MaxNumerique deleted the fix/viewer-crash branch June 26, 2026 11:18
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

Successfully merging this pull request may close these issues.

2 participants