Skip to content

Conversation

mdboom
Copy link
Contributor

@mdboom mdboom commented May 2, 2011

A few reference counting and memory management bugs found by running the nose tests under valgrind. Some of these only affect running the tests themselves and can be considered a low priority. However, the one in ufunc_frompyfunc actually caused a segfault for me -- it should probably be fixed in the release candidate before the official release.

mdboom added 5 commits May 2, 2011 10:24
… (Python 2.7, RHEL5), the call to func.__name__ returns a temporary Python string object with only a single reference. Dereferencing it before copying out its contents results in reading freed memory.
@mwiebe
Copy link
Member

mwiebe commented May 2, 2011

All of those are clearly bugs, the fixes look correct to me, and the tests succeed, so I've merged them.

@mwiebe mwiebe closed this May 2, 2011
fangerer pushed a commit to hpyproject/numpy-hpy that referenced this pull request Dec 12, 2022
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from mq/GR-40354 to labs-hpy-port

* commit 'f4cf11d2341e1734b8da1035c63e876daaacb600':
  address comments
  implement more missing pieces
  Implement missing pieces
luyahan pushed a commit to plctlab/numpy that referenced this pull request Apr 25, 2024
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

Successfully merging this pull request may close these issues.

2 participants