[Python] Coredump using matplotlib to plot images with ThreadPoolExecutor

Discussão em 'Python' iniciado por Stack, Março 29, 2025.

  1. Stack

    Stack Membro Participativo

    Now I have a flask application deployed using gunicorn, and I've noticed that my application is generating a coredump after running for a while. when I look at it with gdb it looks like it's because of a multi-threaded run of matplotlib to draw the image. To add to this, I use a thread lock when calling matplotlib related logic. [​IMG]

    Continue reading...

Compartilhe esta Página