Skip to content

Instantly share code, notes, and snippets.

@davelab6
Created August 28, 2013 10:20
Show Gist options
  • Select an option

  • Save davelab6/6364514 to your computer and use it in GitHub Desktop.

Select an option

Save davelab6/6364514 to your computer and use it in GitHub Desktop.
Script started on Wed Aug 28 12:12:44 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 26416 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!
can close local server: 1
connecting to server...
collabclient_new() address:localhost port:5556
rc:0 fd:31
collabclient_sessionJoin(top)
timeoutMS:1000 timeWaitedMS:0
timeoutMS:1000 timeWaitedMS:50
I: storing seq=1 type:msg_type_sfd
data_size:951
13-08-28 12:12:53 I: have size
13-08-28 12:12:53 I: frame & body... key:/client/0
timeoutMS:1000 timeWaitedMS:50
I: received snapshot=1
collabclient_sessionJoin(done with netio getting snapshot)
collabclient_sessionJoin() lastSFD:0x10432f010
collabclient_getState( fv ) 3 3
applying updates from server that were performed after the SFD snapshot was done...
collabclient_sessionJoin(complete)
FVMenuCollabConnect(done)
can close local server: 1
zeromq_subscriber_fd_callback() have message! cc:0x101e4bf80
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x104327770
fv:0x104327770
pos:0
sc:0x106801780
sc.name:N
data.size:152
created charview:0x10700aa00
have charview:0x10700aa00
collabclient_getState( fv ) 3 3
I: processed update=2
13-08-28 12:13:04 I: have size
13-08-28 12:13:04 I: frame & body... key:/client/1
I: received up13-08-28 12:12:53 I: sending shapshot=1
13-08-28 12:13:04 I: publishing update=2 type:msg_type_undo
13-08-28 12:13:04 I: hash size:1
13-08-28 12:13:04 I: have size
13-08-28 12:13:04 I: frame & body... key:/client/1
zeromq_subscriber_fd_callback() have message! cc:0x101e50220
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x101e38c60
fv:0x101e38c60
pos:0
sc:0x102a19be0
sc.name:N
data.size:152
created charview:0x103041000
have charview:0x103041000
collabclient_getState( fv ) 2 2
I: processed update=2
13-08-28 12:13:04 I: have size
13-08-28 12:13:04 I: frame & body... key:/client/1
I: received update=2
13-08-28 12:13:10 I: publishing update=3 type:msg_type_undo
13-08-28 12:13:10 I: hash size:2
13-08-28 12:13:10 I: have size
13-08-28 12:13:10 I: frame & body... key:/client/2
zeromq_subscriber_fd_callback() have message! cc:0x101e50220
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x101e38c60
fv:0x101e38c60
pos:0
sc:0x102a19be0
sc.name:N
data.size:198
have charview:0x103041000
I: processed update=3
13-08-28 12:13:10 I: have size
13-08-28 12:13:10 I: frame & body... key:/client/2
I: received update=3
13-08-28 12:13:11 I: publishing update=4 type:msg_type_undo
13-08-28 12:13:11 I: hash size:3
13-08-28 12:13:11 I: have size
13-08-28 12:13:11 I: frame & body... key:/client/3
zeromq_subscriber_fd_callback() have message! cc:0x101e50220
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x101e38c60
fv:0x101e38c60
pos:0
sc:0x102a19be0
sc.name:N
data.size:222
have charview:0x103041000
I: processed update=4
13-08-28 12:13:11 I: have size
13-08-28 12:13:11 I: frame & body... key:/client/3
I: received update=4
13-0I: processed update=7
13-08-28 12:13:18 I: have size
13-08-28 12:13:18 I: frame & body... key:/client/6
I: received update=7
skipping!
CVPreserveState() no_windowing_ui:0 maxundoes:120
collabclient_sendRedo(SC) fv:0x104327770
collabclient_sendRedo() preserveUndo:0x102a16eb0
collabclient_sendRedo() undo:0x102a16eb0
collabclient_sendRedo_Internal()
uuid:[1021 220 1230897066 14372611]
wrote undo sfd... filename: /var/folders/00/0y108000h01000cxqpysvccm003r41/T//fontforge-collab-x.sfd
read undo sfd, data:0x102b03df0
timers1...
timers2...
sfd:0x102b03df0...
pos:0
sc.name:N
data.size:274
13-08-28 12:13:58 Sent a undo chunk of 274 bytes to the server
zeromq_subscriber_fd_callback() have message! cc:0x101e4bf80
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x104327770
fv:0x104327770
pos:0
sc:0x106801780
sc.name:N
data.size:274
have charview:0x10700aa00
I: processed update=8
13-08-28 12:13:58 I: have size
13-08-28 12:13:58 I: frame & body... key:/client/7
I: received update=8
I: frame & body... key:/client/5
I: received update=6
13-08-28 12:13:18 I: publishing update=7 type:msg_type_undo
13-08-28 12:13:18 I: hash size:6
13-08-28 12:13:18 I: have size
13-08-28 12:13:18 I: frame & body... key:/client/6
zeromq_subscriber_fd_callback() have message! cc:0x101e50220
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x101e38c60
fv:0x101e38c60
pos:0
sc:0x102a19be0
sc.name:N
data.size:294
have charview:0x103041000
I: processed update=7
13-08-28 12:13:18 I: have size
13-08-28 12:13:18 I: frame & body... key:/client/6
I: received update=7
13-08-28 12:13:58 I: publishing update=8 type:msg_type_undo
13-08-28 12:13:58 I: hash size:7
13-08-28 12:13:58 I: have size
13-08-28 12:13:58 I: frame & body... key:/client/7
zeromq_subscriber_fd_callback() have message! cc:0x101e50220
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x101e38c60
fv:0x101e38c60
pos:0
sc:0x102a19be0
sc.name:N
data.size:274
have charview:0x103041000
I: processed update=8
13-08-28 12:13:58 I: have size
13-08-28 12:13:58 I: frame & body... key:/client/7
I: received update=8
I: processed update=6
13-08-28 12:13:11 I: have size
13-08-28 12:13:11 I: frame & body... key:/client/5
I: received update=6
CVPreserveState() no_windowing_ui:0 maxundoes:120
collabclient_sendRedo(SC) fv:0x101a5a320
collabclient_sendRedo() preserveUndo:0x104619150
collabclient_sendRedo() undo:0x104619150
collabclient_sendRedo_Internal()
uuid:[1021 220 1230897066 14372611]
wrote undo sfd... filename: /var/folders/00/0y108000h01000cxqpysvccm003r41/T//fontforge-collab-x.sfd
read undo sfd, data:0x101e76890
timers1...
timers2...
sfd:0x101e76890...
pos:0
sc.name:N
data.size:294
13-08-28 12:13:18 Sent a undo chunk of 294 bytes to the server
zeromq_subscriber_fd_callback() have message! cc:0x103610ee0
cc process_update() uuid:[1021 220 1230897066 14372611]
FontViewFind(top) fv_list:0x101a5a320
fv:0x101a5a320
pos:0
sc:0x103119320
sc.name:N
data.size:294
have charview:0x102848800
I: processed update=7
13-08-28 12:13:18 I: have size
13-08-28 12:13:18 I: frame & body... key:/client/6
I: received update=7
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
MV_LBearingChanged(top) **************
collabclient_sendRedo(SC) fv:0x101a5a320
collabclient_sendRedo() preserveUndo:0x101a68050
Process 26400 stopped
* thread #1: tid = 0x1c03, 0x00000001001898be libfontforgeexe-2.0.0_beta1.dylib`collabclient_sendRedo_SC + 126, stop reason = signal SIGSTOP
"frame #0: 0x00000001001898be libfontforgeexe-2.0.0_beta1.dylib`collabclient_sendRedo_SC + 126
"libfontforgeexe-2.0.0_beta1.dylib`collabclient_sendRedo_SC + 126:
-> 0x1001898be: cmpl $3, 8(%rax)
0x1001898c2: je 0x1001898b0 ; collabclient_sendRedo_SC + 112
0x1001898c4: movq %rbx, %rdi
0x1001898c7: movl $1, %esi
(lldb) bt
* thread #1: tid = 0x1c03, 0x00000001001898be libfontforgeexe-2.0.0_beta1.dylib`collabclient_sendRedo_SC + 126, stop reason = signal SIGSTOP
"frame #0: 0x00000001001898be libfontforgeexe-2.0.0_beta1.dylib`collabclient_sendRedo_SC + 126
" "frame #1: 0x0000000100115fd0 libfontforgeexe-2.0.0_beta1.dylib`MV_handle_collabclient_sendRedo + 48
" "frame #2: 0x0000000100122af1 libfontforgeexe-2.0.0_beta1.dylib`MV_LBearingChanged + 513
" "frame #3: 0x0000000100700e71 libgdraw-2.0.0_beta1.dylib`gtextfield_mouse + 3985
" "frame #4: 0x00000001006c86f7 libgdraw-2.0.0_beta1.dylib`_GWidget_Container_eh + 727
" "frame #5: 0x00000001006c9219 libgdraw-2.0.0_beta1.dylib`_GWidget_TopLevel_eh + 1401
" "frame #6: 0x0000000100711a8d libgdraw-2.0.0_beta1.dylib`dispatchEvent + 5789
" "frame #7: 0x000000010070f055 libgdraw-2.0.0_beta1.dylib`GXDrawEventLoop + 85
" "frame #8: 0x000000010017241e libfontforgeexe-2.0.0_beta1.dylib`fontforge_main + 286
" "frame #9: 0x000000010000ff24 fontforge`start + 52
"(lldb) q
Script done on Wed Aug 28 12:14:41 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment