cmu-db / peloton

The Self-Driving Database Management System
http://pelotondb.io
Apache License 2.0
2.03k stars 624 forks source link

peloton crashes abnormally when inserting #1479

Open Handora opened 5 years ago

Handora commented 5 years ago

I have built the peloton according to the developer instruction guide, while when I launch the client using psql "sslmode=disable" -U default_table -h localhost -p 15721 and create and insert tuple table as follow, the server crashes abnormally

CREATE TABLE foo (id INT PRIMARY KEY, val VARCHAR(32) DEFAULT NULL);

INSERT INTO foo VALUES (0, 'Cappadonna');

when inserting the tuple, the server's error is as follow,

peloton: /home/han/Src/peloton/src/include/type/serializeio.h:56: const void* peloton::SerializeInput::getRawPointer(std::size_t): Assertion `(current_ <= end_)' failed.