Crash on OS X Baskerville.ttc when scrolling
Tyler Mitchell <[email protected]>
| Newsgroups | gmane.comp.fonts.fontforge.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I received a segfault when scrolling through the Baskerville.ttc file
(bundled with OS X). This only happens after Encoding > Compact is
selected. It doesn't seem to matter which exact font in the
collection is used, the result is the same.
The sources I'm using date from 2014-12-30.
Here is some output from lldb:
% lldb /usr/local/Cellar/fontforge/20141230/bin/fontforge
(lldb) target create "/usr/local/Cellar/fontforge/20141230/bin/fontforge"
Current executable set to '/usr/local/Cellar/fontforge/20141230/bin/fontforge' (x86_64).
(lldb) settings set target.run-args /Library/Fonts/Baskerville.ttc
(lldb) run
Process 94072 launched: '/usr/local/Cellar/fontforge/20141230/bin/fontforge' (x86_64)
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
Based on sources from 16:14 PST 9-Jan-2015-ML-D.
Based on source from git with hash:
no xdefs_filename!
TESTING: getPixmapDir:/usr/local/Cellar/fontforge/20141230/share/fontforge/pixmaps
TESTING: getShareDir:/usr/local/Cellar/fontforge/20141230/share/fontforge
TESTING: GResourceProgramDir:/usr/local/Cellar/fontforge/20141230/bin
trying default theme:/usr/local/Cellar/fontforge/20141230/share/fontforge/pixmaps/resources
fontforge.hasUserInterface!
PyFF_onAppClosing() cnt:1
else argv[i]:/Library/Fonts/Baskerville.ttc
SplineFontPieceMeal() going unhinted...
15-01-09 16:55:13 client beacon address: 10.172.126.83
Process 94072 stopped
* thread #1: tid = 0x85fd9c, 0x00007fff967d21b3 CoreFoundation`CFNumberGetValue + 131, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x00007fff967d21b3 CoreFoundation`CFNumberGetValue + 131
CoreFoundation`CFNumberGetValue + 131:
-> 0x7fff967d21b3: movq (%rbx), %rax
0x7fff967d21b6: testq %rax, %rax
0x7fff967d21b9: je 0x7fff967d21fb ; CFNumberGetValue + 203
0x7fff967d21bb: leaq -0x17f0fdaa(%rip), %rcx ; __CFConstantStringClassReferencePtr
(lldb) bt
* thread #1: tid = 0x85fd9c, 0x00007fff967d21b3 CoreFoundation`CFNumberGetValue + 131, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00007fff967d21b3 CoreFoundation`CFNumberGetValue + 131
frame #1: 0x0000000100a8bbbf libpangocairo-1.0.0.dylib`ct_font_descriptor_get_weight + 64
frame #2: 0x0000000100a8b93b libpangocairo-1.0.0.dylib`_pango_core_text_font_description_from_ct_font_descriptor + 68
frame #3: 0x0000000100a8de74 libpangocairo-1.0.0.dylib`pango_cairo_core_text_font_describe_absolute + 15
frame #4: 0x0000000100a8dcdb libpangocairo-1.0.0.dylib`pango_cairo_core_text_font_create_base_metrics_for_context + 243
frame #5: 0x0000000100a87c0e libpangocairo-1.0.0.dylib`_pango_cairo_font_get_metrics + 359
frame #6: 0x00000001003393e5 libgdraw.5.dylib`_GXPDraw_DoText8 + 232
frame #7: 0x00000001002f3cc9 libgdraw.5.dylib`GDrawGetText8Bounds + 86
frame #8: 0x00000001000c62a6 libfontforgeexe.2.dylib`v_e_h + 4370
frame #9: 0x00000001002f0779 libgdraw.5.dylib`_GWidget_Container_eh + 227
frame #10: 0x0000000100335fea libgdraw.5.dylib`GXDrawSendExpose + 180
frame #11: 0x0000000100331683 libgdraw.5.dylib`GXDrawScroll + 311
frame #12: 0x00000001000c5161 libfontforgeexe.2.dylib`FVScroll + 200
frame #13: 0x0000000100320cc8 libgdraw.5.dylib`GScrollBarChanged + 140
frame #14: 0x0000000100320499 libgdraw.5.dylib`gscrollbar_mouse + 559
frame #15: 0x00000001002f09c8 libgdraw.5.dylib`_GWidget_Container_eh + 818
frame #16: 0x00000001002f1220 libgdraw.5.dylib`_GWidget_TopLevel_eh + 1052
frame #17: 0x0000000100335133 libgdraw.5.dylib`dispatchEvent + 5725
frame #18: 0x000000010033292c libgdraw.5.dylib`GXDrawEventLoop + 65
frame #19: 0x000000010015ac0a libfontforgeexe.2.dylib`fontforge_main + 6304
frame #20: 0x00007fff954285fd libdyld.dylib`start + 1
frame #21: 0x00007fff954285fd libdyld.dylib`start + 1
(lldb)
If I can provide any more information to help track this down,
please let me know.
Many thanks,
Tyler
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
fontforge-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fontforge-devel
http://fontforge.10959.n7.nabble.com/Developer-f3.html