[Scipy-tickets] [SciPy] #376: sandbox.delaunay crash on eps-perturbed data

SciPy scipy-tickets@scipy....
Tue Feb 20 06:00:45 CST 2007


#376: sandbox.delaunay crash on eps-perturbed data
--------------------+-------------------------------------------------------
 Reporter:  pv      |        Owner:  somebody
     Type:  defect  |       Status:  new     
 Priority:  normal  |    Milestone:          
Component:  Other   |      Version:  0.5.2   
 Severity:  normal  |   Resolution:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by nils):

 I can confirm the crash 0.5.3.dev2725

 {{{
 Test 1 OK
 Traceback (most recent call last):
   File "test_delaunay.py", line 21, in ?
     test_2()
   File "test_delaunay.py", line 17, in test_2
     tri = Triangulation(xp, yp)
   File "/usr/lib64/python2.4/site-
 packages/scipy/sandbox/delaunay/triangulate.py", line 68, in __init__
     self.hull = self._compute_convex_hull()
   File "/usr/lib64/python2.4/site-
 packages/scipy/sandbox/delaunay/triangulate.py", line 89, in
 _compute_convex_hull
     hull.append(edges.pop(hull[-1]))
 KeyError: 0
 *** glibc detected *** double free or corruption (!prev):
 0x00000000006fcc60 ***

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 46912509653888 (LWP 27572)]
 0x00002aaaab59543a in raise () from /lib64/tls/libc.so.6
 (gdb) bt
 #0  0x00002aaaab59543a in raise () from /lib64/tls/libc.so.6
 #1  0x00002aaaab596870 in abort () from /lib64/tls/libc.so.6
 #2  0x00002aaaab5cb06e in __libc_message () from /lib64/tls/libc.so.6
 #3  0x00002aaaab5d040c in malloc_printerr () from /lib64/tls/libc.so.6
 #4  0x00002aaaab5d0e9c in free () from /lib64/tls/libc.so.6
 #5  0x00002aaaaba1edf7 in array_dealloc (self=0x683840) at
 arrayobject.c:1944
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/376#comment:1>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list