On Thu, Sep 08, 2016 at 03:59:50PM +0200, Jean-Marc Lasgouttes wrote:
> commit 82808fea04315fd323ec074e8ad7865d190987d4
> Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
> Date:   Tue Sep 6 11:17:10 2016 +0200
> 
>     Set window title according to platform UI
>     
>     The window title is built from the current file name and its
>     mofidication state. We use our own code instead of the automatic title
>     bar provided when windowFileName() is set because
>     
>     1/ Qt does not keep the full path name
>     2/ Qt does not yield a nice application name
>     
>     The "read only" and "version control" status are shown in the status bar:
>     
>     * for read only we use the tab read only emblem (with the right size)
>     * for version control, we show the name of the backend (using a new
>       vcname() method of the backend).
>     
>     The iconText() of the view is not updated anymore, since this is
>     deprecated in Qt5.

I get a SIGSEGV starting from this commit from the following
reproducible steps:

1. open lib/examples/fr/beamer-article.lyx
2. right-click on the include inset and go to "edit included
file"
3. press ctrl+w to close the child doc.

Backtrace is attached.

Can you reproduce?

Scott
lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send us 
a bug report, if necessary. Thanks!
Bye.
Error: LyX crashed!
----------------------------------------
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send us 
a bug report, if necessary. Thanks!
Bye.
(  1) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::Alert::doError(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, bool)
(  2) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: void std::_Bind<void 
(*(std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<bool>))(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, bool)>::__call<void, , 0ul, 1ul, 
2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>)
(  3) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: void std::_Bind<void 
(*(std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<bool>))(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, bool)>::operator()<, void>()
(  4) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
std::_Function_handler<void (), std::_Bind<void 
(*(std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<bool>))(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, bool)> >::_M_invoke(std::_Any_data const&)
(  5) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: std::function<void 
()>::operator()() const
(  6) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::InGuiThread<void>::synchronousFunctionCall()
(  7) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::IntoGuiThreadMover::callInGuiThread()
(  8) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: void 
lyx::frontend::InGuiThread<void>::call<std::_Bind<void 
(*(std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<bool>))(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, bool)> >(std::_Bind<void 
(*(std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const>, 
std::reference_wrapper<bool>))(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, bool)>)
(  9) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: void 
lyx::frontend::InGuiThread<void>::call<void 
(*)(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool), 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const, std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const, bool>(void 
(*)(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool), 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool&)
( 10) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::Alert::error(std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > const&, bool)
( 11) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
/home/scott/lyxbuilds/master/CMakeBuild/bin/lyx() [0xee34fb]
( 12) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(+0x354a0) [0x7fcd325ee4a0]
( 13) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::bufferView()
( 14) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::TabWorkArea::updateTabTexts()
( 15) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
/home/scott/lyxbuilds/master/CMakeBuild/bin/lyx() [0x13a7a03]
( 16) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QMetaObject::activate(QObject*, int, int, void**)
( 17) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
( 18) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::titleChanged(lyx::frontend::GuiWorkArea*)
( 19) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::updateWindowTitle()
( 20) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::redraw(bool)
( 21) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::WorkAreaManager::redrawAll(bool)
( 22) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::Buffer::changed(bool) const
( 23) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::BufferView::updateHoveredInset() const
( 24) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::BufferView::mouseEventDispatch(lyx::FuncRequest const&)
( 25) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::Private::dispatch(lyx::FuncRequest const&)
( 26) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::mouseMoveEvent(QMouseEvent*)
( 27) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QWidget::event(QEvent*)
( 28) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QFrame::event(QEvent*)
( 29) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QAbstractScrollArea::viewportEvent(QEvent*)
( 30) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
/usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5(+0x3df181) 
[0x7fcd345fe181]
( 31) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
/usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5(+0x3df26c) 
[0x7fcd345fe26c]
( 32) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
( 33) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 34) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplication::notify(QObject*, QEvent*)
( 35) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 36) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 37) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)
( 38) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, 
QWidget**, QPointer<QWidget>&, bool)
( 39) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplicationPrivate::sendSyntheticEnterLeave(QWidget*)
( 40) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QWidget::setVisible(bool)
( 41) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: QWidget::show()
( 42) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QStackedLayout::setCurrentIndex(int)
( 43) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QStackedLayout::takeAt(int)
( 44) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QLayout::removeWidget(QWidget*)
( 45) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QStackedWidget::removeWidget(QWidget*)
( 46) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QTabWidget::removeTab(int)
( 47) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::TabWorkArea::removeWorkArea(lyx::frontend::GuiWorkArea*)
( 48) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiView::removeWorkArea(lyx::frontend::GuiWorkArea*)
( 49) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiView::closeWorkArea(lyx::frontend::GuiWorkArea*, bool)
( 50) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiView::closeWorkArea(lyx::frontend::GuiWorkArea*)
( 51) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&)
( 52) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, 
lyx::DispatchResult&)
( 53) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&)
( 54) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::dispatch(lyx::FuncRequest const&)
( 55) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::processFuncRequest(lyx::FuncRequest const&)
( 56) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::processKeySym(lyx::KeySymbol const&, 
lyx::KeyModifier)
( 57) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::processKeySym(lyx::KeySymbol const&, 
lyx::KeyModifier)
( 58) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::keyPressEvent(QKeyEvent*)
( 59) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QWidget::event(QEvent*)
( 60) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QFrame::event(QEvent*)
( 61) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QAbstractScrollArea::event(QEvent*)
( 62) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiWorkArea::event(QEvent*)
( 63) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 64) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplication::notify(QObject*, QEvent*)
( 65) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 66) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 67) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)
( 68) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
/usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5(+0x20f020) 
[0x7fcd3442e020]
( 69) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
/usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5(+0x20d6c3) 
[0x7fcd3442c6c3]
( 70) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 71) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplication::notify(QObject*, QEvent*)
( 72) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 73) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 74) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Gui.so.5: 
QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)
( 75) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Gui.so.5: 
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
( 76) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Gui.so.5: 
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
( 77) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Gui.so.5: 
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 78) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5XcbQpa.so.5: 
/usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5XcbQpa.so.5(+0x91cec) [0x7fcd2acc8cec]
( 79) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) 
[0x7fcd31ce41a7]
( 80) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a400) [0x7fcd31ce4400]
( 81) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) 
[0x7fcd31ce44ac]
( 82) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 83) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5XcbQpa.so.5: 
/usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5XcbQpa.so.5(+0x91f1c) [0x7fcd2acc8f1c]
( 84) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 85) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
( 86) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Core.so.5: 
QCoreApplication::exec()
( 87) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Gui.so.5: QGuiApplication::exec()
( 88) /usr/BUILD/BuildQt5-dev/qtbase/lib/libQt5Widgets.so.5: 
QApplication::exec()
( 89) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
lyx::frontend::GuiApplication::exec()
( 90) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: lyx::LyX::exec(int&, 
char**)
( 91) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
/home/scott/lyxbuilds/master/CMakeBuild/bin/lyx(main+0x6c) [0xc660ae]
( 92) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fcd325d9830]
( 93) /home/scott/lyxbuilds/master/CMakeBuild/bin/lyx: 
/home/scott/lyxbuilds/master/CMakeBuild/bin/lyx(_start+0x29) [0xc4d559]

Attachment: signature.asc
Description: PGP signature

Reply via email to