POV-Ray : Newsgroups : povray.macintosh : EXC_BAD_ACCESS error for IStream : EXC_BAD_ACCESS error for IStream Server Time
26 Feb 2024 15:32:14 EST (-0500)
  EXC_BAD_ACCESS error for IStream  
From: S-Lim
Date: 14 Jan 2014 00:25:01
Message: <web.52d4c9f42031a1774afc32f0@news.povray.org>
Hi, I'm trying to build an OS X app that has a GUI layout similar to the Windows
version while running the linux version of povray in the background for
operations, since it is compilable with modifications i assume it works. I've
used the povray 3.6.2 source and fixed the outstanding errors accordingly with
the help of the internet. I'm using precompiled libraries for the image
libraries and they've been included into my xcode project.

I understand that it might sound really amateurish but I'm just starting with
the linux and mac systems so please bear with me, thanks!

I'm executing the file by splitting up the original main function into smaller
subfunctions and passing in "povray /path/to/file/biscuit.pov" where path to
file is the path to the pov file.

Currently I'm having problems with the IStream portion in fileinputoutput.cpp.

the exact error is:
"Thread 1: EXC_BAD_ACCESS (code=I386_GPFLT)"
at this part of the code

I've googled extensively with regard to that error, apparently it has something
to do with an invalid pointer, invalid location or permissions. But digging into
the source it seems to me that this create stream simply creates a class object
[IStream : IOBase] with the value 'stype' in one of its arguments.

Any ideas what might be causing the problem and how do I address it? Thanks in
advance for any help!

Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.