Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete iterator occur segmentation fault #77

Closed
cmumford opened this issue Sep 9, 2014 · 2 comments
Closed

delete iterator occur segmentation fault #77

cmumford opened this issue Sep 9, 2014 · 2 comments
Assignees

Comments

@cmumford
Copy link
Contributor

cmumford commented Sep 9, 2014

Original issue 71 created by albaniLiu on 2012-02-17T03:47:18.000Z:

What steps will reproduce the problem?
1.mutilthreads set and iterator leveldb

What is the expected output? What do you see instead?

Program terminated with signal 11, Segmentation fault.

 0 0x00000000004650f7 in leveldb::ReleaseBlock(void_, void_) ()

(gdb) bt

 0 0x00000000004650f7 in leveldb::ReleaseBlock(void_, void_) ()

 1 0x0000000000464613 in leveldb::Iterator::~Iterator() ()

 2 0x000000000046a236 in leveldb::Block::Iter::~Iter() ()

 3 0x0000000000467103 in leveldb::(anonymous namespace)::TwoLevelIterator::~TwoLevelIterator() ()

 4 0x0000000000467103 in leveldb::(anonymous namespace)::TwoLevelIterator::~TwoLevelIterator() ()

 5 0x000000000046495f in leveldb::(anonymous namespace)::MergingIterator::~MergingIterator() ()

 6 0x0000000000456cdf in leveldb::(anonymous namespace)::DBIter::~DBIter() ()

What version of the product are you using? On what operating system?
ubuntu 10.04

Please provide any additional information below.

thanks any answer!

@cmumford
Copy link
Contributor Author

cmumford commented Sep 9, 2014

Comment #1 originally posted by albaniLiu on 2012-02-29T09:01:02.000Z:

this is may be my application problem: delete iterator after db

@cmumford cmumford self-assigned this Sep 9, 2014
@cmumford
Copy link
Contributor Author

cmumford commented Sep 9, 2014

Comment #2 originally posted by sanjay@google.com on 2012-05-30T17:14:52.000Z:

<empty>

@cmumford cmumford closed this as completed Sep 9, 2014
maochongxin pushed a commit to maochongxin/leveldb that referenced this issue Jul 21, 2022
maochongxin pushed a commit to maochongxin/leveldb that referenced this issue Jul 21, 2022
maochongxin pushed a commit to maochongxin/leveldb that referenced this issue Jul 21, 2022
maochongxin pushed a commit to maochongxin/leveldb that referenced this issue Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant