POV-Ray : Newsgroups : povray.beta-test : problem with +D option at specific output file dimensions : Re: problem with +D option at specific output file dimensions Server Time
1 May 2024 08:06:55 EDT (-0400)
  Re: problem with +D option at specific output file dimensions  
From: William F Pokorny
Date: 14 Dec 2013 06:38:33
Message: <52ac4339@news.povray.org>
On 12/13/2013 06:56 AM, William F Pokorny wrote:
> Sorry not more help. If I get time this weekend, I'll try recompiling
> for debugging so the backtrace is perhaps more meaningful.
> Bill P.

OK. Not an expert, but it looks like the segfault happened in this run 
in thread 7 (SetPixelScaled in disp_sdl.cpp:353) :

Thread 7 (Thread 0x7f859ecb3700 (LWP 11005)):
#0  0x00007f85a3587a43 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f85a1684862 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f85a1685d7f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f85a1685f9b in xcb_wait_for_reply ()
    from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f85a286af5d in _XReply () from 
/usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f85a286699d in XSync () from 
/usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f85a2847870 in XCloseDisplay ()
    from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f85a57083d2 in ?? () from 
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#8  0x00007f85a56fa75e in SDL_VideoQuit ()
    from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#9  0x00007f85a56d1215 in SDL_QuitSubSystem ()
    from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#10 0x00007f85a56d12ce in SDL_Quit ()
    from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#11 0x00007f85a56d18cf in ?? () from 
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#12 <signal handler called>
#13 0x0000000000417795 in SetPixelScaled (colour=..., y=1002, x=444,
     this=0x7f859000c890) at disp_sdl.cpp:353
#14 pov_frontend::UnixSDLDisplay::DrawPixelBlock (this=0x7f859000c890,
     x1=<optimized out>, y1=<optimized out>, x2=<optimized out>,
     y2=<optimized out>, colour=0x7f85901cd760) at disp_sdl.cpp:551
#15 0x00000000005acb59 in 
pov_frontend::ImageMessageHandler::DrawPixelBlockSet
     (this=<optimized out>, sd=..., vd=..., msg=...)
     at imagemessagehandler.cpp:267
#16 0x0000000000456094 in 
pov_frontend::RenderFrontend<vfe::vfeParserMessageHandler, 
pov_frontend::FileMessageHandler, vfe::vfeRenderMessageHandler, 
pov_frontend::ImageMessageHandler>::HandleImageMessage 
(this=0x7f859000ace8, vid=...,
     ident=1350058579, msg=...) at ../source/frontend/renderfrontend.h:881
#17 0x0000000000599033 in pov_frontend::RenderFrontendBase::HandleMessage (
     this=0x7f859000ace8, msg=..., result=...) at renderfrontend.cpp:642
#18 0x00000000005ec17e in POVMS_MessageReceiver::ReceiveHandler (
     msg=0x7f859ecb2c30, result=0x7f859ecb2c40, mode=1,
     privatedataptr=<optimized out>) at povmscpp.cpp:1773
#19 0x00000000005b6323 in POVMS_Receive (contextref=0x7f85900008e0,
     msg=0x7f859ecb2c30, result=0x7f859ecb2c40, mode=1) at povms.cpp:961
#20 0x00000000005b8fde in POVMS_ProcessMessages (contextref=0x7f85900008e0,
     blocking=<optimized out>, yielding=<optimized out>) at povms.cpp:691
#21 0x0000000000421ccf in vfe::vfeSession::WorkerThread (this=0x196d870)
     at vfesession.cpp:666
#22 0x00007f85a429ace9 in thread_proxy ()
    from /usr/lib/libboost_thread.so.1.46.1
#23 0x00007f85a3866e9a in start_thread ()
    from /lib/x86_64-linux-gnu/libpthread.so.0
#24 0x00007f85a35933fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#25 0x0000000000000000 in ?? ()


Line 353 in ./unix/disp_sdl.cpp is :

SDL_GetRGBA(old, m_display->format, &r, &g, &b, &a);

Attaching the full thread backtrace but it looked to me like other 
threads were in the middle of normal-ish things or waiting to run.

Bill P.


Post a reply to this message


Attachments:
Download 'utf-8' (45 KB)

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