question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segfault on creating a Ctx

See original GitHub issue

Installation using conda with Python 3.6.2 on Ubuntu 16.04.

tiledb                    1.2.2                h650255c_2    conda-forge
tiledb-py                 0.1.1                    py36_0    conda-forge

Trying to create a Ctx causes a segfault:

In [1]: import tiledb

In [2]: ctx = tiledb.Ctx()
*** Error in `/home/nezar/miniconda3/envs/py36/bin/python': free(): invalid pointer: 0x00007f1092c5bec0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f109ef5c7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f109ef6537a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f109ef6953c]
/home/nezar/miniconda3/envs/py36/lib/python3.6/site-packages/tiledb/../../../libtiledb.so(+0x86e39)[0x7f10939cae39]
/home/nezar/miniconda3/envs/py36/lib/python3.6/site-packages/tiledb/../../../libtiledb.so(+0x8cdcc)[0x7f10939d0dcc]
/home/nezar/miniconda3/envs/py36/lib/python3.6/site-packages/tiledb/../../../libtiledb.so(+0x9f5f8)[0x7f10939e35f8]
/home/nezar/miniconda3/envs/py36/lib/python3.6/site-packages/tiledb/../../../libtiledb.so(+0x173cc1)[0x7f1093ab7cc1]
/home/nezar/miniconda3/envs/py36/lib/python3.6/site-packages/tiledb/../../../libtiledb.so(tiledb_ctx_create+0xd1)[0x7f109399d011]
/home/nezar/miniconda3/envs/py36/lib/python3.6/site-packages/tiledb/libtiledb.cpython-36m-x86_64-linux-gnu.so(+0x89ec4)[0x7f1093db6ec4]
/home/nezar/miniconda3/envs/py36/bin/../lib/libpython3.6m.so.1.0(+0xda2ac)[0x7f109febe2ac]
/home/nezar/miniconda3/envs/py36/bin/../lib/libpython3.6m.so.1.0(_PyObject_FastCallDict+0x9e)[0x7f109fe4fc1e]

...

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jakebolewskicommented, Dec 4, 2018

@manolinux I think your issue is different than the one above. The illegal instruction issue hints that the conda toolchain compiled with SSE or AVX vector instructions that your platform does not support.

1reaction
jakebolewskicommented, Jul 6, 2018

Hi @nvictus, this looks to be an internal TileDB bug from the last version. We are working on getting ready for the next release (1.3.0) next week and I think this should be addressed.

I’ll leave this issue open until I can reproduce / confirm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Presenting from swapchain induces segfault - Stack Overflow
Currently trying to create a main loop which presents images from a swapchain: void loop(struct Context *ctx, void(*loopfn)(struct ...
Read more >
Segmentation fault when calling Builder::build_global_string
When playing around with inkwell before starting my project in full, I decided to try to make a hello world program using it....
Read more >
Bug #1884265 “[fips] ntpq segfaults when attempting to use ...
In FIPS mode on Bionic MD5 is semi-disabled causing some applications to segfault. ntpq uses crypto hashes to authenticate its requests. By ...
Read more >
Ctxhx causes Segfault - Oracle Support
Stack trace o the core files shows: Core was generated by `/oracle/db/database/ctx/bin/ctxhx /tmp/drgibsv0w6c /tmp/drgitvksQLw ASCII8 utf8'.
Read more >
1654646 – Segfault in sshd after krb5int_hmac_keyblock
Description of problem: The customer gets segfaults in sshd: Nov 19 09:56:59 $SERVERNAME kernel: sshd[26319]: segfault at 0 ip (null) sp 00007fffc8f705b8 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found