[vtkusers] Re: "Bus error" in vtkPNGReader
Mathieu Malaterre
mathieu.malaterre at kitware.com
Fri Jun 2 15:15:03 EDT 2006
Randall,
Here is what I would do (in order):
- On linux make sure everything is passing properly (run it through
valgrind).
- Do a backtrace on Irix this might give you a clue on what the error
could be.
- Last one, try to yank the error handling of png in vtkPNGReader (with
the setjmp).
HTH
Mathieu
Randall Hand wrote:
> With a little more research, this seems to be something related to
> Irix. Using Paraview 2.4.3, I get the exact same error attempting to
> read a PNG file.
>
> I'm able to open it on linux & windows without any trouble. Any idea
> what's going on here?
>
> On 6/2/06, *Randall Hand* <randall.hand at gmail.com
> <mailto:randall.hand at gmail.com>> wrote:
>
> I've got some code to write PNG files to disk, and just tryed to
> write something to read them back in with a vtkPNGReader, and i keep
> getting a bus error. The image loads fine in FireFox, ACDsee,
> ImageMagick, Identify, & Convert. I can convert the image to a TIF,
> JPG, or BMP and those files load just fine.
>
> The files were written with VTK, the same version on the same
> machine, yet it generates this error. i've attached one of the
> images to this email, and the backtrace is as follows:
>
>
> (dbx)
> Thread 0x10000
> > 0 vtk_png_read_info(png_ptr = 0x1004ff98, info_ptr = 0x1005d1c8)
> ["/viz/home/rhand/src/VTK/VTK-VolumeModified/Utilities/vtkpng/pngread.c":407,
> 0x8b20800]
> 1 vtkPNGReader::ExecuteInformation(void)(this = 0x100484e8)
> ["/viz/home/rhand/src/VTK/VTK-VolumeModified/IO/vtkPNGReader.cxx":96,
> 0x7f19d5c]
> (dbx)
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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