POV-Ray : Newsgroups : povray.beta-test : Linux Beta 28 segfaults on Slackware and Kubuntu : Re: Linux Beta 28 segfaults on Slackware and Kubuntu Server Time
29 Apr 2024 13:11:55 EDT (-0400)
  Re: Linux Beta 28 segfaults on Slackware and Kubuntu  
From: geep999
Date: 19 Sep 2008 06:15:01
Message: <web.48d37a93cfc4a246d9d541e00@news.povray.org>
"geep999" <nomail@nomail> wrote:
> works fine with m_textures.ini and wineglass.pov
>
Not quite...
Confirming Le Forgeron's observation that there are still segfaults with povray
m_textures.ini +Q0 and +Q1
even with trace.cpp Line 153 changed to:
lightColorCache.resize(sd->parsedMaxTraceLevel + 1);

See below for duma and regular stacktraces.
Salutations, Peter

duma............................................
duma.sh povray m_textures.ini +Q0

.../duma.sh: line 17:  7890 Segmentation fault      (core dumped) ( export
LD_PRELOAD=libduma.so.0.0.0; export DYLD_INSERT_LIBRARIES=libduma.dylib; export
DYLD_FORCE_FLAT_NAMESPACE=1; exec $* )

gdb povray -c core.7890
.........
bt
Cannot access memory at address 0xb7f786c4
(gdb)
(gdb) bt
#0  0x0819d235 in pov::Trace::ComputeLightedTexture (this=Cannot access memory
at address 0xad5ab7c0
) at render/trace.cpp:920
Cannot access memory at address 0xad5ab7bc

gdb.............................................
gdb povray
run m_textures.ini +Q0
bt
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1271993456 (LWP 10009)]
0x0819d235 in pov::Trace::ComputeLightedTexture (this=0xb39917cc,
resultcolour=@0xb42edb70, texture=0x836b5b0,
    warps=@0x8311fb8, ipoint=@0xb42edb30, rawnormal=@0xb42edb48,
ray=@0xb42eddec, weight=1, isect=@0xb42edc98)
    at render/trace.cpp:920
920                                     filCol[pRED]   *= min(1.0, 1.0 -
listWNRX->back().reflec[pRED]);
(gdb) bt
#0  0x0819d235 in pov::Trace::ComputeLightedTexture (this=0xb39917cc,
resultcolour=@0xb42edb70, texture=0x836b5b0,
    warps=@0x8311fb8, ipoint=@0xb42edb30, rawnormal=@0xb42edb48,
ray=@0xb42eddec, weight=1, isect=@0xb42edc98)
    at render/trace.cpp:920
#1  0x08196f01 in pov::Trace::ComputeOneTextureColour (this=0xb39917cc,
resultcolour=@0xb42edb70, texture=0x836b5b0,
    warps=@0x8311fb8, ipoint=@0xb42edb30, rawnormal=@0xb42edb48,
ray=@0xb42eddec, weight=1, isect=@0xb42edc98,
    shadowflag=false, photonPass=false) at render/trace.cpp:600
#2  0x08198b6d in pov::Trace::ComputeTextureColour (this=0xb39917cc,
isect=@0xb42edc98, colour=@0xb42edfa4,
    ray=@0xb42eddec, weight=1, photonPass=false) at render/trace.cpp:532
#3  0x0819eb69 in pov::Trace::TraceRay (this=0xb39917cc, ray=@0xb42eddec,
colour=@0xb42edfa4, weight=1)
    at render/trace.cpp:216
#4  0x081b3097 in pov::TracePixel::operator() (this=0xb39917cc,
x=18.493499666452408, y=18.319661332915228, width=200,
    height=200, colour=@0xb42edfa4) at render/tracepixel.cpp:326
#5  0x081aa647 in pov::TraceTask::SupersampleOnePixel (this=0xb3991770, x=18,
y=18, col=@0x836e6d0)
    at render/tracetask.cpp:711
#6  0x081aa948 in pov::TraceTask::NonAdaptiveSupersamplingForOnePixel
(this=0xb3991770, x=18, y=18, leftcol=@0x836e6bc,
    topcol=@0x836e450, curcol=@0x836e6d0, sampleleft=@0xb42ee11f,
sampletop=@0xb42ee11e, samplecurrent=@0xb42ee11d)
    at render/tracetask.cpp:692
#7  0x081abe01 in pov::TraceTask::NonAdaptiveSupersamplingM1 (this=0xb3991770)
at render/tracetask.cpp:606
#8  0x081ac27b in pov::TraceTask::Run (this=0xb3991770) at
render/tracetask.cpp:339
#9  0x081b90f5 in pov::Task::TaskThread (this=0xb3991770, completion=@0x83127a4)
at support/task.cpp:233
#10 0x081ba2de in boost::_mfi::mf1<void, pov::Task, boost::function0<void,
std::allocator<boost::function_base> > const&>::operator() (this=0x8312798,
p=0xb3991770, a1=@0x83127a4) at /usr/include/boost/bind/mem_fn_template.hpp:149
#11 0x081ba36b in boost::_bi::list2<boost::_bi::value<pov::Task*>,
boost::_bi::value<boost::function0<void, std::allocator<boost::function_base> >
> >::operator()<boost::_mfi::mf1<void, pov::Task, boost::function0<void,
std::allocator<boost::function_base> > const&>, boost::_bi::list0>
(this=0x83127a0, f=@0x8312798, a=@0xb42ee307) at
/usr/include/boost/bind.hpp:286
#12 0x081ba3a8 in boost::_bi::bind_t<void, boost::_mfi::mf1<void, pov::Task,
boost::function0<void, std::allocator<boost::f---Type <return> to continue, or
q <return> to quit---
unction_base> > const&>, boost::_bi::list2<boost::_bi::value<pov::Task*>,
boost::_bi::value<boost::function0<void, std::allocator<boost::function_base> >
> > >::operator() (this=0x8312798) at
/usr/include/boost/bind/bind_template.hpp:20
#13 0x081ba3c5 in
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,
boost::_mfi::mf1<void, pov::Task, boost::function0<void,
std::allocator<boost::function_base> > const&>,
boost::_bi::list2<boost::_bi::value<pov::Task*>,
boost::_bi::value<boost::function0<void, std::allocator<boost::function_base> >
> > >, void>::invoke (function_obj_ptr=
      {obj_ptr = 0x8312798, const_obj_ptr = 0x8312798, func_ptr = 0x8312798,
data = "\230"})
    at /usr/include/boost/function/function_template.hpp:136
#14 0x081bae68 in boost::function0<void, std::allocator<boost::function_base>
>::operator() (this=0xb42ee390)
    at /usr/include/boost/function/function_template.hpp:576
#15 0xb7a0c7b2 in ?? () from /usr/lib/libboost_thread-mt.so.1.33.1
#16 0xb7e1f1b3 in start_thread () from /lib/libpthread.so.0
#17 0xb787c03e in clone () from /lib/libc.so.6


Post a reply to this message

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