mitdbg / aurum-datadiscovery

MIT License
74 stars 49 forks source link

Getting "Aborted (core dumped)" when trying to make queries #147

Open lucasvittal2 opened 3 years ago

lucasvittal2 commented 3 years ago

I've made every step given by "Quick Start" until finally I got the models(pickle files) and accessing the discovery API, when I execute the following command lines:

from main import init_system api, reporting = init_system(, create_reporting=False)

api,reporting = init_system('/home/admin/Desktop/Aurum/aurum-datadiscovery-master/data/models/',True)

The API is started, and from now, the SQRL language is been used to make queries :

Screenshot from 2020-11-05 12-22-22

with the models that were got from the datasets I've provided. However, when I try to make queries , following the "Aurum - data discovery system" paper at section IV - "Querying the EKG":

In : results = schemaSearch("sepal_length","sepal_width")

I'm getting the following log:

free(): invalid pointer Aborted (core dumped)

it means that some attempt to access forbidden memory area was done, but I don't know why it is occurring and how to solve this problem, it's very strict to Aurum data discovery system and just someone that is familiarized with Aurum could answer my questions. Could someone who already used the queries give some help I'd appreciate a lot. Thanks!

raulcf commented 3 years ago

This is a new one! I wonder if it's related to running from a notebook/ipython which is not installed inside the virtualenvironment you are using? In other words, I'd install ipython inside the virtualenv, and then run that instance of ipython and see if the problem persists. It's the first time I see/hear this problem, thanks for reporting!

On Thu, Nov 5, 2020 at 9:43 AM lucasvittal2 notifications@github.com wrote:

I've made every step given by "Quick Start" until finally I got the models(pickle files) and accessing the discovery API, when I execute the following command lines:

from main import init_system api, reporting = init_system(, create_reporting=False)

api,reporting = init_system('/home/admin/Desktop/Aurum/aurum-datadiscovery-master/data/models/',True)

The API is started, and from now, the SQRL language is been used to make queries :

[image: Screenshot from 2020-11-05 12-22-22] https://user-images.githubusercontent.com/62555057/98260173-c3ab3c00-1f61-11eb-9678-78a000fa4271.png

with the models that were got from the datasets I've provided. However, when I try to make queries , following the "Aurum - data discovery system" paper at section IV - "Querying the EKG":

In : results = schemaSearch("sepal_length","sepal_width")

I'm getting the following log:

free(): invalid pointer Aborted (core dumped)

it means that some attempt to access forbidden memory area was done, but I don't know why it is occurring and how to solve this problem, it's very strict to Aurum data discovery system and just someone that is familiarized with Aurum could answer my questions. Could someone who already used the queries give some help I'd appreciate a lot. Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mitdbg/aurum-datadiscovery/issues/147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGQB5P4JG34BT7TL6VNZADSOLBYRANCNFSM4TLQVQKQ .