所以我了解到禁止文件夹上的硬链接以避免文件系统中的无限循环。看来是个好主意!但为什么在文件夹上使用 simlink 创建无限循环不是问题呢?为什么系统可以处理 simlink 循环但不能处理硬链接循环?
我正在尝试运行命令在 ubuntu 上安装 samtools,但每当我尝试使用 tar 时,我都会遇到问题。
输入 :/c/Users/Hamza Bilal$ tar -xvf samtools-1.9.tar.bz2
我每次得到的输出是:
tar: samtools-1.9.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
请帮我解决这个错误。
在删除备份期间,不知何故rm -rf
得到了存货并且无法删除符号链接。
现在,我的文件夹看起来像这样:
$ ls
armips-master # folder
$ cd armips-master
$ ls
armips
$ readlink ./armips
armips/build/armips
我想我错误地链接example
到另一个名为相同的目录中的文件夹,现在它指的是它自己。
我想删除这个符号链接,但它有点递归。我试过了:
rm -f armips
:rm: armips: Invalid argument
unlink armips
:unlink: armips: Invalid argument
cd ..; rm -rf armips-master
:rm: armips-master/armips: Invalid argument
当然,我不想去,/dev/disk3s1
而且我几乎不删除那个文件夹。即使是 Finder 也无法删除它。
背景
我在两台 Mac 笔记本电脑上使用 Google Drive for Desktop。两者都在运行“Catalina”(MacOS 10.15)。我希望能够在它们之间同步并使两者的文件路径相同(即,如果a.txt
在~/Google Drive/a.txt
一台计算机上,我希望它在另一台计算机上相同)。
几周前我刚刚设置了第二个(第一个是几年前设置的)。在这第二个中,Google Drive 决定不将文件存储~/Google Drive/
在~/Google Drive/My Drive/
. 这导致第一台计算机上正确的文件路径在第二台计算机上是错误的。(问题表现在使用 BibDesk 时,在第一台计算机上工作的 PDF 链接在第二台计算机上不起作用。)
问题
有没有办法告诉 Google Drive 删除My Drive
子目录并~/Google Drive/
像在第一台计算机上一样使用它?还是有一种巧妙的方法来设置符号链接以使文件路径正常工作?(问题是我不能只ln -s "~/Google Drive/My Drive/" ~/Google\ Drive
在第二台计算机上说,因为已经有一个具有该名称的目录。)
需要明确的是,我在计算机之间同步文件时没有问题。这很好用。只是我希望给定文件的文件路径在两者上完全相同。
给定输入视频,input.mp4
以下命令会生成一个out
文件夹,其中包含一堆 HLS 视频片段和m3u8
多种分辨率的播放列表文件:
ffmpeg -hide_banner -y -i input.mp4 \
-vf scale=w=640:h=360:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_segment_filename out/360p_%03d.ts out/360p.m3u8 \
-vf scale=w=842:h=480:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 1400k -maxrate 1498k -bufsize 2100k -b:a 128k -hls_segment_filename out/480p_%03d.ts out/480p.m3u8 \
-vf scale=w=1280:h=720:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename out/720p_%03d.ts out/720p.m3u8 \
-vf scale=w=1920:h=1080:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 5000k -maxrate 5350k -bufsize 7500k -b:a 192k -hls_segment_filename out/1080p_%03d.ts out/1080p.m3u8
运行上述命令时,输出如下所示:
[hls @ 0x12be06030] Opening 'out/360p_000.ts' for writing
[hls @ 0x12be088d0] Opening 'out/480p_000.ts' for writing
[hls @ 0x12be0b810] Opening 'out/720p_000.ts' for writing
[hls @ 0x12be0e790] Opening 'out/1080p_000.ts' for writing
[hls @ 0x12be06030] Opening 'out/360p_001.ts' for writing
[hls @ 0x12be088d0] Opening 'out/480p_001.ts' for writing
[hls @ 0x12be0b810] Opening 'out/720p_001.ts' for writing
[hls @ 0x12be0e790] Opening 'out/1080p_001.ts' for writing
[hls @ 0x12be06030] Opening 'out/360p_002.ts' for writing
[hls @ 0x12be088d0] Opening 'out/480p_002.ts' for writing
[hls @ 0x12be0b810] Opening 'out/720p_002.ts' for writing
[hls @ 0x12be0e790] Opening 'out/1080p_002.ts' for writing
[hls @ 0x12be06030] Opening 'out/360p_003.ts' for writing
[hls @ 0x12be088d0] Opening 'out/480p_003.ts' for writing
[hls @ 0x12be0b810] Opening 'out/720p_003.ts' for writing
[hls @ 0x12be0e790] Opening 'out/1080p_003.ts' for writing
etc
如您所见,ffmpeg 的输出告诉我它正在打开哪些文件进行写入。当关闭文件以进行写入时,ffmpeg 有什么方法可以输出,或者知道何时以编程方式与这些文件交互是安全的?我专门在 Unix 系统上运行它,所以如果答案涉及一些 unix 技巧来监视正在运行的 ffmpeg 进程,那很好,但我宁愿 ffmpeg 在完成写入文件时直接告诉我。
我有一个子网列表,例如。
180.151.96.0/22
180.151.240.0/21
119.82.112.0/22
203.122.29.0/24
203.122.48.0/22
119.82.92.0/24
180.151.108.0/23
119.82.124.0/24
119.82.89.0/24
180.151.17.0/24
119.82.85.0/24
203.92.59.0/24
125.63.90.0/24
180.151.2.0/24
125.63.126.0/24
sort -n
使用or后这些的输出sort -g
是
119.82.112.0/22
119.82.124.0/24
119.82.85.0/24
119.82.89.0/24
119.82.92.0/24
125.63.126.0/24
125.63.90.0/24
180.151.108.0/23
180.151.17.0/24
180.151.2.0/24
180.151.240.0/21
180.151.96.0/22
203.122.29.0/24
203.122.48.0/22
203.92.59.0/24
我需要输出为
119.82.85.0/24
119.82.89.0/24
119.82.92.0/24
119.82.112.0/22
119.82.124.0/24
125.63.90.0/24
125.63.126.0/24
180.151.2.0/24
180.151.17.0/24
180.151.96.0/22
180.151.108.0/23
180.151.240.0/21
203.92.59.0/24
203.122.29.0/24
203.122.48.0/22
只有使用 Notepad++ 功能“将行排序为整数升序”才能进行此类输出
有人可以帮忙吗:)
我正在执行以下步骤。看起来我无法将 #!/bin/ksh 作为第一行复制并粘贴到 unix 上的 vi 编辑器中。我粘贴了我需要的代码,但在 vi 编辑器的第一行中没有看到。我试过右键单击复制和粘贴以及衬衫+插入。
在 Putty 中打开会话并使用凭据登录
键入并输入“vi .profile”(这会在 Putty 中打开一个文本编辑器)
将以下文本复制并粘贴(衬衫+插入)到配置文件中(“#!/bin/ksh”必须是第一行)
#!/bin/ksh set -o vi ## Command line aliases ## alias x="xterm -ls -sb&" alias p="ps -fu $LOGNAME" alias j="jobs" alias sasdir="cd /gfs_sastmp/sastmp049" alias w="find /gfs_sastmp/sastmp049 -type f -user $LOGNAME 2>/dev/null -exec ls -lrt {} \;" alias myprof="vi ~/.profile" alias resync=". $HOME/.profile" alias myenv="vi ~/sas_unix.sas" alias s="find ./ -type f 2>/dev/null -exec ls -lrt {} \;|grep -i" alias u="du -lag" alias mdr1="/gfs_bin/sas/update_pwd/setpass_rc.ksh $LOGNAME@LDAP DWPRD" alias mdr2="/gfs_bin/sas/update_pwd/setpass_sm.ksh $LOGNAME@LDAP DWPRD" alias unarch="/gfs_bin/sas/compression/uncompress.bsh"
我使用Apple M1,早上登录电脑时IntelIJ经常关机,需要重新启动应用程序。此外,有时 IntelliJ 只是冻结,我需要强制退出重新开始。这是我收到的错误日志:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: idea [76230]
Path: /Applications/IntelliJ IDEA.app/Contents/MacOS/idea
Identifier: com.jetbrains.intellij
Version: 2021.3.3 (IU-213.7172.25)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2022-03-24 11:36:30.1965 +0600
OS Version: macOS 12.2.1 (21D62)
Report Version: 12
Anonymous UUID: 541B5190-6726-9EDB-BC2A-7C9CE3CA560D
Sleep/Wake UUID: 202043C5-1819-45A0-B38C-FC2F621576C1
Time Awake Since Boot: 930000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
VM Region Info: 0 is not in any region. Bytes before following region: 4369022976
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1046a0000-1046a8000 [ 32K] r-x/r-x SM=COW ...ts/MacOS/idea
Application Specific Information:
*** Terminating app due to uncaught exception 'NSGenericException', reason: 'java.lang.NullPointerException
java.desktop/sun.lwawt.LWWindowPeer.updateMinimumSize(LWWindowPeer.java:458)
java.desktop/sun.lwawt.LWWindowPeer.notifyReshape(LWWindowPeer.java:713)
java.desktop/sun.lwawt.macosx.CPlatformWindow.deliverMoveResizeEvent(CPlatformWindow.java:1243)'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 0:
0 CoreFoundation 0x000000018881c1cc __exceptionPreprocess + 240
1 libobjc.A.dylib 0x000000018856d7b8 objc_exception_throw + 60
2 CoreFoundation 0x000000018881c018 +[NSException exceptionWithName:reason:userInfo:] + 0
3 libawt_lwawt.dylib 0x000000013fb1ef0c -[AWTWindow _deliverMoveResizeEvent] + 1104
4 CoreFoundation 0x0000000188791200 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28
5 CoreFoundation 0x0000000188834b84 ___CFXRegistrationPost_block_invoke + 52
6 CoreFoundation 0x0000000188834af0 _CFXRegistrationPost + 456
7 CoreFoundation 0x000000018875feb0 _CFXNotificationPost + 720
8 Foundation 0x0000000189615e3c -[NSNotificationCenter postNotificationName:object:userInfo:] + 96
9 AppKit 0x000000018b343f40 -[NSWindow _setFrameCommon:display:fromServer:] + 3264
10 AppKit 0x000000018bb89cdc -[NSWindow(NSScreenLayout) _setFrame:fromAdjustmentToScreen:anchorIfNeeded:animate:] + 660
11 AppKit 0x000000018b67717c -[NSWindow _adjustWindowToScreen] + 1292
12 AppKit 0x000000018b69ddb8 -[NSWindow _displayChangedSoAdjustWindows:] + 116
13 AppKit 0x000000018be3329c ___NSApplicationPerformScreenInvalidationReactions_block_invoke + 92
14 AppKit 0x000000018b2eb188 -[NSApplication enumerateWindowsWithOptions:usingBlock:] + 292
15 AppKit 0x000000018be32d2c ___NSApplicationReactToScreenInvalidation_block_invoke + 640
16 AppKit 0x000000018be32828 _NSApplicationReactToScreenInvalidation + 300
17 AppKit 0x000000018be32a24 -[NSApplication(ScreenHandling) _reactToDisplayChanges:] + 408
18 AppKit 0x000000018b9d0a40 _NSCGSDisplayConfigurationUpdateAndInvokeObservers + 456
19 AppKit 0x000000018b9d0e04 _NSCGSDisplayConfigurationDidReconfigureNotificationHandler + 328
20 SkyLight 0x000000018d8a8ca4 _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 920
21 SkyLight 0x000000018db99aac _ZN21CGSDatagramReadStream26dispatchMainQueueDatagramsEv + 228
22 SkyLight 0x000000018db999a8 ___ZN21CGSDatagramReadStream15mainQueueWakeupEv_block_invoke + 28
23 libdispatch.dylib 0x0000000188510e60 _dispatch_call_block_and_release + 32
24 libdispatch.dylib 0x0000000188512bac _dispatch_client_callout + 20
25 libdispatch.dylib 0x00000001885210ac _dispatch_main_queue_callback_4CF + 944
26 CoreFoundation 0x00000001887ddf00 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
27 CoreFoundation 0x000000018879b8c0 __CFRunLoopRun + 2540
28 CoreFoundation 0x000000018879a734 CFRunLoopRunSpecific + 600
29 HIToolbox 0x0000000191332f68 RunCurrentEventLoopInMode + 292
30 HIToolbox 0x0000000191332cdc ReceiveNextEventCommon + 552
31 HIToolbox 0x0000000191332a9c _BlockUntilNextEventMatchingListInModeWithFilter + 72
32 AppKit 0x000000018b2f1000 _DPSNextEvent + 844
33 AppKit 0x000000018b2ef8a4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
34 libosxapp.dylib 0x0000000106e9bc10 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 144
35 AppKit 0x000000018b2e19b4 -[NSApplication run] + 596
36 libosxapp.dylib 0x0000000106e9b9c8 +[NSApplicationAWT runAWTLoopWithApp:] + 216
37 libawt_lwawt.dylib 0x000000013fb76f4c +[AWTStarter starter:headless:] + 508
38 libosxapp.dylib 0x0000000106e9d974 +[ThreadUtilities invokeBlockCopy:] + 28
39 Foundation 0x0000000189690914 __NSThreadPerformPerform + 212
40 CoreFoundation 0x000000018879cc5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
41 CoreFoundation 0x000000018879cba8 __CFRunLoopDoSource0 + 208
42 CoreFoundation 0x000000018879c894 __CFRunLoopDoSources0 + 268
43 CoreFoundation 0x000000018879b208 __CFRunLoopRun + 820
44 CoreFoundation 0x000000018879a734 CFRunLoopRunSpecific + 600
45 idea 0x00000001046a49c4 main + 3332
46 dyld 0x00000001047f90f4 start + 520
Kernel Triage:
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x18869d9b8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1886d0eb0 pthread_kill + 288
2 libsystem_c.dylib 0x18860e314 abort + 164
3 libc++abi.dylib 0x18868db50 abort_message + 132
4 libc++abi.dylib 0x18867ef64 demangling_terminate_handler() + 332
5 libobjc.A.dylib 0x188576140 _objc_terminate() + 144
6 libc++abi.dylib 0x18868cee4 std::__terminate(void (*)()) + 20
7 libc++abi.dylib 0x18868ce80 std::terminate() + 64
8 libdispatch.dylib 0x188512bc0 _dispatch_client_callout + 40
9 libdispatch.dylib 0x1885210ac _dispatch_main_queue_callback_4CF + 944
10 CoreFoundation 0x1887ddf00 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
11 CoreFoundation 0x18879b8c0 __CFRunLoopRun + 2540
12 CoreFoundation 0x18879a734 CFRunLoopRunSpecific + 600
13 HIToolbox 0x191332f68 RunCurrentEventLoopInMode + 292
14 HIToolbox 0x191332cdc ReceiveNextEventCommon + 552
15 HIToolbox 0x191332a9c _BlockUntilNextEventMatchingListInModeWithFilter + 72
16 AppKit 0x18b2f1000 _DPSNextEvent + 844
17 AppKit 0x18b2ef8a4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
18 libosxapp.dylib 0x106e9bc10 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 144
19 AppKit 0x18b2e19b4 -[NSApplication run] + 596
20 libosxapp.dylib 0x106e9b9c8 +[NSApplicationAWT runAWTLoopWithApp:] + 216
21 libawt_lwawt.dylib 0x13fb76f4c +[AWTStarter starter:headless:] + 508
22 libosxapp.dylib 0x106e9d974 +[ThreadUtilities invokeBlockCopy:] + 28
23 Foundation 0x189690914 __NSThreadPerformPerform + 212
24 CoreFoundation 0x18879cc5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
25 CoreFoundation 0x18879cba8 __CFRunLoopDoSource0 + 208
26 CoreFoundation 0x18879c894 __CFRunLoopDoSources0 + 268
27 CoreFoundation 0x18879b208 __CFRunLoopRun + 820
28 CoreFoundation 0x18879a734 CFRunLoopRunSpecific + 600
29 idea 0x1046a49c4 main + 3332
30 dyld 0x1047f90f4 start + 520
Thread 1:
0 libsystem_kernel.dylib 0x1886990c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1886d1808 _pthread_cond_wait + 1228
2 libjvm.dylib 0x107687398 os::PlatformEvent::park() + 156
3 libjvm.dylib 0x107654860 Monitor::IWait(Thread*, long) + 144
4 libjvm.dylib 0x107654df0 Monitor::wait(bool, long, bool) + 252
5 libjvm.dylib 0x107781454 Threads::destroy_vm() + 96
6 libjvm.dylib 0x107489688 jni_DestroyJavaVM + 248
7 idea 0x1046a5b60 -[Launcher launch] + 896
8 Foundation 0x1896682e8 __NSThread__start__ + 808
9 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
10 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
Thread 2:: Java: GC Thread#0
0 libsystem_kernel.dylib 0x188695990 semaphore_wait_trap + 8
1 libjvm.dylib 0x1076f8094 OSXSemaphore::wait() + 24
2 libjvm.dylib 0x1077e9f00 SemaphoreGangTaskDispatcher::worker_wait_for_task() + 24
3 libjvm.dylib 0x1077e9894 GangWorker::loop() + 36
4 libjvm.dylib 0x10777a8d0 Thread::call_run() + 120
5 libjvm.dylib 0x10767df34 thread_native_entry(Thread*) + 316
6 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
7 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
Thread 3:: Java: G1 Main Marker
0 libsystem_kernel.dylib 0x1886990c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1886d1808 _pthread_cond_wait + 1228
2 libjvm.dylib 0x107687398 os::PlatformEvent::park() + 156
3 libjvm.dylib 0x107654860 Monitor::IWait(Thread*, long) + 144
4 libjvm.dylib 0x107654d74 Monitor::wait(bool, long, bool) + 128
5 libjvm.dylib 0x1073897ac G1ConcurrentMarkThread::sleep_before_next_cycle() + 76
6 libjvm.dylib 0x107389284 G1ConcurrentMarkThread::run_service() + 276
7 libjvm.dylib 0x1072d1ec0 ConcurrentGCThread::run() + 56
8 libjvm.dylib 0x10777a8d0 Thread::call_run() + 120
9 libjvm.dylib 0x10767df34 thread_native_entry(Thread*) + 316
10 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
11 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
Thread 4:: Java: G1 Conc#0
0 libsystem_kernel.dylib 0x188695990 semaphore_wait_trap + 8
1 libjvm.dylib 0x1076f8094 OSXSemaphore::wait() + 24
2 libjvm.dylib 0x1077e9f00 SemaphoreGangTaskDispatcher::worker_wait_for_task() + 24
3 libjvm.dylib 0x1077e9894 GangWorker::loop() + 36
4 libjvm.dylib 0x10777a8d0 Thread::call_run() + 120
5 libjvm.dylib 0x10767df34 thread_native_entry(Thread*) + 316
6 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
7 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
Thread 5:: Java: G1 Refine#0
0 libsystem_kernel.dylib 0x1886990c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1886d1808 _pthread_cond_wait + 1228
2 libjvm.dylib 0x107687398 os::PlatformEvent::park() + 156
3 libjvm.dylib 0x107654860 Monitor::IWait(Thread*, long) + 144
4 libjvm.dylib 0x107654d74 Monitor::wait(bool, long, bool) + 128
5 libjvm.dylib 0x10738aae8 G1ConcurrentRefineThread::wait_for_completed_buffers() + 100
6 libjvm.dylib 0x10738acb0 G1ConcurrentRefineThread::run_service() + 156
7 libjvm.dylib 0x1072d1ec0 ConcurrentGCThread::run() + 56
8 libjvm.dylib 0x10777a8d0 Thread::call_run() + 120
9 libjvm.dylib 0x10767df34 thread_native_entry(Thread*) + 316
10 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
11 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
Thread 6:: Java: G1 Young RemSet Sampling
0 libsystem_kernel.dylib 0x1886990c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1886d1808 _pthread_cond_wait + 1228
2 libjvm.dylib 0x107685eb8 os::PlatformEvent::park(long) + 228
3 libjvm.dylib 0x107654850 Monitor::IWait(Thread*, long) + 128
4 libjvm.dylib 0x107654d74 Monitor::wait(bool, long, bool) + 128
5 libjvm.dylib 0x1073bc4b8 G1YoungRemSetSamplingThread::sleep_before_next_cycle() + 64
6 libjvm.dylib 0x1073bc510 G1YoungRemSetSamplingThread::run_service() + 72
7 libjvm.dylib 0x1072d1ec0 ConcurrentGCThread::run() + 56
8 libjvm.dylib 0x10777a8d0 Thread::call_run() + 120
9 libjvm.dylib 0x10767df34 thread_native_entry(Thread*) + 316
10 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
11 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
Thread 7:: Java: VM Thread
0 libsystem_kernel.dylib 0x1886990c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1886d1808 _pthread_cond_wait + 1228
2 libjvm.dylib 0x107685eb8 os::PlatformEvent::park(long) + 228
3 libjvm.dylib 0x107654850 Monitor::IWait(Thread*, long) + 128
4 libjvm.dylib 0x107654d74 Monitor::wait(bool, long, bool) + 128
5 libjvm.dylib 0x1077cf240 VMThread::loop() + 316
6 libjvm.dylib 0x1077ceffc VMThread::run() + 124
7 libjvm.dylib 0x10777a8d0 Thread::call_run() + 120
8 libjvm.dylib 0x10767df34 thread_native_entry(Thread*) + 316
9 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
10 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
Thread 8:: Java: Reference Handler
0 libsystem_kernel.dylib 0x1886990c0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1886d1808 _pthread_cond_wait + 1228
2 libjvm.dylib 0x107687398 os::PlatformEvent::park() + 156
3 libjvm.dylib 0x107654860 Monitor::IWait(Thread*, long) + 144
4 libjvm.dylib 0x107654e34 Monitor::wait(bool, long, bool) + 320
5 libjvm.dylib 0x1074c0e68 JVM_WaitForReferencePendingList + 248
6 ??? 0x10b313bfc ???
7 ??? 0x11cd3bb98 ???
8 ??? 0x10b308144 ???
9 libjvm.dylib 0x10742bc20 JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*) + 732
10 libjvm.dylib 0x10742af84 JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 236
11 libjvm.dylib 0x10742b04c JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*) + 100
12 libjvm.dylib 0x1074bead8 thread_entry(JavaThread*, Thread*) + 120
13 libjvm.dylib 0x10777cd3c JavaThread::thread_main_inner() + 128
14 libjvm.dylib 0x10777cb68 JavaThread::run() + 296
15 libjvm.dylib 0x10777a8d0 Thread::call_run() + 120
16 libjvm.dylib 0x10767df34 thread_native_entry(Thread*) + 316
17 libsystem_pthread.dylib 0x1886d1240 _pthread_start + 148
18 libsystem_pthread.dylib 0x1886cc024 thread_start + 8
有了提供的错误,任何人都可以指出这个问题,我该如何摆脱它?
PS:错误栈太大,我只提供它的前几行。