Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSegfault on Android since #19011 #19058
Comments
|
I don't use the "official" Android build mechanism. So I might be missing something about the allocator. |
|
I think that part of the problem is that we need to define a I’m working on a PR to make |
|
Is there a way for me to confirm that this is indeed the issue? |
|
Without a backtrace, I don’t know. |
FreeType: don’t use usable_size() as deallocation size Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes #19058 Depends on gnzlbg/jemallocator#21
|
@paulrouget Try with #19061 ? |
FreeType: don’t use usable_size() as deallocation size Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes #19058 Depends on gnzlbg/jemallocator#21 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19061) <!-- Reviewable:end -->
FreeType: don’t use usable_size() as deallocation size Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes #19058 Depends on gnzlbg/jemallocator#21 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19061) <!-- Reviewable:end -->
|
Oops, before actually closing this, @paulrouget can you confirm if this segfault still happens? |
…on size (from servo:ft-alloc); r=mbrubeck Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes servo/servo#19058 Depends on gnzlbg/jemallocator#21 Source-Repo: https://github.com/servo/servo Source-Revision: f18099118a5be17b5b1d6fdcc3352a98a1499e6a --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 8087ee658a0ca822c6cdc85c00cfc8984b1fa668
|
43a4f01 doesn't crash. Thank you so much :) |
…on size (from servo:ft-alloc); r=mbrubeck Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes servo/servo#19058 Depends on gnzlbg/jemallocator#21 Source-Repo: https://github.com/servo/servo Source-Revision: f18099118a5be17b5b1d6fdcc3352a98a1499e6a
…on size (from servo:ft-alloc); r=mbrubeck Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes servo/servo#19058 Depends on gnzlbg/jemallocator#21 Source-Repo: https://github.com/servo/servo Source-Revision: f18099118a5be17b5b1d6fdcc3352a98a1499e6a UltraBlame original commit: 7f574eb1f99cc0561b58c045a8cba0552e7ee930
…on size (from servo:ft-alloc); r=mbrubeck Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes servo/servo#19058 Depends on gnzlbg/jemallocator#21 Source-Repo: https://github.com/servo/servo Source-Revision: f18099118a5be17b5b1d6fdcc3352a98a1499e6a UltraBlame original commit: 7f574eb1f99cc0561b58c045a8cba0552e7ee930
…on size (from servo:ft-alloc); r=mbrubeck Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes servo/servo#19058 Depends on gnzlbg/jemallocator#21 Source-Repo: https://github.com/servo/servo Source-Revision: f18099118a5be17b5b1d6fdcc3352a98a1499e6a UltraBlame original commit: 7f574eb1f99cc0561b58c045a8cba0552e7ee930
Happens at startup. Managed to bisect to #19011
/cc @SimonSapin @mbrubeck
I don't have much information. I'm struggling to get a backtrace.