草庐IT

ios - 崩溃,终止原因 0xdead10cc

coder 2023-10-01 原文

请问这次崩溃的原因是什么?

Incident Identifier: A176CFB8-6BB7-4515-A4A2-82D2B962E097
CrashReporter Key:   f02957b828fe4090389c1282ca8e38393b4e133d
Hardware Model:      iPhone9,4
Process:             OneMessenger [10627]
Path:                /private/var/containers/Bundle/Application/03E067E9-E2C1-43F4-AC53-4E4F58131FF3/OneMessenger.app/OneMessenger
Identifier:          com.onem.adhoc
Version:             158 (1.0.4)
Code Type:           ARM-64 (Native)
Role:                Non UI
Parent Process:      launchd [1]
Coalition:           com.onem.adhoc [3747]


Date/Time:           2017-05-10 17:37:48.6201 -0700
Launch Time:         2017-05-10 17:37:46.7161 -0700
OS Version:          iPhone OS 10.3.1 (14E304)
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0xdead10cc
Triggered by Thread:  0

Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x000000018a337224 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x000000018a33709c mach_msg + 72 (mach_msg.c:103)
2   CoreFoundation                  0x000000018b308e88 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3   CoreFoundation                  0x000000018b306adc __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4   CoreFoundation                  0x000000018b236d94 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5   GraphicsServices                0x000000018cca0074 GSEventRunModal + 100 (GSEvent.c:2245)
6   UIKit                           0x00000001914ef130 UIApplicationMain + 208 (UIApplication.m:4089)
7   OneMessenger                    0x00000001004ff1b0 main + 88 (main.m:16)
8   libdyld.dylib                   0x000000018a24559c start + 4

Thread 1:
0   libsystem_pthread.dylib         0x000000018a41ad78 start_wqthread + 0 (pthread.c:2333)

Thread 2:
0   libsystem_kernel.dylib          0x000000018a355a88 __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x000000018a41b274 _pthread_wqthread + 1260 (pthread.c:2205)
2   libsystem_pthread.dylib         0x000000018a41ad7c start_wqthread + 4

Thread 3:
0   libsystem_pthread.dylib         0x000000018a41ad78 start_wqthread + 0 (pthread.c:2333)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib          0x000000018a337224 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x000000018a33709c mach_msg + 72 (mach_msg.c:103)
2   CoreFoundation                  0x000000018b308e88 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3   CoreFoundation                  0x000000018b306adc __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4   CoreFoundation                  0x000000018b236d94 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5   Foundation                      0x000000018bd50d64 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367)
6   Foundation                      0x000000018bd71b34 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 (NSRunLoop.m:411)
7   UIKit                           0x0000000191e795f8 -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:313)
8   Foundation                      0x000000018be4e2c8 __NSThread__start__ + 996 (NSThread.m:1163)
9   libsystem_pthread.dylib         0x000000018a41d75c _pthread_body + 240 (pthread.c:697)
10  libsystem_pthread.dylib         0x000000018a41d66c _pthread_start + 284 (pthread.c:744)
11  libsystem_pthread.dylib         0x000000018a41ad84 thread_start + 4

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib          0x000000018a3558e8 __ulock_wait + 8
1   libdispatch.dylib               0x000000018a22577c _dispatch_ulock_wait + 48 (lock.c:327)
2   libdispatch.dylib               0x000000018a2258a4 _dispatch_thread_event_wait_slow + 36 (lock.c:515)
3   libdispatch.dylib               0x000000018a2234f0 _dispatch_barrier_sync_f_slow + 236 (lock.h:392)
4   libcorecrypto.dylib             0x000000018a1efd50 ccrng_cryptographic_generate + 200 (ccrng_cryptographic.c:196)
5   libcorecrypto.dylib             0x000000018a1d8434 ccn_random_bits + 52 (ccn_random_bits.c:17)
6   libcorecrypto.dylib             0x000000018a1b9fb0 ccec_generate_scalar_fips_retry + 108 (ccec_generate_scalar_fips_retry.c:39)
7   libcorecrypto.dylib             0x000000018a1f1514 ccec_generate_key_internal_fips + 148 (ccec_generate_key_internal_fips.c:31)
8   libcorecrypto.dylib             0x000000018a1c912c ccec_generate_key_fips + 24 (ccec_generate_key_fips.c:19)
9   libsystem_coretls.dylib         0x000000018a2f7660 sslEcdhCreateKey + 76 (sslCrypto.c:199)
10  libsystem_coretls.dylib         0x000000018a2fb16c SSLEncodeKeyExchange + 792 (sslKeyExchange.c:1367)
11  libsystem_coretls.dylib         0x000000018a2fcd4c SSLAdvanceHandshake + 2132 (sslHandshake.c:1214)
12  libsystem_coretls.dylib         0x000000018a3021c0 tls_handshake_continue + 40 (tls_handshake.c:334)
13  libnetwork.dylib                0x0000000197fa83a8 __nw_coretls_callback_handshake_message_block_invoke_3 + 76 (protocol_coretls.c:780)
14  libdispatch.dylib               0x000000018a2129e0 _dispatch_call_block_and_release + 24 (init.c:963)
15  libdispatch.dylib               0x000000018a2129a0 _dispatch_client_callout + 16 (object.m:473)
16  libdispatch.dylib               0x000000018a220ad4 _dispatch_queue_serial_drain + 928 (inline_internal.h:2431)
17  libdispatch.dylib               0x000000018a2162cc _dispatch_queue_invoke + 884 (queue.c:4853)
18  libdispatch.dylib               0x000000018a222a50 _dispatch_root_queue_drain + 540 (inline_internal.h:2468)
19  libdispatch.dylib               0x000000018a2227d0 _dispatch_worker_thread3 + 124 (queue.c:5550)
20  libsystem_pthread.dylib         0x000000018a41b1d0 _pthread_wqthread + 1096 (pthread.c:2196)
21  libsystem_pthread.dylib         0x000000018a41ad7c start_wqthread + 4

Thread 6:
0   libsystem_pthread.dylib         0x000000018a41ad78 start_wqthread + 0 (pthread.c:2333)

Thread 7 name:
Thread 7:
0   libsystem_kernel.dylib          0x000000018a337224 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x000000018a33709c mach_msg + 72 (mach_msg.c:103)
2   CoreFoundation                  0x000000018b308e88 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3   CoreFoundation                  0x000000018b306adc __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4   CoreFoundation                  0x000000018b236d94 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5   Foundation                      0x000000018bd50d64 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367)
6   Foundation                      0x000000018bda56b4 -[NSRunLoop(NSRunLoop) run] + 88 (NSRunLoop.m:389)
7   OneMessenger                    0x000000010056e0a8 +[GAI threadMain:] + 64
8   Foundation                      0x000000018be4e2c8 __NSThread__start__ + 996 (NSThread.m:1163)
9   libsystem_pthread.dylib         0x000000018a41d75c _pthread_body + 240 (pthread.c:697)
10  libsystem_pthread.dylib         0x000000018a41d66c _pthread_start + 284 (pthread.c:744)
11  libsystem_pthread.dylib         0x000000018a41ad84 thread_start + 4

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib          0x000000018a337224 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x000000018a33709c mach_msg + 72 (mach_msg.c:103)
2   CoreFoundation                  0x000000018b308e88 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3   CoreFoundation                  0x000000018b306adc __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4   CoreFoundation                  0x000000018b236d94 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5   CFNetwork                       0x000000018ba42ca4 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404 (NSURLConnection.mm:364)
6   Foundation                      0x000000018be4e2c8 __NSThread__start__ + 996 (NSThread.m:1163)
7   libsystem_pthread.dylib         0x000000018a41d75c _pthread_body + 240 (pthread.c:697)
8   libsystem_pthread.dylib         0x000000018a41d66c _pthread_start + 284 (pthread.c:744)
9   libsystem_pthread.dylib         0x000000018a41ad84 thread_start + 4

Thread 9:
0   libsystem_pthread.dylib         0x000000018a41ad78 start_wqthread + 0 (pthread.c:2333)

Thread 10:
0   libsystem_kernel.dylib          0x000000018a355a88 __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x000000018a41b0a0 _pthread_wqthread + 792 (pthread.c:2129)
2   libsystem_pthread.dylib         0x000000018a41ad7c start_wqthread + 4

Thread 11 name:
Thread 11:
0   libsystem_kernel.dylib          0x000000018a3558e8 __ulock_wait + 8
1   libdispatch.dylib               0x000000018a22577c _dispatch_ulock_wait + 48 (lock.c:327)
2   libdispatch.dylib               0x000000018a2258a4 _dispatch_thread_event_wait_slow + 36 (lock.c:515)
3   libdispatch.dylib               0x000000018a2234f0 _dispatch_barrier_sync_f_slow + 236 (lock.h:392)
4   OneMessenger                    0x0000000100429538 +[DataBase getDeliveredInfoForMsgId:] + 136 (DataBase.m:8598)
5   OneMessenger                    0x0000000100495708 -[SingleWebSocket messageViewedWithDictionary:] + 828 (SingleWebSocket.m:9584)
6   OneMessenger                    0x000000010044ab18 -[SingleWebSocket websocketDidReceiveMessageWithSocket:text:] + 3672 (SingleWebSocket.m:854)
7   OneMessenger                    0x00000001005332b0 specialized WebSocket.(processResponse(WebSocket.WSResponse) -> Bool).(closure #1) + 320 (WebSocket.swift:833)
8   OneMessenger                    0x0000000100534a54 partial apply for WebSocket.(processResponse(WebSocket.WSResponse) -> Bool).(closure #1) + 64
9   libdispatch.dylib               0x000000018a2129e0 _dispatch_call_block_and_release + 24 (init.c:963)
10  libdispatch.dylib               0x000000018a2129a0 _dispatch_client_callout + 16 (object.m:473)
11  libdispatch.dylib               0x000000018a220ad4 _dispatch_queue_serial_drain + 928 (inline_internal.h:2431)
12  libdispatch.dylib               0x000000018a2162cc _dispatch_queue_invoke + 884 (queue.c:4853)
13  libdispatch.dylib               0x000000018a220fa8 _dispatch_queue_override_invoke + 344 (queue.c:4890)
14  libdispatch.dylib               0x000000018a222a50 _dispatch_root_queue_drain + 540 (inline_internal.h:2468)
15  libdispatch.dylib               0x000000018a2227d0 _dispatch_worker_thread3 + 124 (queue.c:5550)
16  libsystem_pthread.dylib         0x000000018a41b1d0 _pthread_wqthread + 1096 (pthread.c:2196)
17  libsystem_pthread.dylib         0x000000018a41ad7c start_wqthread + 4

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib          0x000000018a337224 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x000000018a33709c mach_msg + 72 (mach_msg.c:103)
2   CoreFoundation                  0x000000018b308e88 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3   CoreFoundation                  0x000000018b306adc __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4   CoreFoundation                  0x000000018b236d94 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5   AVFAudio                        0x00000001a53d3540 GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:106)
6   AVFAudio                        0x00000001a53f9814 CAPThread::Entry(CAPThread*) + 84
7   libsystem_pthread.dylib         0x000000018a41d75c _pthread_body + 240 (pthread.c:697)
8   libsystem_pthread.dylib         0x000000018a41d66c _pthread_start + 284 (pthread.c:744)
9   libsystem_pthread.dylib         0x000000018a41ad84 thread_start + 4

Thread 13 name:
Thread 13:
0   libsystem_kernel.dylib          0x000000018a337224 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x000000018a33709c mach_msg + 72 (mach_msg.c:103)
2   CoreFoundation                  0x000000018b308e88 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3   CoreFoundation                  0x000000018b306adc __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4   CoreFoundation                  0x000000018b236d94 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5   CoreFoundation                  0x000000018b31678c _legacyStreamRunLoop_workThread + 268 (CFStream.c:1775)
6   libsystem_pthread.dylib         0x000000018a41d75c _pthread_body + 240 (pthread.c:697)
7   libsystem_pthread.dylib         0x000000018a41d66c _pthread_start + 284 (pthread.c:744)
8   libsystem_pthread.dylib         0x000000018a41ad84 thread_start + 4

Thread 14 name:
Thread 14:
0   libsystem_kernel.dylib          0x000000018a35523c __select + 8
1   CoreFoundation                  0x000000018b30fca8 __CFSocketManager + 632 (CFSocket.c:2241)
2   libsystem_pthread.dylib         0x000000018a41d75c _pthread_body + 240 (pthread.c:697)
3   libsystem_pthread.dylib         0x000000018a41d66c _pthread_start + 284 (pthread.c:744)
4   libsystem_pthread.dylib         0x000000018a41ad84 thread_start + 4

Thread 15 name:
Thread 15:
0   libsystem_c.dylib               0x000000018a2734d8 confstr + 488 (confstr.c:225)
1   Foundation                      0x000000018bd68240 NSTemporaryDirectory + 56 (NSPathUtilities.m:1826)
2   Foundation                      0x000000018bd68240 NSTemporaryDirectory + 56 (NSPathUtilities.m:1826)
3   Foundation                      0x000000018bd67a94 -[NSFileManager _URLForReplacingItemAtURL:error:] + 112 (NSFileManager.m:2747)
4   Foundation                      0x000000018be2ed64 _NSCreateTemporaryFile_Protected + 504 (NSPlatform.m:1021)
5   Foundation                      0x000000018bd66dc4 _NSWriteDataToFileWithExtendedAttributes + 356 (NSPlatform.m:1194)
6   Foundation                      0x000000018be4b0c4 writeStringToURLOrPath + 224 (NSString.m:1556)
7   OneMessenger                    0x00000001009fa024 +[FIRApp writeString:toURL:] + 96
8   OneMessenger                    0x00000001009f79ac __32+[FIRApp addAppToAppDictionary:]_block_invoke + 192
9   OneMessenger                    0x00000001009fcca4 -[FIRClearcutLogger sendNextPendingRequestWithCompletionHandler:] + 672
10  libdispatch.dylib               0x000000018a2129e0 _dispatch_call_block_and_release + 24 (init.c:963)
11  libdispatch.dylib               0x000000018a2129a0 _dispatch_client_callout + 16 (object.m:473)
12  libdispatch.dylib               0x000000018a220ad4 _dispatch_queue_serial_drain + 928 (inline_internal.h:2431)
13  libdispatch.dylib               0x000000018a2162cc _dispatch_queue_invoke + 884 (queue.c:4853)
14  libdispatch.dylib               0x000000018a220fa8 _dispatch_queue_override_invoke + 344 (queue.c:4890)
15  libdispatch.dylib               0x000000018a222a50 _dispatch_root_queue_drain + 540 (inline_internal.h:2468)
16  libdispatch.dylib               0x000000018a2227d0 _dispatch_worker_thread3 + 124 (queue.c:5550)
17  libsystem_pthread.dylib         0x000000018a41b1d0 _pthread_wqthread + 1096 (pthread.c:2196)
18  libsystem_pthread.dylib         0x000000018a41ad7c start_wqthread + 4

Thread 16 name:
Thread 16:
0   libsystem_kernel.dylib          0x000000018a3394dc fsync + 8
1   libsqlite3.dylib                0x000000018b8b704c unixSync + 220 (sqlite3.c:33772)
2   libsqlite3.dylib                0x000000018b8b6a5c sqlite3PagerCommitPhaseOne + 1428 (sqlite3.c:18932)
3   libsqlite3.dylib                0x000000018b8a35a0 sqlite3BtreeCommitPhaseOne + 180 (sqlite3.c:66409)
4   libsqlite3.dylib                0x000000018b872d68 sqlite3VdbeHalt + 2508 (sqlite3.c:77161)
5   libsqlite3.dylib                0x000000018b89cb7c sqlite3VdbeExec + 56292 (sqlite3.c:82886)
6   libsqlite3.dylib                0x000000018b88e0e0 sqlite3_step + 528 (sqlite3.c:80263)
7   OneMessenger                    0x00000001003fc2bc __25+[DataBase executeQuery:]_block_invoke + 72 (DataBase.m:1072)
8   libdispatch.dylib               0x000000018a2129e0 _dispatch_call_block_and_release + 24 (init.c:963)
9   libdispatch.dylib               0x000000018a2129a0 _dispatch_client_callout + 16 (object.m:473)
10  libdispatch.dylib               0x000000018a220ad4 _dispatch_queue_serial_drain + 928 (inline_internal.h:2431)
11  libdispatch.dylib               0x000000018a2162cc _dispatch_queue_invoke + 884 (queue.c:4853)
12  libdispatch.dylib               0x000000018a220fa8 _dispatch_queue_override_invoke + 344 (queue.c:4890)
13  libdispatch.dylib               0x000000018a222a50 _dispatch_root_queue_drain + 540 (inline_internal.h:2468)
14  libdispatch.dylib               0x000000018a2227d0 _dispatch_worker_thread3 + 124 (queue.c:5550)
15  libsystem_pthread.dylib         0x000000018a41b1d0 _pthread_wqthread + 1096 (pthread.c:2196)
16  libsystem_pthread.dylib         0x000000018a41ad7c start_wqthread + 4

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000010004005   x1: 0x0000000007000806   x2: 0x0000000000000000   x3: 0x0000000000000c00
    x4: 0x0000000000002403   x5: 0x00000000ffffffff   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x00000000fffffbbf   x9: 0x0000000007000000  x10: 0x0000000007000100  x11: 0x0000000000001cc8
   x12: 0x0001440000014503  x13: 0x0000000000000000  x14: 0x0001450000014500  x15: 0x0000000000000000
   x16: 0xffffffffffffffe1  x17: 0x000000018b237294  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x00000000ffffffff  x21: 0x0000000000002403  x22: 0x0000000000000c00  x23: 0x000000016fd02dd8
   x24: 0x0000000007000806  x25: 0x0000000000000000  x26: 0x0000000007000806  x27: 0x0000000000000c00
   x28: 0x0000000000000001   fp: 0x000000016fd02ce0   lr: 0x000000018a33709c
    sp: 0x000000016fd02c90   pc: 0x000000018a337224 cpsr: 0x60000000 

最佳答案

您需要查看“终止原因”。您的崩溃代码为 0xdead10cc。

根据 Apple iOS 文档,这意味着您的“应用程序已被操作系统终止,因为它在暂停期间持有文件锁或 sqlite 数据库锁。”

参见:https://developer.apple.com/library/content/technotes/tn2151/_index.html

当 Apple 断开该链接时,此技术说明的完整标题是技术说明 TN2151:了解和分析应用程序崩溃报告

2020 年 10 月更新链接: https://developer.apple.com/documentation/xcode/diagnosing_issues_using_crash_reports_and_device_logs/understanding_the_exception_types_in_a_crash_report

当 Apple 打破这个新链接时,新文档的标题是“了解崩溃报告中的异常类型”,它包含在 Documentation > Xcode > Diagnosing Issues Using Crash Reports and Device Logs 层次结构下.

关于ios - 崩溃,终止原因 0xdead10cc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43913195/

有关ios - 崩溃,终止原因 0xdead10cc的更多相关文章

  1. ruby - 检查 "command"的输出应该包含 NilClass 的意外崩溃 - 2

    为了将Cucumber用于命令行脚本,我按照提供的说明安装了arubagem。它在我的Gemfile中,我可以验证是否安装了正确的版本并且我已经包含了require'aruba/cucumber'在'features/env.rb'中为了确保它能正常工作,我写了以下场景:@announceScenario:Testingcucumber/arubaGivenablankslateThentheoutputfrom"ls-la"shouldcontain"drw"假设事情应该失败。它确实失败了,但失败的原因是错误的:@announceScenario:Testingcucumber/ar

  2. Ruby Readline 在向上箭头上使控制台崩溃 - 2

    当我在Rails控制台中按向上或向左箭头时,出现此错误:irb(main):001:0>/Users/me/.rvm/gems/ruby-2.0.0-p247/gems/rb-readline-0.4.2/lib/rbreadline.rb:4269:in`blockin_rl_dispatch_subseq':invalidbytesequenceinUTF-8(ArgumentError)我使用rvm来管理我的ruby​​安装。我正在使用=>ruby-2.0.0-p247[x86_64]我使用bundle来管理我的gem,并且我有rb-readline(0.4.2)(人们推荐的最少

  3. ruby - 如何验证 IO.copy_stream 是否成功 - 2

    这里有一个很好的答案解释了如何在Ruby中下载文件而不将其加载到内存中:https://stackoverflow.com/a/29743394/4852737require'open-uri'download=open('http://example.com/image.png')IO.copy_stream(download,'~/image.png')我如何验证下载文件的IO.copy_stream调用是否真的成功——这意味着下载的文件与我打算下载的文件完全相同,而不是下载一半的损坏文件?documentation说IO.copy_stream返回它复制的字节数,但是当我还没有下

  4. Ruby 文件 IO 定界符? - 2

    我正在尝试解析一个文本文件,该文件每行包含可变数量的单词和数字,如下所示:foo4.500bar3.001.33foobar如何读取由空格而不是换行符分隔的文件?有什么方法可以设置File("file.txt").foreach方法以使用空格而不是换行符作为分隔符? 最佳答案 接受的答案将slurp文件,这可能是大文本文件的问题。更好的解决方案是IO.foreach.它是惯用的,将按字符流式传输文件:File.foreach(filename,""){|string|putsstring}包含“thisisanexample”结果的

  5. Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting - 2

    1.错误信息:Errorresponsefromdaemon:Gethttps://registry-1.docker.io/v2/:net/http:requestcanceledwhilewaitingforconnection(Client.Timeoutexceededwhileawaitingheaders)或者:Errorresponsefromdaemon:Gethttps://registry-1.docker.io/v2/:net/http:TLShandshaketimeout2.报错原因:docker使用的镜像网址默认为国外,下载容易超时,需要修改成国内镜像地址(首先阿里

  6. ruby - 为什么不能使用类IO的实例方法noecho? - 2

    print"Enteryourpassword:"pass=STDIN.noecho(&:gets)puts"Yourpasswordis#{pass}!"输出:Enteryourpassword:input.rb:2:in`':undefinedmethod`noecho'for#>(NoMethodError) 最佳答案 一开始require'io/console'后来的Ruby1.9.3 关于ruby-为什么不能使用类IO的实例方法noecho?,我们在StackOverflow上

  7. 由于 libgmp.10.dylib 的问题,Ruby 2.2.0 无法运行 - 2

    我刚刚安装了带有RVM的Ruby2.2.0,并尝试使用它得到了这个:$rvmuse2.2.0--defaultUsing/Users/brandon/.rvm/gems/ruby-2.2.0dyld:Librarynotloaded:/usr/local/lib/libgmp.10.dylibReferencedfrom:/Users/brandon/.rvm/rubies/ruby-2.2.0/bin/rubyReason:Incompatiblelibraryversion:rubyrequiresversion13.0.0orlater,butlibgmp.10.dylibpro

  8. ruby - ri 有空文件 – Ubuntu 11.10, Ruby 1.9 - 2

    我正在运行Ubuntu11.10并像这样安装Ruby1.9:$sudoapt-getinstallruby1.9rubygems一切都运行良好,但ri似乎有空文档。ri告诉我文档是空的,我必须安装它们。我执行此操作是因为我读到它会有所帮助:$rdoc--all--ri现在,当我尝试打开任何文档时:$riArrayNothingknownaboutArray我搜索的其他所有内容都是一样的。 最佳答案 这个呢?apt-getinstallri1.8编辑或者试试这个:(非rvm)geminstallrdocrdoc-datardoc-da

  9. ruby-on-rails - gem install rmagick -v 2.13.1 错误 Failed to build gem native extension on Mac OS 10.9.1 - 2

    我已经通过提供MagickWand.h的路径尝试了一切,我安装了命令工具。谁能帮帮我?$geminstallrmagick-v2.13.1Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingrmagick:ERROR:Failedtobuildgemnativeextension./Users/ghazanfarali/.rvm/rubies/ruby-1.8.7-p357/bin/rubyextconf.rbcheckingforRubyversion>=1.8.5...yescheckingfor/

  10. ruby - 安装 tiny_tds 在 mac os 10.10.5 上出现错误 - 2

    我正在使用macos,我想使用ruby​​驱动程序连接到sqlserver。我想使用tiny_tds,但它给出了缺少free_tds的错误,但它已经安装了。怎么能过这个?~brewinstallfreetdsWarning:freetds-0.91.112alreadyinstalled~sudogeminstalltiny_tdsBuildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingtiny_tds:ERROR:Failedtobuildgemnativeextension.完整日志如下:/System

随机推荐