Summary: | mkfontdir crashes on Mac 10.11.5 | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Douglas Fields <doug-xquartzbug> | ||||
Component: | App/mkfont* | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | major | ||||||
Priority: | medium | CC: | doug-xquartzbug | ||||
Version: | git | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Mac OS X (All) | ||||||
Whiteboard: | milestone:xquartz-2.7.10 | ||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Douglas Fields
2016-07-12 16:46:07 UTC
Please attach the full crash log, which you can find in ~/Library/Logs/DiagnosticReports. Created attachment 125067 [details]
Requested DiagnosticReport
As requested, one of the (about a dozen) mkfontscale files in the DiagnosticReports directory.
*** Bug 97758 has been marked as a duplicate of this bug. *** Application Specific Information: ================================================================= ==3068==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300000de6f at pc 0x000109df79d1 bp 0x7fff55e37d90 sp 0x7fff55e37550 READ of size 1 at 0x60300000de6f thread T0 #0 0x109de9000 + 59856 (missing dsyms, likely in /opt/X11/*/libclang_rt.asan_osx_dynamic.dylib) #1 fontFileOpen (ident.c:86) #2 bitmapIdentify (ident.c:232) #3 doDirectory (mkfontscale.c:877) #4 main (mkfontscale.c:269) #5 start (src/start_glue.s:47) #6 0x3 (<unknown module>) 0x60300000de6f is located 1 bytes to the left of 20-byte region [0x60300000de70,0x60300000de84) allocated by thread T0 here: #0 0x109de9000 + 308592 (missing dsyms, likely in /opt/X11/*/libclang_rt.asan_osx_dynamic.dylib) #1 dsprintf (list.c:71) #2 doDirectory (mkfontscale.c:857) #3 main (mkfontscale.c:269) #4 start (src/start_glue.s:47) #5 0x3 (<unknown module>) To ssh://git.freedesktop.org/git/xorg/app/mkfontscale ecb248d..07b761b master -> master Please test that this is fixed in XQuartz 2.7.10_rc3. Note you might need to wait for 2.7.11_beta1 to really confirm the fix since 2.7.10_rc3 doesn't have ASan enabled. I have tested 2.7.10_rc5 on my laptop (OS X 10.11.6, 2013 MBA 11") and mkfontdir seems to work properly and no longer crashes even on empty directories. Thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.