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

Closing ipython session without closing conn causes BufferManagerException #1106

Closed
raulcf opened this issue Dec 8, 2022 · 1 comment · Fixed by #1124
Closed

Closing ipython session without closing conn causes BufferManagerException #1106

raulcf opened this issue Dec 8, 2022 · 1 comment · Fixed by #1124
Assignees
Labels
bug Something isn't working

Comments

@raulcf
Copy link

raulcf commented Dec 8, 2022

How to reproduce:

  1. open an iPython session.
  2. create a (kuzu) connection to a dataset
  3. close ipython (exit()) without closing the kuzu connection

Outcome:

"libc++abi: terminating with uncaught exception of type kuzu::common::BufferManagerException: Buffer manager exception: Deleting buffer that is still pinned. pinCount: 1 pageIdx: 12" -> the python process is killed

Environment:

python (3.7) running on a virtualenv on macosx

What I'd expect instead:

when ipython sends the kill signal to the C++ process, the buffer is unpinned

@ray6080 ray6080 added the bug Something isn't working label Dec 8, 2022
@ray6080 ray6080 self-assigned this Dec 8, 2022
ray6080 added a commit that referenced this issue Dec 11, 2022
ray6080 added a commit that referenced this issue Dec 11, 2022
@ray6080 ray6080 assigned mewim and unassigned ray6080 Dec 15, 2022
mewim added a commit that referenced this issue Dec 19, 2022
mewim added a commit that referenced this issue Dec 19, 2022
mewim added a commit that referenced this issue Dec 19, 2022
mewim added a commit that referenced this issue Dec 19, 2022
mewim added a commit that referenced this issue Dec 19, 2022
@mewim
Copy link
Collaborator

mewim commented Dec 19, 2022

Fixed in #1124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants