POV-Ray : Newsgroups : povray.beta-test : Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0 Server Time
28 Jul 2024 16:18:47 EDT (-0400)
  Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0 (Message 1 to 4 of 4)  
From: geep999
Subject: Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0
Date: 15 Feb 2008 14:05:00
Message: <web.47b5e24c6a1650486b38c5460@news.povray.org>
Hi group,

1/ Trying POV-Ray 3.7.0.beta.25 on Slackware 12.0 with 2.6.21.5-smp kernel,
Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping 0b

I get a Segmentation fault with every .pov file I try, but which run fine
with Povray 3.6. Even a completely empty .pov causes the Segmentation fault.
The dialog ends with:
 Library paths:
    /usr/local/share/povray-3.7
    /usr/local/share/povray-3.7/ini
    /usr/local/share/povray-3.7/include
==== [Parsing...] ==========================================================
Segmentation fault

2/ BUT povray --version, povray --help and povray --benchmark all run OK.
I attach the entire dialgue from --benchmark below.

3/ Anybody else having this problem?
Any suggestions how to solve?

4/ I have tried this on 2 different Slackware 12.0 installations on the same PC.
In the first I installed it as user (to avoid getting tangled with existing
Povray 3.6).
In the second I installed it as root (no existing Povray installation).
But get the same problem with both.

5/ Had a lot of enjoyment using Povray, and looking forward to getting both my
cores rendering.

Cheers,

Peter

##################################################################
povray --benchmark
povray: this pre-release version of POV-Ray for Unix expires in 45 day(s) and 4
hour(s)
POV-Ray 3.7.0.beta.25 (icpc 10.1 @ i586-pc-linux-gnu)

Entering the standard POV-Ray 3.7 benchmark version 2.01.

This built-in benchmark requires POV-Ray to be installed on your system
before running it.  There will be neither display nor file output, and
any additional command-line option except setting the number of render
threads (+wtN for N threads) and library paths (+Lpath) will be ignored.
To get an accurate benchmark result you might consider running POV-Ray
with the Unix 'time' command (e.g. 'time povray -benchmark').

The benchmark will run using 2 render thread(s).
Press <Enter> to continue or <Ctrl-C> to abort.

povray: creating /tmp/pov4851.ini
povray: creating /tmp/pov4851.pov
Running standard POV-Ray benchmark version 2.01
Persistence of Vision(tm) Ray Tracer Version 3.7.0.beta.25 (icpc 10.1 @
 i586-pc-linux-gnu)
This is a time-limited beta test version.  No re-distribution
 of any sort is permitted.

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

Primary POV-Ray 3.6/3.7 Developers: (Alphabetically)
  Chris Cason         Thorsten Froehlich  Christoph Hormann   Nathan Kopp

Contributing Authors: (Alphabetically)
  Steve Anger         Eric Barish         Dieter Bayer        Steve A. Bennett
  David K. Buck       Nicolas Calimet     Aaron A. Collins    Chris Dailey
  Steve Demlow        Andreas Dilger      Alexander Enzmann   Dan Farmer
  Mark Gordon         Christoph Hormann   Mike Hough          Chris Huff
  Kari Kivisalo       Lutz Kretzschmar    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.3.3, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
  LibPNG 1.2.15beta, Copyright 1998-2002 Glenn Randers-Pehrson
  LibJPEG 62, Copyright 1998 Thomas G. Lane
  LibTIFF 3.8.2, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
  Boost 1.34, http://www.boost.org/
  OpenEXR 1.2.2, Copyright (c) 2004, Industrial Light & Magic.

Parser Options
  Input file: /tmp/pov4851.pov (compatible to version 3.50)
  Remove bounds........On
  Split unions.........Off
  Library paths:
    /usr/local/share/povray-3.7/include
==== [Parsing...] ==========================================================


 Building mesh2:
   - vertex_vectors
   - normal_vectors
   - uv_vectors
   - face_indices
Parse Warning: gamma_correction not specified or inferred so is turned off for
compatibility w
----------------------------------------------------------------------------
Parser Statistics
----------------------------------------------------------------------------
Finite Objects:           40
Infinite Objects:          2
Light Sources:             2
Total:                    44
----------------------------------------------------------------------------
Parser Time
  Parse Time:       0 hours  0 minutes  0 seconds (0.000 seconds)
              using 1 thread(s) with 0.894 CPU-seconds total
  Bounding Time:    0 hours  0 minutes  0 seconds (0.000 seconds)
              using 1 thread(s) with 0.000 CPU-seconds total
----------------------------------------------------------------------------
Render Options
  Quality:  9
  Bounding boxes.......On   Bounding threshold: 3
  Antialiasing.........On  (Method 1, Threshold 0.300, Depth 3, Jitter 0.30)
==== [Rendering...] ========================================================
Rendered 262144 of 262144 pixels (100%)
----------------------------------------------------------------------------
Render Statistics
Image Resolution 512 x 512
----------------------------------------------------------------------------
Pixels:           294912   Samples:          661338   Smpls/Pxl: 2.24
Rays:            1568965   Saved:              5255   Max Level: 12/12
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                           14877799        12821111     86.18
Cone/Cylinder                 24854828         9634152     38.76
CSG Intersection              18650564         7330015     39.30
CSG Merge                       409802           49300     12.03
Fractal                        1148626          177484     15.45
Height Field                   1637641          176684     10.79
Height Field Box               1637641         1252137     76.46
Height Field Triangle          6108714          182109      2.98
Height Field Block            10379810         3136043     30.21
Height Field Cell             42138857         3353316      7.96
Isosurface                    21751825          785119      3.61
Isosurface Container          21752343        21752339    100.00
Isosurface Cache                247338           12611      5.10
Mesh                           1214031          110671      9.12
Plane                         20556002         1217980      5.93
Sphere                         3523221         2254226     63.98
Superellipsoid                  341574           80089     23.45
Torus                          3289801          730878     22.22
Torus Bound                    3289801          839963     25.53
True Type Font                   35387           12677     35.82
Clipping Object                2817743         1330192     47.21
Bounding Box                 391226762       160023811     40.90
----------------------------------------------------------------------------
Isosurface roots:          21738790
Function VM calls:        299814490
----------------------------------------------------------------------------
Crackle Cache Queries:          657453
Crackle Cache Hits:             653939 ( 99 percent)
----------------------------------------------------------------------------
Roots tested:                839963   eliminated:               563717
Shadow Ray Tests:          21975924   Succeeded:               7573615
Shadow Cache Hits:          2983586
Reflected Rays:              242321   Total Internal:                2
Refracted Rays:              161530
Transmitted Rays:            204105
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Render Time:
  Photon Time:      0 hours  0 minutes  0 seconds (0.350 seconds)
              using 5 thread(s) with 0.407 CPU-seconds total
  Radiosity Time:   No radiosity
  Trace Time:       0 hours  3 minutes 56 seconds (236.119 seconds)
              using 2 thread(s) with 460.579 CPU-seconds total
povray: removing /tmp/pov4851.ini
povray: removing /tmp/pov4851.pov
POV-Ray finished


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0
Date: 15 Feb 2008 14:14:58
Message: <47b5e4b2$1@news.povray.org>

> Hi group,
> 
> 1/ Trying POV-Ray 3.7.0.beta.25 on Slackware 12.0 with 2.6.21.5-smp kernel,
> Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping 0b
> 
> I get a Segmentation fault with every .pov file I try, but which run fine
> with Povray 3.6. Even a completely empty .pov causes the Segmentation fault.
> The dialog ends with:
>  Library paths:
>     /usr/local/share/povray-3.7
>     /usr/local/share/povray-3.7/ini
>     /usr/local/share/povray-3.7/include
> ==== [Parsing...] ==========================================================
> Segmentation fault
> 

Maybe a stacktrace would help developers track it down; although I don't 
know if it's compiled with debugging information.

If you were running povray as:
$ ./povray -Isomefile.pov +w640 +h480 -whatever-other-options

Try this:
$ gdb povray
(gdb) set args -Isomefile.pov +w640 +h480 -whatever-other-options
(gdb) run

Wait for the segfault, and type 'bt' on the (gdb) prompt.


Post a reply to this message

From: geep999
Subject: Re: Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0
Date: 15 Feb 2008 14:35:00
Message: <web.47b5e8b6dd7a2176b38c5460@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:

> > Hi group,
> >
> > 1/ Trying POV-Ray 3.7.0.beta.25 on Slackware 12.0 with 2.6.21.5-smp kernel,
> > Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping 0b
> >
> > I get a Segmentation fault with every .pov file I try, but which run fine
> > with Povray 3.6. Even a completely empty .pov causes the Segmentation fault.
> > The dialog ends with:
> >  Library paths:
> >     /usr/local/share/povray-3.7
> >     /usr/local/share/povray-3.7/ini
> >     /usr/local/share/povray-3.7/include
> > ==== [Parsing...] ==========================================================
> > Segmentation fault
> >
>
> Maybe a stacktrace would help developers track it down; although I don't
> know if it's compiled with debugging information.
>
> If you were running povray as:
> $ ./povray -Isomefile.pov +w640 +h480 -whatever-other-options
>
> Try this:
> $ gdb povray
> (gdb) set args -Isomefile.pov +w640 +h480 -whatever-other-options
> (gdb) run
>
> Wait for the segfault, and type 'bt' on the (gdb) prompt.

Mon Dieu, that was a quick response!
Don't think there's any useful debug info.
For what it's worth I had tried gdb and strace - they gave me:
gdb:
  Library paths:
    /usr/local/share/povray-3.7
    /usr/local/share/povray-3.7/ini
    /usr/local/share/povray-3.7/include
==== [Parsing...] ==========================================================
[New LWP 10856]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 10856]
0xb3f9c679 in ?? ()
(gdb) bt
#0  0xb3f9c679 in ?? ()
#1  0xb3f61824 in ?? ()
#2  0xb403fc44 in ?? ()
#3  0x088d396c in ?? ()
#4  0x088d3268 in ?? ()
#5  0xb769bd34 in ?? ()
#6  0x08550ec0 in ?? ()
#7  0xb3f89fd0 in ?? ()
#8  0x088d3268 in ?? ()
#9  0xb5311b80 in ?? ()
#10 0x00000006 in ?? ()
#11 0x00000001 in ?? ()
#12 0x00000000 in ?? ()

strace ended with:
gettimeofday({1203103844, 324474}, NULL) = 0
clock_gettime(CLOCK_REALTIME, {1203103844, 324498344}) = 0
futex(0x886fe94, FUTEX_WAIT, 1, {0, 199975656}) = 0
futex(0x886fe70, FUTEX_WAIT, 2, NULL)   = 0
futex(0x886fe70, FUTEX_WAKE, 1)         = 0
write(2, "Parser Options\n", 15Parser Options
)        = 15
write(2, "  Input file: fred.pov\n", 23  Input file: fred.pov
) = 23
write(2, "  Remove bounds........On \n", 27  Remove bounds........On
) = 27
write(2, "  Split unions.........Off\n", 27  Split unions.........Off
) = 27
write(2, "  Library paths:\n", 17  Library paths:
)      = 17
write(2, "    /usr/local/share/povray-3.7\n", 32    /usr/local/share/povray-3.7
) = 32
write(2, "    /usr/local/share/povray-3.7/"..., 36
/usr/local/share/povray-3.7/ini
) = 36
write(2, "    /usr/local/share/povray-3.7/"..., 40
/usr/local/share/povray-3.7/include
) = 40
write(2, "==== [Parsing...] =============="..., 77==== [Parsing...]
==========================================================
) = 77
gettimeofday({1203103844, 375939}, NULL) = 0
clock_gettime(CLOCK_REALTIME, {1203103844, 375959947}) = 0
futex(0x886fe94, FUTEX_WAIT, 3, {0, 199979053}) = -1 EINTR (Interrupted system
call)
+++ killed by SIGSEGV (core dumped) +++
Process 10977 detached

Cheers,

Peter


Post a reply to this message

From: geep999
Subject: Re: Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0
Date: 29 Feb 2008 12:30:00
Message: <web.47c84012dd7a217ff6f0ed80@news.povray.org>
"geep999" <nomail@nomail> wrote:
> Hi group,
>
> 1/ Trying POV-Ray 3.7.0.beta.25 on Slackware 12.0 with 2.6.21.5-smp kernel,
> Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping 0b
>

WORKAROUND: compiling from the newly available 3.7.0.beta.25b source works fine!

> I get a Segmentation fault with every .pov file I try, but which run fine
> with Povray 3.6. Even a completely empty .pov causes the Segmentation fault.
> The dialog ends with:
>  Library paths:
>     /usr/local/share/povray-3.7
>     /usr/local/share/povray-3.7/ini
>     /usr/local/share/povray-3.7/include
> ==== [Parsing...] ==========================================================
> Segmentation fault
>
> 2/ BUT povray --version, povray --help and povray --benchmark all run OK.
> I attach the entire dialgue from --benchmark below.
>
> 3/ Anybody else having this problem?
> Any suggestions how to solve?
>
> 4/ I have tried this on 2 different Slackware 12.0 installations on the same PC.
> In the first I installed it as user (to avoid getting tangled with existing
> Povray 3.6).
> In the second I installed it as root (no existing Povray installation).
> But get the same problem with both.
>
> 5/ Had a lot of enjoyment using Povray, and looking forward to getting both my
> cores rendering.
>
> Cheers,
>
> Peter
>
> ##################################################################
> povray --benchmark
> povray: this pre-release version of POV-Ray for Unix expires in 45 day(s) and 4
> hour(s)
> POV-Ray 3.7.0.beta.25 (icpc 10.1 @ i586-pc-linux-gnu)
>
> Entering the standard POV-Ray 3.7 benchmark version 2.01.
>
> This built-in benchmark requires POV-Ray to be installed on your system
> before running it.  There will be neither display nor file output, and
> any additional command-line option except setting the number of render
> threads (+wtN for N threads) and library paths (+Lpath) will be ignored.
> To get an accurate benchmark result you might consider running POV-Ray
> with the Unix 'time' command (e.g. 'time povray -benchmark').
>
> The benchmark will run using 2 render thread(s).
> Press <Enter> to continue or <Ctrl-C> to abort.
>
> povray: creating /tmp/pov4851.ini
> povray: creating /tmp/pov4851.pov
> Running standard POV-Ray benchmark version 2.01
> Persistence of Vision(tm) Ray Tracer Version 3.7.0.beta.25 (icpc 10.1 @
>  i586-pc-linux-gnu)
> This is a time-limited beta test version.  No re-distribution
>  of any sort is permitted.
>
> POV-Ray is based on DKBTrace 2.12 by David K. Buck & Aaron A. Collins
> Copyright 1991-2003 Persistence of Vision Team
> Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.
>
> Primary POV-Ray 3.6/3.7 Developers: (Alphabetically)
>   Chris Cason         Thorsten Froehlich  Christoph Hormann   Nathan Kopp
>
> Contributing Authors: (Alphabetically)
>   Steve Anger         Eric Barish         Dieter Bayer        Steve A. Bennett
>   David K. Buck       Nicolas Calimet     Aaron A. Collins    Chris Dailey
>   Steve Demlow        Andreas Dilger      Alexander Enzmann   Dan Farmer
>   Mark Gordon         Christoph Hormann   Mike Hough          Chris Huff
>   Kari Kivisalo       Lutz Kretzschmar    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.3.3, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
>   LibPNG 1.2.15beta, Copyright 1998-2002 Glenn Randers-Pehrson
>   LibJPEG 62, Copyright 1998 Thomas G. Lane
>   LibTIFF 3.8.2, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
>   Boost 1.34, http://www.boost.org/
>   OpenEXR 1.2.2, Copyright (c) 2004, Industrial Light & Magic.
>
> Parser Options
>   Input file: /tmp/pov4851.pov (compatible to version 3.50)
>   Remove bounds........On
>   Split unions.........Off
>   Library paths:
>     /usr/local/share/povray-3.7/include
> ==== [Parsing...] ==========================================================
>
>
>  Building mesh2:
>    - vertex_vectors
>    - normal_vectors
>    - uv_vectors
>    - face_indices
> Parse Warning: gamma_correction not specified or inferred so is turned off for
> compatibility w
> ----------------------------------------------------------------------------
> Parser Statistics
> ----------------------------------------------------------------------------
> Finite Objects:           40
> Infinite Objects:          2
> Light Sources:             2
> Total:                    44
> ----------------------------------------------------------------------------
> Parser Time
>   Parse Time:       0 hours  0 minutes  0 seconds (0.000 seconds)
>               using 1 thread(s) with 0.894 CPU-seconds total
>   Bounding Time:    0 hours  0 minutes  0 seconds (0.000 seconds)
>               using 1 thread(s) with 0.000 CPU-seconds total
> ----------------------------------------------------------------------------
> Render Options
>   Quality:  9
>   Bounding boxes.......On   Bounding threshold: 3
>   Antialiasing.........On  (Method 1, Threshold 0.300, Depth 3, Jitter 0.30)
> ==== [Rendering...] ========================================================
> Rendered 262144 of 262144 pixels (100%)
> ----------------------------------------------------------------------------
> Render Statistics
> Image Resolution 512 x 512
> ----------------------------------------------------------------------------
> Pixels:           294912   Samples:          661338   Smpls/Pxl: 2.24
> Rays:            1568965   Saved:              5255   Max Level: 12/12
> ----------------------------------------------------------------------------
> Ray->Shape Intersection          Tests       Succeeded  Percentage
> ----------------------------------------------------------------------------
> Box                           14877799        12821111     86.18
> Cone/Cylinder                 24854828         9634152     38.76
> CSG Intersection              18650564         7330015     39.30
> CSG Merge                       409802           49300     12.03
> Fractal                        1148626          177484     15.45
> Height Field                   1637641          176684     10.79
> Height Field Box               1637641         1252137     76.46
> Height Field Triangle          6108714          182109      2.98
> Height Field Block            10379810         3136043     30.21
> Height Field Cell             42138857         3353316      7.96
> Isosurface                    21751825          785119      3.61
> Isosurface Container          21752343        21752339    100.00
> Isosurface Cache                247338           12611      5.10
> Mesh                           1214031          110671      9.12
> Plane                         20556002         1217980      5.93
> Sphere                         3523221         2254226     63.98
> Superellipsoid                  341574           80089     23.45
> Torus                          3289801          730878     22.22
> Torus Bound                    3289801          839963     25.53
> True Type Font                   35387           12677     35.82
> Clipping Object                2817743         1330192     47.21
> Bounding Box                 391226762       160023811     40.90
> ----------------------------------------------------------------------------
> Isosurface roots:          21738790
> Function VM calls:        299814490
> ----------------------------------------------------------------------------
> Crackle Cache Queries:          657453
> Crackle Cache Hits:             653939 ( 99 percent)
> ----------------------------------------------------------------------------
> Roots tested:                839963   eliminated:               563717
> Shadow Ray Tests:          21975924   Succeeded:               7573615
> Shadow Cache Hits:          2983586
> Reflected Rays:              242321   Total Internal:                2
> Refracted Rays:              161530
> Transmitted Rays:            204105
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> Render Time:
>   Photon Time:      0 hours  0 minutes  0 seconds (0.350 seconds)
>               using 5 thread(s) with 0.407 CPU-seconds total
>   Radiosity Time:   No radiosity
>   Trace Time:       0 hours  3 minutes 56 seconds (236.119 seconds)
>               using 2 thread(s) with 460.579 CPU-seconds total
> povray: removing /tmp/pov4851.ini
> povray: removing /tmp/pov4851.pov
> POV-Ray finished


Post a reply to this message

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