{"action":"opened","issue":{"url":"https://api.github.com/repos/huangyihe/llvm-3.6.0/issues/22","labels_url":"https://api.github.com/repos/huangyihe/llvm-3.6.0/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/huangyihe/llvm-3.6.0/issues/22/comments","events_url":"https://api.github.com/repos/huangyihe/llvm-3.6.0/issues/22/events","html_url":"https://github.com/huangyihe/llvm-3.6.0/issues/22","id":71303208,"number":22,"title":"Intermittent EXC_BAD_ACCES","user":{"login":"danking","id":106194,"avatar_url":"https://avatars.githubusercontent.com/u/106194?v=3","gravatar_id":"","url":"https://api.github.com/users/danking","html_url":"https://github.com/danking","followers_url":"https://api.github.com/users/danking/followers","following_url":"https://api.github.com/users/danking/following{/other_user}","gists_url":"https://api.github.com/users/danking/gists{/gist_id}","starred_url":"https://api.github.com/users/danking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danking/subscriptions","organizations_url":"https://api.github.com/users/danking/orgs","repos_url":"https://api.github.com/users/danking/repos","events_url":"https://api.github.com/users/danking/events{/privacy}","received_events_url":"https://api.github.com/users/danking/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-27T14:39:49Z","updated_at":"2015-04-27T14:39:49Z","closed_at":null,"body":"```\r\nProcess 30961 stopped\r\n* thread #1: tid = 0x3cbf57, 0x00000001027d3ebf libmpfr.4.dylib`mpfr_cmp3 + 146, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1f8)\r\n    frame #0: 0x00000001027d3ebf libmpfr.4.dylib`mpfr_cmp3 + 146\r\nlibmpfr.4.dylib`mpfr_cmp3:\r\n->  0x1027d3ebf <+146>: cmpq   %rcx, (%rax,%rdi,8)\r\n    0x1027d3ec3 <+150>: ja     0x1027d3f5e               ; <+305>\r\n    0x1027d3ec9 <+156>: jb     0x1027d3f5c               ; <+303>\r\n    0x1027d3ecf <+162>: decq   %rdi\r\n(lldb) bt\r\n* thread #1: tid = 0x3cbf57, 0x00000001027d3ebf libmpfr.4.dylib`mpfr_cmp3 + 146, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1f8)\r\n  * frame #0: 0x00000001027d3ebf libmpfr.4.dylib`mpfr_cmp3 + 146\r\n    frame #1: 0x00000001027d43bc libmpfr.4.dylib`mpfr_equal_p + 38\r\n    frame #2: 0x000000010066cf8a lli`mpfr::enable_if<(type_traits<mpfr::result_type2<mpfr::real<4096l, (mpfr_rnd_t)0>, double, true>::type, mpfr::real<4096l, (mpfr_rnd_t)0>, true>::enable_compar_ops) && (type_traits<mpfr::result_type2<mpfr::real<4096l, (mpfr_rnd_t)0>, double, true>::type, double, true>::enable_compar_ops), int>::type mpfr::operator==<mpfr::real<4096l, (r1=0x0000000102921f78, r2=0x00007fff5fbfc698)0>, double>(mpfr::real<4096l, (mpfr_rnd_t)0> const&, double const&) + 58 at real.hpp:1949\r\n    frame #3: 0x0000000100659848 lli`llvm::SmartFloat::CheckPrecision(this=0x0000000102921f70) + 72 at RealSemantics.h:62\r\n    frame #4: 0x00000001006539f2 lli`llvm::ExecutionEngine::StoreRealValueToMemory(this=0x0000000102a02240, FloatTy=FloatTyID, Val=0x00007fff5fbfcd00, Ptr=0x0000000102907ee0, Name=0x00007fff5fbfcca8) + 162 at ExecutionEngine.cpp:978\r\n    frame #5: 0x0000000100654356 lli`llvm::ExecutionEngine::StoreValueToMemory(this=0x0000000102a02240, Val=0x00007fff5fbfcd00, Ptr=0x0000000102907ee0, Ty=0x00000001038009c8, Name=0x00007fff5fbfcca8) + 1094 at ExecutionEngine.cpp:1022\r\n    frame #6: 0x000000010069434e lli`llvm::Interpreter::visitStoreInst(this=0x0000000102a02240, I=0x0000000102a012f0) + 766 at Execution.cpp:1068\r\n    frame #7: 0x00000001006b6038 lli`llvm::InstVisitor<llvm::Interpreter, void>::visitStore(this=0x0000000102a02240, I=0x0000000102a012f0) + 40 at Instruction.def:134\r\n    frame #8: 0x00000001006b57bb lli`llvm::InstVisitor<llvm::Interpreter, void>::visit(this=0x0000000102a02240, I=0x0000000102a012f0) + 763 at Instruction.def:134\r\n    frame #9: 0x00000001006b1c88 lli`llvm::Interpreter::run(this=0x0000000102a02240) + 248 at Execution.cpp:2336\r\n    frame #10: 0x00000001006d4441 lli`llvm::Interpreter::runFunction(this=0x0000000102a02240, F=0x0000000102908820, ArgValues=0x00007fff5fbfd2f8) + 1025 at Interpreter.cpp:100\r\n    frame #11: 0x000000010064afa6 lli`llvm::ExecutionEngine::runFunctionAsMain(this=0x0000000102a02240, Fn=0x0000000102908820, argv=0x0000000101566830, envp=0x00007fff5fbffae0) + 4502 at ExecutionEngine.cpp:403\r\n    frame #12: 0x0000000100005ee8 lli`main(argc=3, argv=0x00007fff5fbffac0, envp=0x00007fff5fbffae0) + 15368 at lli.cpp:608\r\n    frame #13: 0x00007fff941395c9 libdyld.dylib`start + 1\r\n(lldb) \r\n```"}}