[vtkusers] Problem with VTK 4.5 in Linux glibc error

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Sep 14 12:08:35 EDT 2005


Hi,

	I am running VTK on a linux 2.6.11 (AMD64 gentoo), using glibc 2.3.5 
without any problem.

	Please write a small c++ demo code that would read in a DICOM file. 
Then run valgrind on it. If you find a DICOM file that would demonstrate 
the problem, please send it to us.


Mathieu

Marcio Antonio Mathias wrote:
> Have another VTK user ever realized the contents of
> the following Rabak's post? It looks glibc is pointing
> to the reason for many "memory leaks troubles"
> reported not only on scripts handling DICOM files but
> also in many other trouble reports on the list.
> Downgrade 
> glibc to 2.3.3 version does not make me fell
> confortable at all.
> 
> /Marcio.
> 
> --- Cesar Rabak <csrabak at yahoo.com.br> wrote:
> 
> 
>>An otherwise successful build of VTK 4.5 Latest in a
>>Linux box (Conectiva 10, kernel 2.6.11, XFree 4.4.4)
>>started to fail (specially when attempting to run
>>scripts dealing with Dicom files).
>>
>>The error message coming at the shell prompt is "***
>>glibc detected *** free(): invalid pointer:" with
>>different addresses appearing after.
>>
>>A quick check in the Net indicates this is result of
>>a
>>more strict glibc implementation and that it shows
>>errors in the application.
>>
>>Have you ever crossed at this kind of problem?
>>
>>The workarounds suggested dealing with the
>>MALLOC_CHECK_ environment variable does not solve
>>satisfactorily the troubles in my installation, so
>>as
>>an interim solution I downgraded my glibc to 2.3.3
>>which is the highest I get VTK to run.
>>
>>Do you have any other insight on this?
>>
>>
>>
>>-- 
>>Cesar Rabak
>>GNU/Linux User 52247.
>>Get counted: http://counter.li.org/
>>
>>
>>
>>	
>>
>>
>>
>>	
>>		
>>
> 
> _______________________________________________________
> 
>>Yahoo! Messenger com voz: PROMOÇÃO VOCÊ PODE LEVAR
>>UMA VIAGEM NA CONVERSA. Participe!
>>www.yahoo.com.br/messenger/promocao
>>_______________________________________________
>>This is the private VTK discussion list. 
>>Please keep messages on-topic. Check the FAQ at:
>>http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>>
> 
> 
> 
> Marcio Antonio Mathias <marcio_mathias at yahoo.com>
> Registered Linux user number 248543
> Get counted: http://counter.li.org/
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list