Ticket #45309: gimp-lldb-b-workq.txt

File gimp-lldb-b-workq.txt, 13.9 KB (added by zhu527812567@…, 8 years ago)

lldb transcript, break at workq_open and workq_return

Line 
1$ LANG=C lldb gimp
2(lldb) target create "gimp"
3Current executable set to 'gimp' (x86_64).
4(lldb) b __workq_kernreturn
5Breakpoint 1: where = libsystem_kernel.dylib`__workq_kernreturn, address = 0x0000000000015e60
6(lldb) b __workq_open
7Breakpoint 2: where = libsystem_kernel.dylib`__workq_open, address = 0x0000000000015e78
8(lldb) run --verbose
9Process 10906 launched: '/opt/local/bin/gimp' (x86_64)
10Error spawning command line `launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET': Child process killed by signal 11
11INIT: gimp_load_config
12Parsing '/Users/$USER/Library/Application Support/GIMP/2.8/unitrc'
13Parsing '/opt/local/etc/gimp/2.0/gimprc'
14Parsing '/Users/$USER/Library/Application Support/GIMP/2.8/gimprc'
15gimp_composite: verbose=no
16Processor instruction sets: +mmx +sse +sse2 -3dnow -altivec -vis
17Dynamic session lookup supported but failed: launchctl terminated abnormally without any error message
18Not enough memory
19Adding theme 'Default' (/opt/local/share/gimp/2.0/themes/Default)
20Adding theme 'Nodoka' (/opt/local/share/gimp/2.0/themes/Nodoka)
21Adding theme 'Small' (/opt/local/share/gimp/2.0/themes/Small)
22Writing '/Users/$USER/Library/Application Support/GIMP/2.8/themerc'
23Trying splash '/Users/$USER/Library/Application Support/GIMP/2.8/gimp-splash.png' ... failed
24Trying splash '/opt/local/share/gimp/2.0/images/gimp-splash.png' ... OK
25Process 10906 stopped
26* thread #1: tid = 0x514c1, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
27    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
28libsystem_kernel.dylib`__workq_kernreturn:
29-> 0x7fff8a320e60:  movl   $0x2000170, %eax
30   0x7fff8a320e65:  movq   %rcx, %r10
31   0x7fff8a320e68:  syscall
32   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
33(lldb) bt
34* thread #1: tid = 0x514c1, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
35  * frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
36    frame #1: 0x00007fff8ca76f46 libsystem_pthread.dylib`pthread_workqueue_setdispatch_np + 45
37    frame #2: 0x00007fff926ebcce libdispatch.dylib`_dispatch_root_queues_init + 36
38    frame #3: 0x00007fff926ea28d libdispatch.dylib`_dispatch_client_callout + 8
39    frame #4: 0x00007fff926ea1fc libdispatch.dylib`dispatch_once_f + 79
40    frame #5: 0x00007fff926ebc28 libdispatch.dylib`_dispatch_queue_wakeup_global_slow + 230
41    frame #6: 0x00007fff8d3dcca9 CoreFoundation`__CFXNotificationCenterSetupConnection + 313
42    frame #7: 0x00007fff8d3dc9b7 CoreFoundation`__CFXNotificationCenterCreate + 343
43    frame #8: 0x00007fff8d3dc84a CoreFoundation`__CFNotificationCenterGetDistributedCenter_block_invoke + 26
44    frame #9: 0x00007fff926ea28d libdispatch.dylib`_dispatch_client_callout + 8
45    frame #10: 0x00007fff926ea1fc libdispatch.dylib`dispatch_once_f + 79
46    frame #11: 0x00007fff8d40cd63 CoreFoundation`CFNotificationCenterGetDistributedCenter + 83
47    frame #12: 0x00007fff8d40cca7 CoreFoundation`__71+[CFPrefsSource withSourceForIdentifier:user:byHost:container:perform:]_block_invoke + 23
48    frame #13: 0x00007fff926ea28d libdispatch.dylib`_dispatch_client_callout + 8
49    frame #14: 0x00007fff926ea1fc libdispatch.dylib`dispatch_once_f + 79
50    frame #15: 0x00007fff8d40caea CoreFoundation`+[CFPrefsSource withSourceForIdentifier:user:byHost:container:perform:] + 474
51    frame #16: 0x00007fff8d40c8fb CoreFoundation`-[CFPrefsSearchListSource addSourceForIdentifier:user:byHost:] + 123
52    frame #17: 0x00007fff8d407a03 CoreFoundation`+[CFPrefsSearchListSource withSearchListForIdentifier:perform:] + 323
53    frame #18: 0x00007fff8d407878 CoreFoundation`CFPreferencesCopyAppValue + 168
54    frame #19: 0x00007fff8d493347 CoreFoundation`CFLocaleCopyPreferredLanguages + 71
55    frame #20: 0x0000000100e5d03f libpango-1.0.0.dylib`pango_language_get_default + 65
56    frame #21: 0x0000000100e57fee libpango-1.0.0.dylib`pango_context_init + 57
57    frame #22: 0x00000001012429c6 libgobject-2.0.0.dylib`g_type_create_instance + 610
58    frame #23: 0x0000000101232996 libgobject-2.0.0.dylib`g_object_new_internal + 52
59    frame #24: 0x00000001012323b1 libgobject-2.0.0.dylib`g_object_newv + 458
60    frame #25: 0x00000001012321ad libgobject-2.0.0.dylib`g_object_new + 193
61    frame #26: 0x0000000100e5b1cb libpango-1.0.0.dylib`pango_font_map_create_context + 20
62    frame #27: 0x0000000100af9e56 libgdk-x11-2.0.0.dylib`gdk_pango_context_get_for_screen + 61
63    frame #28: 0x00000001008e1d07 libgtk-x11-2.0.0.dylib`gtk_widget_create_pango_context + 74
64    frame #29: 0x00000001008e1c7c libgtk-x11-2.0.0.dylib`gtk_widget_get_pango_context + 78
65    frame #30: 0x00000001008e1e4d libgtk-x11-2.0.0.dylib`gtk_widget_create_pango_layout + 59
66    frame #31: 0x0000000100013a92 gimp`splash_create + 944
67    frame #32: 0x0000000100010b94 gimp`gui_init + 416
68    frame #33: 0x000000010000c9c7 gimp`app_run + 308
69    frame #34: 0x000000010000ec13 gimp`main + 909
70    frame #35: 0x00007fff914165fd libdyld.dylib`start + 1
71(lldb) c
72Process 10906 resuming
73Process 10906 stopped
74* thread #1: tid = 0x514c1, 0x00007fff8a320e78 libsystem_kernel.dylib`__workq_open, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
75    frame #0: 0x00007fff8a320e78 libsystem_kernel.dylib`__workq_open
76libsystem_kernel.dylib`__workq_open:
77-> 0x7fff8a320e78:  movl   $0x200016f, %eax
78   0x7fff8a320e7d:  movq   %rcx, %r10
79   0x7fff8a320e80:  syscall
80   0x7fff8a320e82:  jae    0x7fff8a320e8c            ; __workq_open + 20
81(lldb) bt
82* thread #1: tid = 0x514c1, 0x00007fff8a320e78 libsystem_kernel.dylib`__workq_open, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
83  * frame #0: 0x00007fff8a320e78 libsystem_kernel.dylib`__workq_open
84    frame #1: 0x00007fff8ca76f5e libsystem_pthread.dylib`pthread_workqueue_setdispatch_np + 69
85    frame #2: 0x00007fff926ebcce libdispatch.dylib`_dispatch_root_queues_init + 36
86    frame #3: 0x00007fff926ea28d libdispatch.dylib`_dispatch_client_callout + 8
87    frame #4: 0x00007fff926ea1fc libdispatch.dylib`dispatch_once_f + 79
88    frame #5: 0x00007fff926ebc28 libdispatch.dylib`_dispatch_queue_wakeup_global_slow + 230
89    frame #6: 0x00007fff8d3dcca9 CoreFoundation`__CFXNotificationCenterSetupConnection + 313
90    frame #7: 0x00007fff8d3dc9b7 CoreFoundation`__CFXNotificationCenterCreate + 343
91    frame #8: 0x00007fff8d3dc84a CoreFoundation`__CFNotificationCenterGetDistributedCenter_block_invoke + 26
92    frame #9: 0x00007fff926ea28d libdispatch.dylib`_dispatch_client_callout + 8
93    frame #10: 0x00007fff926ea1fc libdispatch.dylib`dispatch_once_f + 79
94    frame #11: 0x00007fff8d40cd63 CoreFoundation`CFNotificationCenterGetDistributedCenter + 83
95    frame #12: 0x00007fff8d40cca7 CoreFoundation`__71+[CFPrefsSource withSourceForIdentifier:user:byHost:container:perform:]_block_invoke + 23
96    frame #13: 0x00007fff926ea28d libdispatch.dylib`_dispatch_client_callout + 8
97    frame #14: 0x00007fff926ea1fc libdispatch.dylib`dispatch_once_f + 79
98    frame #15: 0x00007fff8d40caea CoreFoundation`+[CFPrefsSource withSourceForIdentifier:user:byHost:container:perform:] + 474
99    frame #16: 0x00007fff8d40c8fb CoreFoundation`-[CFPrefsSearchListSource addSourceForIdentifier:user:byHost:] + 123
100    frame #17: 0x00007fff8d407a03 CoreFoundation`+[CFPrefsSearchListSource withSearchListForIdentifier:perform:] + 323
101    frame #18: 0x00007fff8d407878 CoreFoundation`CFPreferencesCopyAppValue + 168
102    frame #19: 0x00007fff8d493347 CoreFoundation`CFLocaleCopyPreferredLanguages + 71
103    frame #20: 0x0000000100e5d03f libpango-1.0.0.dylib`pango_language_get_default + 65
104    frame #21: 0x0000000100e57fee libpango-1.0.0.dylib`pango_context_init + 57
105    frame #22: 0x00000001012429c6 libgobject-2.0.0.dylib`g_type_create_instance + 610
106    frame #23: 0x0000000101232996 libgobject-2.0.0.dylib`g_object_new_internal + 52
107    frame #24: 0x00000001012323b1 libgobject-2.0.0.dylib`g_object_newv + 458
108    frame #25: 0x00000001012321ad libgobject-2.0.0.dylib`g_object_new + 193
109    frame #26: 0x0000000100e5b1cb libpango-1.0.0.dylib`pango_font_map_create_context + 20
110    frame #27: 0x0000000100af9e56 libgdk-x11-2.0.0.dylib`gdk_pango_context_get_for_screen + 61
111    frame #28: 0x00000001008e1d07 libgtk-x11-2.0.0.dylib`gtk_widget_create_pango_context + 74
112    frame #29: 0x00000001008e1c7c libgtk-x11-2.0.0.dylib`gtk_widget_get_pango_context + 78
113    frame #30: 0x00000001008e1e4d libgtk-x11-2.0.0.dylib`gtk_widget_create_pango_layout + 59
114    frame #31: 0x0000000100013a92 gimp`splash_create + 944
115    frame #32: 0x0000000100010b94 gimp`gui_init + 416
116    frame #33: 0x000000010000c9c7 gimp`app_run + 308
117    frame #34: 0x000000010000ec13 gimp`main + 909
118    frame #35: 0x00007fff914165fd libdyld.dylib`start + 1
119(lldb) c
120Process 10906 resuming
121Process 10906 stopped
122* thread #1: tid = 0x514c1, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
123    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
124libsystem_kernel.dylib`__workq_kernreturn:
125-> 0x7fff8a320e60:  movl   $0x2000170, %eax
126   0x7fff8a320e65:  movq   %rcx, %r10
127   0x7fff8a320e68:  syscall
128   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
129(lldb) c
130Process 10906 resuming
131Process 10906 stopped
132* thread #10: tid = 0x51827, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, stop reason = breakpoint 1.1
133    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
134libsystem_kernel.dylib`__workq_kernreturn:
135-> 0x7fff8a320e60:  movl   $0x2000170, %eax
136   0x7fff8a320e65:  movq   %rcx, %r10
137   0x7fff8a320e68:  syscall
138   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
139(lldb) c
140Process 10906 resuming
141Process 10906 stopped
142* thread #11: tid = 0x51828, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.libdispatch-manager', stop reason = breakpoint 1.1
143    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
144libsystem_kernel.dylib`__workq_kernreturn:
145-> 0x7fff8a320e60:  movl   $0x2000170, %eax
146   0x7fff8a320e65:  movq   %rcx, %r10
147   0x7fff8a320e68:  syscall
148   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
149(lldb) c
150Process 10906 resuming
151Process 10906 stopped
152* thread #10: tid = 0x51827, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, stop reason = breakpoint 1.1
153    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
154libsystem_kernel.dylib`__workq_kernreturn:
155-> 0x7fff8a320e60:  movl   $0x2000170, %eax
156   0x7fff8a320e65:  movq   %rcx, %r10
157   0x7fff8a320e68:  syscall
158   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
159(lldb)
160Process 10906 resuming
161Process 10906 stopped
162* thread #1: tid = 0x514c1, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
163    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
164libsystem_kernel.dylib`__workq_kernreturn:
165-> 0x7fff8a320e60:  movl   $0x2000170, %eax
166   0x7fff8a320e65:  movq   %rcx, %r10
167   0x7fff8a320e68:  syscall
168   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
169(lldb)
170Process 10906 resuming
171Process 10906 stopped
172* thread #10: tid = 0x51827, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, stop reason = breakpoint 1.1
173    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
174libsystem_kernel.dylib`__workq_kernreturn:
175-> 0x7fff8a320e60:  movl   $0x2000170, %eax
176   0x7fff8a320e65:  movq   %rcx, %r10
177   0x7fff8a320e68:  syscall
178   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
179  thread #11: tid = 0x51828, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.libdispatch-manager', stop reason = breakpoint 1.1
180    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
181libsystem_kernel.dylib`__workq_kernreturn:
182-> 0x7fff8a320e60:  movl   $0x2000170, %eax
183   0x7fff8a320e65:  movq   %rcx, %r10
184   0x7fff8a320e68:  syscall
185   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
186(lldb)
187Process 10906 resuming
188Process 10906 stopped
189* thread #10: tid = 0x51827, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, stop reason = breakpoint 1.1
190    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
191libsystem_kernel.dylib`__workq_kernreturn:
192-> 0x7fff8a320e60:  movl   $0x2000170, %eax
193   0x7fff8a320e65:  movq   %rcx, %r10
194   0x7fff8a320e68:  syscall
195   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
196  thread #11: tid = 0x51828, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.libdispatch-manager', stop reason = breakpoint 1.1
197    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
198libsystem_kernel.dylib`__workq_kernreturn:
199-> 0x7fff8a320e60:  movl   $0x2000170, %eax
200   0x7fff8a320e65:  movq   %rcx, %r10
201   0x7fff8a320e68:  syscall
202   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
203(lldb)
204Process 10906 resuming
205Process 10906 stopped
206* thread #10: tid = 0x51827, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, queue = 'com.apple.root.default-overcommit-priority', stop reason = breakpoint 1.1
207    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
208libsystem_kernel.dylib`__workq_kernreturn:
209-> 0x7fff8a320e60:  movl   $0x2000170, %eax
210   0x7fff8a320e65:  movq   %rcx, %r10
211   0x7fff8a320e68:  syscall
212   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20
213(lldb)
214Process 10906 resuming
215Process 10906 stopped
216* thread #12: tid = 0x51832, 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn, stop reason = breakpoint 1.1
217    frame #0: 0x00007fff8a320e60 libsystem_kernel.dylib`__workq_kernreturn
218libsystem_kernel.dylib`__workq_kernreturn:
219-> 0x7fff8a320e60:  movl   $0x2000170, %eax
220   0x7fff8a320e65:  movq   %rcx, %r10
221   0x7fff8a320e68:  syscall
222   0x7fff8a320e6a:  jae    0x7fff8a320e74            ; __workq_kernreturn + 20