Skip to content

Instantly share code, notes, and snippets.

@davelab6
Created August 28, 2013 10:05
Show Gist options
  • Save davelab6/6364409 to your computer and use it in GitHub Desktop.
Save davelab6/6364409 to your computer and use it in GitHub Desktop.
Debug output for a FontForge crash, reported at https://github.com/fontforge/fontforge/issues/700
Script started on Wed Aug 28 12:02:06 2013
(lldb) error: Aborting reading of commands after command #5: 'run' continued the target.
Executing commands in '/Applications/FontForge.app/Contents/MacOS/debug-script'.
(lldb) version
LLDB-179.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=localhost )
(lldb) run
Process 26193 launched: '/Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge' (x86_64)
Copyright (c) 2000-2012 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.
Executable based on sources from 04:15 EST 28-Aug-2013-ML-NoPython-D.
Library based on sources from 04:15 EST 28-Aug-2013.
Based on source from git with hash:9a31cb7699f48114242a0c48090777d101e0dabb
before GDrawWindowFontMetrics()
after GDrawWindowFontMetrics()
collabclient_sniffForLocalServer_timer() p:pong
******* have local server!
Process 26193 stopped
* thread #1: tid = 0x1c03, 0x000000010004ca0b libfontforgeexe-2.0.0_beta1.dylib`CVFindAndVisitSelectedControlPoints + 59, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
"frame #0: 0x000000010004ca0b libfontforgeexe-2.0.0_beta1.dylib`CVFindAndVisitSelectedControlPoints + 59
"libfontforgeexe-2.0.0_beta1.dylib`CVFindAndVisitSelectedControlPoints + 59:
-> 0x10004ca0b: movq (%rax), %rdi
0x10004ca0e: leaq 102763(%rip), %rsi ; getSelectedControlPointsVisitor
0x10004ca15: movq %rbx, %rdx
0x10004ca18: callq 0x10018af64 ; symbol stub for: SPLFirstVisit
(lldb) bt
* thread #1: tid = 0x1c03, 0x000000010004ca0b libfontforgeexe-2.0.0_beta1.dylib`CVFindAndVisitSelectedControlPoints + 59, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
"frame #0: 0x000000010004ca0b libfontforgeexe-2.0.0_beta1.dylib`CVFindAndVisitSelectedControlPoints + 59
" "frame #1: 0x0000000100096517 libfontforgeexe-2.0.0_beta1.dylib`CVMouseDownPointer + 2359
" "frame #2: 0x0000000100054a9c libfontforgeexe-2.0.0_beta1.dylib`v_e_h + 2476
" "frame #3: 0x00000001006c8b6e libgdraw-2.0.0_beta1.dylib`_GWidget_Container_eh + 1870
" "frame #4: 0x0000000100711a8d libgdraw-2.0.0_beta1.dylib`dispatchEvent + 5789
" "frame #5: 0x000000010070f055 libgdraw-2.0.0_beta1.dylib`GXDrawEventLoop + 85
" "frame #6: 0x000000010017241e libfontforgeexe-2.0.0_beta1.dylib`fontforge_main + 286
" "frame #7: 0x000000010000ff24 fontforge`start + 52
"(lldb) q
Script done on Wed Aug 28 12:02:13 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment