On Wed, Oct 04, 2006 at 01:37:55AM -0400, A. M. Archibald wrote: > Would it be useful for me to contribute the tiny script I wrote to > trigger it as a regression test? > > A. M. Archibald > > from numpy import vectorize, zeros > > vt = vectorize(lambda *args: args) > # Removing either of the following lines cures the segfault > vt(zeros((1,2,1)), zeros((2,1,1)), zeros((1,1,2))) > vt(zeros((1,2,1)), zeros((2,1,1)), zeros((1,1,2)), zeros((2,2)))
I also get a segfault when running this, but the strange thing is that I can't catch it with valgrind (which also segfaults). I've filed a ticket at http://projects.scipy.org/scipy/numpy/ticket/325 Regards Stéfan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion