POV-Ray : Newsgroups : povray.beta-test : Linux Beta 28 segfaults on Slackware and Kubuntu Server Time
16 May 2024 09:32:57 EDT (-0400)
  Linux Beta 28 segfaults on Slackware and Kubuntu (Message 3 to 12 of 32)  
<<< Previous 2 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Chris Cason
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 24 Aug 2008 23:44:00
Message: <48b22a80$1@news.povray.org>
John Coppens wrote:
> Do you have the correct version of the Boost libraries installed? This
> sounds like the threading problem. The docs require pre-1.34

Pre-1.35 actually - preferably 1.34_1.

-- Chris


Post a reply to this message

From: Chris Cason
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 24 Aug 2008 23:57:46
Message: <48b22dba$1@news.povray.org>
NB official Linux beta 28 source is now available.

-- Chris


Post a reply to this message

From: geep999
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 25 Aug 2008 07:55:01
Message: <web.48b29c89cfc4a246c03ef3130@news.povray.org>
Chris Cason <del### [at] deletethistoopovrayorg> wrote:
> NB official Linux beta 28 source is now available.
>
> -- Chris

Have now tried the official beta 28 source on Slackware 12.0 with:
i) boost 1.34.1 libraries (that work OK with beta 25b)
ii) boost 1.33.1 libraries
iii) boost 1.33.1 built by povray using option --with-boost-src=

Always segfaults rendering m_textures.ini.
All segfaults look somehat similar, the last 2 entries being start_thread (),
clone ()
Last segfault from iii) above is:
#0  0xb78b7d9a in malloc_consolidate () from /lib/libc.so.6
#1  0xb78ba2c7 in _int_malloc () from /lib/libc.so.6
#2  0xb78bbb7e in malloc () from /lib/libc.so.6
#3  0xb7a767e8 in operator new () from /usr/lib/libstdc++.so.6
#4  0x0815e7e3 in ?? ()
#5  0x081624c9 in ?? ()
#6  0x08165634 in ?? ()
#7  0x0816656a in ?? ()
#8  0x081705f6 in ?? ()
#9  0x0817136f in ?? ()
#10 0x08171e8c in ?? ()
#11 0x081eb5de in ?? ()
#12 0xb7eb81b3 in start_thread () from /lib/libpthread.so.0
#13 0xb792203e in clone () from /lib/libc.so.6

I would be interested if anybody out there can duplicate these segfaults.
Or suggest what I might be doing wrong...

Cheers,
Peter


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 25 Aug 2008 08:02:33
Message: <48b29f59$1@news.povray.org>
> 3/ After untarring povray-src-3.7.0.beta.25b.tar.bz2 I noticed that there are a
> number of directories and their files duplicated inside themselves:

	Thanks for your reports and in particular that one -- this is something
I got already while preparing earlier source packages and forgot to check again
lately.  The next beta will get the correct source tree.

	- NC


Post a reply to this message

From: geep999
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 25 Aug 2008 08:15:01
Message: <web.48b2a189cfc4a246c03ef3130@news.povray.org>
This segfaults too:
iv) boost 1.34.1 built by povray using option --with-boost-src=


Post a reply to this message

From: Warp
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 25 Aug 2008 08:37:38
Message: <48b2a792@news.povray.org>
geep999 <nomail@nomail> wrote:
> This segfaults too:
> iv) boost 1.34.1 built by povray using option --with-boost-src=

  It might help if you do this:

1) Reconfigure (or edit the Makefiles) so that optimizations are turned
   off and the compiler option -g is specified.

2) Recompile everything. (May require a clean.)

3) Run the recompiled povray with gdb (ie. "gdb povray" and then from
   the gdb prompt "run scene.pov" or whatever).

4) When it crashes, write "bt" and post the output here.

  (It might be possible that it will not crash because you turned
optimizations off. If that's the case, then try doing all the above
again, but keeping all the same optimizations as your normal compile,
and with the -g option. There's a small probability that the backtrace
is not as reliable this way (because of all the inlining), but it may
still be useful.)

-- 
                                                          - Warp


Post a reply to this message

From: geep999
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 25 Aug 2008 09:30:01
Message: <web.48b2b2f8cfc4a246c03ef3130@news.povray.org>
Hi Warp - I assume this is what you meant for configure:
CFLAGS="-g" \
CXXFLAGS="${CFLAGS}" \
../configure \
--with-boost-src=/tmp/boost_1_34_1 \
--disable-optimiz \
--disable-optimiz-arch \
COMPILED_BY="Beta 28 no_optim autocompiled_boost_1.34.1>"

Haven't the knowledge to edit Makefile directly.

Resulting bt:
(gdb) bt
#0  0xb78a9c87 in raise () from /lib/libc.so.6
#1  0xb78ab4f8 in abort () from /lib/libc.so.6
#2  0xb78dfc4b in __libc_message () from /lib/libc.so.6
#3  0xb78e8b9b in _int_malloc () from /lib/libc.so.6
#4  0xb78e9b7e in malloc () from /lib/libc.so.6
#5  0xb7aa47e8 in operator new () from /usr/lib/libstdc++.so.6
#6  0x081a27fe in ?? ()
#7  0x081a281b in ?? ()
#8  0x081a2f7f in ?? ()
#9  0x081a3014 in ?? ()
#10 0x081a30f8 in ?? ()
#11 0x081a3472 in ?? ()
#12 0x081a351b in ?? ()
#13 0x081a3548 in ?? ()
#14 0x081a3bc3 in ?? ()
#15 0x081a3e9f in ?? ()
#16 0x081a3f5e in ?? ()
#17 0x08195fbd in ?? ()
#18 0x0819846c in ?? ()
#19 0x081998d4 in ?? ()
#20 0x08199dfc in ?? ()
#21 0x0819a1dd in ?? ()
#22 0x0819b5d6 in ?? ()
#23 0x0819573d in ?? ()
#24 0x081973a9 in ?? ()
#25 0x0819d3a5 in ?? ()
#26 0x08193fa3 in ?? ()
#27 0x0819cba0 in ?? ()
#28 0x0819573d in ?? ()
#29 0x081973a9 in ?? ()
#30 0x0819d3a5 in ?? ()
#31 0x08193fa3 in ?? ()
---Type <return> to continue, or q <return> to quit---
#32 0x0819cba0 in ?? ()
#33 0x0819573d in ?? ()
#34 0x081973a9 in ?? ()
#35 0x0819d3a5 in ?? ()
#36 0x08193fa3 in ?? ()
#37 0x081940ac in ?? ()
#38 0x08194608 in ?? ()
#39 0x0819bea8 in ?? ()
#40 0x0819573d in ?? ()
#41 0x081973a9 in ?? ()
#42 0x0819d3a5 in ?? ()
#43 0x0819416c in ?? ()
#44 0x08194608 in ?? ()
#45 0x0819bea8 in ?? ()
#46 0x0819573d in ?? ()
#47 0x081973a9 in ?? ()
#48 0x0819d3a5 in ?? ()
#49 0x081b176f in ?? ()
#50 0x081aa2ba in ?? ()
#51 0x081aa953 in ?? ()
#52 0x081b77cd in ?? ()
#53 0x081b88ca in ?? ()
#54 0x081b8a11 in ?? ()
#55 0x081b8a4e in ?? ()
#56 0x081b8a6d in ?? ()
#57 0x081b8ed0 in ?? ()
#58 0x0822fea1 in ?? ()
#59 0xb7ee61b3 in start_thread () from /lib/libpthread.so.0
#60 0xb795003e in clone () from /lib/libc.so.6
(gdb)

Cheers,
Peter


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 25 Aug 2008 11:40:11
Message: <48b2d25b$1@news.povray.org>
> 2/ I have tried compiling on Slackware 12.0 with both --enable-debug and
> --enable-profile
> ../configure \
> --with-boost-thread=boost_thread-mt \
> --enable-profile \
> COMPILED_BY="geep"
> 
> I am not sure that the --enable-debug and --enable-profile options are working

	I verified that both --enable-debug and --enable-profile, alone or together,
work as expected.  Please check that configure reports that the -g compiler flag
is working and that the option is effectively used when compiling.

	- NC


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 25 Aug 2008 19:20:28
Message: <48b33e3b@news.povray.org>
geep999 wrote:
> Hi Warp - I assume this is what you meant for configure:
> CFLAGS="-g" \
> CXXFLAGS="${CFLAGS}" \
> ../configure \
> --with-boost-src=/tmp/boost_1_34_1 \
> --disable-optimiz \
> --disable-optimiz-arch \
> COMPILED_BY="Beta 28 no_optim autocompiled_boost_1.34.1>"

Did you run "make clean" after configuring? Maybe it saw all the files were
up-to-date and didn't recompile anything...


Post a reply to this message

From: geep999
Subject: Re: Linux Beta 28 segfaults on Slackware and Kubuntu
Date: 26 Aug 2008 07:15:01
Message: <web.48b3e3b2cfc4a246c03ef3130@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
> > 2/ I have tried compiling on Slackware 12.0 with both --enable-debug and
> > --enable-profile
> > ../configure \
> > --with-boost-thread=boost_thread-mt \
> > --enable-profile \
> > COMPILED_BY="geep"
> >
> > I am not sure that the --enable-debug and --enable-profile options are working
>
>  I verified that both --enable-debug and --enable-profile, alone or together,
> work as expected.  Please check that configure reports that the -g compiler flag
> is working and that the option is effectively used when compiling.
>
>  - NC

Hi Nicolas.

1/ Have now checked in config.log for -g flag with --enable-debug.
It's OK. Also other checks on compiler options - all OK. I hadn't checked enough
when I reported possible problem - apologies.

2/ Now I've got the hang of the compiler options, stacktrace has more
information.
Compiled with:
../configure \
--with-boost-src=/tmp/boost_1_34_1 \
--disable-optimiz \
--disable-optimiz-arch \
--enable-debug \
COMPILED_BY="Option 5"

m_textures.ini segfault whilst rendering the 4th frame:
(gdb) bt
#0  0xb785fc87 in raise () from /lib/libc.so.6
#1  0xb78614f8 in abort () from /lib/libc.so.6
#2  0xb7895c4b in __libc_message () from /lib/libc.so.6
#3  0xb789eb9b in _int_malloc () from /lib/libc.so.6
#4  0xb789fb7e in malloc () from /lib/libc.so.6
#5  0xb7a5a7e8 in operator new () from /usr/lib/libstdc++.so.6
#6  0x081a32be in
__gnu_cxx::new_allocator<pov::Trace::LightColorCache>::allocate
(this=0xb4e2299c, __n=2)
    at
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:88
#7  0x081a32db in std::_Vector_base<pov::Trace::LightColorCache,
std::allocator<pov::Trace::LightColorCache> >::_M_allocate (this=0xb4e2299c,
__n=2)
    at
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h:127
#8  0x081a4d3a in std::vector<pov::Trace::LightColorCache,
std::allocator<pov::Trace::LightColorCache> >::_M_fill_insert (this=0xb4e2299c,
__position={_M_current = 0xb4e5edd8}, __n=2, __x=@0xb676d9d8)
    at
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:357
#9  0x081a4f9b in std::vector<pov::Trace::LightColorCache,
std::allocator<pov::Trace::LightColorCache> >::insert (this=0xb4e2299c,
__position={_M_current = 0xb4e5edd8}, __n=2, __x=@0xb676d9d8)
    at
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h:658
#10 0x081a505a in std::vector<pov::Trace::LightColorCache,
std::allocator<pov::Trace::LightColorCache> >::resize (this=0xb4e2299c,
__new_size=2, __x=@0xb676d9d8)
    at
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h:426
#11 0x0819f388 in Trace (this=0xb4cc0090, sd=@0xb676da58, td=0xb4cc9bd0, mtl=5,
adcb=0.0039215686274509803,
    qf=508, cf=@0xb4cc03d4, mf=@0xb4cc03dc, rf=@0xb4cc0400) at
render/trace.cpp:155
#12 0x081b2ad5 in TracePixel (this=0xb4cc0090, vd=0xb4e213d0, td=0xb4cc9bd0,
mtl=5,
    adcb=0.0039215686274509803, qf=508, cf=@0xb4cc03d4, mf=@0xb4cc03dc,
af=@0xb4cc0400)
    at render/tracepixel.cpp:244
#13 0x081ab931 in TraceTask (this=0xb4cc0030, vd=0xb4e213d0, tm=1, js=1,
aat=0.30000001192092896, aad=3, ps=0,
    psc=false, final=true) at render/tracetask.cpp:294
#14 0x080bccf2 in pov::View::StartRender (this=0xb4e21340,
renderOptions=@0xb676e0bc) at scene/view.cpp:813
#15 0x080a55c8 in pov::RenderBackend::StartRender (this=0xb676e228,
msg=@0xb676e0bc)
    at control/renderbackend.cpp:602
#16 0x080a98fb in
POVMS_MessageReceiver::MemberHandlerOO<pov::RenderBackend>::Call
(this=0x830d3f8,
    msg=@0xb676e0bc, result=@0xb676e0cc, mode=1) at
....../../source/base/povmscpp.h:382
---Type <return> to continue, or q <return> to quit---
#17 0x081f6386 in POVMS_MessageReceiver::ReceiveHandler (msg=0xb676e1cc,
result=0xb676e1c0, mode=1,
    privatedataptr=0xb676e228) at povmscpp.cpp:1774
#18 0x081f3a19 in POVMS_Receive (contextref=0x830d0a0, msg=0xb676e1cc,
result=0xb676e1c0, mode=1)
    at povms.cpp:944
#19 0x081f4cbc in POVMS_ProcessMessages (contextref=0x830d0a0, blocking=true,
yielding=true) at povms.cpp:688
#20 0x080a22bc in (anonymous namespace)::MainThreadFunction () at povray.cpp:540
#21 0x080a2e8e in boost::_bi::list0::operator()<void (*)(), boost::_bi::list0>
(this=0xb676e398, f=@0xb676e394)
    at /tmp/boost_1_34_1/boost/bind.hpp:177
#22 0x080a2ec2 in boost::_bi::bind_t<void, void (*)(),
boost::_bi::list0>::operator() (this=0xb676e394)
    at /tmp/boost_1_34_1/boost/bind/bind_template.hpp:20
#23 0x080a2edf in
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,
void (*)(), boost::_bi::list0>, void>::invoke (function_obj_ptr=@0xb676e394)
    at /tmp/boost_1_34_1/boost/function/function_template.hpp:158
#24 0x081b9990 in boost::function0<void, std::allocator<boost::function_base>
>::operator() (this=0xb676e390)
    at /tmp/boost_1_34_1/boost/function/function_template.hpp:825
#25 0x08230961 in thread_proxy (param=0xb6f6e17c) at
/tmp/boost_1_34_1/libs/thread/src/thread.cpp:108
#26 0xb7e9c1b3 in start_thread () from /lib/libpthread.so.0
#27 0xb790603e in clone () from /lib/libc.so.6
(gdb)

Salutations,
Peter


Post a reply to this message

<<< Previous 2 Messages Goto Latest 10 Messages Next 10 Messages >>>

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