Ticket #45309: gimp-lldb-transcript-pthread_atfork.txt

File gimp-lldb-transcript-pthread_atfork.txt, 12.6 KB (added by dtakahashi@…, 9 years ago)

lldb transcript breaking at pthread_atfork()

Line 
1$ lldb /opt/local/bin/gimp
2Current executable set to '/opt/local/bin/gimp' (x86_64).
3(lldb) b pthread_atfork
4Breakpoint 1: where = libsystem_c.dylib`pthread_atfork, address = 0x000000000001c0ff
5(lldb) r
6Process 668 launched: '/opt/local/bin/gimp' (x86_64)
7Process 668 stopped
8* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
9    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
10libsystem_c.dylib`pthread_atfork:
11-> 0x7fff92e420ff:  pushq  %rbp
12   0x7fff92e42100:  movq   %rsp, %rbp
13   0x7fff92e42103:  pushq  %r15
14   0x7fff92e42105:  pushq  %r14
15(lldb) l
16(lldb) bt
17* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
18    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
19    frame #1: 0x00007fff93837396 CoreFoundation`__CFInitialize + 262
20    frame #2: 0x00007fff5fc13256 dyld`ImageLoaderMachO::doImageInit(ImageLoader::LinkContext const&) + 166
21    frame #3: 0x00007fff5fc13757 dyld`ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 35
22    frame #4: 0x00007fff5fc1006e dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 380
23    frame #5: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
24    frame #6: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
25    frame #7: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
26    frame #8: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
27    frame #9: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
28    frame #10: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
29    frame #11: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
30    frame #12: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
31    frame #13: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
32    frame #14: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
33    frame #15: 0x00007fff5fc0feba dyld`ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
34    frame #16: 0x00007fff5fc01fc0 dyld`dyld::initializeMainExecutable() + 207
35    frame #17: 0x00007fff5fc05b04 dyld`dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 3060
36    frame #18: 0x00007fff5fc01397 dyld`dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 761
37    frame #19: 0x00007fff5fc0105e dyld`_dyld_start + 54
38(lldb) c
39Process 668 resuming
40Process 668 stopped
41* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
42    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
43libsystem_c.dylib`pthread_atfork:
44-> 0x7fff92e420ff:  pushq  %rbp
45   0x7fff92e42100:  movq   %rsp, %rbp
46   0x7fff92e42103:  pushq  %r15
47   0x7fff92e42105:  pushq  %r14
48(lldb) bt
49* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
50    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
51    frame #1: 0x00007fff92e3bfc0 libsystem_c.dylib`pthread_once + 87
52    frame #2: 0x00007fff5fc13378 dyld`ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 236
53    frame #3: 0x00007fff5fc13762 dyld`ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 46
54    frame #4: 0x00007fff5fc1006e dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 380
55    frame #5: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
56    frame #6: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
57    frame #7: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
58    frame #8: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
59    frame #9: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
60    frame #10: 0x00007fff5fc0ffc4 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 210
61    frame #11: 0x00007fff5fc0feba dyld`ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
62    frame #12: 0x00007fff5fc04e38 dyld`dyld::runInitializers(ImageLoader*) + 89
63    frame #13: 0x00007fff5fc0a87c dyld`dlopen + 581
64    frame #14: 0x00007fff952cfdd8 libdyld.dylib`dlopen + 57
65    frame #15: 0x000000010124b319 libgmodule-2.0.0.dylib`g_module_open + 1382
66    frame #16: 0x00000001011fc6ca libgegl-0.2.0.dylib`gegl_module_open + 20
67    frame #17: 0x00000001011fc2c6 libgegl-0.2.0.dylib`gegl_module_load + 84
68    frame #18: 0x00000001011fc231 libgegl-0.2.0.dylib`gegl_module_new + 152
69    frame #19: 0x00000001011fcf57 libgegl-0.2.0.dylib`gegl_module_db_module_initialize + 157
70    frame #20: 0x00000001011fbf5f libgegl-0.2.0.dylib`gegl_datafiles_read_directories + 653
71    frame #21: 0x00000001011df7c3 libgegl-0.2.0.dylib`gegl_post_parse_hook + 587
72    frame #22: 0x000000010149166e libglib-2.0.0.dylib`g_option_context_parse + 2092
73    frame #23: 0x0000000101492076 libglib-2.0.0.dylib`g_option_context_parse_strv + 52
74    frame #24: 0x000000010000fde8 gimp`main + 529
75    frame #25: 0x00007fff952d07e1 libdyld.dylib`start + 1
76(lldb) c
77Process 668 resuming
78Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
79Error spawning command line `launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET': Child process killed by signal 11
80Process 668 stopped
81* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
82    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
83libsystem_c.dylib`pthread_atfork:
84-> 0x7fff92e420ff:  pushq  %rbp
85   0x7fff92e42100:  movq   %rsp, %rbp
86   0x7fff92e42103:  pushq  %r15
87   0x7fff92e42105:  pushq  %r14
88(lldb) bt
89* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
90    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
91    frame #1: 0x00007fff9283aad2 libsystem_info.dylib`__si_module_static_mdns_block_invoke_0 + 49
92    frame #2: 0x00007fff943c10b6 libdispatch.dylib`_dispatch_client_callout + 8
93    frame #3: 0x00007fff943c1041 libdispatch.dylib`dispatch_once_f + 50
94    frame #4: 0x00007fff9283aa98 libsystem_info.dylib`si_module_static_mdns + 33
95    frame #5: 0x00007fff9283a489 libsystem_info.dylib`si_module_with_name + 62
96    frame #6: 0x00007fff9283a8dd libsystem_info.dylib`si_module_config_modules_for_category + 132
97    frame #7: 0x00007fff9283a5e0 libsystem_info.dylib`__si_module_static_search_block_invoke_0 + 87
98    frame #8: 0x00007fff943c10b6 libdispatch.dylib`_dispatch_client_callout + 8
99    frame #9: 0x00007fff943c1041 libdispatch.dylib`dispatch_once_f + 50
100    frame #10: 0x00007fff9283a580 libsystem_info.dylib`si_module_static_search + 33
101    frame #11: 0x00007fff9283a489 libsystem_info.dylib`si_module_with_name + 62
102    frame #12: 0x00007fff9283a412 libsystem_info.dylib`getpwuid + 32
103    frame #13: 0x00007fff93831b2c CoreFoundation`CFCopyHomeDirectoryURLForUser + 76
104    frame #14: 0x00007fff97ba2c80 Foundation`NSHomeDirectoryForUser + 12
105    frame #15: 0x00007fff97b900d7 Foundation`_NSExpandTildeInPath + 131
106    frame #16: 0x00007fff97ba2c0a Foundation`-[NSString(NSPathUtilities) stringByExpandingTildeInPath] + 117
107    frame #17: 0x00007fff97b95741 Foundation`NSSearchPathForDirectoriesInDomains + 271
108    frame #18: 0x0000000100ee4c7c libgimpbase-2.0.0.dylib`gimp_directory + 246
109    frame #19: 0x000000010000eafd gimp`sanity_check + 1187
110    frame #20: 0x000000010000fe59 gimp`main + 642
111    frame #21: 0x00007fff952d07e1 libdyld.dylib`start + 1
112(lldb) c
113Process 668 resuming
114Process 668 stopped
115* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
116    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
117libsystem_c.dylib`pthread_atfork:
118-> 0x7fff92e420ff:  pushq  %rbp
119   0x7fff92e42100:  movq   %rsp, %rbp
120   0x7fff92e42103:  pushq  %r15
121   0x7fff92e42105:  pushq  %r14
122(lldb) bt
123* thread #1: tid = 0x39e8, 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
124    frame #0: 0x00007fff92e420ff libsystem_c.dylib`pthread_atfork
125    frame #1: 0x00007fff943c10b6 libdispatch.dylib`_dispatch_client_callout + 8
126    frame #2: 0x00007fff943c1041 libdispatch.dylib`dispatch_once_f + 50
127    frame #3: 0x00007fff9283aef2 libsystem_info.dylib`_od_xpc_pipe + 38
128    frame #4: 0x00007fff9283ae95 libsystem_info.dylib`_od_running + 13
129    frame #5: 0x00007fff9283ae2f libsystem_info.dylib`ds_user_byuid + 17
130    frame #6: 0x00007fff9283ac12 libsystem_info.dylib`search_item_bynumber + 87
131    frame #7: 0x00007fff9283a423 libsystem_info.dylib`getpwuid + 49
132    frame #8: 0x00007fff93831b2c CoreFoundation`CFCopyHomeDirectoryURLForUser + 76
133    frame #9: 0x00007fff97ba2c80 Foundation`NSHomeDirectoryForUser + 12
134    frame #10: 0x00007fff97b900d7 Foundation`_NSExpandTildeInPath + 131
135    frame #11: 0x00007fff97ba2c0a Foundation`-[NSString(NSPathUtilities) stringByExpandingTildeInPath] + 117
136    frame #12: 0x00007fff97b95741 Foundation`NSSearchPathForDirectoriesInDomains + 271
137    frame #13: 0x0000000100ee4c7c libgimpbase-2.0.0.dylib`gimp_directory + 246
138    frame #14: 0x000000010000eafd gimp`sanity_check + 1187
139    frame #15: 0x000000010000fe59 gimp`main + 642
140    frame #16: 0x00007fff952d07e1 libdyld.dylib`start + 1
141(lldb) c
142Process 668 resuming
143Dynamic session lookup supported but failed: launchctl terminated abnormally without any error message
144Not enough memory
145Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
146
147(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
148Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
149
150(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
151Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
152
153(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
154Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
155
156(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
157Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
158
159(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
160Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
161
162(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
163Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
164
165(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
166Process 668 stopped and restarted: thread 1 received signal: SIGCHLD
167
168(gimp:668): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
169Process 668 stopped
170* thread #1: tid = 0x39e8, 0x00007fff92f93ffa libsystem_kernel.dylib`read + 10, queue = 'com.apple.main-thread, stop reason = signal SIGSTOP
171    frame #0: 0x00007fff92f93ffa libsystem_kernel.dylib`read + 10
172libsystem_kernel.dylib`read + 10:
173-> 0x7fff92f93ffa:  jae    0x7fff92f94001            ; read + 17
174   0x7fff92f93ffc:  jmpq   0x7fff92f944c8            ; cerror
175   0x7fff92f94001:  ret   
176   0x7fff92f94002:  nop   
177(lldb) ki
178Process 668 exited with status = -1 (0xffffffff) SIGKILL