I am trying to investigate what I think is a bug where sometimes when I
compile sk/Intro.lyx with system fonts + LuaTeX it gives an error and
sometimes not.

I wouldn't be surprised if the Valgrind error I see has nothing to do
with it, but nonetheless it seems important. I get the following error:

  Conditional jump or move depends on uninitialised value(s)

Attached is error_chunk.log which contains the full chunk related to
this error.

Attached also is the full Valgrind log although I don't think it has any
other information.

I would appreciate it if someone were able to teach me how the steps to
take to fix find the root issue.

Also, I don't understand why Valgrind doesn't explicitly say *which*
value(s) are uninitialized. It just gives the stack track. I'm guessing
the information is there and I'm just not reading the log correctly.

My attempt at interpreting the log is the following: the memory where
this uninitialized value was created is from the call to new() in
Buffer.cpp at line 455. And now I get lost. Does this mean that there is
a data member that should be initialized in Buffer::Impl::Impl ?

Scott
==8553== Thread 5 Thread (pooled):
==8553== Conditional jump or move depends on uninitialised value(s)
==8553==    at 0xEDD122: lyx::LaTeX::LaTeX(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, lyx::OutputParams 
const&, lyx::support::FileName const&, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, bool) (LaTeX.cpp:115)
==8553==    by 0xE80976: lyx::Converters::runLaTeX(lyx::Buffer const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, lyx::OutputParams const&, lyx::ErrorList&) (Converter.cpp:656)
==8553==    by 0xE7CAD8: lyx::Converters::convert(lyx::Buffer const*, 
lyx::support::FileName const&, lyx::support::FileName const&, 
lyx::support::FileName const&, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, lyx::ErrorList&, int) (Converter.cpp:412)
==8553==    by 0xC68740: lyx::Buffer::doExport(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, bool, bool, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>&) const (Buffer.cpp:4176)
==8553==    by 0xC69D91: lyx::Buffer::preview(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, bool) const 
(Buffer.cpp:4309)
==8553==    by 0xC69CE8: lyx::Buffer::preview(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) const (Buffer.cpp:4294)
==8553==    by 0x1219DB7: 
_ZNKSt12_Mem_fn_baseIMN3lyx6BufferEKFNS1_12ExportStatusERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEELb1EE7_M_callIRKPS1_ISA_EEES2_OT_PVKvDpOT0_
 (in /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx)
==8553==    by 0x1219049: lyx::Buffer::ExportStatus 
std::_Mem_fn_base<lyx::Buffer::ExportStatus 
(lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const, 
true>::operator()<lyx::Buffer<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&>* const&, 
void>(lyx::Buffer<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&>* const&, (void&&)...) const (functional:610)
==8553==    by 0x1217225: 
_ZNKSt5_BindIFSt7_Mem_fnIMN3lyx6BufferEKFNS2_12ExportStatusERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEPS2_St12_PlaceholderILi1EEEE8__call_cIS3_ISB_EILm0ELm1EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE
 (functional:1083)
==8553==    by 0x1214511: lyx::Buffer::ExportStatus 
std::_Bind<std::_Mem_fn<lyx::Buffer::ExportStatus 
(lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const> (lyx::Buffer*, 
std::_Placeholder<1>)>::operator()<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
lyx::Buffer::ExportStatus>(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) const (functional:1147)
==8553==    by 0x1212261: lyx::Buffer::ExportStatus 
lyx::frontend::GuiView::GuiViewPrivate::runAndDestroy<std::_Bind<std::_Mem_fn<lyx::Buffer::ExportStatus
 (lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const> (lyx::Buffer*, std::_Placeholder<1>)> 
>(std::_Bind<std::_Mem_fn<lyx::Buffer::ExportStatus 
(lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const> (lyx::Buffer*, std::_Placeholder<1>)> 
const&, lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (GuiView.cpp:3409)
==8553==    by 0x12084ED: 
lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, 
lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) (GuiView.cpp:3437)
==8553==  Uninitialised value was created by a heap allocation
==8553==    at 0x4C2E0EF: operator new(unsigned long) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8553==    by 0xC4E79E: lyx::Buffer::Buffer(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, bool, lyx::Buffer 
const*) (Buffer.cpp:455)
==8553==    by 0xE19783: std::_MakeUniq<lyx::Buffer>::__single_object 
std::make_unique<lyx::Buffer, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > 
const&>(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) (in 
/home/scott/lyxbuilds/master/CMakeBuild/bin/lyx)
==8553==    by 0xE17C82: 
lyx::BufferList::createNewBuffer(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (BufferList.cpp:133)
==8553==    by 0xE17B62: 
lyx::BufferList::newBuffer(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (BufferList.cpp:120)
==8553==    by 0xF1FBD2: lyx::checkAndLoadLyXFile(lyx::support::FileName 
const&, bool) (buffer_funcs.cpp:105)
==8553==    by 0x11FB286: 
lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) 
(GuiView.cpp:2150)
==8553==    by 0x11FBEEB: 
lyx::frontend::GuiView::openDocument(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (GuiView.cpp:2237)
==8553==    by 0x117903B: 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, 
lyx::DispatchResult&) (GuiApplication.cpp:1696)
==8553==    by 0x11771F2: 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) 
(GuiApplication.cpp:1397)
==8553==    by 0xF449A5: lyx::dispatch(lyx::FuncRequest const&) (LyX.cpp:1404)
==8553==    by 0xF3E27D: lyx::LyX::execCommands() (LyX.cpp:586)

==8553== Memcheck, a memory error detector
==8553== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==8553== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==8553== Command: /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx -userdir 
/home/scott/lyxbuilds/master/user-dir Intro.lyx
==8553== Parent PID: 8517
==8553== 
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1.0.0:
--8553-- Ignoring non-Dwarf2/3/4 block in .debug_info
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1.0.0:
--8553-- Last block truncated in .debug_info; ignoring
--8553-- WARNING: Serious error when reading debug info
--8553-- When reading debug info from 
/usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1.0.0:
--8553-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
==8553== Syscall param writev(vector[...]) points to uninitialised byte(s)
==8553==    at 0x790073D: ??? (syscall-template.S:84)
==8553==    by 0x4E43F28: _xcb_conn_wait (in 
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==8553==    by 0x4E4431C: _xcb_out_send (in 
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==8553==    by 0x4E44A76: _xcb_out_flush_to (in 
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==8553==    by 0x4E44C43: xcb_flush (in 
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==8553==    by 0xF853339: QXcbWindow::hide() (qxcbwindow.cpp:880)
==8553==    by 0xF852D74: QXcbWindow::setVisible(bool) (qxcbwindow.cpp:790)
==8553==    by 0x608EC08: QWindow::setVisible(bool) (qwindow.cpp:523)
==8553==    by 0x58B737D: QWidgetPrivate::hide_sys() (qwidget.cpp:8083)
==8553==    by 0x58B703A: QWidgetPrivate::hide_helper() (qwidget.cpp:8011)
==8553==    by 0x58B7947: QWidget::setVisible(bool) (qwidget.cpp:8213)
==8553==    by 0x58B6F4F: QWidget::hide() (qwidget.cpp:7985)
==8553==  Address 0xd8f4e21 is 4,545 bytes inside a block of size 21,152 alloc'd
==8553==    at 0x4C2FB55: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8553==    by 0x4E438DB: xcb_connect_to_fd (in 
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==8553==    by 0x4E47610: xcb_connect_to_display_with_auth_info (in 
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
==8553==    by 0xB137809: _XConnectXCB (in 
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==8553==    by 0xB128391: XOpenDisplay (in 
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==8553==    by 0xF82C7A4: QXcbConnection::QXcbConnection(QXcbNativeInterface*, 
bool, unsigned int, char const*) (qxcbconnection.cpp:573)
==8553==    by 0xF838EA4: QXcbIntegration::QXcbIntegration(QStringList const&, 
int&, char**) (qxcbintegration.cpp:179)
==8553==    by 0x40376F3: QXcbIntegrationPlugin::create(QString const&, 
QStringList const&, int&, char**) (qxcbmain.cpp:50)
==8553==    by 0x606E972: loadIntegration(QFactoryLoader*, QString const&, 
QStringList const&, int&, char**) (qplatformintegrationfactory.cpp:56)
==8553==    by 0x606EA2B: QPlatformIntegrationFactory::create(QString const&, 
QStringList const&, int&, char**, QString const&) 
(qplatformintegrationfactory.cpp:73)
==8553==    by 0x607CB0D: init_platform(QString const&, QString const&, QString 
const&, int&, char**) (qguiapplication.cpp:1058)
==8553==    by 0x607DCFC: QGuiApplicationPrivate::createPlatformIntegration() 
(qguiapplication.cpp:1227)
==8553==  Uninitialised value was created by a stack allocation
==8553==    at 0xF853260: QXcbWindow::hide() (qxcbwindow.cpp:868)
==8553== 
==8553== Thread 5 Thread (pooled):
==8553== Conditional jump or move depends on uninitialised value(s)
==8553==    at 0xEDD122: lyx::LaTeX::LaTeX(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, lyx::OutputParams 
const&, lyx::support::FileName const&, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, bool) (LaTeX.cpp:115)
==8553==    by 0xE80976: lyx::Converters::runLaTeX(lyx::Buffer const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, lyx::OutputParams const&, lyx::ErrorList&) (Converter.cpp:656)
==8553==    by 0xE7CAD8: lyx::Converters::convert(lyx::Buffer const*, 
lyx::support::FileName const&, lyx::support::FileName const&, 
lyx::support::FileName const&, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, lyx::ErrorList&, int) (Converter.cpp:412)
==8553==    by 0xC68740: lyx::Buffer::doExport(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, bool, bool, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>&) const (Buffer.cpp:4176)
==8553==    by 0xC69D91: lyx::Buffer::preview(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, bool) const 
(Buffer.cpp:4309)
==8553==    by 0xC69CE8: lyx::Buffer::preview(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) const (Buffer.cpp:4294)
==8553==    by 0x1219DB7: 
_ZNKSt12_Mem_fn_baseIMN3lyx6BufferEKFNS1_12ExportStatusERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEELb1EE7_M_callIRKPS1_ISA_EEES2_OT_PVKvDpOT0_
 (in /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx)
==8553==    by 0x1219049: lyx::Buffer::ExportStatus 
std::_Mem_fn_base<lyx::Buffer::ExportStatus 
(lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const, 
true>::operator()<lyx::Buffer<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&>* const&, 
void>(lyx::Buffer<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&>* const&, (void&&)...) const (functional:610)
==8553==    by 0x1217225: 
_ZNKSt5_BindIFSt7_Mem_fnIMN3lyx6BufferEKFNS2_12ExportStatusERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEPS2_St12_PlaceholderILi1EEEE8__call_cIS3_ISB_EILm0ELm1EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE
 (functional:1083)
==8553==    by 0x1214511: lyx::Buffer::ExportStatus 
std::_Bind<std::_Mem_fn<lyx::Buffer::ExportStatus 
(lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const> (lyx::Buffer*, 
std::_Placeholder<1>)>::operator()<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
lyx::Buffer::ExportStatus>(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) const (functional:1147)
==8553==    by 0x1212261: lyx::Buffer::ExportStatus 
lyx::frontend::GuiView::GuiViewPrivate::runAndDestroy<std::_Bind<std::_Mem_fn<lyx::Buffer::ExportStatus
 (lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const> (lyx::Buffer*, std::_Placeholder<1>)> 
>(std::_Bind<std::_Mem_fn<lyx::Buffer::ExportStatus 
(lyx::Buffer::*)(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) const> (lyx::Buffer*, std::_Placeholder<1>)> 
const&, lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (GuiView.cpp:3409)
==8553==    by 0x12084ED: 
lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, 
lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) (GuiView.cpp:3437)
==8553==  Uninitialised value was created by a heap allocation
==8553==    at 0x4C2E0EF: operator new(unsigned long) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8553==    by 0xC4E79E: lyx::Buffer::Buffer(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, bool, lyx::Buffer 
const*) (Buffer.cpp:455)
==8553==    by 0xE19783: std::_MakeUniq<lyx::Buffer>::__single_object 
std::make_unique<lyx::Buffer, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > 
const&>(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) (in 
/home/scott/lyxbuilds/master/CMakeBuild/bin/lyx)
==8553==    by 0xE17C82: 
lyx::BufferList::createNewBuffer(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (BufferList.cpp:133)
==8553==    by 0xE17B62: 
lyx::BufferList::newBuffer(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (BufferList.cpp:120)
==8553==    by 0xF1FBD2: lyx::checkAndLoadLyXFile(lyx::support::FileName 
const&, bool) (buffer_funcs.cpp:105)
==8553==    by 0x11FB286: 
lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) 
(GuiView.cpp:2150)
==8553==    by 0x11FBEEB: 
lyx::frontend::GuiView::openDocument(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (GuiView.cpp:2237)
==8553==    by 0x117903B: 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, 
lyx::DispatchResult&) (GuiApplication.cpp:1696)
==8553==    by 0x11771F2: 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) 
(GuiApplication.cpp:1397)
==8553==    by 0xF449A5: lyx::dispatch(lyx::FuncRequest const&) (LyX.cpp:1404)
==8553==    by 0xF3E27D: lyx::LyX::execCommands() (LyX.cpp:586)
==8553== 
==8553== 
==8553== HEAP SUMMARY:
==8553==     in use at exit: 656,095 bytes in 8,733 blocks
==8553==   total heap usage: 1,777,790 allocs, 1,769,057 frees, 349,124,311 
bytes allocated
==8553== 
==8553== LEAK SUMMARY:
==8553==    definitely lost: 11,045 bytes in 163 blocks
==8553==    indirectly lost: 394,438 bytes in 6,780 blocks
==8553==      possibly lost: 0 bytes in 0 blocks
==8553==    still reachable: 250,612 bytes in 1,790 blocks
==8553==                       of which reachable via heuristic:
==8553==                         newarray           : 4,264 bytes in 1 blocks
==8553==         suppressed: 0 bytes in 0 blocks
==8553== Rerun with --leak-check=full to see details of leaked memory
==8553== 
==8553== For counts of detected and suppressed errors, rerun with: -v
==8553== ERROR SUMMARY: 4 errors from 2 contexts (suppressed: 0 from 0)

Attachment: signature.asc
Description: PGP signature

Reply via email to