FS#37689 - [povray] Error rendering simple scene

Attached to Project: Community Packages
Opened by André Vitor Matos (andre.vmatos) - Friday, 08 November 2013, 02:46 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 27 November 2013, 14:48 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Using latest povray package from community (3.7.0.RC7-1), rendering scene from attached files with given command (scene which rendered perfectly in another computer with Fedora and Povray 3.6), I got vague error message and no rendered file, but a weird dump file, that follow too.

Rendering command line:
povray +K0.6500 \
+FN +Q9 +MB1 \
+W600 +H400 \
+AM1 +A0.0 +R2 \
+D +SP32 +EP4 \
+L/usr/share/povray-3.7/include \
+Imain.pov \
+Omain-0.6500.png

Error:
...
==== [Rendering...] ========================================================
povray: lighting/radiosity.cpp:383: virtual void pov::RadiosityFunction::BeforeTile(int, unsigned int): Assertion `(pts >= PRETRACE_FIRST) && (pts <= PRETRACE_MAX)' failed.


###
Please, if that's a problem with 3.7RC3, I suggest moving back to povray 3.6, more stable. Or, at least, provide here or dump in AUR needed files to compile povray 3.6, that I couldn't find anywhere.
Thanks.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Wednesday, 27 November 2013, 14:48 GMT
Reason for closing:  Upstream
Comment by Alexander F. Rødseth (xyproto) - Friday, 08 November 2013, 14:47 GMT
Hi, thanks for reporting. I will look into this and, if necessary, revert back to version 3.6.
Comment by André Vitor Matos (andre.vmatos) - Friday, 08 November 2013, 15:17 GMT
Thank you for your fast reply.
You're making an amazing work in keeping this old piece of software working in a so actual distro like Arch.
Thanks.
Comment by Alexander F. Rødseth (xyproto) - Monday, 11 November 2013, 12:27 GMT
Version 3.7 of Povray has been released now, so I'll update to that version first, then try reproducing the problem at hand. http://povray.org/news/index.php#320
Comment by Alexander F. Rødseth (xyproto) - Monday, 11 November 2013, 16:09 GMT
Tried to update to 3.7, but encountered several issues. Awaiting an answer from upstream here: http://news.povray.org/povray.unix/thread/%3Cweb.5280fbd39c90a98b1f457b8f0%40news.povray.org%3E/
Comment by Alexander F. Rødseth (xyproto) - Thursday, 14 November 2013, 21:21 GMT
Updated to 3.7. Does it work for you now?
Comment by Alexander F. Rødseth (xyproto) - Thursday, 14 November 2013, 21:26 GMT
Fails here with version 3.7 too:

povray: backend/lighting/radiosity.cpp:324: virtual void pov::RadiosityFunction::BeforeTile(int, unsigned int): Assertion `(pts >= PRETRACE_FIRST) && (pts <= PRETRACE_MAX)' failed.
zsh: abort (core dumped) povray +K0.6500 +FN +Q9 +MB1 +W600 +H400 +AM1 +A0.0 +R2 +D +SP32 +EP4

Able to reproduce.

Please report this upstream to the povray developers. If you include a link here to that bug report, it's easier to track the status of the bug.

Thanks (and thanks for the kind words!)
Comment by André Vitor Matos (andre.vmatos) - Saturday, 16 November 2013, 11:44 GMT
Upstream bug report:
http://bugs.povray.org/task/313
Comment by Alexander F. Rødseth (xyproto) - Sunday, 17 November 2013, 18:11 GMT
Great! It seems like they already created a fix. Nice work, you helped fix a bug in Povray. Now all we have to do is wait for a new release. :)
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 27 November 2013, 12:21 GMT
Updated povray in connection with the soon-to-be-released boost 1.55 package and patched povray while I was at it.

(It's uncommon to patch Arch Linux packages, but povray has historically had unusually long release cycles).

Could you please try adding [community-staging] and [testing] to your pacman.conf, then install boost and povray and see if this bug has been resolved?

(Will probably be available an hour or two from now).

Thanks.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 27 November 2013, 13:47 GMT
The patching took a bit longer than expected (and the build times are long, for checking that it works), it may take a few more hours.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 27 November 2013, 14:47 GMT
Patching didn't work out. Only fixing the bug in question made the whole build stop working. Updating all the source files with files from https://github.com/UberPOV/UberPOV also didn't work out.

Closing as "upstream", awaiting a new release of povray. If you have a working patch, please re-open this bug and I will apply it.

Loading...