Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • FreeType FreeType
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 59
    • Issues 59
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FreeType
  • FreeTypeFreeType
  • Issues
  • #1140
Closed
Open
Created Mar 19, 2022 by frokaikan@frokaikan

another SEGV in FT_Set_Char_Size

Like #1139 (closed), I continue running with the following code and the newest commit:

#include "ft2build.h"
#include FT_FREETYPE_H

int main (int argc, char **argv) {
    FT_Library lib;
    FT_Face face;

    if (FT_Init_FreeType(&lib)) return 0;
    if (FT_New_Face(lib, argv[1], -3674092871004140285, &face)) return 0;
    if (FT_Set_Char_Size(face, 57705668760568013, 216172782127219456, 50384131, 3439525888)) return 0;
}

and here is the filetestface This time FT_New_Face() still returns 0, and FT_Set_Char_Size still throws SIGSEGV signal... Is this the third bug?

AddressSanitizer:DEADLYSIGNAL
=================================================================
==611111==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000050 (pc 0x7f08d773f9bc bp 0x7ffedd14c2d0 sp 0x7ffedd14c140 T0)
==611111==The signal is caused by a READ memory access.
==611111==Hint: address points to the zero page.
    #0 0x7f08d773f9bc in FT_Request_Size
    #1 0x7f08d77401ee in FT_Set_Char_Size
    #2 0x4c6cac in main
    #3 0x7f08d71360b2 in __libc_start_main
    #4 0x41c30d in _start

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV in FT_Request_Size
==611111==ABORTING
Assignee
Assign to
Time tracking