cmu-db / peloton

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

Log files for peloton #1461

Closed mmmohsen closed 6 years ago

mmmohsen commented 6 years ago

Hello,

I'm using a driver to connect to peloton from C code using libpq-fe.h, After doing some insert queries the peloton crashes with this error

""" server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. """

and from the terminal I run peloton from ./peloton

I got

""" terminate called after throwing an instance of 'std::overflow_error' what(): ERROR: overflow Aborted (core dumped) """

So is there any log files for peloton so I could determine where the error come from exactly? or any advice to detect the error.

Operating system: ubuntu 16.04

Thank you a lot in advance,

apavlo commented 6 years ago

Compile it in debug mode:

https://github.com/cmu-db/peloton/wiki/Developer-Build

We have only used pqxx to test it. We haven't tried libpq-fe