freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Regression introduced in 5f18d867c0 causing mpv to segfault


From: Earnestly
Subject: Re: [ft] Regression introduced in 5f18d867c0 causing mpv to segfault
Date: Thu, 27 Apr 2017 19:23:54 +0100
User-agent: Mutt/1.8.2 (2017-04-18)

> Please recompile FreeType without optimization and debugging symbols,

Can do (although I left the debugging symbols intact), here is the new
backtrace: (I would remove the additional traces from the various
threads but I'm not completely sure if they might be still useful or
relevant.)

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fcca74a218f in tt_size_request (size=0x7fcc8c412350, 
req=0x7fcc95b0e140) at 
/home/earnest/build/store/freetype2-git/src/freetype2/src/truetype/ttdriver.c:365
365                        ttsize->metrics->x_ppem > ttsize->metrics->y_ppem
[Current thread is 1 (Thread 0x7fcc95b0f700 (LWP 23390))]
(gdb) bt full
#0  0x00007fcca74a218f in tt_size_request (size=0x7fcc8c412350, 
req=0x7fcc95b0e140) at 
/home/earnest/build/store/freetype2-git/src/freetype2/src/truetype/ttdriver.c:365
        resolution = 2357964504
        ttsize = 0x7fcc8c412350
        error = 151
#1  0x00007fcca7490297 in FT_Request_Size (face=0x7fcc8c8bac70, 
req=0x7fcc95b0e140) at 
/home/earnest/build/store/freetype2-git/src/freetype2/src/base/ftobjs.c:3071
        error = 32716
        clazz = 0x7fcca7753ce0 <tt_driver_class>
        strike_index = 140516566396656
#2  0x00007fccab48aebc in ass_face_set_size (address@hidden, size=<optimized 
out>) at ass_font.c:305
        hori = 0x7fcc8c8bae00
        os2 = <optimized out>
        mscale = 1
        rq = {type = FT_SIZE_REQUEST_TYPE_REAL_DIM, width = 0, height = 0, 
horiResolution = 0, vertResolution = 0}
        m = 0x7fcc8c412368
#3  0x00007fccab48b15d in add_face (address@hidden, font=0x7fcc8c48df10, 
address@hidden) at ass_font.c:220
        path = 0x7fcc900b5b10 "/usr/share/fonts/TTF/DejaVuSans.ttf"
        postscript_name = 0x7fcc900b5af0 "DejaVuSans"
        i = <optimized out>
        index = 0
        uid = 351
        error = <optimized out>
        stream = {func = 0x0, priv = 0x0}
        face = 0x7fcc8c8bac70
#4  0x00007fccab48b3d2 in ass_font_new (font_cache=<optimized out>, 
library=0x7fcc90065b30, ftlibrary=0x7fcc90065960, fontsel=0x7fcc90068dc0, 
    address@hidden) at ass_font.c:255
        font = 0x7fcc8c48df10
        new_desc = <optimized out>
        error = <optimized out>
#5  0x00007fccab49b855 in update_font (address@hidden) at ass_parse.c:132
        val = <optimized out>
        desc = {family = 0x7fcc8c476670 "sans-serif", bold = 400, italic = 0, 
vertical = 0}
#6  0x00007fccab491312 in reset_render_context (address@hidden, 
style=<optimized out>) at ass_render.c:858
No locals.
#7  0x00007fccab49e335 in parse_tag (address@hidden, p=<optimized out>, 
    address@hidden "}{\\1a&H50&\\2a&HFF&\\3a&HFF&\\4a&HFF&}{\\p4} m 0 0 l 12821 
0 l 12821 448 l 0 448 l 0 0{\\p0}{}", address@hidden) at ass_parse.c:775
        len = <optimized out>
        q = 0x7fcc9005124c 
"\\blur0\\bord1\\1c&H000000\\3c&HFFFFFF}{\\1a&H50&\\2a&HFF&\\3a&HFF&\\4a&HFF&}{\\p4}
 m 0 0 l 12821 0 l 12821 448 l 0 448 l 0 0{\\p0}{}"
        name_end = 0x7fcc9005124c 
"\\blur0\\bord1\\1c&H000000\\3c&HFFFFFF}{\\1a&H50&\\2a&HFF&\\3a&HFF&\\4a&HFF&}{\\p4}
 m 0 0 l 12821 0 l 12821 448 l 0 448 l 0 0{\\p0}{}"
        args = {{
            start = 0x7fcc90051245 
"Default\\blur0\\bord1\\1c&H000000\\3c&HFFFFFF}{\\1a&H50&\\2a&HFF&\\3a&HFF&\\4a&HFF&}{\\p4}
 m 0 0 l 12821 0 l 12821 448 l 0 448 l 0 0{\\p0}{}", end = 0x7fcc9005124c 
"\\blur0\\bord1\\1c&H000000\\3c&HFFFFFF}{\\1a&H50&\\2a&HFF&\\3a&HFF&\\4a&HFF&}{\\p4}
 m 0 0 l 12821 0 l 12821 448 l 0 448 l 0 0{\\p0}{}"}, {
---Type <return> to continue, or q <return> to quit---
            start = 0x7fccab4abee8 "", end = 0x7fccab4abee8 ""}, {start = 
0x7fccab4abee8 "", end = 0x7fccab4abee8 ""}, {start = 0x7fccab4abee8 "", 
            end = 0x7fccab4abee8 ""}, {start = 0x7fccab4abee8 "", end = 
0x7fccab4abee8 ""}, {start = 0x7fccab4abee8 "", end = 0x7fccab4abee8 ""}, {
            start = 0x7fccab4abee8 "", end = 0x7fccab4abee8 ""}, {start = 
0x7fccab4abee8 "", end = 0x7fccab4abee8 ""}}
        nargs = 1
        __PRETTY_FUNCTION__ = "parse_tag"
#8  0x00007fccab491bb7 in parse_events (event=<optimized out>, 
render_priv=0x7fcc90067540) at ass_render.c:1842
        info = <optimized out>
        q = 0x7fcc9005126e "}{\\1a&H50&\\2a&HFF&\\3a&HFF&\\4a&HFF&}{\\p4} m 0 0 
l 12821 0 l 12821 448 l 0 448 l 0 0{\\p0}{}"
        text_info = 0x7fcc90067840
        drawing = 0x0
        code = 0
        p = 0x7fcc90051242 
"{\\rDefault\\blur0\\bord1\\1c&H000000\\3c&HFFFFFF}{\\1a&H50&\\2a&HFF&\\3a&HFF&\\4a&HFF&}{\\p4}
 m 0 0 l 12821 0 l 12821 448 l 0 448 l 0 0{\\p0}{}"
#9  ass_render_event (event_images=<optimized out>, event=<optimized out>, 
render_priv=0x7fcc90067540) at ass_render.c:2461
        device_y = 0
        bbox = {xMin = 0, xMax = 6.9424332064471464e-310, yMin = 
2.1239399353291325e-314, yMax = 6.9424376526703741e-310}
        MarginL = <optimized out>
        MarginR = <optimized out>
        MarginV = <optimized out>
        valign = <optimized out>
        device_x = 0
        text_info = 0x7fcc90067840
        max_text_width = <optimized out>
#10 ass_render_frame (priv=0x7fcc90067540, track=<optimized out>, 
now=<optimized out>, detect_change=<optimized out>) at ass_render.c:3015
        event = <optimized out>
        i = <optimized out>
        cnt = <optimized out>
        last = <optimized out>
        tail = <optimized out>
        
PS: If there is any other details you need that I can share, please ask.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]