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.

Consolidation causes core dump

See original GitHub issue

Code can reproduce:

import numpy as np
import tiledb

dense_array_name = 'test_1d'

ctx = tiledb.Ctx()

dom = tiledb.Domain(tiledb.Dim(ctx=ctx, domain=(0, 11), tile=12, dtype=np.int64), ctx=ctx)
schema = tiledb.ArraySchema(ctx=ctx, domain=dom, sparse=False,
                            attrs=[tiledb.Attr(ctx=ctx, dtype=np.int64)])

tiledb.DenseArray.create(dense_array_name, schema)

with tiledb.DenseArray(dense_array_name, ctx=ctx, mode='w') as A:
    A[:2] = np.arange(2)
    A[2:4] = np.arange(2, 4)
    A[4:6] = np.arange(4, 6)
    A[6:8] = np.arange(6, 8)
    A[8:10] = np.arange(8, 10)
    A[10:12] = np.arange(10, 12)
    
tiledb.consolidate(uri=dense_array_name)

I have just updated the tiledb-py version to 0.4.1 via conda. Problem still. My laptop is Macbook pro with Mac OS High Sierra. Python version is 3.7.3.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ihnortoncommented, Apr 22, 2019

Hi @chineking thanks again for the report and the easy reproduction script. We just merged a fix in core tiledb: https://github.com/TileDB-Inc/TileDB/pull/1213

We are planning to do a point release at the end of this week for TileDB core, and will update the conda and PyPI packages to include the fix. I will leave this issue open until then.

1reaction
ihnortoncommented, Apr 12, 2019

@chineking thanks for the report and repro script. I reproduced in py and c++, and opened an issue in the core TileDB library.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Erlang Core dump
Hi Any ideas what can cause segmentation violation (causing a core dump) in ... provides a consolidation between multiple SCCP and TCAP layers......
Read more >
Core Dump (Segmentation fault) in C/C++ - GeeksforGeeks
When a piece of code tries to do read and write operation in a read only location in memory or freed block of...
Read more >
line 118: 2931 Segmentation fault (core dumped) - Bitbucket
This is hard to diagnose at a distance without looking at the core file that was dumped. It could be memory, though I...
Read more >
Memory Consolidation - PMC - NCBI
The investigators propose that the finding is unlikely to be caused by the degradation of memories over time or to memory strength being...
Read more >
Collecting Core Dump Files - eSight 20.1 Maintenance Guide 12 ...
If the database is faulty and the fault cause cannot be located in database logs, the core dump files of the database need...
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