Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Reproducible by calling .push_back() in a UDF with C++ DBAL.
Insert these lines of code into any C++ UDF and call it in HAWQ. We should see the database crashes before "3" is printed while "2" is printed.
{ warning("0"); std::vector<int> a; warning("1"); a.push_back(1); warning("2"); } warning("3");
It crashes the database when destructor of std::vector is called.
We encountered this when writing display function for decision trees, worked around by using ArrayHandle<text *>.