<br><br><div class="gmail_quote">On Sat, Jun 15, 2013 at 9:50 AM, Warren Weckesser <span dir="ltr"><<a href="mailto:warren.weckesser@gmail.com" target="_blank">warren.weckesser@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Sat, Jun 15, 2013 at 11:43 AM, Warren Weckesser <span dir="ltr"><<a href="mailto:warren.weckesser@gmail.com" target="_blank">warren.weckesser@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm getting a seg. fault in master when I run the tests.  I'm on Ubuntu 12.04 64 bit, with Python 3.3.2 (64 bits):<br>

<span style="font-family:courier new,monospace"><br>$ python3 -c "import numpy as np; np.test('full')"<br>
Running unit tests for numpy<br>NumPy version 1.8.0.dev-fa5bc1c<br>NumPy is installed in /home/warren/local_py332/lib/python3.3/site-packages/numpy<br>Python version 3.3.2 (default, Jun 14 2013, 12:12:22) [GCC 4.6.3]<br>

nose version 1.3.0<br>
.............................S.........................................................................................................................................................S.......................................................................................................................................................S..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K............................................................................................................................................................................................SSS.................................................................................................K.....................................................................................................................................................................................Segmentation fault</span><br>


<br></div>The seg. fault is occurring in ma/tests/test_mrecords.py:<br><span style="font-family:courier new,monospace"><br>$ nosetests test_mrecords.py <br>.Segmentation fault</span><br><br><div>More info:<br><br><span style="font-family:courier new,monospace">$ python3<br>


Python 3.3.2 (default, Jun 14 2013, 12:12:22) <br>[GCC 4.6.3] on linux<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import numpy as np<br>


>>> np.show_config()<br>atlas_threads_info:<br>    library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base']<br>    include_dirs = ['/usr/include/atlas']<br>    language = f77<br>


    libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']<br>    define_macros = [('ATLAS_INFO', '"\\"3.8.4\\""')]<br>atlas_blas_threads_info:<br>    library_dirs = ['/usr/lib/atlas-base']<br>


    include_dirs = ['/usr/include/atlas']<br>    language = c<br>    libraries = ['ptf77blas', 'ptcblas', 'atlas']<br>    define_macros = [('ATLAS_INFO', '"\\"3.8.4\\""')]<br>


mkl_info:<br>  NOT AVAILABLE<br>lapack_opt_info:<br>    library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base']<br>    include_dirs = ['/usr/include/atlas']<br>    language = f77<br>    libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']<br>


    define_macros = [('ATLAS_INFO', '"\\"3.8.4\\""')]<br>blas_opt_info:<br>    library_dirs = ['/usr/lib/atlas-base']<br>    include_dirs = ['/usr/include/atlas']<br>    language = c<br>


    libraries = ['ptf77blas', 'ptcblas', 'atlas']<br>    define_macros = [('ATLAS_INFO', '"\\"3.8.4\\""')]<br>lapack_mkl_info:<br>  NOT AVAILABLE<br>blas_mkl_info:<br>


  NOT AVAILABLE<br>>>> </span><br><br></div><div>gdb:<br><br><span style="font-family:courier new,monospace">$ gdb python3<br>GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04<br>Copyright (C) 2012 Free Software Foundation, Inc.<br>


License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>
and "show warranty" for details.<br>This GDB was configured as "x86_64-linux-gnu".<br>For bug reporting instructions, please see:<br><<a href="http://bugs.launchpad.net/gdb-linaro/" target="_blank">http://bugs.launchpad.net/gdb-linaro/</a>>...<br>


Reading symbols from /home/warren/local_py332/bin/python3...done.<br>(gdb) run test_mrecords.py<br>Starting program: /home/warren/local_py332/bin/python3 test_mrecords.py<br>[Thread debugging using libthread_db enabled]<br>


Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br>.<br>Program received signal SIGSEGV, Segmentation fault.<br>0x00007ffff5f080a4 in _aligned_strided_to_contig_size8_srcstride0 (dst=<optimized out>, <br>


    dst_stride=<optimized out>, src=<optimized out>, __NPY_UNUSED_TAGGEDsrc_stride=<optimized out>, <br>    N=<optimized out>, __NPY_UNUSED_TAGGEDsrc_itemsize=<optimized out>, __NPY_UNUSED_TAGGEDdata=0x0)<br>


    at numpy/core/src/multiarray/lowlevel_strided_loops.c.src:190<br>190            *((@type@ *)dst) = temp;<br>(gdb) </span><br><span><font color="#888888"><br></font></span></div></div></blockquote><div>
<br><br></div></div></div></div></div></div></blockquote><div><br>Is this repeatable? Just asking as I don't see that here with gcc 4.7.2. Looks like Julian's changes to lowlevel_strided_loops may be responsible.<br>
<br>Chuck <br></div></div>