2011年2月17日

[ruby-list:47894] Re: rails3, mysql2, twitterで落ちる

sora_hさん
杉森です。

> また、どのようにビルドしたrubyですか? rvmやmacportsや自力か、などといった。
rvm 1.1.0 でビルド・インストールしました。

クラッシュログを以下に貼付けます。

Process: ruby [1208]
Path: /Users/username/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [1190]

Date/Time: 2011-02-17 11:38:06.092 +0900
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 2

Application Specific Information:
abort() called

Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff864f0e92 select$DARWIN_EXTSN + 10
1 libruby.1.9.1.dylib 0x00000001001863ff do_select + 607
(thread.c:2501)
2 libruby.1.9.1.dylib 0x0000000100066fdc select_call +
1308 (io.c:7206)
3 libruby.1.9.1.dylib 0x000000010003ea4f rb_ensure + 127
(eval.c:743)
4 libruby.1.9.1.dylib 0x000000010005f05e rb_f_select +
158 (io.c:7330)
5 libruby.1.9.1.dylib 0x0000000100165487 vm_call_method +
983 (vm_insnhelper.c:401)
6 libruby.1.9.1.dylib 0x0000000100168215 vm_exec_core +
8293 (insns.def:1006)
7 libruby.1.9.1.dylib 0x000000010016fe53 vm_exec + 1507 (vm.c:1145)
8 libruby.1.9.1.dylib 0x000000010017e521 rb_yield + 625 (vm.c:557)
9 libruby.1.9.1.dylib 0x000000010008dea1 rb_obj_tap + 17
(object.c:538)
10 libruby.1.9.1.dylib 0x0000000100165487 vm_call_method +
983 (vm_insnhelper.c:401)
11 libruby.1.9.1.dylib 0x0000000100168215 vm_exec_core +
8293 (insns.def:1006)
12 libruby.1.9.1.dylib 0x000000010016fe53 vm_exec + 1507 (vm.c:1145)
13 libruby.1.9.1.dylib 0x00000001001702da rb_iseq_eval +
346 (vm.c:1373)
14 libruby.1.9.1.dylib 0x0000000100041e7c rb_load_internal
+ 300 (load.c:304)
15 libruby.1.9.1.dylib 0x00000001000431bc rb_require_safe
+ 1052 (load.c:594)
16 libruby.1.9.1.dylib 0x0000000100165487 vm_call_method +
983 (vm_insnhelper.c:401)
17 libruby.1.9.1.dylib 0x0000000100168215 vm_exec_core +
8293 (insns.def:1006)
18 libruby.1.9.1.dylib 0x000000010016fe53 vm_exec + 1507 (vm.c:1145)
19 libruby.1.9.1.dylib 0x0000000100170158
rb_iseq_eval_main + 504 (vm.c:1387)
20 libruby.1.9.1.dylib 0x000000010003f0d2
ruby_exec_internal + 178 (eval.c:214)
21 libruby.1.9.1.dylib 0x0000000100041a5c ruby_run_node +
60 (eval.c:261)
22 ruby 0x0000000100000ecf main + 79 (main.c:37)
23 ruby 0x0000000100000e74 start + 52

Thread 1:
0 libSystem.B.dylib 0x00007fff864e7fca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff864ebde1 _pthread_cond_wait + 1286
2 libruby.1.9.1.dylib 0x00000001001877b6 thread_timer +
166 (thread_pthread.c:778)
3 libSystem.B.dylib 0x00007fff864e6536 _pthread_start + 331
4 libSystem.B.dylib 0x00007fff864e63e9 thread_start + 13

Thread 2 Crashed:
0 libSystem.B.dylib 0x00007fff8651fe4e
__semwait_signal_nocancel + 10
1 libSystem.B.dylib 0x00007fff8651fd50 nanosleep$NOCANCEL + 129
2 libSystem.B.dylib 0x00007fff8657c6a2 usleep$NOCANCEL + 57
3 libSystem.B.dylib 0x00007fff8659bcd4 abort + 93
4 libruby.1.9.1.dylib 0x0000000100039ecd 0x100003000 + 224973
5 libruby.1.9.1.dylib 0x00000001000ff234 0x100003000 + 1032756
6 libSystem.B.dylib 0x00007fff8650d67a _sigtramp + 26
7 libcrypto.1.0.0.dylib 0x00000001024cb866 CRYPTO_get_ex_data + 22
8 openssl.bundle 0x0000000103297aca
ossl_ssl_verify_callback + 42 (ossl_ssl.c:299)
9 libcrypto.1.0.0.dylib 0x00000001025747dd X509_verify_cert + 557
10 libssl.1.0.0.dylib 0x0000000102492b50
ssl_verify_cert_chain + 336
11 libssl.1.0.0.dylib 0x0000000102473581
ssl3_get_server_certificate + 705
12 libssl.1.0.0.dylib 0x000000010247617a ssl3_connect + 2938
13 libssl.1.0.0.dylib 0x000000010247ea42 ssl23_connect + 3058
14 openssl.bundle 0x0000000103298337 ossl_start_ssl +
119 (ossl_ssl.c:1059)
15 libruby.1.9.1.dylib 0x0000000100165487 vm_call_method +
983 (vm_insnhelper.c:401)
16 libruby.1.9.1.dylib 0x0000000100168215 vm_exec_core +
8293 (insns.def:1006)
17 libruby.1.9.1.dylib 0x000000010016fe53 vm_exec + 1507 (vm.c:1145)
18 libruby.1.9.1.dylib 0x000000010017118a
rb_vm_invoke_proc + 842 (vm.c:557)
19 libruby.1.9.1.dylib 0x0000000100165487 vm_call_method +
983 (vm_insnhelper.c:401)
20 libruby.1.9.1.dylib 0x0000000100168215 vm_exec_core +
8293 (insns.def:1006)
21 libruby.1.9.1.dylib 0x000000010016fe53 vm_exec + 1507 (vm.c:1145)
22 libruby.1.9.1.dylib 0x0000000100171832 vm_call0 + 1266
(vm_eval.c:66)
23 libruby.1.9.1.dylib 0x0000000100179681
vm_method_missing + 481 (vm_insnhelper.c:448)
24 libruby.1.9.1.dylib 0x00000001001658a3 vm_call_method +
2035 (vm_insnhelper.c:665)
25 libruby.1.9.1.dylib 0x0000000100168215 vm_exec_core +
8293 (insns.def:1006)
26 libruby.1.9.1.dylib 0x000000010016fe53 vm_exec + 1507 (vm.c:1145)
27 libruby.1.9.1.dylib 0x000000010017118a
rb_vm_invoke_proc + 842 (vm.c:557)
28 libruby.1.9.1.dylib 0x0000000100187495
thread_start_func_2 + 1669 (thread.c:441)
29 libruby.1.9.1.dylib 0x000000010018762d
thread_start_func_1 + 29 (thread_pthread.c:384)
30 libSystem.B.dylib 0x00007fff864e6536 _pthread_start + 331
31 libSystem.B.dylib 0x00007fff864e63e9 thread_start + 13

Thread 3:
0 libSystem.B.dylib 0x00007fff864e7fca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff864ebde1 _pthread_cond_wait + 1286
2 libruby.1.9.1.dylib 0x0000000100184744 native_sleep +
388 (thread_pthread.c:649)
3 libruby.1.9.1.dylib 0x000000010018483a sleep_timeval +
170 (thread.c:879)
4 libruby.1.9.1.dylib 0x00000001000bbcf0 rb_f_sleep + 80
(process.c:3283)
5 libruby.1.9.1.dylib 0x0000000100165487 vm_call_method +
983 (vm_insnhelper.c:401)
6 libruby.1.9.1.dylib 0x0000000100168215 vm_exec_core +
8293 (insns.def:1006)
7 libruby.1.9.1.dylib 0x000000010016fe53 vm_exec + 1507 (vm.c:1145)
8 libruby.1.9.1.dylib 0x000000010017118a
rb_vm_invoke_proc + 842 (vm.c:557)
9 libruby.1.9.1.dylib 0x0000000100187495
thread_start_func_2 + 1669 (thread.c:441)
10 libruby.1.9.1.dylib 0x000000010018762d
thread_start_func_1 + 29 (thread_pthread.c:384)
11 libSystem.B.dylib 0x00007fff864e6536 _pthread_start + 331
12 libSystem.B.dylib 0x00007fff864e63e9 thread_start + 13

Thread 2 crashed with X86 Thread State (64-bit):
rax: 0x000000000000003c rbx: 0x00000001026c2a90 rcx:
0x00000001026c2a48 rdx: 0x0000000000000001
rdi: 0x0000000000001907 rsi: 0x0000000000000000 rbp:
0x00000001026c2a80 rsp: 0x00000001026c2a48
r8: 0x0000000000000000 r9: 0x0000000000989680 r10:
0x0000000000000001 r11: 0x0000000000000246
r12: 0x0000000000000000 r13: 0x0000000100199def r14:
0x00000001036a9748 r15: 0x0000000000000001
rip: 0x00007fff8651fe4e rfl: 0x0000000000000247 cr2: 0x00000001036ac880

Binary Images:
0x100000000 - 0x100000fff +ruby ??? (???)
<C9876B3C-A5E1-6AD4-B54B-97900D923055>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
0x100003000 - 0x100211fef +libruby.1.9.1.dylib 1.9.1
(compatibility 1.9.1) <45590B32-6E8F-F356-A78C-C0D41E86BB04>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.1.9.1.dylib
0x1002f2000 - 0x1002f3fff +encdb.bundle ??? (???)
<851B00D0-4EF4-30AA-E09B-AE9289C4A0A9>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/enc/encdb.bundle
0x1002f6000 - 0x1002f7fff +transdb.bundle ??? (???)
<82858CD1-B87C-38F0-B97A-986C908BFCB7>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/enc/trans/transdb.bundle
0x10056e000 - 0x10056fff7 +etc.bundle ??? (???)
<421ECD3C-A241-2D4A-EFEF-AA4176CE7A2B>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/etc.bundle
0x100573000 - 0x100578fff +stringio.bundle ??? (???)
<93924718-B6AA-CBA6-1CDC-3177BC8B8518>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/stringio.bundle
0x10057d000 - 0x100597ff7 +syck.bundle ??? (???)
<44FC01E9-A46B-D3B2-1650-016168D57F76>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/syck.bundle
0x1005a6000 - 0x1005a6ff7 +sha1.bundle ??? (???)
<EB90EE01-6411-46C4-D7E0-FA5557892547>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/digest/sha1.bundle
0x1005a9000 - 0x1005abff7 +digest.bundle ??? (???)
<5990074F-21F1-52E3-2421-9E53474CE79D>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/digest.bundle
0x1005af000 - 0x1005affff +iso_8859_1.bundle ??? (???)
<36A36A30-2190-B4D8-1644-92CC4B9E0F69>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/enc/iso_8859_1.bundle
0x1005b2000 - 0x1005bdff7 +zlib.bundle ??? (???)
<7876888C-AE7F-C8C3-59F9-14A920D3031D>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/zlib.bundle
0x1005c5000 - 0x1005c8ff7 +strscan.bundle ??? (???)
<5EF2FFE9-652C-5C84-D54E-F9534D3B34F5>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/strscan.bundle
0x1005cd000 - 0x1005d8fff +bigdecimal.bundle ??? (???)
<22B8C8EE-EF67-94CF-F0B6-46D32115C6D4>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/bigdecimal.bundle
0x1005de000 - 0x1005e3ff7 +sqlite3_native.bundle ???
(???) <730A3452-6F1F-87BC-953B-6708A28DAA29>
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/sqlite3-ruby-1.3.2/lib/sqlite3/sqlite3_native.bundle
0x1005ea000 - 0x1005eefff +mysql2.bundle ??? (???)
<6CE9B317-FE22-B2E9-A3BB-31558D48C034>
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle
0x1005f5000 - 0x1005f5fff +fcntl.bundle ??? (???)
<C719D856-C9F8-7FFD-00DC-1B0A6E6106E3>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/fcntl.bundle
0x1005f8000 - 0x1005f8ff7 +md5.bundle ??? (???)
<830DA37E-DCD9-E171-27A6-519F4F431EC1>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/digest/md5.bundle
0x1005fb000 - 0x1005fbfff +utf_16be.bundle ??? (???)
<C94298A0-2069-3DD4-C6B2-A27AD4DEB7B9>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/enc/utf_16be.bundle
0x100700000 - 0x100791fef +libsqlite3.0.dylib 9.6.0
(compatibility 9.0.0) <A4652899-7579-8911-580F-61B846ADC45E>
/opt/local/lib/libsqlite3.0.dylib
0x1007a5000 - 0x1007b9ff7 +libz.1.dylib 1.2.5
(compatibility 1.0.0) <98F6FFCC-D1E4-BEF1-0563-4BC7A5E770FC>
/opt/local/lib/libz.1.dylib
0x1007de000 - 0x1007e2fff +iconv.bundle ??? (???)
<3B6DAC44-F90C-E7A5-5703-E3553FF4D9E6>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/iconv.bundle
0x1007e7000 - 0x1007eaff7 +parser.bundle ??? (???)
<27EBCC46-5B17-BB31-604D-B02C5815B0A1>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/json/ext/parser.bundle
0x1007ee000 - 0x1007eefff +utf_16le.bundle ??? (???)
<88307A39-3192-4CB7-A07C-2E9ADDEBB54D>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/enc/utf_16le.bundle
0x1007f1000 - 0x1007f1fff +utf_32be.bundle ??? (???)
<31CC255E-637C-AFD1-C7A9-A20103C305F1>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/enc/utf_32be.bundle
0x1007f4000 - 0x1007f4fff +utf_32le.bundle ??? (???)
<55399048-0CFC-142F-FE4A-151EA7CDE805>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/enc/utf_32le.bundle
0x1007f7000 - 0x1007f9fff +cparse.bundle ??? (???)
<39904463-FCC5-6BEF-9BCB-E10D9271A4EB>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/racc/cparse.bundle
0x102300000 - 0x102414fe7 +libmysqlclient.16.dylib
17.0.0 (compatibility 17.0.0) <A3740CB7-41B5-B94D-D5C4-61BE5F62658C>
/opt/local/lib/mysql5/mysql/libmysqlclient.16.dylib
0x102466000 - 0x1024b1fe7 +libssl.1.0.0.dylib ??? (???)
<DC59EABC-BD59-F290-472B-70B273CE0179>
/opt/local/lib/libssl.1.0.0.dylib
0x1024c8000 - 0x102617fe7 +libcrypto.1.0.0.dylib ???
(???) <C073415C-B807-564F-C167-A1B1BC263EC2>
/opt/local/lib/libcrypto.1.0.0.dylib
0x103278000 - 0x1032b2fff +openssl.bundle ??? (???)
<7FF66B0D-D937-5B98-C405-A647E2AC74C9>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/openssl.bundle
0x1032e0000 - 0x1032e5fe7 +generator.bundle ??? (???)
<28AFFCF8-7B1B-FFF5-F323-950E608C2A8F>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/json/ext/generator.bundle
0x103600000 - 0x10361cfff +socket.bundle ??? (???)
<092CCAEA-890A-2376-293D-A52301BB1EC0>
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.5.0/socket.bundle
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???)
<B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
0x7fff80398000 - 0x7fff803d2fff libssl.0.9.8.dylib 0.9.8
(compatibility 0.9.8) <C7153747-50E3-32DA-426F-CC4C505D1D6C>
/usr/lib/libssl.0.9.8.dylib
0x7fff80bed000 - 0x7fff80d0efe7 libcrypto.0.9.8.dylib 0.9.8
(compatibility 0.9.8) <48AEAFE1-21F4-B3C8-4199-35AD5E8D0613>
/usr/lib/libcrypto.0.9.8.dylib
0x7fff81d7d000 - 0x7fff81e33fff libobjc.A.dylib 227.0.0
(compatibility 1.0.0) <F206BE6D-8777-AE6C-B367-7BEA76C14241>
/usr/lib/libobjc.A.dylib
0x7fff832d5000 - 0x7fff83352fef libstdc++.6.dylib 7.9.0
(compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C>
/usr/lib/libstdc++.6.dylib
0x7fff85315000 - 0x7fff85319ff7 libmathCommon.A.dylib 315.0.0
(compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5>
/usr/lib/system/libmathCommon.A.dylib
0x7fff85a02000 - 0x7fff85a03ff7
com.apple.TrustEvaluationAgent 1.1 (1)
<74800EE8-C14C-18C9-C208-20BBDB982D40>
/System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff864ac000 - 0x7fff8666dfff libSystem.B.dylib 125.2.1
(compatibility 1.0.0) <71E6D4C9-F945-6EC2-998C-D61AD590DAB6>
/usr/lib/libSystem.B.dylib
0x7fff870c4000 - 0x7fff871bcff7 libiconv.2.dylib 7.0.0
(compatibility 7.0.0) <7E4ADB5A-CC77-DCFD-3E54-2F35A2C8D95A>
/usr/lib/libiconv.2.dylib
0x7fff873d0000 - 0x7fff8741cfff libauto.dylib ??? (???)
<F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
0x7fff88250000 - 0x7fff88261ff7 libz.1.dylib 1.2.3
(compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717>
/usr/lib/libz.1.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???)
<71E6D4C9-F945-6EC2-998C-D61AD590DAB6> /usr/lib/libSystem.B.dylib


以上


2011/2/17 Shota Fukumori (sora_h) <sorah@xxxxx>:
> sora_hです。
>
> 現在同じような症状を訴えている別の方がいるために同じ対応をします。
>
> ~/Library/Logs/CrashReporter/ 以下にクラッシュログが落ちているはずです。
> それもペーストしていただけませんか。
>
> また、どのようにビルドしたrubyですか? rvmやmacportsや自力か、などといった。
>
> 2011/2/17 daisuke sugimori <daixque@xxxxx>:
>> 杉森といいます。
>>
>> 現在、rails3, mysql2, twitter(gemライブラリ)の構成で開発を進めています。
>>
>> このとき、twitter gemにあるの以下のメソッドを実行すると、
>> 最後にあるようなログをはいてインタープリタごと落ちます。
>> Twitter.client.home_timeline
>
> --
> Shota Fukumori a.k.a. @sora_h - http://codnote.net/
>
>


投稿者 xml-rpc : 2011年2月17日 13:07
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/102062
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。