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

weave.blitz segfaults on nice-looking code (Trac #952) #1479

Closed
Tracked by #7
scipy-gitbot opened this issue Apr 25, 2013 · 2 comments
Closed
Tracked by #7

weave.blitz segfaults on nice-looking code (Trac #952) #1479

scipy-gitbot opened this issue Apr 25, 2013 · 2 comments
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Migrated from Trac

Comments

@scipy-gitbot
Copy link

Original ticket http://projects.scipy.org/scipy/ticket/952 on 2009-05-26 by trac user alextp, assigned to unknown.

>>> from scipy import weave
>>> from numpy import array,zeros
>>> n = 100
>>> dif = array([zeros(n)])
>>> difT = dif.T
>>> cov = zeros((n,n))
>>> weave.blitz("cov += difT*dif")
>>> n = 8319
>>> dif = array([zeros(n)])
>>> difT = dif.T
>>> cov = zeros((n,n))
>>> weave.blitz("cov += difT*dif")

Process Python segmentation fault

This is running under emacs, on a 32-bit processor. Running that line without blitz is perfectly OK. Is the problem on my end or is it some weird scipy bug?

It is also reproducible if the first call is to n=8319 (which just happens to be the dimension of some matrices in my work).

@scipy-gitbot
Copy link
Author

trac user alextp wrote on 2009-05-26

Oh, and

{{

scipy.version.version
'0.7.0'
}}

Python is 2.6, gcc is 4.3.3

@person142
Copy link
Member

Closing since weave is no longer a part of SciPy. This issue is now tracked at scipy/weave#7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Migrated from Trac
Projects
None yet
Development

No branches or pull requests

2 participants