==7170== Memcheck, a memory error detector ==7170== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==7170== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==7170== Command: dspovray bezier.pov ==7170== Parent PID: 5385 ==7170== ==7170== Thread 3: ==7170== Syscall param write(buf) points to uninitialised byte(s) ==7170== at 0x74F54AD: ??? (syscall-template.S:81) ==7170== by 0x7477B9E: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1251) ==7170== by 0x7479088: new_do_write (fileops.c:506) ==7170== by 0x7479088: _IO_do_write@@GLIBC_2.2.5 (fileops.c:482) ==7170== by 0x747741F: _IO_file_sync@@GLIBC_2.2.5 (fileops.c:862) ==7170== by 0x746CC05: fflush (iofflush.c:41) ==7170== by 0x477501: pov_base::IOBase::flush() (fileinputoutput.cpp:171) ==7170== by 0x4E6B12: flush (fileinputoutput.h:190) ==7170== by 0x4E6B12: pov_frontend::RenderFrontendBase::NewBackup(POVMS_Object&, pov_frontend::ViewData&, pov_base::Path const&) (renderfrontend.cpp:619) ==7170== by 0x461E2D: pov_frontend::RenderFrontend::StartRender(pov_frontend::RenderFrontendBase::Id, POVMS_Object&) (renderfrontend.h:680) ==7170== by 0x456A3B: vfe::VirtualFrontEnd::Process() (vfe.cpp:1087) ==7170== by 0x42C86F: vfe::vfeSession::ProcessFrontend() (vfesession.cpp:498) ==7170== by 0x43169A: vfe::vfeSession::WorkerThread() (vfesession.cpp:611) ==7170== by 0x6945800: thread_proxy (in /usr/local/lib/libboost_thread.so.1.58.0) ==7170== Address 0x4027020 is in a rw- anonymous segment ==7170== Uninitialised value was created by a stack allocation ==7170== at 0x4E68B6: pov_frontend::RenderFrontendBase::NewBackup(POVMS_Object&, pov_frontend::ViewData&, pov_base::Path const&) (renderfrontend.cpp:602) ==7170== ==7170== ==7170== HEAP SUMMARY: ==7170== in use at exit: 2,215,796 bytes in 1,286 blocks ==7170== total heap usage: 27,921 allocs, 26,635 frees, 118,672,746 bytes allocated ==7170== ==7170== Thread 1: ==7170== 132 (72 direct, 60 indirect) bytes in 3 blocks are definitely lost in loss record 247 of 339 ==7170== at 0x4C2BBCF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7170== by 0x441ECC: vfePlatform::UnixOptionsProcessor::ProcessOptions(int*, char***) (unixoptions.cpp:310) ==7170== by 0x41709F: main (unixconsole.cpp:425) ==7170== ==7170== 192 (16 direct, 176 indirect) bytes in 1 blocks are definitely lost in loss record 267 of 339 ==7170== at 0x4C2DD9F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7170== by 0x81651FC: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x8165770: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x816704E: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x816787B: _XlcCreateLC (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x818465F: _XlcDefaultLoader (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x816EE4D: _XOpenLC (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x816EF87: _XlcCurrentLC (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x816EFBD: XSetLocaleModifiers (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==7170== by 0x4E76906: ??? (in /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.4) ==7170== by 0x4E77981: ??? (in /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.4) ==7170== by 0x4E69225: SDL_VideoInit (in /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.4) ==7170== ==7170== 624 bytes in 1 blocks are possibly lost in loss record 295 of 339 ==7170== at 0x4C2DB95: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7170== by 0x4013504: allocate_dtv (dl-tls.c:322) ==7170== by 0x4013504: _dl_allocate_tls (dl-tls.c:544) ==7170== by 0x5A060D2: allocate_stack (allocatestack.c:588) ==7170== by 0x5A060D2: pthread_create@@GLIBC_2.2.5 (pthread_create.c:537) ==7170== by 0x693F22F: boost::thread::start_thread_noexcept() (in /usr/local/lib/libboost_thread.so.1.58.0) ==7170== by 0x44D334: start_thread (thread.hpp:179) ==7170== by 0x44D334: boost::thread::thread(void (*)(), boost::disable_if_c::value, boost::thread::dummy*>::type) (thread.hpp:302) ==7170== by 0x416FDE: main (unixconsole.cpp:394) ==7170== ==7170== 1,920,216 (88 direct, 1,920,128 indirect) bytes in 1 blocks are definitely lost in loss record 339 of 339 ==7170== at 0x4C2BBCF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7170== by 0x4E65E6B: SDL_CreateRGBSurface (in /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.4) ==7170== by 0x4E6616E: SDL_ConvertSurface (in /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.4) ==7170== by 0x421073: pov_frontend::UnixSDLDisplay::Show() (disp_sdl.cpp:210) ==7170== by 0x456A78: vfe::VirtualFrontEnd::Process() (vfe.cpp:1133) ==7170== by 0x42C86F: vfe::vfeSession::ProcessFrontend() (vfesession.cpp:498) ==7170== by 0x43169A: vfe::vfeSession::WorkerThread() (vfesession.cpp:611) ==7170== by 0x6945800: thread_proxy (in /usr/local/lib/libboost_thread.so.1.58.0) ==7170== by 0x5A056A9: start_thread (pthread_create.c:333) ==7170== by 0x7504E9C: clone (clone.S:109) ==7170== ==7170== LEAK SUMMARY: ==7170== definitely lost: 176 bytes in 5 blocks ==7170== indirectly lost: 1,920,364 bytes in 14 blocks ==7170== possibly lost: 624 bytes in 1 blocks ==7170== still reachable: 294,632 bytes in 1,266 blocks ==7170== suppressed: 0 bytes in 0 blocks ==7170== Reachable blocks (those to which a pointer was found) are not shown. ==7170== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==7170== ==7170== For counts of detected and suppressed errors, rerun with: -v ==7170== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)