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

'buffer' test crashes in Py3.1.1 #987

Closed
robertwb opened this issue Oct 18, 2009 · 6 comments
Closed

'buffer' test crashes in Py3.1.1 #987

robertwb opened this issue Oct 18, 2009 · 6 comments

Comments

@robertwb
Copy link
Contributor

compiling (c) and running buffer ... Doctest: buffer ... python3.1: Objects/memoryobject.c:467: memory_dealloc: Assertion `g->gc.gc_refs != (-2)' failed.
Aborted

Migrated from http://trac.cython.org/ticket/424

@robertwb
Copy link
Contributor Author

@dagss commented

I can't reproduce this. However I had to to a change to make the testcase run -- the underlying buffer acquired for the test was now unicode. Do you think this was related to the unicode object?

http://hg.cython.org/cython-devel/rev/efc9b37cd3cd

@robertwb
Copy link
Contributor Author

@dagss commented

I meant, the crash. What happened for me was basically that the buffer could not be acquired because an exception was raised when assigning the unicode to char*. However there was no crashes for me ever.

@robertwb
Copy link
Contributor Author

@dagss changed owner from dagss to sbehnel
commented

@robertwb
Copy link
Contributor Author

@dagss changed owner from sbehnel to scoder
commented

@robertwb
Copy link
Contributor Author

scoder changed owner from scoder to dagss
priority from blocker to minor
commented

Works for me now. Would be good to disallow <char*>some_str_object, though.

@robertwb
Copy link
Contributor Author

scoder changed resolution to fixed
status from new to closed
commented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant