|
|
A user found a bug in my unofficial Linux version of POV-Ray 3.1. To
make a long story short, my file I/O is buggy. The fileio.pov sample
scene segfaults unless I comment out the #read and both the #close's
(commenting out the #read then requires my #declaring what would have
been #read). #fopen and #write seem to work fine. I hadn't noticed
before that allscene.sh doesn't seem to render this scene, nor does it
complain about not being able to render this scene. I found two other
scenes that didn't get rendered and crash similarly (probably the same
bug or bugs). I'm posting this here for two reasons:
1) It's a way to let people know that my code is buggy. I've not been
able to reproduce this in the Win32 official version, so I'm assuming
it's a problem on my end. Now you who read this will know not to bother
reporting this bug to me.
2) I am, however, going to ask for any hints from anyone who knows where
in the code this stuff gets handled or what would be likely to cause
this sort of bug. I know that a lot of folks who read this list know
the official code pretty well, and I know that a fix can be found faster
if others can help me look for it. If you want to poke through my code,
it lives at http://www.mailbag.com/users/mtgordon/povray.html
Once a fix is found, tested, and uploaded, I'll post again here. In the
meantime, Linux users can play with media, arrays, macros... ;-)
-Mark Gordon
Post a reply to this message
|
|
|
|
Me again. While testing a fix to my unofficial Linux version of POV-Ray
3.1(kudos to Hans-Detlev Fink for the fix), I found another bug that dumps
core on my lap whenever file_exists() returns 0. I'm holding off on
releasing a new version until this new bug is fixed. If you're especially
anxious to use #close or #read under Linux (and not terribly anxious to use
file_exists()), let me know, and I'll send you Hans' fix. If you're bored
and looking for something to do, help me find a fix for this latest bug.
;-)
-Mark Gordon
http://www.mailbag.com/users/mtgordon/povray.html
Post a reply to this message
|
|
|
|
OK, all know bugs in my version are fixed, plus a few latent bugs that have
been preemptively bulletproofed. Thanks again to Hans for his help with all
this. Feel free to download what I am more certain than ever is a
fully-featured (if unofficial) POV-Ray 3.1 for Linux:
http://www.mailbag.com/users/mtgordon/povray.html
-Mark Gordon
Post a reply to this message
|
|