antonmks / Alenka

GPU database engine
Other
1.17k stars 120 forks source link

Bad column in 'order by' crashes GPU #58

Closed Randolph42 closed 10 years ago

Randolph42 commented 10 years ago

Specifying a bad column in the order by ie: unnamed_A1 := SELECT shipmode AS shipmode,linestatus AS linestatus,count(orderkey) AS col3,sum(price) AS paid FROM lineitem GROUP BY shipmode,linestatus; unnamed_A2 := ORDER unnamed_A1 BY paidz; DISPLAY unnamed_A2 USING ('|');

Results in: tot disk time start0.06 terminate called after throwing an instance of 'thrust::system::detail::bad_alloc' what(): std::bad_alloc: unspecified launch failure Aborted (core dumped)

The GPU crashes and further invocation of any GPU program hangs at initialisation.

antonmks commented 10 years ago

Fixed.