Created
November 16, 2011 15:05
-
-
Save bshelton229/1370269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fails in Ruby 1.9.3 in OSX Lion | |
require 'webrick' | |
require 'cgi' | |
require 'uri' | |
require 'net/https' | |
get_url = "https://modolabs-device.appspot.com/api/" | |
uri = URI.parse(get_url) | |
http = Net::HTTP.new(uri.host, uri.port) | |
http.use_ssl = true | |
http.verify_mode = OpenSSL::SSL::VERIFY_NONE | |
request = Net::HTTP::Get.new(uri.request_uri) | |
response = http.request(request) | |
puts response.body |
[bshelton@linkinwater x86_64-darwin11.2.0]$ otool -L openssl.bundle openssl.bundle: /opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OSX Crash report
Process: ruby [34923]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [34611]
Date/Time: 2011-11-16 09:37:23.259 -0600
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000188
VM Regions Near 0x188:
-->
__TEXT 0000000106a94000-0000000106a95000 [ 4K] r-x/rwx SM=COW /Users/USER/*
Application Specific Information:
objc[34923]: garbage collection is OFF
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8b826ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8b7587d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff8b749a7a abort + 143
3 libruby.1.9.1.dylib 0x0000000106ad4e54 rb_bug + 212
4 libruby.1.9.1.dylib 0x0000000106b9d3df sigsegv + 127
5 libsystem_c.dylib 0x00007fff8b7aacfa _sigtramp + 26
6 libcrypto.1.0.0.dylib 0x00000001071ad36a CRYPTO_get_ex_data + 10
7 openssl.bundle 0x00000001071038ba ossl_ssl_verify_callback + 42 (ossl_ssl.c:312)
8 libcrypto.1.0.0.dylib 0x00000001072484a0 X509_verify_cert + 1232
9 libssl.1.0.0.dylib 0x0000000107176554 ssl_verify_cert_chain + 276
10 libssl.1.0.0.dylib 0x000000010715bbee ssl3_get_server_certificate + 686
11 libssl.1.0.0.dylib 0x00000001071580cd ssl3_connect + 893
12 libssl.1.0.0.dylib 0x0000000107164108 ssl23_connect + 3208
13 openssl.bundle 0x00000001071041a7 ossl_start_ssl + 119 (ossl_ssl.c:1127)
14 libruby.1.9.1.dylib 0x0000000106c1c5e7 vm_call_method + 983 (vm_insnhelper.c:404)
15 libruby.1.9.1.dylib 0x0000000106c09b4e vm_exec_core + 20318 (insns.def:1015)
16 libruby.1.9.1.dylib 0x0000000106c0f0b3 vm_exec + 1459 (vm.c:1220)
17 libruby.1.9.1.dylib 0x0000000106c0f3ab rb_iseq_eval_main + 507 (vm.c:1462)
18 libruby.1.9.1.dylib 0x0000000106ad96a2 ruby_exec_internal + 178 (eval.c:204)
19 libruby.1.9.1.dylib 0x0000000106adc19c ruby_run_node + 60 (eval.c:251)
20 ruby 0x0000000106a94edf main + 79 (main.c:40)
21 ruby 0x0000000106a94e84 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8b826df2 __select + 10
1 libruby.1.9.1.dylib 0x0000000106c25b8f thread_timer + 415 (thread_pthread.c:1151)
2 libsystem_c.dylib 0x00007fff8b7568bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8b759b75 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000000010703f938 rdx: 0x0000000000000000
rdi: 0x000000000000060b rsi: 0x0000000000000006 rbp: 0x000000010703f960 rsp: 0x000000010703f938
r8: 0x00007fff7adb6fb8 r9: 0x000000010703f4c8 r10: 0x00007fff8b826d0a r11: 0xffffff80002d8220
r12: 0x00007fadb14b8bf0 r13: 0x0000000106ecee90 r14: 0x00007fff7adb9960 r15: 0x00007fff66692e10
rip: 0x00007fff8b826ce2 rfl: 0x0000000000000246 cr2: 0x000000010703ea50
Logical CPU: 0
Binary Images:
0x106a94000 - 0x106a94fff +ruby (??? - ???) /Users/USER//ruby
0x106a99000 - 0x106cbdfe7 +libruby.1.9.1.dylib (1.9.1 - compatibility 1.9.1) <9A7BBF70-D0C8-3C43-BC8E-AE69FB9B273B> /Users/USER//libruby.1.9.1.dylib
0x106de1000 - 0x106de2fff +encdb.bundle (??? - ???) /Users/USER//encdb.bundle
0x106de5000 - 0x106de6ff7 +transdb.bundle (??? - ???) <66A5606B-98A1-32F7-B253-211D19FEB3F2> /Users/USER//transdb.bundle
0x106de9000 - 0x106deaff7 +etc.bundle (??? - ???) <6AFAB5C9-01BF-3121-A964-FAFEDFB87F1D> /Users/USER//etc.bundle
0x106dee000 - 0x106deeff7 +fcntl.bundle (??? - ???) /Users/USER//fcntl.bundle
0x106df2000 - 0x106df5fff +strscan.bundle (??? - ???) <09088C7F-5897-37AA-93B0-D5034E8F4D3B> /Users/USER//strscan.bundle
0x106dfa000 - 0x106dfaff7 +md5.bundle (??? - ???) /Users/USER//md5.bundle
0x106dfd000 - 0x106dfdfff +sha1.bundle (??? - ???) <7ECB96AB-3D4B-3F4E-B662-D55C8A18A600> /Users/USER//sha1.bundle
0x107040000 - 0x107060fff +socket.bundle (??? - ???) <76A1141C-2AB9-3FA9-B049-A73410635BB9> /Users/USER//socket.bundle
0x107070000 - 0x1070a5fff +date_core.bundle (??? - ???) /Users/USER//date_core.bundle
0x1070bf000 - 0x1070c1ff7 +digest.bundle (??? - ???) /Users/USER//digest.bundle
0x1070c5000 - 0x1070d0ff7 +zlib.bundle (??? - ???) /Users/USER//zlib.bundle
0x1070d9000 - 0x1070defff +stringio.bundle (??? - ???) /Users/USER//stringio.bundle
0x1070e3000 - 0x10711efff +openssl.bundle (??? - ???) <4058A2CA-7F03-3CC0-99C1-2E0C20A3BEDC> /Users/USER/*/openssl.bundle
0x10714d000 - 0x107193fff +libssl.1.0.0.dylib (??? - ???) /opt/local/lib/libssl.1.0.0.dylib
0x1071aa000 - 0x1072e3fe7 +libcrypto.1.0.0.dylib (??? - ???) <3B9468C7-8850-3F65-A742-ECAFE79C381C> /opt/local/lib/libcrypto.1.0.0.dylib
0x107350000 - 0x107363fff +libz.1.dylib (1.2.5 - compatibility 1.0.0) /opt/local/lib/libz.1.dylib
0x7fff66694000 - 0x7fff666c8ac7 dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
0x7fff8b6a3000 - 0x7fff8b6a4fff libunc.dylib (24.0.0 - compatibility 1.0.0) /usr/lib/system/libunc.dylib
0x7fff8b708000 - 0x7fff8b7e5fef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) /usr/lib/system/libsystem_c.dylib
0x7fff8b810000 - 0x7fff8b830fff libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
0x7fff8bf4a000 - 0x7fff8bf5cff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
0x7fff8c384000 - 0x7fff8c3f9ff7 libc++.1.dylib (19.0.0 - compatibility 1.0.0) /usr/lib/libc++.1.dylib
0x7fff8e057000 - 0x7fff8e163fff libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <3A8E1F89-5E26-3C8B-B538-81F5D61DBF8A> /usr/lib/libcrypto.0.9.8.dylib
0x7fff8e350000 - 0x7fff8e351ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
0x7fff8f357000 - 0x7fff8f399ff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) /usr/lib/system/libcommonCrypto.dylib
0x7fff8f39a000 - 0x7fff8f39bff7 libremovefile.dylib (21.0.0 - compatibility 1.0.0) /usr/lib/system/libremovefile.dylib
0x7fff8f3ad000 - 0x7fff8f3b3ff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
0x7fff90c23000 - 0x7fff90c28fff libcache.dylib (47.0.0 - compatibility 1.0.0) /usr/lib/system/libcache.dylib
0x7fff90c95000 - 0x7fff90c9cfff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
0x7fff90c9d000 - 0x7fff90ca2ff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
0x7fff90ccf000 - 0x7fff90cd3fff libdyld.dylib (195.5.0 - compatibility 1.0.0) /usr/lib/system/libdyld.dylib
0x7fff90d45000 - 0x7fff90d45fff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
0x7fff91e73000 - 0x7fff91e74fff libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
0x7fff9213b000 - 0x7fff92189fff libauto.dylib (??? - ???) /usr/lib/libauto.dylib
0x7fff92208000 - 0x7fff92209fff libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib
0x7fff92625000 - 0x7fff92627fff libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib
0x7fff92d8c000 - 0x7fff92da9ff7 libxpc.dylib (77.17.0 - compatibility 1.0.0) <72A16104-2F23-3C22-B474-1953F06F9376> /usr/lib/system/libxpc.dylib
0x7fff92dec000 - 0x7fff92ed0def libobjc.A.dylib (228.0.0 - compatibility 1.0.0) /usr/lib/libobjc.A.dylib
0x7fff93de6000 - 0x7fff93df4fff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
0x7fff94fba000 - 0x7fff94fc2fff libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
0x7fff94fc3000 - 0x7fff94fc5fff com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff95445000 - 0x7fff95472fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <095FDD3C-3961-3865-A59B-A5B0A4B8B923> /usr/lib/libSystem.B.dylib
0x7fff95473000 - 0x7fff954e6fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
0x7fff9561b000 - 0x7fff95620fff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
0x7fff957b4000 - 0x7fff957efff7 libsystem_info.dylib (??? - ???) <9C8C2DCB-96DB-3471-9DCE-ADCC26BE2DD4> /usr/lib/system/libsystem_info.dylib
0x7fff966f0000 - 0x7fff966faff7 liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib
0x7fff966fb000 - 0x7fff96704ff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) /usr/lib/system/libsystem_notify.dylib
0x7fff96818000 - 0x7fff96823ff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
0x7fff96ec2000 - 0x7fff96ec6fff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) /usr/lib/system/libmathCommon.A.dylib
0x7fff974a8000 - 0x7fff974aefff libmacho.dylib (800.0.0 - compatibility 1.0.0) /usr/lib/system/libmacho.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 29446
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=58.9M resident=34.5M(59%) swapped_out_or_unallocated=24.3M(41%)
Writable regions: Total=49.3M written=5828K(12%) resident=9976K(20%) swapped_out=0K(0%) unallocated=39.6M(80%)
REGION TYPE VIRTUAL
=========== =======
MALLOC 40.4M
MALLOC guard page 16K
MALLOC_LARGE (reserved) 256K reserved VM address space (unallocated)
STACK GUARD 4K
Stack 64.0M
VM_ALLOCATE 4K
__DATA 1096K
__LINKEDIT 48.7M
__TEXT 10.2M
shared memory 12K
=========== =======
TOTAL 164.7M
TOTAL, minus reserved VM space 164.4M