POV-Ray : Newsgroups : povray.general : Segmentation Fault for everything Server Time
25 Nov 2024 21:47:40 EST (-0500)
  Segmentation Fault for everything (Message 1 to 3 of 3)  
From: J-Rex
Subject: Segmentation Fault for everything
Date: 28 Jan 2013 22:10:01
Message: <web.51073c987c3e4c479c9ed68d0@news.povray.org>
I've been running the latest povray using the MacPorts distribution method, and
everything was working fine until I updated all the packages using selfupdate.
Now povray crashes every time I run it, regardless of the input file, with error
message "Segmentation fault: 11" appearing last.

Here is what I get simply by invoking "povray" from the command line:

------------------------------------------------

povray: This is a RELEASE CANDIDATE version of POV-Ray. General distribution is
discouraged.
povray: cannot open the user configuration file
/Users/hernlund/.povray/3.7/povray.conf: No such file or directory

Problem with option setting
povray
No input file provided
Segmentation fault: 11

------------------------------------------------

I also get a "Segmentation Fault: 11" when I include an input file, regardless
of the simplicity of the scene (e.g., just a simple sphere). Below is a typical
output when I run povray on a .pov file:

------------------------------------------------

povray: This is a RELEASE CANDIDATE version of POV-Ray. General distribution is
discouraged.
povray: cannot open the user configuration file
/Users/hernlund/.povray/3.7/povray.conf: No such file or directory
Persistence of Vision(tm) Ray Tracer Version 3.7.0.RC6 (clang++ 4.2.1 @
 x86_64-apple-darwin12)
This is a release candidate of POV-Ray version 3.7.0.
General distribution is strongly discouraged.

POV-Ray is based on DKBTrace 2.12 by David K. Buck & Aaron A. Collins
Copyright 1991-2003 Persistence of Vision Team
Copyright 2003-2011 Persistence of Vision Raytracer Pty. Ltd.

Primary POV-Ray 3.7 Architects/Developers: (Alphabetically)
  Chris Cason         Thorsten Froehlich  Christoph Lipka

With Assistance From: (Alphabetically)
  Nicolas Calimet     James Holsenback    Christoph Hormann   Nathan Kopp
  Juha Nieminen

Past Contributors: (Alphabetically)
  Steve Anger         Eric Barish         Dieter Bayer        David K. Buck
  Nicolas Calimet     Chris Cason         Aaron A. Collins    Chris Dailey
  Steve Demlow        Andreas Dilger      Alexander Enzmann   Dan Farmer
  Thorsten Froehlich  Mark Gordon         James Holsenback    Christoph Hormann
  Mike Hough          Chris Huff          Kari Kivisalo       Nathan Kopp
  Lutz Kretzschmar    Christoph Lipka     Jochen Lippert      Pascal Massimino
  Jim McElhiney       Douglas Muir        Juha Nieminen       Ron Parker
  Bill Pulver         Eduard Schwan       Wlodzimierz Skiba   Robert Skinner
  Yvo Smellenbergh    Zsolt Szalavari     Scott Taylor        Massimo Valentini
  Timothy Wegner      Drew Wells          Chris Young

Other contributors are listed in the documentation.

Support libraries used by POV-Ray:
  ZLib 1.2.7, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
  LibPNG 1.5.13, Copyright 1998-2002 Glenn Randers-Pehrson
  LibJPEG 80, Copyright 1998 Thomas G. Lane
  LibTIFF 3.9.7, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
  Boost 1.51, http://www.boost.org/
  OpenEXR, Copyright (c) 2004-2007, Industrial Light & Magic.

Parser Options
  Input file: demo.pov
  Remove bounds........On
  Split unions.........Off
  Library paths:
    /opt/local/share/povray-3.7
    /opt/local/share/povray-3.7/ini
    /opt/local/share/povray-3.7/include
  Clock value:    0.000  (Animation off)
Image Output Options
  Image resolution.....800 by 600 (rows 1 to 600, columns 1 to 800).
  Output file..........demo.png, 24 bpp PNG
  Dithering............Off
  Graphic display......Off
  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...] ==========================================================
Segmentation fault: 11

------------------------------------------------

Anybody have any ideas what has gone wrong? Is this a bug I just discovered by
running selfupdate in MacPorts? Could it be an issue related to not finding a
povray.conf file in the directory it is looking in?


Post a reply to this message

From: J-Rex
Subject: Re: Segmentation Fault for everything
Date: 28 Jan 2013 22:50:01
Message: <web.510746165be0b59f9c9ed68d0@news.povray.org>
OK, so I uninstalled povray and then installed it again, and everything seems to
be working fine now. Sorry to post this problem prematurely, I should have tried
that first.


Post a reply to this message

From: Alain
Subject: Re: Segmentation Fault for everything
Date: 30 Jan 2013 14:45:59
Message: <51097877@news.povray.org>

> I've been running the latest povray using the MacPorts distribution method, and
> everything was working fine until I updated all the packages using selfupdate.
> Now povray crashes every time I run it, regardless of the input file, with error
> message "Segmentation fault: 11" appearing last.
>
> Here is what I get simply by invoking "povray" from the command line:
>
> ------------------------------------------------
>
> povray: This is a RELEASE CANDIDATE version of POV-Ray. General distribution is
> discouraged.
> povray: cannot open the user configuration file
> /Users/hernlund/.povray/3.7/povray.conf: No such file or directory
>
> Problem with option setting
> povray
> No input file provided
> Segmentation fault: 11
>
The problem seems to be the missing povray.conf file.
Maybe it's absence is what's causing the seg fault.



Alain


Post a reply to this message

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