NetBSD-Bugs archive

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

xsrc/49408: XftGlyphSpecRender crash with gcc 4.8.4 on earmv7hf



>Number:         49408
>Category:       xsrc
>Synopsis:       XftGlyphSpecRender crash with gcc 4.8.4 on earmv7hf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 21 12:05:00 +0000 2014
>Originator:     Jared McNeill
>Release:        7.99.1
>Organization:
>Environment:
NetBSD a31 7.99.1 NetBSD 7.99.1 (HUMMINGBIRD_A31) #381: Thu Nov 20 09:20:40 AST 2014  jmcneill@megatron.local:/Users/jmcneill/branches/HEAD/src/sys/arch/evbarm/compile/obj/HUMMINGBIRD_A31 evbarm

>Description:
Unless you build xftrender.c with -O0, libXft crashes like this:

  Memory fault (core dumped) 

#0  0x400b8ed0 in XftGlyphSpecRender () from /home/jmcneill/libXft.so.3
#1  0x400b7fe4 in XftDrawGlyphSpec () from /home/jmcneill/libXft.so.3
#2  0x400b8268 in XftDrawCharSpec () from /home/jmcneill/libXft.so.3
#3  0x0004a5a4 in xtermXftDrawString.part.0 ()
#4  0x0004a67c in drawClippedXftString ()
#5  0x0005032c in drawXtermText ()
#6  0x000227f8 in ShowCursor ()
#7  0x0002a6c0 in VTparse ()
#8  0x0002a858 in VTRun ()
#9  0x0005abe8 in main ()

>How-To-Repeat:
Edit src/external/mit/xorg/lib/libXft/Makefile and remove the -O0 hack, rebuild libXft, and run "xterm -fa monospace".
>Fix:



Home | Main Index | Thread Index | Old Index