Skip to content

9legacy: Raspberry Pi: sys trap in TT_Run_Context #9

Description

@yrk-lab
acid: lstk()
TT_Run_Context(size=0x4c,exec=0x149f4c8)+0x1c4 /usr/glenda/src/fontsrv/libfreetype/src/truetype/ttinterp.c:7518
	num_twilight_points=0x149f3a8
0xc4 ?file?:0

diff 7170f596699cb0de208e32b6fd63799b273f1014 uncommitted
--- a/libfreetype/src/truetype/ttinterp.c	Thu Apr 23 16:16:54 2026
+++ b/libfreetype/src/truetype/ttinterp.c	Mon Apr 18 17:18:12 2022
@@ -7515,7 +7515,7 @@
     }
 
     /* reset graphics state */
-    exec->GS         = size->GS;
+    exec->GS         = size->GS;		// ⬅ here
     exec->func_round = (TT_Round_Func)Round_To_Grid;
     Compute_Funcs( exec );
 

Raspberry Pi 1: 5.out 9388: suicide: sys: trap: fault read va=0xb8 pc=0x31878
Raspberry Pi 3B: 5.out 279: suicide: sys: alignment: va 0xd6 pc=0x31878

Also happens with 2.13.3 and master@5d1099341f1734e460d17c4c689dcefaae8d172a; older version crash in a different way. The newest working libfreetype on Raspberry Pi seems to be VER-2-7-1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions