Description of problem: As described in bug 2120809, texlive-base-20210325-poppler-22.08.0.patch does not handle a shared_ptr correctly. In particular, GfxFont::makeFont can return a shared_ptr that has only a single reference. The C pointer is extracted from the shared_ptr and saved, but the shared_ptr goes out of scope, resulting in deallocation of the font object. The code later dereferences the saved C pointer, which by now can be pointing to anything. Version-Release number of selected component (if applicable): texlive-base-20210325-51.fc37 How reproducible: Always. Steps to Reproduce: 1. Try to build asymptote for Rawhide Actual results: pdflatex segfaults Expected results: pdflatex should not segfault Additional info:
Okay. I have a better version of that patch which seems more correct. In local testing, it resolves the pdftex segfault that an asymptote source build triggers. https://koji.fedoraproject.org/koji/taskinfo?taskID=91220832
FEDORA-2022-1383f5beb8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1383f5beb8
Looks good. asymptote now builds. https://koji.fedoraproject.org/koji/buildinfo?buildID=2050712
FEDORA-2022-1383f5beb8 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-1383f5beb8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-1383f5beb8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-1383f5beb8 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.