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.

rocksdb dealloc error

See original GitHub issue

Greetings! With the latest master of python-rocksdb and with v5.18.3 of RocksDB I get this error on exit even when I use column families or not:

AttributeError: 'list' object has no attribute 'clear'
Exception AttributeError: "'list' object has no attribute 'clear'" in 'rocksdb._rocksdb.DB.__dealloc__' ignored

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
iFA88commented, Apr 18, 2019

I recommend to using: del list[:]

0reactions
iFA88commented, Apr 18, 2019

I think the problem is, that I’m using python 2.7 and list.clear() is added in python 3.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segfault without explicit deallocation (python-rocksdb)
I'm using the python-rocksdb library, and encountering a segfault using the python-rocksdb library (which uses Cython). I've been debugging this for a while ......
Read more >
c++ - RocksDB Crashing with Assertion failed: (i == 0 ...
I am using the rocksdb version 6.22.1 on iOS and have encountered the error ... The code crashes with the above error and...
Read more >
Can rocksdb workloads run in the blobfs of qemu virtual machine ...
Running spdk-rocksdb in bare-mental alone works without a problem, ... Command Set Identifier: NVM (00h) Deallocate: Supported Deallocated/Unwritten Error: ...
Read more >
std::pmr::polymorphic_allocator's member function deallocate ...
It analyses the memory which the operation is about to deallocate. If it spots a problem, it will throw an exception.
Read more >
rocksdb-master/memory/memkind_kmem_allocator.cc · XX_branch ...
An error occurred while loading commit signatures ... memory-overhead-analysis · rocksdb-master ... void MemkindKmemAllocator::Deallocate(void* p) {.
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