{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/578","labels_url":"https://api.github.com/repos/facebook/rocksdb/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/facebook/rocksdb/issues/578/comments","events_url":"https://api.github.com/repos/facebook/rocksdb/issues/578/events","html_url":"https://github.com/facebook/rocksdb/issues/578","id":68555531,"number":578,"title":"a core dump  after delete db;. ","user":{"login":"superwood","id":4394639,"avatar_url":"https://avatars.githubusercontent.com/u/4394639?v=3","gravatar_id":"","url":"https://api.github.com/users/superwood","html_url":"https://github.com/superwood","followers_url":"https://api.github.com/users/superwood/followers","following_url":"https://api.github.com/users/superwood/following{/other_user}","gists_url":"https://api.github.com/users/superwood/gists{/gist_id}","starred_url":"https://api.github.com/users/superwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superwood/subscriptions","organizations_url":"https://api.github.com/users/superwood/orgs","repos_url":"https://api.github.com/users/superwood/repos","events_url":"https://api.github.com/users/superwood/events{/privacy}","received_events_url":"https://api.github.com/users/superwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-15T02:41:24Z","updated_at":"2015-04-15T03:18:28Z","closed_at":null,"body":"the version is  3.10.fb\r\ncommit 3e32a88fe7a26db93669c299ef8389b4a1a33f50\r\n\r\nAfter  delete  db, the process seems ok。 But when process exit after delete db, A core dump there。\r\n\r\nThere is the bt\r\n\r\n#0  0x0000003ec8032925 in raise () from /lib64/libc.so.6\r\n#1  0x0000003ec8034105 in abort () from /lib64/libc.so.6\r\n#2  0x000000000040c53e in rocksdb::port::PthreadCall (label=0x5b4dce \"lock\", result=Unhandled dwarf expression opcode 0xf3\r\n) at port/port_posix.cc:26\r\n#3  0x00000000005047a0 in PthreadCall (this=Unhandled dwarf expression opcode 0xf3\r\n) at port/port_posix.cc:24\r\n#4  rocksdb::port::Mutex::Lock (this=Unhandled dwarf expression opcode 0xf3\r\n) at port/port_posix.cc:53\r\n#5  0x0000000000598207 in MutexLock (ptr=0x175f8750) at ./util/mutexlock.h:28\r\n#6  rocksdb::ThreadLocalPtr::StaticMeta::OnThreadExit (ptr=0x175f8750) at util/thread_local.cc:34\r\n#7  0x0000003ec8407a69 in start_thread () from /lib64/libpthread.so.0\r\n#8  0x0000003ec80e8b6d in clone () from /lib64/libc.so.6"},"comment":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/comments/93172355","html_url":"https://github.com/facebook/rocksdb/issues/578#issuecomment-93172355","issue_url":"https://api.github.com/repos/facebook/rocksdb/issues/578","id":93172355,"user":{"login":"igorcanadi","id":1091023,"avatar_url":"https://avatars.githubusercontent.com/u/1091023?v=3","gravatar_id":"","url":"https://api.github.com/users/igorcanadi","html_url":"https://github.com/igorcanadi","followers_url":"https://api.github.com/users/igorcanadi/followers","following_url":"https://api.github.com/users/igorcanadi/following{/other_user}","gists_url":"https://api.github.com/users/igorcanadi/gists{/gist_id}","starred_url":"https://api.github.com/users/igorcanadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorcanadi/subscriptions","organizations_url":"https://api.github.com/users/igorcanadi/orgs","repos_url":"https://api.github.com/users/igorcanadi/repos","events_url":"https://api.github.com/users/igorcanadi/events{/privacy}","received_events_url":"https://api.github.com/users/igorcanadi/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T03:18:28Z","updated_at":"2015-04-15T03:18:28Z","body":"Can you try joining the thread rather than cancelling? Canceling threads cleanly is very tricky."}}