POV-Ray : Newsgroups : povray.beta-test : Memory corruption in POV-Ray 3.7.1 and UberPOV : Memory corruption in POV-Ray 3.7.1 and UberPOV Server Time
23 Apr 2024 17:21:49 EDT (-0400)
  Memory corruption in POV-Ray 3.7.1 and UberPOV  
From: Cousin Ricky
Date: 28 Sep 2015 17:15:00
Message: <web.5609ad8ba17572e64ed434990@news.povray.org>
I got a memory corruption error trying to render a scene file that uses Ive's
spectral rendering rig.  Here is the message output:

----------[BEGIN MESSAGES]----------
ricky@linux-dc58:~/Documents/POV-Ray/mat/spectral> povray-3.7.1 gold_alloys.pov
+w300 +h270 +a +L../../include-others/SpectralRender
Persistence of Vision(tm) Ray Tracer Version 3.7.1-alpha.8150025.unofficial (g++
 4.8 @ x86_64-suse-linux-gnu)
This is an unofficial version compiled by:
[SNIP]

Parser Options
  Input file: gold_alloys.pov
  Remove bounds........Off
  Split unions.........Off
  Library paths:
    /usr/local/share/povray-3.7
    /usr/local/share/povray-3.7/ini
    /usr/local/share/povray-3.7/include
    /home/ricky/Documents/POV-Ray/include
    /home/ricky/Documents/POV-Ray/include-others
    /home/ricky/Documents/POV-Ray/Object_Collection
    /home/ricky/Documents/POV-Ray/LightsysIV
    /usr/share/fonts/truetype
    ../../include-others/SpectralRender
  Clock value:    0.000  (Animation off)
Image Output Options
  Image resolution.....300 by 270 (rows 1 to 270, columns 1 to 300).
  Output file..........gold_alloys.png, 24 bpp PNG
  Dithering............Off
  Graphic display......On  (gamma: sRGB)
  Mosaic preview.......Off
  Continued trace......Off
Information Output Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On
==== [Parsing...] ==========================================================
*** Error in `povray-3.7.1': malloc(): memory corruption: 0x00007f4ef4026740 ***

RGB preview rendering.

-----------[END MESSAGES]-----------

The process hangs at this point.  Not even Ctrl-C (SIGINT) can interrupt it:

----------[BEGIN MESSAGE]----------
^C
uberpov: received signal SIGINT: Interrupt; requested render cancel
^C^C^C^C [ad nauseam]
-----------[END MESSAGE]-----------

The same also happens in UberPOV beta 10.  POV-Ray 3.7.0 renders to completion,
with results as expected.

This is the scene file:

----------[BEGIN CODE]----------
//Preview:
// +w300 +h270 +a
#version 3.7;

#include "spectral.inc"

global_settings
{ assumed_gamma 1
  max_trace_level 100
}

camera
{ location -84 * z
  right x
  up y * 0.9
}

#declare Light = SpectralEmission (E_D65);
#default { finish { diffuse 1 ambient Light * 0.25 } }

box
{ -1, 1 scale <72, 72, 96>
  pigment { C_Average (D_CC_A4, 1, D_CC_B4, 1) }
}

plane
{ -z, 0
  pigment { checker D_CC_F4 C_Average (D_CC_A4, 1, D_CC_B4, 1) }
}
-----------[END CODE]-----------

(Yes, I had not yet gotten to defining a light source.)

POV-Ray 3.7.1-alpha.8150025.unofficial
UberPOV 1.37.1.0-beta.10
(g++ 4.8 @ x86_64-suse-linux-gnu)
openSUSE 13.2 GNU/Linux


Post a reply to this message

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