POV-Ray : Newsgroups : povray.beta-test : Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0 : Re: Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0 Server Time
28 Jul 2024 18:15:31 EDT (-0400)
  Re: Segmentation fault - POV-Ray 3.7.0.beta.25 on Slackware 12.0  
From: geep999
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

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