Summary: | media-gfx/fontforge-20170731-r2 on sparc - "Contextual chaining tables don't crash" crashes (SIGBUS) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fonts |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | Sparc64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 371525 | ||
Attachments: |
build.log
testsuite.log fix gethex() |
Description
Rolf Eike Beer
2017-12-30 21:09:55 UTC
Created attachment 512092 [details]
build.log
Created attachment 512094 [details]
testsuite.log
This is probably a sparc-specific issue. If you could run the command from testsuite.log in gdb and get a backtrace, that would help narrow this down. For reference: gdb /var/tmp/portage/media-gfx/fontforge-20170731-r2/work/fontforge-2.0.20170731/fontforgeexe/.libs/fontforge (gdb) run -lang ff -script /var/tmp/portage/media-gfx/fontforge-20170731-r2/work/fontforge-2.0.20170731/tests/test008.pe /var/tmp/portage/media-gfx/fontforge-20170731-r2/work/fontforge-2.0.20170731/tests/fonts/n019003l.pfb "" "" "" "" "" "" #0 0xf6569ab0 in gethex () from /usr/lib/libfontforge.so.2 #1 0xf657e45c in SFD_GetFontMetaData () from /usr/lib/libfontforge.so.2 #2 0xf6581804 in SFD_GetFont () from /usr/lib/libfontforge.so.2 #3 0xf6583c70 in SFD_Read () from /usr/lib/libfontforge.so.2 #4 0xf659d138 in _ReadSplineFont () from /usr/lib/libfontforge.so.2 #5 0xf659daf0 in LoadSplineFont () from /usr/lib/libfontforge.so.2 #6 0xf6542984 in bOpen () from /usr/lib/libfontforge.so.2 #7 0xf6545ad8 in docall () from /usr/lib/libfontforge.so.2 #8 0xf6546040 in handlename () from /usr/lib/libfontforge.so.2 #9 0xf6547608 in term () from /usr/lib/libfontforge.so.2 #10 0xf6547848 in mul () from /usr/lib/libfontforge.so.2 #11 0xf6547aa8 in add () from /usr/lib/libfontforge.so.2 #12 0xf6547e68 in comp () from /usr/lib/libfontforge.so.2 #13 0xf654810c in _and () from /usr/lib/libfontforge.so.2 #14 0xf654830c in assign () from /usr/lib/libfontforge.so.2 #15 0xf65449ac in ff_statement () from /usr/lib/libfontforge.so.2 #16 0xf6548d68 in ProcessNativeScript () from /usr/lib/libfontforge.so.2 #17 0xf654987c in CheckIsScript () from /usr/lib/libfontforge.so.2 #18 0xf7e73ef8 in fontforge_main () from /usr/lib/libfontforgeexe.so.2 #19 0xf7b0b038 in __libc_start_main () from /lib/libc.so.6 #20 0x000104d8 in _start () Created attachment 512102 [details, diff]
fix gethex()
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521efc21ffc6e32dd4b14c15f3386d837817610d commit 521efc21ffc6e32dd4b14c15f3386d837817610d Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2017-12-30 22:45:38 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2017-12-30 22:46:03 +0000 media-gfx/fontforge: fix misaligned memory access Patch by Rolf Eike Beer. Closes: https://bugs.gentoo.org/642756 Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37 .../files/20170731-gethex-unaligned.patch | 22 ++++++++++++++++++++++ ...0731-r2.ebuild => fontforge-20170731-r3.ebuild} | 1 + 2 files changed, 23 insertions(+) The second fix that is now in tree fixes the test failure for me. |