Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Segmentation fault when initializing an in-memory database #48

Open
@joedsilva

Description

@joedsilva
  • MonetDBLite-Python version: git clone from master (also happens with pip install)
  • Python version: 3.6.2 also happens in 3.5.2
  • Pip version:
  • Operating System: Ubuntu 16.04.6 LTS

Description

We were originally trying to use monetdblite from within PostgreSQL python UDFs (long story) and it was crashing the postgres engine itself.

Upon closer inspection, we noticed that even if you just start monetdblite from a regular Python interpreter, do the init (seems to work) and then wait and count till 50 seconds, the Python interpreter will crash. This is reproducible. Although it does not seem to be an issue if you do not initialize it as an in-memory database.

What I Did

$ python3
Python 3.6.2 (default, Jul 17 2017, 23:14:31)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import monetdblite
>>> monetdblite.init(':memory:')
>>> Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions