|
|
Am 2017-02-12 05:53, also sprach clipka:
> Am 12.02.2017 um 10:43 schrieb dick balaska:
>> Here's a stack trace:
>
> Hmmm... doesn't tell me much.
Bummer, I was hoping there would be a recursive CheckCameraHollowObject
lightbulb.
> You might want to try the master branch up /now/. It reduces the
> probability of /some/ type of crash.
>
Not so good.
Interestingly, it doesn't build with --disable-optimiz
$ ./configure --enable-debug --disable-optimiz COMPILED_BY="me"
...
../source/libpovray.a(metadata.o): In function
`boost::date_time::month_formatter<boost::gregorian::greg_month,
boost::date_time::iso_extended_format<char>,
char>::format_month(boost::gregorian::greg_month const&, std::ostream&)':
/usr/include/boost/date_time/date_formatting.hpp:44: undefined reference
to `boost::gregorian::greg_month::as_short_string() const'
/usr/include/boost/date_time/date_formatting.hpp:49: undefined reference
to `boost::gregorian::greg_month::as_long_string() const'
collect2: error: ld returned 1 exit status
But it builds with default optimiz (-O3)
It's the same crash again.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7ff7700 (LWP 27541)]
0x000000000047bbab in shared_ptr<pov::BackendSceneData> (r=...,
this=0x7ffff7fe7440) at /usr/include/boost/smart_ptr/shared_ptr.hpp:432
432 BOOST_NOEXCEPT : px( r.px ), pn( r.pn )
(gdb) back
#0 0x000000000047bbab in shared_ptr<pov::BackendSceneData> (r=...,
this=0x7ffff7fe7440) at /usr/include/boost/smart_ptr/shared_ptr.hpp:432
#1 pov::View::CheckCameraHollowObject (this=this@entry=0x7fffe40035c0,
point=..., node=0x7fffd8097e80) at backend/scene/view.cpp:619
#2 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=..., node=0x7fffd86b4620) at
backend/scene/view.cpp:613
#3 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=..., node=0x7fffd8025d40) at
backend/scene/view.cpp:613
#4 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=..., node=0x7fffd8004c90) at
backend/scene/view.cpp:613
#5 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=..., node=0x7fffd80087e0) at
backend/scene/view.cpp:613
#6 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=..., node=0x7fffd80097e0) at
backend/scene/view.cpp:613
#7 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=..., node=0x7fffd8009c90) at
backend/scene/view.cpp:613
#8 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=..., node=0x7fffd8009e40) at
backend/scene/view.cpp:613
#9 0x000000000047bc52 in pov::View::CheckCameraHollowObject
(this=0x7fffe40035c0, point=..., node=0x7fffd8009ef0) at
backend/scene/view.cpp:613
#10 0x000000000047bdb5 in pov::View::CheckCameraHollowObject
(this=this@entry=0x7fffe40035c0, point=...) at backend/scene/view.cpp:658
#11 0x000000000047ca1e in pov::View::StartRender (this=0x7fffe40035c0,
renderOptions=...) at backend/scene/view.cpp:939
#12 0x0000000000470512 in pov::RenderBackend::StartRender
(this=0x7ffff7ff6d80, msg=...) at backend/control/renderbackend.cpp:611
#13 0x00000000004de0e6 in POVMS_MessageReceiver::ReceiveHandler
(msg=0x7ffff7ff6ca0, result=0x7ffff7ff6cc0, mode=1,
privatedataptr=<optimized out>) at povms/povmscpp.cpp:1715
#14 0x00000000004d8cd7 in POVMS_Receive
(contextref=contextref@entry=0x7fffe40008c0,
msg=msg@entry=0x7ffff7ff6ca0, result=result@entry=0x7ffff7ff6cc0,
mode=1) at povms/povms.c:880
#15 0x00000000004dc8d0 in POVMS_ProcessMessages
(contextref=0x7fffe40008c0, blocking=blocking@entry=true,
yielding=yielding@entry=true) at povms/povms.c:610
#16 0x000000000046dede in (anonymous namespace)::MainThreadFunction
(threadExit=...) at backend/povray.cpp:551
#17 0x00007ffff671ba4a in boost::(anonymous namespace)::thread_proxy
(param=<optimized out>) at libs/thread/src/pthread/thread.cpp:164
#18 0x00007ffff5ad6184 in start_thread (arg=0x7ffff7ff7700) at
pthread_create.c:312
#19 0x00007ffff580337d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)
I ran it several times and it always crashed with that trace.
The good news is, it is something specific in my code that I should be
able to narrow down to at least give you an sdl sample. It ran my
credits scene fine. So it dies once I populate that room with my
objects. I'll play with what object does it. (The picture of my naked
wife on the wall?)
--
dik
Post a reply to this message
|
|