我最近开始在我的代码中出现崩溃,我不得不覆盖默认值new
,delete
我不完全确定,但它可能是在最近的软件更新之后。
我正在运行 Osx 10.8.2 build 12C54 和以下 gcc :
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1
这是我崩溃的堆栈跟踪。
(gdb) bt
#0 0x00007fff8f2a4212 in __pthread_kill ()
#1 0x00007fff8fdecaf4 in pthread_kill ()
#2 0x00007fff8fe30dce in abort ()
#3 0x00007fff8fe04959 in free ()
#4 0x00000001009cd947 in foundation::aligned_free ()
#5 0x00000001009e5322 in (anonymous namespace)::delete_impl ()
#6 0x00000001009e53e8 in operator delete[] ()
#7 0x00007fff87316ecc in TPropertyStream::SetLength ()
#8 0x00007fff87286099 in TPropertyStream::WriteData ()
#9 0x00007fff87286037 in TPropertyStream::Write ()
#10 0x00007fff87285ce7 in IAStoreStream::MaybeFlushBuffer ()
#11 0x00007fff87285641 in BuddyStorage::Commit ()
#12 0x00007fff87316c4c in TPropertyInfo::FlushChanges ()
#13 0x00007fff873169af in TPropertyInfo::FlushChanges ()
#14 0x00007fff8729ac47 in THFSPlusPropertyStore::FlushChanges ()
#15 0x00007fff872dc5e4 in TFSVolumeInfo::FlushVolumes ()
#16 0x00007fff872b087a in TNode::HandleFlushVolumes ()
#17 0x00007fff872684d3 in TNode::HandleNodeRequest ()
#18 0x00007fff872db4e7 in __block_global_1 ()
#19 0x00007fff87268040 in ExceptionSafeBlock ()
#20 0x00007fff87267fe1 in __PostNodeTaskRequest_block_invoke_0 ()
#21 0x00007fff8e074f01 in _dispatch_call_block_and_release ()
#22 0x00007fff8e0710b6 in _dispatch_client_callout ()
#23 0x00007fff8e07247f in _dispatch_queue_drain ()
#24 0x00007fff8e0722f1 in _dispatch_queue_invoke ()
#25 0x00007fff8e0721c3 in _dispatch_worker_thread2 ()
#26 0x00007fff8fdedcab in _pthread_wqthread ()
#27 0x00007fff8fdd8171 in start_wqthread ()
有没有人遇到过类似的问题?