[MacPorts] #59661: fontforge + glib2 Illegal instruction crash on my very old Mac

MacPorts noreply at macports.org
Sun Nov 10 20:57:16 UTC 2019


#59661: fontforge + glib2 Illegal instruction crash on my very old Mac
-----------------------+-----------------------------
 Reporter:  snowflake  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.99
 Keywords:             |       Port:  fontforge glib2
-----------------------+-----------------------------
 fontforge.app is not making it to the initial screen. It crashes with an
 illegal instruction. My Mac is very old
 and only has a Core 2 Duo processor T7700.   OS is El Capitan 10.11.6.
 fontforge seems to be OK if run as a command line app.

 This is not the crash reported in #57249.  The crash may be in a library
 provided by or copied from glib2

 I invoked Fontforge with the lldb script in  Fontforge.app/Contents/MacOS.
 Here is the result

 {{{
 Script started on Sun Nov 10 20:28:21 2019
 command: lldb -S debug-script
 "crashlog" and "save_crashlog" command installed, use the "--help" option
 for detailed help
 "malloc_info", "ptr_refs", "cstr_refs", "find_variable", and "objc_refs"
 commands have been installed, use the "--help" options on these commands
 for detailed help.
 (lldb) command source -s 0 'debug-script'
 Executing commands in '/Applications/FontForge.app/Contents/MacOS/debug-
 script'.
 (lldb) version
 lldb-360.1.70
 (lldb) script print sys.version
 2.7.10 (default, Oct 23 2015, 19:19:21)
 [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
 (lldb) settings set frame-format "frame #${frame.index}: ${frame.pc}{
 ${module.file.basename}`${function.name-with-args}{${function.pc-
 offset}}}{ at ${line.file.basename}:${line.number}}\n"
 (lldb) target create
 /Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge
 Current executable set to
 '/Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge'
 (x86_64).
 (lldb) target select 0
 Current targets:
 * target #0:
 /Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge (
 arch=x86_64-apple-macosx, platform=host )
 (lldb) #run -SkipPythonInitFiles
 (lldb) # please type the run command to start FontForge
 (lldb) #
 (lldb) # run
 (lldb) #
 (lldb) run
 Process 22576 launched:
 '/Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge'
 (x86_64)
 Process 22576 stopped
 * thread #1: tid = 0x8a816a, 0x0000000101502c40
 libglib-2.0.0.dylib`g_hash_table_insert_node + 480, queue = 'com.apple
 .main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP,
 subcode=0x0)
     frame #0: 0x0000000101502c40
 libglib-2.0.0.dylib`g_hash_table_insert_node + 480
 libglib-2.0.0.dylib`g_hash_table_insert_node:
 ->  0x101502c40 <+480>: pmovzxdq -0x8(%rcx), %xmm0         ; xmm0 =
 mem[0],zero,mem[1],zero
     0x101502c46 <+486>: pmovzxdq (%rcx), %xmm1             ; xmm1 =
 mem[0],zero,mem[1],zero
     0x101502c4b <+491>: movdqu %xmm0, -0x10(%rdx)
     0x101502c50 <+496>: movdqu %xmm1, (%rdx)
 (lldb) quit

 Script done on Sun Nov 10 20:28:35 2019
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59661>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list