Allocate error message

Erik Brisson ebrisson at tonka.bu.edu
Tue May 16 16:14:47 EDT 2000


Hi VTK folks,

A request to the powers-that-be, to add an error message in the Allocate
routines to indicate when memory allocation fails.  The particular
routine I am looking at is 
    vtkIntArray::Allocate(const int sz, const int ext).
Now a null value is returned, which isn't checked in some of the routines
which use it.  I end up just getting a segmentation fault.  This is in
VTK version 3.1, on an SGI IRIX 6.5.

Thank you,
Erik
------------------------------------------------------------------------------
Erik Brisson
Manager of Graphics Programming
Scientific Computing and Visualization Group

Boston University
Office of Information Technology 
111 Cummington Street
Boston, MA 02215

e-mail: ebrisson at bu.edu
url:    http://scv.bu.edu/SCV/ebrisson/
Office (617) 353-8251
Fax    (617) 353-6260

    
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list