Skip to content

Instantly share code, notes, and snippets.

@gunn
Created December 15, 2010 03:59
Show Gist options
  • Save gunn/741609 to your computer and use it in GitHub Desktop.
Save gunn/741609 to your computer and use it in GitHub Desktop.
MacRuby crash report
"\"\x00.\x00t\x00r\x00a\x00c\x00k\x00e\x00d\x00 \x00f\x00i\x00l\x00e\x00n\x00a\x00m\x00e\x00s\x00.\x00p\x00l\x00i\x00s\x00t\x00\"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\".tracked filenames.plist\"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
/Users/Arthur/macruby_segfault_test/segfault.rb:8:in `block': failed to allocate memory (NoMemoryError)
from /Users/Arthur/macruby_segfault_test/segfault.rb:8:in `<main>'
[BUG] destination 0x2000228a8 isn't in the auto zone
MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
Abort trap
macruby(85654,0x7fff709b0ca0) malloc: *** auto malloc[85654]: error for object 0x2000c2fc0: auto_realloc: can't get type or retain count, ptr (%p) from ordinary malloc zone?
Segmentation fault
?@????????????????? unknown: [BUG] destination 0x20005e348 isn't in the auto zone
MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
Abort trap
?' ? + macruby(86413,0x7fff709b0ca0) malloc: *** auto malloc[86413]: error for object 0x2000c2840: auto_realloc: can't get type or retain count, ptr (%p) from ordinary malloc zone?
Segmentation fault
`<?`imacruby(87029,0x7fff709b0ca0) malloc: *** auto malloc[87029]: error for object 0x200013420: auto_realloc: can't get type or retain count, ptr (%p) from ordinary malloc zone?
Segmentation fault
??V
??????????????? unknown: [BUG] destination 0x200057e48 isn't in the auto zone
MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
Abort trap
"\"\x00.\x00t\x00r\x00a\x00c\x00k\x00e\x00d\x00 \x00f\x00i\x00l\x00e\x00n\x00a\x00m\x00e\x00s\x00.\x00p\x00l\x00i\x00s\x00t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x17\x01\x00\x02\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x19\x01\x00\x02\x00\x00\x00l\x00\x00\x00\x00\x00\x00\x00\x1A\x00\x00\x00\x00\x00\x00\x00\xE0(\f\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x1F\xA4\xFD\xFF\xFD"
unknown: [BUG] destination 0x200053948 isn't in the auto zone
MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
Abort trap
Process: macruby [4847]
Path: /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/bin/macruby
Identifier: macruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [76550]
Date/Time: 2010-12-19 17:03:52.064 +1300
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffdfff43a8f
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc[4847]: garbage collection is ON
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff80345052 _cache_getMethod + 18
1 libobjc.A.dylib 0x00007fff80344823 look_up_method + 45
2 libmacruby.dylib 0x000000010014a300 rb_vm_dispatch + 1504
3 libmacruby.dylib 0x0000000100105fcf rb_funcall + 543
4 libmacruby.dylib 0x000000010006c976 rb_inspect + 22
5 libmacruby.dylib 0x0000000100056b88 rb_write_error + 472
6 libmacruby.dylib 0x000000010014b865 rb_vm_dispatch + 6981
7 ??? 0x0000000100ef97cc 0 + 4310669260
8 ??? 0x0000000100efa8ee 0 + 4310673646
9 libmacruby.dylib 0x000000010014e717 rb_vm_yield_args + 1895
10 libmacruby.dylib 0x00000001001031b8 rb_yield + 40
11 libmacruby.dylib 0x0000000100015afd rary_reserve + 861
12 libmacruby.dylib 0x000000010014beb6 rb_vm_dispatch + 8598
13 ??? 0x0000000100ef97cc 0 + 4310669260
14 ??? 0x0000000100ef91b8 0 + 4310667704
15 libmacruby.dylib 0x00000001001634b3 rb_vm_run + 531
16 libmacruby.dylib 0x0000000100040e40 ruby_run_node + 80
17 macruby 0x0000000100000d28 main + 152
18 macruby 0x0000000100000c88 start + 52
Thread 1:
0 libSystem.B.dylib 0x00007fff84604f8a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff8460539c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff84605005 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000100c5fcf0 rcx: 0x0000000000000001 rdx: 0x00007fff80345e8c
rdi: 0xfffffffdfff43a7f rsi: 0x0000000100c5fcf0 rbp: 0x00007fff5fbfca20 rsp: 0x00007fff5fbfc9f8
r8: 0xfffffffdfff43a7f r9: 0x0000000100c5fcf0 r10: 0x0000000000000000 r11: 0xfffffffdfff43a7f
r12: 0xfffffffdfff43a7f r13: 0x0000000000000001 r14: 0x0000000100c5fcf0 r15: 0x0000000000000000
rip: 0x00007fff80345052 rfl: 0x0000000000010202 cr2: 0xfffffffdfff43a8f
Binary Images:
0x100000000 - 0x100000ff7 +macruby ??? (???) <C94A8811-76DC-3355-9CB6-527EAF0B2182> /usr/local/bin/macruby
0x100003000 - 0x100b07f9f +libmacruby.dylib 0.9.0 (compatibility 0.9.0) <CB120FD1-564A-92FD-FCD2-EF2DB01A8014> /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/libmacruby.dylib
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
0x7fff8008a000 - 0x7fff800b2fff com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff80340000 - 0x7fff803f6fff libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <F206BE6D-8777-AE6C-B367-7BEA76C14241> /usr/lib/libobjc.A.dylib
0x7fff803f8000 - 0x7fff8050ffef libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <EE067D7E-15B3-F043-6FBD-10BA31FE76C7> /usr/lib/libxml2.2.dylib
0x7fff8055d000 - 0x7fff805a9fff libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
0x7fff809f0000 - 0x7fff80a1bff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <87A0B228-B24A-C426-C3FB-B40D7258DD49> /usr/lib/libxslt.1.dylib
0x7fff80b40000 - 0x7fff80cfefff libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <781E7B63-2AD0-E9BA-927C-4521DB616D02> /usr/lib/libicucore.A.dylib
0x7fff80d7c000 - 0x7fff80e0cfff com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff81238000 - 0x7fff814befef com.apple.security 6.1.1 (37594) <17CF7858-52D9-9665-3AE8-23F07CC8BEA1> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff814c5000 - 0x7fff8150fff7 com.apple.Metadata 10.6.3 (507.12) <9231045A-E2E3-B0C2-C81A-92C9EA98A4DF> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff818c0000 - 0x7fff81920fe7 com.apple.framework.IOKit 2.0 (???) <D107CB8A-5182-3AC4-35D0-07068A695C05> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff819b1000 - 0x7fff81b28fe7 com.apple.CoreFoundation 6.6.4 (550.42) <770C572A-CF70-168F-F43C-242B9114FCB5> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff81bb1000 - 0x7fff81bf2fff com.apple.SystemConfiguration 1.10.5 (1.10.2) <FB39F09C-57BB-D8CC-348D-93E00C602F7D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff81da4000 - 0x7fff81daaff7 com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff83a63000 - 0x7fff83a72fff com.apple.NetFS 3.2.1 (3.2.1) <FF21DB1E-F425-1005-FB70-BC19CAF4006E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff83cd9000 - 0x7fff8400dfff com.apple.CoreServices.CarbonCore 861.23 (861.23) <08F360FA-1771-4F0B-F356-BEF68BB9D421> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff845ea000 - 0x7fff847abfff libSystem.B.dylib 125.2.1 (compatibility 1.0.0) <71E6D4C9-F945-6EC2-998C-D61AD590DAB6> /usr/lib/libSystem.B.dylib
0x7fff8560d000 - 0x7fff8560dff7 com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff85bfc000 - 0x7fff85ccefe7 com.apple.CFNetwork 454.11.5 (454.11.5) <B3E2BE12-D7AA-5940-632A-1E5E7BF8E6E3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff85feb000 - 0x7fff85fefff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff860cb000 - 0x7fff860dcff7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
0x7fff86d7b000 - 0x7fff86db6fff com.apple.AE 496.4 (496.4) <CBEDB6A1-FD85-F842-4EB8-CC289FAE0F24> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff86fad000 - 0x7fff8702afef libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff877de000 - 0x7fff877f4fef libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
0x7fff877f5000 - 0x7fff878b2ff7 com.apple.CoreServices.OSServices 357 (357) <718F0719-DC9F-E392-7C64-9D7DFE3D02E2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff8796a000 - 0x7fff87978ff7 libkxld.dylib ??? (???) <4016E9E6-0645-5384-A697-2775B5228113> /usr/lib/system/libkxld.dylib
0x7fff87a45000 - 0x7fff87afefff libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
0x7fff87cce000 - 0x7fff87d6efff com.apple.LaunchServices 362.1 (362.1) <2740103A-6C71-D99F-8C6F-FA264546AD8F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff88299000 - 0x7fff8851cff7 com.apple.Foundation 6.6.4 (751.42) <9A99D378-E97A-8C0F-3857-D0FAA30FCDD5> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <71E6D4C9-F945-6EC2-998C-D61AD590DAB6> /usr/lib/libSystem.B.dylib
require 'find' # makes segaults many times more common on my system.
# require 'digest' # These lines previously made segaults more common,
# digest = Digest::SHA2.new(512) # now they reduce them.
dir_of_interest = "/Users/Arthur/macruby_segfault_test/History/"
fs = Dir.entries(dir_of_interest).sort!
fs.each {|f| p f }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment