-
Notifications
You must be signed in to change notification settings - Fork 608
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
LibreOffice is crashing with 1.7.0 #618
Comments
Further from valgrind we see:
Which implies a race condition over freeing something in a font between two exit handlers. Shame valgrind can't tell us which exit handlers. But I'm assuming one is the harfbuzz exit handlers and the other the libo test. Does a font reference a static that it tries to free or something? |
1 similar comment
Further from valgrind we see:
Which implies a race condition over freeing something in a font between two exit handlers. Shame valgrind can't tell us which exit handlers. But I'm assuming one is the harfbuzz exit handlers and the other the libo test. Does a font reference a static that it tries to free or something? |
I'm seeing this as well -- svgio.test crashes on exit (glibc reports malloc corruption) when libreoffice 5.4.3.2 is built against harfbuzz 1.7.0. Here's the valgrind output:
Based on the allocation site, the static object in question is |
Yeah I can see that if other atexit functions try to destruct that, bad things will happen. I'll revert that commit and think about it some more. |
Release coming. |
See https://ci.libreoffice.org/job/lo_gerrit/22098/Config=linux_clang_dbgutil_64/console
@mhosken thinks it might be related to
atexit
, I couldn’t debug it locally myself. Not sure what changed in HarfBuzz in 1.7.0, but 1.6.3 was working fine.The text was updated successfully, but these errors were encountered: