Subject: CGAL users discussion list
List archive
- From: Gmain <>
- To:
- Subject: [cgal-discuss] supporting_plane()
- Date: Wed, 24 Jun 2009 14:50:48 +0200 (CEST)
Hi,
I may have a bug in the middle of the programm (after ~200 calls)
I am using your function supporting_plane()
Kernel::Triangle_3 T1;
Kernel::Plane_3 t1=T1.supporting_plane();
Kernel::Plane_3 t2=T1.supporting_plane();
The second time I get a malloc(): memory corruption
Also when using it the following way:
Kernel::Triangle_3 T1;
Kernel::Triangle_3 T2;
Kernel::Plane_3 t1=T1.supporting_plane();
Kernel::Plane_3 t2=T2.supporting_plane();
The second time I get a malloc(): memory corruption
My project is running on lenny 64-bit, I´m using gcc 4.3
By stepping through the function supporting_plane() step over fails and step
into works - but only till we left the function
the program output is:
*** glibc detected ***
/ECS/home/franki/NetBeansProjects/test_01/dist/Debug/GNU-Linux-x86/test_01:
malloc(): memory corruption (fast): 0x0000000000af1fb8 ***
======= Backtrace: =========
/lib/libc.so.6[0x7ffcb20bf948]
/lib/libc.so.6[0x7ffcb20c267f]
/lib/libc.so.6(__libc_malloc+0x98)[0x7ffcb20c3a78]
/usr/lib/libstdc++.so.6(_Znwm+0x1d)[0x7ffcb28ffb9d]
tx, franki
- [cgal-discuss] supporting_plane(), Gmain, 06/24/2009
- Re: [cgal-discuss] supporting_plane(), Sylvain Pion, 06/24/2009
- Re: Re: [cgal-discuss] supporting_plane(), Gmain, 06/24/2009
- Re: [cgal-discuss] supporting_plane(), Sylvain Pion, 06/24/2009
- Re: Re: [cgal-discuss] supporting_plane(), Gmain, 06/24/2009
- Re: [cgal-discuss] supporting_plane(), Sylvain Pion, 06/24/2009
Archive powered by MHonArc 2.6.16.