larryxiao / peloton

Apache License 2.0
3 stars 0 forks source link

How to return a vector? #24

Closed sid1607 closed 8 years ago

sid1607 commented 8 years ago

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7890c07 in std::_Construct<peloton::ItemPointer, peloton::ItemPointer const&> (p=0x68c260) at /usr/include/c++/4.8/bits/stl_construct.h:75 75 { ::new(static_cast<void*>(p)) _T1(std::forward<_Args>(__args)...); }

Works in gdb step, fails when run directly. Memory/copy-constructor issues?

@studentX @larryxiao