Closed GoogleCodeExporter closed 8 years ago
Traceback on OS X:
test_funcattrs
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
beginning 9 repetitions
123456789
Reading symbols for shared libraries ..... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000024
0x009388be in llvm::DenseMap<std::pair<unsigned int, unsigned int>,
PyLimitedFeedback, llvm::DenseMapInfo<std::pair<unsigned int, unsigned int> >,
llvm::DenseMapInfo<PyLimitedFeedback> >::begin (this=0x20) at DenseMap.h:76
76 return iterator(Buckets, Buckets+NumBuckets);
(gdb) bt
#0 0x009388be in llvm::DenseMap<std::pair<unsigned int, unsigned int>,
PyLimitedFeedback, llvm::DenseMapInfo<std::pair<unsigned int, unsigned int> >,
llvm::DenseMapInfo<PyLimitedFeedback> >::begin (this=0x20) at DenseMap.h:76
#1 0x00937a1c in PyFeedbackMap::Clear (this=0x20) at
../fast-calls/Util/RuntimeFeedback.cc:442
#2 0x00937a93 in PyFeedbackMap_Clear (map=0x20) at
../fast-calls/Util/RuntimeFeedback.cc:418
#3 0x01b029e2 in llvm_clear_feedback (self=0x0, obj=0x1e28db8) at
/Users/collinwinter/src/us/hg/fast-calls/Modules/_llvm.cc:111
(gdb) p Buckets
Cannot access memory at address 0x24
(gdb) p this
$1 = (llvm::DenseMap<std::pair<unsigned int, unsigned int>, PyLimitedFeedback,
llvm::DenseMapInfo<std::pair<unsigned int, unsigned int> >,
llvm::DenseMapInfo<PyLimitedFeedback> > * const) 0x20
Original comment by collinw
on 18 Dec 2009 at 12:08
Problem identified, patch sent for review
(http://codereview.appspot.com/180083).
Original comment by collinw
on 18 Dec 2009 at 1:12
Fixed in r941.
Original comment by collinw
on 18 Dec 2009 at 1:35
Original issue reported on code.google.com by
collinw
on 18 Dec 2009 at 12:05