You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synfig version & platform:
master e84f6cb
Linux and Windows
Issue description:
Open an animation that contains Text Layers
Change the animation Current time (for example when fine tuning animation details) or enable Background rendering
Synfig Studio crashes frequently.
I assume this is somehow related to the very last commits (1 week or so) and is linked to text stuff (freetype layer or something like that pops in terminal).
Did not happen with older versions of master.
AppVeyour uses CMake, scripts use autotools, so it looks like both are affected.
Can you make a short video showing the problem? I am trying to reproduce but with no success.
The only strange thing is this messages after I add first text layer.
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
@ice0, I saved a copy of the project where the issue is always reproducible for me: issue-1916.zip
Just open the project and apply actions that require canvas rendering (Background rendering, change zoom, change canvas current time) and it will crash easily in a few seconds.
The only strange thing is this messages after I add first text layer.
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
error: internal error: it shouldn't be without parameter row info!?[0m
Those errors are related to the Widget_Timetrack I implemented.
I can also reproduce it on Linux.
And as I can see there is memory corruption and data races :(
As a temporary solution you can reduce rendering thread count to 1 by setting SYNFIG_RENDERING_THREADS=1 environment variable.
Activity
ice0 commentedon Dec 13, 2020
@FirasH Is that autotools/CMake build?
FirasH commentedon Dec 13, 2020
@ice0 I'm using appveyor builds on Windows and the scripts on Linux (I assume autotools but not sure...)
ice0 commentedon Dec 13, 2020
AppVeyour uses CMake, scripts use autotools, so it looks like both are affected.
Can you make a short video showing the problem? I am trying to reproduce but with no success.
The only strange thing is this messages after I add first text layer.
FirasH commentedon Dec 13, 2020
@ice0, I saved a copy of the project where the issue is always reproducible for me:
issue-1916.zip
Just open the project and apply actions that require canvas rendering (Background rendering, change zoom, change canvas current time) and it will crash easily in a few seconds.
rodolforg commentedon Dec 13, 2020
Those errors are related to the Widget_Timetrack I implemented.
FirasH commentedon Dec 15, 2020
This is the error on Linux:
synfig(4871) [09:27:51 PM] error: Layer_Freetype: Unable to open font face. (err=1)ice0 commentedon Dec 17, 2020
I can also reproduce it on Linux.
And as I can see there is memory corruption and data races :(
As a temporary solution you can reduce rendering thread count to 1 by setting
SYNFIG_RENDERING_THREADS=1environment variable.rodolforg commentedon May 30, 2021
I just checked v1.4.0 and it crashes too.
So the cause is not a recent change on Layer_Freetype: the last one was on 2019: https://github.com/synfig/synfig/commits/v1.4.0/synfig-core/src/modules/lyr_freetype/lyr_freetype.cpp
Neither the new Widget_Timetrack, that wasn't merged to stable branch.