# Crash report ### What happened? ```python import io f = io.BytesIO() a = f.getbuffer() b = f.getbuffer() ``` Output: ``` python: ./Modules/_io/bytesio.c:112: unshare_buffer: Assertion `self->exports == 0' failed. Aborted (core dumped) ``` Reproduced on 3.8 and 3.11-3.13. ### CPython versions tested on: 3.8, 3.11, 3.12, CPython main branch ### Operating systems tested on: Linux ### Output from running 'python -VV' on the command line: Python 3.13.0a1+ (heads/main:11312eae6e, Oct 22 2023, 02:44:38) [GCC 10.2.1 20210110] <!-- gh-linked-prs --> ### Linked PRs * gh-111210 * gh-111314 * gh-111315 <!-- /gh-linked-prs -->