On Wed, Apr 25, 2018 at 06:41:36PM +0000, Scott Kostyshak wrote: > it is not 100% reproducible for me. I wonder if valgrind might be useful > to try in this situation.
Attached is a valgrind log. Do the invalid reads provide any clues? Scott
==4977== Memcheck, a memory error detector ==4977== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==4977== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==4977== Command: /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx -userdir /home/scott/lyxbuilds/master/user-dir master_copy_to.lyx ==4977== Parent PID: 4695 ==4977== --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1.0.0: --4977-- Ignoring non-Dwarf2/3/4 block in .debug_info --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1.0.0: --4977-- Last block truncated in .debug_info; ignoring --4977-- WARNING: Serious error when reading debug info --4977-- When reading debug info from /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1.0.0: --4977-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4 ==4977== Syscall param writev(vector[...]) points to uninitialised byte(s) ==4977== at 0x7B04FFD: ??? (syscall-template.S:84) ==4977== by 0x5047F28: _xcb_conn_wait (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) ==4977== by 0x504831C: _xcb_out_send (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) ==4977== by 0x5048A76: _xcb_out_flush_to (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) ==4977== by 0x5048C43: xcb_flush (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) ==4977== by 0xF5D0941: QXcbConnection::processXcbEvents() (qxcbconnection.cpp:1739) ==4977== by 0xF61CAD7: QXcbConnection::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_qxcbconnection.cpp:190) ==4977== by 0x6C5AF56: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:495) ==4977== by 0x6C5C11C: QObject::event(QEvent*) (qobject.cpp:1256) ==4977== by 0xF5D1F24: QXcbConnection::event(QEvent*) (qxcbconnection.cpp:2341) ==4977== by 0x5A655D9: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3804) ==4977== by 0x5A62822: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3163) ==4977== Address 0xdb047f9 is 4,585 bytes inside a block of size 21,152 alloc'd ==4977== at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0x50478DB: xcb_connect_to_fd (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) ==4977== by 0x504B610: xcb_connect_to_display_with_auth_info (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) ==4977== by 0xB33E809: _XConnectXCB (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==4977== by 0xB32F391: XOpenDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) ==4977== by 0xF5CC7A4: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (qxcbconnection.cpp:573) ==4977== by 0xF5D8EA4: QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) (qxcbintegration.cpp:179) ==4977== by 0x402F6F3: QXcbIntegrationPlugin::create(QString const&, QStringList const&, int&, char**) (qxcbmain.cpp:50) ==4977== by 0x6272972: loadIntegration(QFactoryLoader*, QString const&, QStringList const&, int&, char**) (qplatformintegrationfactory.cpp:56) ==4977== by 0x6272A2B: QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) (qplatformintegrationfactory.cpp:73) ==4977== by 0x6280B0D: init_platform(QString const&, QString const&, QString const&, int&, char**) (qguiapplication.cpp:1058) ==4977== by 0x6281CFC: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1227) ==4977== Uninitialised value was created by a stack allocation ==4977== at 0xF5C4272: QXcbClipboard::handleSelectionRequest(xcb_selection_request_event_t*) (qxcbclipboard.cpp:596) ==4977== ==4977== Invalid read of size 8 ==4977== at 0xF21384: lyx::RowPainter::paintInset(lyx::Row::Element const&) const (RowPainter.cpp:108) ==4977== by 0xF2421E: lyx::RowPainter::paintText() (RowPainter.cpp:574) ==4977== by 0xE19C40: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const (TextMetrics.cpp:1958) ==4977== by 0xE18F52: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const (TextMetrics.cpp:1803) ==4977== by 0xD717BF: lyx::BufferView::draw(lyx::frontend::Painter&, bool) (BufferView.cpp:3177) ==4977== by 0x1265831: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) (GuiWorkArea.cpp:1266) ==4977== by 0x5ABD45D: QWidget::event(QEvent*) (qwidget.cpp:8900) ==4977== by 0x5C03E2A: QFrame::event(QEvent*) (qframe.cpp:544) ==4977== by 0x5CBB9FF: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:1206) ==4977== by 0x5CBCDF2: QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (qabstractscrollarea_p.h:105) ==4977== by 0x5CBCEDD: QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (in /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5.6.2) ==4977== by 0x6C1E41E: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:1126) ==4977== Address 0x14923470 is 0 bytes inside a block of size 440 free'd ==4977== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0x117E4EE: lyx::InsetInclude::~InsetInclude() (InsetInclude.cpp:201) ==4977== by 0xF57B55: lyx::InsetList::erase(long) (InsetList.cpp:127) ==4977== by 0xCF9D19: lyx::Paragraph::eraseChar(long, bool) (Paragraph.cpp:841) ==4977== by 0xCF9EFA: lyx::Paragraph::eraseChars(long, long, bool) (Paragraph.cpp:866) ==4977== by 0xDA6E35: lyx::(anonymous namespace)::eraseSelectionHelper(lyx::BufferParams const&, lyx::ParagraphList&, long, long, int, int) (CutAndPaste.cpp:509) ==4977== by 0xDA9813: lyx::cap::(anonymous namespace)::cutSelectionHelper(lyx::Cursor&, lyx::limited_stack<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > >&, bool, bool, bool) (CutAndPaste.cpp:940) ==4977== by 0xDA9A89: lyx::cap::cutSelection(lyx::Cursor&, bool, bool) (CutAndPaste.cpp:987) ==4977== by 0xDAC029: lyx::cap::replaceSelection(lyx::Cursor&) (CutAndPaste.cpp:1366) ==4977== by 0xFD09C6: lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Text3.cpp:1422) ==4977== by 0x1142334: lyx::InsetText::doDispatch(lyx::Cursor&, lyx::FuncRequest&) (InsetText.cpp:309) ==4977== by 0x11C51E1: lyx::Inset::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Inset.cpp:325) ==4977== Block was alloc'd at ==4977== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0xE7C7BD: lyx::readInset(lyx::Lexer&, lyx::Buffer*) (factory.cpp:559) ==4977== by 0xF93BED: lyx::Text::readParToken(lyx::Paragraph&, lyx::Lexer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::Font&, lyx::Change&, lyx::ErrorList&) (Text.cpp:414) ==4977== by 0xF95BEA: lyx::Text::readParagraph(lyx::Paragraph&, lyx::Lexer&, lyx::ErrorList&) (Text.cpp:568) ==4977== by 0xF9BCDC: lyx::Text::read(lyx::Lexer&, lyx::ErrorList&, lyx::InsetText*) (Text.cpp:1864) ==4977== by 0xC890DF: lyx::Buffer::readDocument(lyx::Lexer&) (Buffer.cpp:1055) ==4977== by 0xC8A193: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1179) ==4977== by 0xC8A0FC: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1167) ==4977== by 0xCA4CE0: lyx::Buffer::loadThisLyXFile(lyx::support::FileName const&) (Buffer.cpp:4686) ==4977== by 0xCA4CBA: lyx::Buffer::loadLyXFile() (Buffer.cpp:4680) ==4977== by 0xF833EE: lyx::checkAndLoadLyXFile(lyx::support::FileName const&, bool) (buffer_funcs.cpp:116) ==4977== by 0x12981C0: lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) (GuiView.cpp:2272) ==4977== ==4977== Invalid read of size 8 ==4977== at 0xF214CA: lyx::RowPainter::paintInset(lyx::Row::Element const&) const (RowPainter.cpp:112) ==4977== by 0xF2421E: lyx::RowPainter::paintText() (RowPainter.cpp:574) ==4977== by 0xE19C40: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const (TextMetrics.cpp:1958) ==4977== by 0xE18F52: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const (TextMetrics.cpp:1803) ==4977== by 0xD717BF: lyx::BufferView::draw(lyx::frontend::Painter&, bool) (BufferView.cpp:3177) ==4977== by 0x1265831: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) (GuiWorkArea.cpp:1266) ==4977== by 0x5ABD45D: QWidget::event(QEvent*) (qwidget.cpp:8900) ==4977== by 0x5C03E2A: QFrame::event(QEvent*) (qframe.cpp:544) ==4977== by 0x5CBB9FF: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:1206) ==4977== by 0x5CBCDF2: QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (qabstractscrollarea_p.h:105) ==4977== by 0x5CBCEDD: QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (in /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5.6.2) ==4977== by 0x6C1E41E: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:1126) ==4977== Address 0x14923470 is 0 bytes inside a block of size 440 free'd ==4977== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0x117E4EE: lyx::InsetInclude::~InsetInclude() (InsetInclude.cpp:201) ==4977== by 0xF57B55: lyx::InsetList::erase(long) (InsetList.cpp:127) ==4977== by 0xCF9D19: lyx::Paragraph::eraseChar(long, bool) (Paragraph.cpp:841) ==4977== by 0xCF9EFA: lyx::Paragraph::eraseChars(long, long, bool) (Paragraph.cpp:866) ==4977== by 0xDA6E35: lyx::(anonymous namespace)::eraseSelectionHelper(lyx::BufferParams const&, lyx::ParagraphList&, long, long, int, int) (CutAndPaste.cpp:509) ==4977== by 0xDA9813: lyx::cap::(anonymous namespace)::cutSelectionHelper(lyx::Cursor&, lyx::limited_stack<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > >&, bool, bool, bool) (CutAndPaste.cpp:940) ==4977== by 0xDA9A89: lyx::cap::cutSelection(lyx::Cursor&, bool, bool) (CutAndPaste.cpp:987) ==4977== by 0xDAC029: lyx::cap::replaceSelection(lyx::Cursor&) (CutAndPaste.cpp:1366) ==4977== by 0xFD09C6: lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Text3.cpp:1422) ==4977== by 0x1142334: lyx::InsetText::doDispatch(lyx::Cursor&, lyx::FuncRequest&) (InsetText.cpp:309) ==4977== by 0x11C51E1: lyx::Inset::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Inset.cpp:325) ==4977== Block was alloc'd at ==4977== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0xE7C7BD: lyx::readInset(lyx::Lexer&, lyx::Buffer*) (factory.cpp:559) ==4977== by 0xF93BED: lyx::Text::readParToken(lyx::Paragraph&, lyx::Lexer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::Font&, lyx::Change&, lyx::ErrorList&) (Text.cpp:414) ==4977== by 0xF95BEA: lyx::Text::readParagraph(lyx::Paragraph&, lyx::Lexer&, lyx::ErrorList&) (Text.cpp:568) ==4977== by 0xF9BCDC: lyx::Text::read(lyx::Lexer&, lyx::ErrorList&, lyx::InsetText*) (Text.cpp:1864) ==4977== by 0xC890DF: lyx::Buffer::readDocument(lyx::Lexer&) (Buffer.cpp:1055) ==4977== by 0xC8A193: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1179) ==4977== by 0xC8A0FC: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1167) ==4977== by 0xCA4CE0: lyx::Buffer::loadThisLyXFile(lyx::support::FileName const&) (Buffer.cpp:4686) ==4977== by 0xCA4CBA: lyx::Buffer::loadLyXFile() (Buffer.cpp:4680) ==4977== by 0xF833EE: lyx::checkAndLoadLyXFile(lyx::support::FileName const&, bool) (buffer_funcs.cpp:116) ==4977== by 0x12981C0: lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) (GuiView.cpp:2272) ==4977== ==4977== Invalid read of size 8 ==4977== at 0xF21581: lyx::RowPainter::paintInset(lyx::Row::Element const&) const (RowPainter.cpp:119) ==4977== by 0xF2421E: lyx::RowPainter::paintText() (RowPainter.cpp:574) ==4977== by 0xE19C40: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const (TextMetrics.cpp:1958) ==4977== by 0xE18F52: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const (TextMetrics.cpp:1803) ==4977== by 0xD717BF: lyx::BufferView::draw(lyx::frontend::Painter&, bool) (BufferView.cpp:3177) ==4977== by 0x1265831: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) (GuiWorkArea.cpp:1266) ==4977== by 0x5ABD45D: QWidget::event(QEvent*) (qwidget.cpp:8900) ==4977== by 0x5C03E2A: QFrame::event(QEvent*) (qframe.cpp:544) ==4977== by 0x5CBB9FF: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:1206) ==4977== by 0x5CBCDF2: QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (qabstractscrollarea_p.h:105) ==4977== by 0x5CBCEDD: QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (in /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5.6.2) ==4977== by 0x6C1E41E: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:1126) ==4977== Address 0x14923470 is 0 bytes inside a block of size 440 free'd ==4977== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0x117E4EE: lyx::InsetInclude::~InsetInclude() (InsetInclude.cpp:201) ==4977== by 0xF57B55: lyx::InsetList::erase(long) (InsetList.cpp:127) ==4977== by 0xCF9D19: lyx::Paragraph::eraseChar(long, bool) (Paragraph.cpp:841) ==4977== by 0xCF9EFA: lyx::Paragraph::eraseChars(long, long, bool) (Paragraph.cpp:866) ==4977== by 0xDA6E35: lyx::(anonymous namespace)::eraseSelectionHelper(lyx::BufferParams const&, lyx::ParagraphList&, long, long, int, int) (CutAndPaste.cpp:509) ==4977== by 0xDA9813: lyx::cap::(anonymous namespace)::cutSelectionHelper(lyx::Cursor&, lyx::limited_stack<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > >&, bool, bool, bool) (CutAndPaste.cpp:940) ==4977== by 0xDA9A89: lyx::cap::cutSelection(lyx::Cursor&, bool, bool) (CutAndPaste.cpp:987) ==4977== by 0xDAC029: lyx::cap::replaceSelection(lyx::Cursor&) (CutAndPaste.cpp:1366) ==4977== by 0xFD09C6: lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Text3.cpp:1422) ==4977== by 0x1142334: lyx::InsetText::doDispatch(lyx::Cursor&, lyx::FuncRequest&) (InsetText.cpp:309) ==4977== by 0x11C51E1: lyx::Inset::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Inset.cpp:325) ==4977== Block was alloc'd at ==4977== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0xE7C7BD: lyx::readInset(lyx::Lexer&, lyx::Buffer*) (factory.cpp:559) ==4977== by 0xF93BED: lyx::Text::readParToken(lyx::Paragraph&, lyx::Lexer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::Font&, lyx::Change&, lyx::ErrorList&) (Text.cpp:414) ==4977== by 0xF95BEA: lyx::Text::readParagraph(lyx::Paragraph&, lyx::Lexer&, lyx::ErrorList&) (Text.cpp:568) ==4977== by 0xF9BCDC: lyx::Text::read(lyx::Lexer&, lyx::ErrorList&, lyx::InsetText*) (Text.cpp:1864) ==4977== by 0xC890DF: lyx::Buffer::readDocument(lyx::Lexer&) (Buffer.cpp:1055) ==4977== by 0xC8A193: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1179) ==4977== by 0xC8A0FC: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1167) ==4977== by 0xCA4CE0: lyx::Buffer::loadThisLyXFile(lyx::support::FileName const&) (Buffer.cpp:4686) ==4977== by 0xCA4CBA: lyx::Buffer::loadLyXFile() (Buffer.cpp:4680) ==4977== by 0xF833EE: lyx::checkAndLoadLyXFile(lyx::support::FileName const&, bool) (buffer_funcs.cpp:116) ==4977== by 0x12981C0: lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) (GuiView.cpp:2272) ==4977== ==4977== Invalid read of size 8 ==4977== at 0x11C5E19: lyx::Inset::drawBackground(lyx::PainterInfo&, int, int) const (Inset.cpp:532) ==4977== by 0xF215B3: lyx::RowPainter::paintInset(lyx::Row::Element const&) const (RowPainter.cpp:119) ==4977== by 0xF2421E: lyx::RowPainter::paintText() (RowPainter.cpp:574) ==4977== by 0xE19C40: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const (TextMetrics.cpp:1958) ==4977== by 0xE18F52: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const (TextMetrics.cpp:1803) ==4977== by 0xD717BF: lyx::BufferView::draw(lyx::frontend::Painter&, bool) (BufferView.cpp:3177) ==4977== by 0x1265831: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) (GuiWorkArea.cpp:1266) ==4977== by 0x5ABD45D: QWidget::event(QEvent*) (qwidget.cpp:8900) ==4977== by 0x5C03E2A: QFrame::event(QEvent*) (qframe.cpp:544) ==4977== by 0x5CBB9FF: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:1206) ==4977== by 0x5CBCDF2: QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (qabstractscrollarea_p.h:105) ==4977== by 0x5CBCEDD: QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (in /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5.6.2) ==4977== Address 0x14923470 is 0 bytes inside a block of size 440 free'd ==4977== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0x117E4EE: lyx::InsetInclude::~InsetInclude() (InsetInclude.cpp:201) ==4977== by 0xF57B55: lyx::InsetList::erase(long) (InsetList.cpp:127) ==4977== by 0xCF9D19: lyx::Paragraph::eraseChar(long, bool) (Paragraph.cpp:841) ==4977== by 0xCF9EFA: lyx::Paragraph::eraseChars(long, long, bool) (Paragraph.cpp:866) ==4977== by 0xDA6E35: lyx::(anonymous namespace)::eraseSelectionHelper(lyx::BufferParams const&, lyx::ParagraphList&, long, long, int, int) (CutAndPaste.cpp:509) ==4977== by 0xDA9813: lyx::cap::(anonymous namespace)::cutSelectionHelper(lyx::Cursor&, lyx::limited_stack<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > >&, bool, bool, bool) (CutAndPaste.cpp:940) ==4977== by 0xDA9A89: lyx::cap::cutSelection(lyx::Cursor&, bool, bool) (CutAndPaste.cpp:987) ==4977== by 0xDAC029: lyx::cap::replaceSelection(lyx::Cursor&) (CutAndPaste.cpp:1366) ==4977== by 0xFD09C6: lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Text3.cpp:1422) ==4977== by 0x1142334: lyx::InsetText::doDispatch(lyx::Cursor&, lyx::FuncRequest&) (InsetText.cpp:309) ==4977== by 0x11C51E1: lyx::Inset::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Inset.cpp:325) ==4977== Block was alloc'd at ==4977== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0xE7C7BD: lyx::readInset(lyx::Lexer&, lyx::Buffer*) (factory.cpp:559) ==4977== by 0xF93BED: lyx::Text::readParToken(lyx::Paragraph&, lyx::Lexer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::Font&, lyx::Change&, lyx::ErrorList&) (Text.cpp:414) ==4977== by 0xF95BEA: lyx::Text::readParagraph(lyx::Paragraph&, lyx::Lexer&, lyx::ErrorList&) (Text.cpp:568) ==4977== by 0xF9BCDC: lyx::Text::read(lyx::Lexer&, lyx::ErrorList&, lyx::InsetText*) (Text.cpp:1864) ==4977== by 0xC890DF: lyx::Buffer::readDocument(lyx::Lexer&) (Buffer.cpp:1055) ==4977== by 0xC8A193: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1179) ==4977== by 0xC8A0FC: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1167) ==4977== by 0xCA4CE0: lyx::Buffer::loadThisLyXFile(lyx::support::FileName const&) (Buffer.cpp:4686) ==4977== by 0xCA4CBA: lyx::Buffer::loadLyXFile() (Buffer.cpp:4680) ==4977== by 0xF833EE: lyx::checkAndLoadLyXFile(lyx::support::FileName const&, bool) (buffer_funcs.cpp:116) ==4977== by 0x12981C0: lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) (GuiView.cpp:2272) ==4977== ==4977== Invalid read of size 8 ==4977== at 0xF215BF: lyx::RowPainter::paintInset(lyx::Row::Element const&) const (RowPainter.cpp:120) ==4977== by 0xF2421E: lyx::RowPainter::paintText() (RowPainter.cpp:574) ==4977== by 0xE19C40: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const (TextMetrics.cpp:1958) ==4977== by 0xE18F52: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const (TextMetrics.cpp:1803) ==4977== by 0xD717BF: lyx::BufferView::draw(lyx::frontend::Painter&, bool) (BufferView.cpp:3177) ==4977== by 0x1265831: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) (GuiWorkArea.cpp:1266) ==4977== by 0x5ABD45D: QWidget::event(QEvent*) (qwidget.cpp:8900) ==4977== by 0x5C03E2A: QFrame::event(QEvent*) (qframe.cpp:544) ==4977== by 0x5CBB9FF: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:1206) ==4977== by 0x5CBCDF2: QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (qabstractscrollarea_p.h:105) ==4977== by 0x5CBCEDD: QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (in /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5.6.2) ==4977== by 0x6C1E41E: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:1126) ==4977== Address 0x14923470 is 0 bytes inside a block of size 440 free'd ==4977== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0x117E4EE: lyx::InsetInclude::~InsetInclude() (InsetInclude.cpp:201) ==4977== by 0xF57B55: lyx::InsetList::erase(long) (InsetList.cpp:127) ==4977== by 0xCF9D19: lyx::Paragraph::eraseChar(long, bool) (Paragraph.cpp:841) ==4977== by 0xCF9EFA: lyx::Paragraph::eraseChars(long, long, bool) (Paragraph.cpp:866) ==4977== by 0xDA6E35: lyx::(anonymous namespace)::eraseSelectionHelper(lyx::BufferParams const&, lyx::ParagraphList&, long, long, int, int) (CutAndPaste.cpp:509) ==4977== by 0xDA9813: lyx::cap::(anonymous namespace)::cutSelectionHelper(lyx::Cursor&, lyx::limited_stack<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > >&, bool, bool, bool) (CutAndPaste.cpp:940) ==4977== by 0xDA9A89: lyx::cap::cutSelection(lyx::Cursor&, bool, bool) (CutAndPaste.cpp:987) ==4977== by 0xDAC029: lyx::cap::replaceSelection(lyx::Cursor&) (CutAndPaste.cpp:1366) ==4977== by 0xFD09C6: lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Text3.cpp:1422) ==4977== by 0x1142334: lyx::InsetText::doDispatch(lyx::Cursor&, lyx::FuncRequest&) (InsetText.cpp:309) ==4977== by 0x11C51E1: lyx::Inset::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Inset.cpp:325) ==4977== Block was alloc'd at ==4977== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0xE7C7BD: lyx::readInset(lyx::Lexer&, lyx::Buffer*) (factory.cpp:559) ==4977== by 0xF93BED: lyx::Text::readParToken(lyx::Paragraph&, lyx::Lexer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::Font&, lyx::Change&, lyx::ErrorList&) (Text.cpp:414) ==4977== by 0xF95BEA: lyx::Text::readParagraph(lyx::Paragraph&, lyx::Lexer&, lyx::ErrorList&) (Text.cpp:568) ==4977== by 0xF9BCDC: lyx::Text::read(lyx::Lexer&, lyx::ErrorList&, lyx::InsetText*) (Text.cpp:1864) ==4977== by 0xC890DF: lyx::Buffer::readDocument(lyx::Lexer&) (Buffer.cpp:1055) ==4977== by 0xC8A193: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1179) ==4977== by 0xC8A0FC: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1167) ==4977== by 0xCA4CE0: lyx::Buffer::loadThisLyXFile(lyx::support::FileName const&) (Buffer.cpp:4686) ==4977== by 0xCA4CBA: lyx::Buffer::loadLyXFile() (Buffer.cpp:4680) ==4977== by 0xF833EE: lyx::checkAndLoadLyXFile(lyx::support::FileName const&, bool) (buffer_funcs.cpp:116) ==4977== by 0x12981C0: lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) (GuiView.cpp:2272) ==4977== ==4977== Invalid read of size 8 ==4977== at 0xF215FD: lyx::RowPainter::paintInset(lyx::Row::Element const&) const (RowPainter.cpp:121) ==4977== by 0xF2421E: lyx::RowPainter::paintText() (RowPainter.cpp:574) ==4977== by 0xE19C40: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const (TextMetrics.cpp:1958) ==4977== by 0xE18F52: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const (TextMetrics.cpp:1803) ==4977== by 0xD717BF: lyx::BufferView::draw(lyx::frontend::Painter&, bool) (BufferView.cpp:3177) ==4977== by 0x1265831: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) (GuiWorkArea.cpp:1266) ==4977== by 0x5ABD45D: QWidget::event(QEvent*) (qwidget.cpp:8900) ==4977== by 0x5C03E2A: QFrame::event(QEvent*) (qframe.cpp:544) ==4977== by 0x5CBB9FF: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:1206) ==4977== by 0x5CBCDF2: QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (qabstractscrollarea_p.h:105) ==4977== by 0x5CBCEDD: QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (in /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5.6.2) ==4977== by 0x6C1E41E: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:1126) ==4977== Address 0x14923470 is 0 bytes inside a block of size 440 free'd ==4977== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0x117E4EE: lyx::InsetInclude::~InsetInclude() (InsetInclude.cpp:201) ==4977== by 0xF57B55: lyx::InsetList::erase(long) (InsetList.cpp:127) ==4977== by 0xCF9D19: lyx::Paragraph::eraseChar(long, bool) (Paragraph.cpp:841) ==4977== by 0xCF9EFA: lyx::Paragraph::eraseChars(long, long, bool) (Paragraph.cpp:866) ==4977== by 0xDA6E35: lyx::(anonymous namespace)::eraseSelectionHelper(lyx::BufferParams const&, lyx::ParagraphList&, long, long, int, int) (CutAndPaste.cpp:509) ==4977== by 0xDA9813: lyx::cap::(anonymous namespace)::cutSelectionHelper(lyx::Cursor&, lyx::limited_stack<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > >&, bool, bool, bool) (CutAndPaste.cpp:940) ==4977== by 0xDA9A89: lyx::cap::cutSelection(lyx::Cursor&, bool, bool) (CutAndPaste.cpp:987) ==4977== by 0xDAC029: lyx::cap::replaceSelection(lyx::Cursor&) (CutAndPaste.cpp:1366) ==4977== by 0xFD09C6: lyx::Text::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Text3.cpp:1422) ==4977== by 0x1142334: lyx::InsetText::doDispatch(lyx::Cursor&, lyx::FuncRequest&) (InsetText.cpp:309) ==4977== by 0x11C51E1: lyx::Inset::dispatch(lyx::Cursor&, lyx::FuncRequest&) (Inset.cpp:325) ==4977== Block was alloc'd at ==4977== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4977== by 0xE7C7BD: lyx::readInset(lyx::Lexer&, lyx::Buffer*) (factory.cpp:559) ==4977== by 0xF93BED: lyx::Text::readParToken(lyx::Paragraph&, lyx::Lexer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::Font&, lyx::Change&, lyx::ErrorList&) (Text.cpp:414) ==4977== by 0xF95BEA: lyx::Text::readParagraph(lyx::Paragraph&, lyx::Lexer&, lyx::ErrorList&) (Text.cpp:568) ==4977== by 0xF9BCDC: lyx::Text::read(lyx::Lexer&, lyx::ErrorList&, lyx::InsetText*) (Text.cpp:1864) ==4977== by 0xC890DF: lyx::Buffer::readDocument(lyx::Lexer&) (Buffer.cpp:1055) ==4977== by 0xC8A193: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1179) ==4977== by 0xC8A0FC: lyx::Buffer::readFile(lyx::support::FileName const&) (Buffer.cpp:1167) ==4977== by 0xCA4CE0: lyx::Buffer::loadThisLyXFile(lyx::support::FileName const&) (Buffer.cpp:4686) ==4977== by 0xCA4CBA: lyx::Buffer::loadLyXFile() (Buffer.cpp:4680) ==4977== by 0xF833EE: lyx::checkAndLoadLyXFile(lyx::support::FileName const&, bool) (buffer_funcs.cpp:116) ==4977== by 0x12981C0: lyx::frontend::GuiView::loadDocument(lyx::support::FileName const&, bool) (GuiView.cpp:2272) ==4977== ==4977== ==4977== Process terminating with default action of signal 6 (SIGABRT): dumping core ==4977== at 0x7A3D428: raise (raise.c:54) ==4977== by 0x7A3F029: abort (abort.c:89) ==4977== by 0x71F684C: __gnu_cxx::__verbose_terminate_handler() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21) ==4977== by 0x71F46B5: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21) ==4977== by 0x71F4700: std::terminate() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21) ==4977== by 0x71F523E: __cxa_pure_virtual (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21) ==4977== by 0xF2162F: lyx::RowPainter::paintInset(lyx::Row::Element const&) const (RowPainter.cpp:121) ==4977== by 0xF2421E: lyx::RowPainter::paintText() (RowPainter.cpp:574) ==4977== by 0xE19C40: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const (TextMetrics.cpp:1958) ==4977== by 0xE18F52: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const (TextMetrics.cpp:1803) ==4977== by 0xD717BF: lyx::BufferView::draw(lyx::frontend::Painter&, bool) (BufferView.cpp:3177) ==4977== by 0x1265831: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) (GuiWorkArea.cpp:1266) ==4977== ==4977== HEAP SUMMARY: ==4977== in use at exit: 15,914,513 bytes in 88,626 blocks ==4977== total heap usage: 1,098,292 allocs, 1,009,666 frees, 228,845,757 bytes allocated ==4977== ==4977== LEAK SUMMARY: ==4977== definitely lost: 9,366 bytes in 121 blocks ==4977== indirectly lost: 9,798 bytes in 475 blocks ==4977== possibly lost: 15,104 bytes in 185 blocks ==4977== still reachable: 15,880,245 bytes in 87,845 blocks ==4977== of which reachable via heuristic: ==4977== newarray : 4,424 bytes in 5 blocks ==4977== multipleinheritance: 2,216 bytes in 10 blocks ==4977== suppressed: 0 bytes in 0 blocks ==4977== Rerun with --leak-check=full to see details of leaked memory ==4977== ==4977== For counts of detected and suppressed errors, rerun with: -v ==4977== ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
signature.asc
Description: PGP signature