<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/1755" rel="nofollow">http://projects.scipy.org/scipy/ticket/1755</a> on 2012-10-26 by trac user jose, assigned to unknown.</em></p>
<p dir="auto">I've isolated the problem to a single case. Here is the code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
from scipy import interpolate

P = np.array([[-0.32617197, -0.2920095 , -0.46557174, -0.81794844, -1.29219631,-1.81947447, -2.32841281, -2.75178671, -3.03194729, -3.12576901,-3.00960991, -2.6846482 , -2.18283861, -1.57343334, -0.96880183,-0.52132021],[ 0.26979365,  0.21207852, -0.04285966, -0.44843864, -0.93769524,-1.43878605, -1.88334371, -2.21217161, -2.37976096, -2.35832431,-2.14170154, -1.74925879, -1.22957792, -0.66299164, -0.15978676,0.15787639],[ 0.88005791,  0.75688371,  0.45630493,  0.03749351, -0.42869796,-0.87313496, -1.2350965 , -1.46659168, -1.53565157, -1.42914945,-1.15533001, -0.74592665, -0.25731003,  0.230784,  0.62261907,0.83078598],[ 1.43941451,  1.27684403,  0.96136466,  0.55966746,  0.14141966,-0.23103704, -0.50731149, -0.65168608, -0.64504881, -0.48640796,-0.19400188,  0.19429156,  0.62197232,  1.017876  ,  1.30628307,1.4313914 ],[ 1.88963563,  1.71157922,  1.40653829,  1.04395233,  0.68826473,0.39234334,  0.19511948,  0.12049842,  0.17675042,  0.35620331,0.63536282,  0.97584839,  1.32687424,  1.6305647 ,  1.83245472,1.90239222],[ 2.18411701,  2.01162102,  1.73714652,  1.42853859,  1.14195763,0.91932419,  0.78821399,  0.76227809,  0.84176998,  1.01419604,1.25532094,  1.53093814,  1.80003031,  2.02024623,  2.15707825,2.19902306],[ 2.29104308,  2.1421795 ,  1.91361664,  1.66775429,  1.4503379 ,1.29192654,  1.20984338,  1.20983398,  1.28741951,  1.4291507 ,1.61406933,  1.8157611 ,  2.00546122,  2.15673162,  2.25214955,2.29158209],[ 2.19592259,  2.08585339,  1.91410389,  1.73433293,  1.58065059,1.47280881,  1.41982043,  1.4224534 ,  1.47500701,  1.56675335,1.68339946,  1.80889599,  1.9278646 ,  2.02875986,  2.10734416,2.16766927],[ 1.90364107,  1.84456778,  1.73613883,  1.62063181,  1.52025046,1.44542853,  1.39954856,  1.38175761,  1.38870078,  1.41571194,1.45783921,  1.51095031,  1.57299489,  1.64516681,  1.73180054,1.83422428],[ 1.44006075,  1.44084294,  1.39747465,  1.33903092,  1.27658655,1.2136941 ,  1.1514551 ,  1.09105368,  1.03495315,  0.98741407,0.95470048,  0.94511938,  0.96877897,  1.03648204,  1.15598539,1.31935859],[ 0.85310219,  0.91835379,  0.93613205,  0.9215548 ,  0.8765544 ,0.80122736,  0.69834088,  0.57492521,  0.44245456,  0.31632919,0.21496974,  0.15854801,  0.16705806,  0.25687478,  0.43359029,0.67392233],[ 0.21307688,  0.34155231,  0.40945286,  0.41859933,  0.36519017,0.25030719,  0.08279525, -0.1207412 , -0.33717397, -0.53865813,-0.69481594, -0.77541611, -0.75400979, -0.61357493, -0.35663432,-0.02737189],[-0.38828494, -0.20618069, -0.10828106, -0.10352304, -0.1963743 ,-0.37937371, -0.63300958, -0.92785655, -1.22745851, -1.49150626,-1.67930326, -1.75379581, -1.686765  , -1.46634547, -1.10937656,-0.68572898],[-0.84138209, -0.62697398, -0.53053551, -0.56670839, -0.73371373,-1.01170006, -1.36634378, -1.75332884, -2.12281348, -2.42382663,-2.60882774, -2.63885557, -2.48994855, -2.16200449, -1.69237297,-1.18012379],[-1.02796263, -0.81797582, -0.76730311, -0.88757639, -1.16219484,-1.55335615, -2.0095011 , -2.47170348, -2.87925404, -3.17486091,-3.30992002, -3.2503765 , -2.98386161, -2.52913175, -1.94957254,-1.37448646],[-0.8453655 , -0.69344726, -0.74272994, -0.98708156, -1.38715991,-1.88505859, -2.41377971, -2.90431974, -3.29154662, -3.51958352,-3.54724604, -3.35404368, -2.94730867, -2.3711353 , -1.71790821,-1.14235009]])
xnew = np.array([[ 0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,0. ,  0. ,  0. ,  0. ,  0. ],[ 0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,0.2,  0.2,  0.2,  0.2,  0.2],[ 0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,0.4,  0.4,  0.4,  0.4,  0.4],[ 0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,0.6,  0.6,  0.6,  0.6,  0.6],[ 0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,0.8,  0.8,  0.8,  0.8,  0.8],[ 1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,1. ,  1. ,  1. ,  1. ,  1. ],[ 1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,1.2,  1.2,  1.2,  1.2,  1.2],[ 1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,1.4,  1.4,  1.4,  1.4,  1.4],[ 1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,1.6,  1.6,  1.6,  1.6,  1.6],[ 1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,1.8,  1.8,  1.8,  1.8,  1.8],[ 2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,2. ,  2. ,  2. ,  2. ,  2. ],[ 2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,2.2,  2.2,  2.2,  2.2,  2.2],[ 2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,2.4,  2.4,  2.4,  2.4,  2.4],[ 2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,2.6,  2.6,  2.6,  2.6,  2.6],[ 2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,2.8,  2.8,  2.8,  2.8,  2.8],[ 3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,3. ,  3. ,  3. ,  3. ,  3. ]])
ynew = np.array([[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ]])
tckP=interpolate.bisplrep(xnew,ynew,P,s=0)"><pre class="notranslate"><code class="notranslate">import numpy as np
from scipy import interpolate

P = np.array([[-0.32617197, -0.2920095 , -0.46557174, -0.81794844, -1.29219631,-1.81947447, -2.32841281, -2.75178671, -3.03194729, -3.12576901,-3.00960991, -2.6846482 , -2.18283861, -1.57343334, -0.96880183,-0.52132021],[ 0.26979365,  0.21207852, -0.04285966, -0.44843864, -0.93769524,-1.43878605, -1.88334371, -2.21217161, -2.37976096, -2.35832431,-2.14170154, -1.74925879, -1.22957792, -0.66299164, -0.15978676,0.15787639],[ 0.88005791,  0.75688371,  0.45630493,  0.03749351, -0.42869796,-0.87313496, -1.2350965 , -1.46659168, -1.53565157, -1.42914945,-1.15533001, -0.74592665, -0.25731003,  0.230784,  0.62261907,0.83078598],[ 1.43941451,  1.27684403,  0.96136466,  0.55966746,  0.14141966,-0.23103704, -0.50731149, -0.65168608, -0.64504881, -0.48640796,-0.19400188,  0.19429156,  0.62197232,  1.017876  ,  1.30628307,1.4313914 ],[ 1.88963563,  1.71157922,  1.40653829,  1.04395233,  0.68826473,0.39234334,  0.19511948,  0.12049842,  0.17675042,  0.35620331,0.63536282,  0.97584839,  1.32687424,  1.6305647 ,  1.83245472,1.90239222],[ 2.18411701,  2.01162102,  1.73714652,  1.42853859,  1.14195763,0.91932419,  0.78821399,  0.76227809,  0.84176998,  1.01419604,1.25532094,  1.53093814,  1.80003031,  2.02024623,  2.15707825,2.19902306],[ 2.29104308,  2.1421795 ,  1.91361664,  1.66775429,  1.4503379 ,1.29192654,  1.20984338,  1.20983398,  1.28741951,  1.4291507 ,1.61406933,  1.8157611 ,  2.00546122,  2.15673162,  2.25214955,2.29158209],[ 2.19592259,  2.08585339,  1.91410389,  1.73433293,  1.58065059,1.47280881,  1.41982043,  1.4224534 ,  1.47500701,  1.56675335,1.68339946,  1.80889599,  1.9278646 ,  2.02875986,  2.10734416,2.16766927],[ 1.90364107,  1.84456778,  1.73613883,  1.62063181,  1.52025046,1.44542853,  1.39954856,  1.38175761,  1.38870078,  1.41571194,1.45783921,  1.51095031,  1.57299489,  1.64516681,  1.73180054,1.83422428],[ 1.44006075,  1.44084294,  1.39747465,  1.33903092,  1.27658655,1.2136941 ,  1.1514551 ,  1.09105368,  1.03495315,  0.98741407,0.95470048,  0.94511938,  0.96877897,  1.03648204,  1.15598539,1.31935859],[ 0.85310219,  0.91835379,  0.93613205,  0.9215548 ,  0.8765544 ,0.80122736,  0.69834088,  0.57492521,  0.44245456,  0.31632919,0.21496974,  0.15854801,  0.16705806,  0.25687478,  0.43359029,0.67392233],[ 0.21307688,  0.34155231,  0.40945286,  0.41859933,  0.36519017,0.25030719,  0.08279525, -0.1207412 , -0.33717397, -0.53865813,-0.69481594, -0.77541611, -0.75400979, -0.61357493, -0.35663432,-0.02737189],[-0.38828494, -0.20618069, -0.10828106, -0.10352304, -0.1963743 ,-0.37937371, -0.63300958, -0.92785655, -1.22745851, -1.49150626,-1.67930326, -1.75379581, -1.686765  , -1.46634547, -1.10937656,-0.68572898],[-0.84138209, -0.62697398, -0.53053551, -0.56670839, -0.73371373,-1.01170006, -1.36634378, -1.75332884, -2.12281348, -2.42382663,-2.60882774, -2.63885557, -2.48994855, -2.16200449, -1.69237297,-1.18012379],[-1.02796263, -0.81797582, -0.76730311, -0.88757639, -1.16219484,-1.55335615, -2.0095011 , -2.47170348, -2.87925404, -3.17486091,-3.30992002, -3.2503765 , -2.98386161, -2.52913175, -1.94957254,-1.37448646],[-0.8453655 , -0.69344726, -0.74272994, -0.98708156, -1.38715991,-1.88505859, -2.41377971, -2.90431974, -3.29154662, -3.51958352,-3.54724604, -3.35404368, -2.94730867, -2.3711353 , -1.71790821,-1.14235009]])
xnew = np.array([[ 0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,  0. ,0. ,  0. ,  0. ,  0. ,  0. ],[ 0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,  0.2,0.2,  0.2,  0.2,  0.2,  0.2],[ 0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,  0.4,0.4,  0.4,  0.4,  0.4,  0.4],[ 0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,  0.6,0.6,  0.6,  0.6,  0.6,  0.6],[ 0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,  0.8,0.8,  0.8,  0.8,  0.8,  0.8],[ 1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,  1. ,1. ,  1. ,  1. ,  1. ,  1. ],[ 1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,  1.2,1.2,  1.2,  1.2,  1.2,  1.2],[ 1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,  1.4,1.4,  1.4,  1.4,  1.4,  1.4],[ 1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,  1.6,1.6,  1.6,  1.6,  1.6,  1.6],[ 1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,  1.8,1.8,  1.8,  1.8,  1.8,  1.8],[ 2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,  2. ,2. ,  2. ,  2. ,  2. ,  2. ],[ 2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,  2.2,2.2,  2.2,  2.2,  2.2,  2.2],[ 2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,  2.4,2.4,  2.4,  2.4,  2.4,  2.4],[ 2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,  2.6,2.6,  2.6,  2.6,  2.6,  2.6],[ 2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,  2.8,2.8,  2.8,  2.8,  2.8,  2.8],[ 3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,  3. ,3. ,  3. ,  3. ,  3. ,  3. ]])
ynew = np.array([[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ],[ 0. ,  0.2,  0.4,  0.6,  0.8,  1. ,  1.2,  1.4,  1.6,  1.8,  2. ,2.2,  2.4,  2.6,  2.8,  3. ]])
tckP=interpolate.bisplrep(xnew,ynew,P,s=0)
</code></pre></div>
<p dir="auto">If I run this code, get a segmentation fault</p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/783" rel="nofollow">http://projects.scipy.org/scipy/ticket/783</a> on 2008-11-06 by trac user mauger, assigned to unknown.</em></p>
<p dir="auto">interpolate.bisplrep is causing a segfault when kx=3, ky=3, s=0 for reasonably smooth data. I've attached a data file, and I've pasted a test case and the backtrace from gdb.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy,numpy
from scipy import io, interpolate

data = np.loadtxt('tmp.dat')

print &quot;scipy version:&quot;,scipy.__version__
print &quot;numpy version:&quot;,numpy.__version__

print &quot;Test 1 - smoothing spline&quot;
model = interpolate.bisplrep(data[:,0],data[:,1],data[:,2],kx=3,ky=3)
print &quot;Test 2 - kx=3, ky=1 interpolating spline&quot;
model = interpolate.bisplrep(data[:,0],data[:,1],data[:,2],kx=3,ky=1,s=0)
print &quot;Test 3 - kx=3, ky=3 interpolating spline&quot;
model = interpolate.bisplrep(data[:,0],data[:,1],data[:,2],kx=3,ky=3,s=0)"><pre class="notranslate"><code class="notranslate">import scipy,numpy
from scipy import io, interpolate

data = np.loadtxt('tmp.dat')

print "scipy version:",scipy.__version__
print "numpy version:",numpy.__version__

print "Test 1 - smoothing spline"
model = interpolate.bisplrep(data[:,0],data[:,1],data[:,2],kx=3,ky=3)
print "Test 2 - kx=3, ky=1 interpolating spline"
model = interpolate.bisplrep(data[:,0],data[:,1],data[:,2],kx=3,ky=1,s=0)
print "Test 3 - kx=3, ky=3 interpolating spline"
model = interpolate.bisplrep(data[:,0],data[:,1],data[:,2],kx=3,ky=3,s=0)
</code></pre></div>
<p dir="auto">PROGRAM OUTPUT (w/ gdb backtrace)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="scipy version: 0.6.0
numpy version: 1.2.0
Test 1 - smoothing spline
Test 2 - kx=3, ky=1 interpolating spline
Test 3 - kx=3, ky=3 interpolating spline

Program received signal SIGSEGV, Segmentation fault.
0x00007f0116aee5a2 in fprank_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
(gdb) bt
#0  0x00007f0116aee5a2 in fprank_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#1  0x00007f0116ad2c5d in fpsurf_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#2  0x00007f0116acafc7 in surfit_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#3  0x00007f0116ac7900 in splev_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#4  0x00000033338bde7d in PyEval_EvalFrameEx ()
   from /usr/lib64/libpython2.5.so.1.0
#5  0x00000033338bfa7d in PyEval_EvalCodeEx ()
   from /usr/lib64/libpython2.5.so.1.0
#6  0x00000033338be45c in PyEval_EvalFrameEx ()
   from /usr/lib64/libpython2.5.so.1.0
#7  0x00000033338bfa7d in PyEval_EvalCodeEx ()
   from /usr/lib64/libpython2.5.so.1.0
#8  0x00000033338bfcc2 in PyEval_EvalCode ()
   from /usr/lib64/libpython2.5.so.1.0
#9  0x00000033338db861 in ?? () from /usr/lib64/libpython2.5.so.1.0
#10 0x00000033338db936 in PyRun_FileExFlags ()
   from /usr/lib64/libpython2.5.so.1.0
#11 0x00000033338dcf1d in PyRun_SimpleFileExFlags ()
   from /usr/lib64/libpython2.5.so.1.0
#12 0x00000033338e6bf1 in Py_Main () from /usr/lib64/libpython2.5.so.1.0
#13 0x0000003319c1e32a in __libc_start_main () from /lib64/libc.so.6
#14 0x0000000000400649 in _start ()"><pre class="notranslate"><code class="notranslate">scipy version: 0.6.0
numpy version: 1.2.0
Test 1 - smoothing spline
Test 2 - kx=3, ky=1 interpolating spline
Test 3 - kx=3, ky=3 interpolating spline

Program received signal SIGSEGV, Segmentation fault.
0x00007f0116aee5a2 in fprank_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
(gdb) bt
#0  0x00007f0116aee5a2 in fprank_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#1  0x00007f0116ad2c5d in fpsurf_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#2  0x00007f0116acafc7 in surfit_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#3  0x00007f0116ac7900 in splev_ ()
   from /usr/lib64/python2.5/site-packages/scipy/interpolate/_fitpack.so
#4  0x00000033338bde7d in PyEval_EvalFrameEx ()
   from /usr/lib64/libpython2.5.so.1.0
#5  0x00000033338bfa7d in PyEval_EvalCodeEx ()
   from /usr/lib64/libpython2.5.so.1.0
#6  0x00000033338be45c in PyEval_EvalFrameEx ()
   from /usr/lib64/libpython2.5.so.1.0
#7  0x00000033338bfa7d in PyEval_EvalCodeEx ()
   from /usr/lib64/libpython2.5.so.1.0
#8  0x00000033338bfcc2 in PyEval_EvalCode ()
   from /usr/lib64/libpython2.5.so.1.0
#9  0x00000033338db861 in ?? () from /usr/lib64/libpython2.5.so.1.0
#10 0x00000033338db936 in PyRun_FileExFlags ()
   from /usr/lib64/libpython2.5.so.1.0
#11 0x00000033338dcf1d in PyRun_SimpleFileExFlags ()
   from /usr/lib64/libpython2.5.so.1.0
#12 0x00000033338e6bf1 in Py_Main () from /usr/lib64/libpython2.5.so.1.0
#13 0x0000003319c1e32a in __libc_start_main () from /lib64/libc.so.6
#14 0x0000000000400649 in _start ()
</code></pre></div>