Dear LyX developers,

trying the example from http://www.lyx.org/trac/ticket/10456
with LyX 2.3.0dev (2016-10-28)
  Git commit hash 42d900c2
CMake Build

I was met by a crash.

How to reproduce:

* Turn on the source pane (current paragraph, automatic update)

* Change the language of the albanian part to
  afrikaans.

With the change: 

* Open the file,
* Move the cursor into the paragraph with afrikaans.

Crash!

No problem, if the code preview is closed.

Günter


/tmp > lyx-en Polyglossia-babel-bug.lyx

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) /usr/local/src/lyxtest/bin/lyx2.3: 
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) /usr/local/src/lyxtest/bin/lyx2.3: 
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)
(  3) /usr/local/src/lyxtest/bin/lyx2.3: /usr/local/src/lyxtest/bin/lyx2.3() 
[0x734caa]
(  4) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(+0x33040) [0x7f81e21a2040]
(  5) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x14) [0x7f81e21ea354]
(  6) /usr/local/src/lyxtest/bin/lyx2.3: 
lyx::Font::latexWriteEndChanges(lyx::otexstream&, lyx::BufferParams const&, 
lyx::OutputParams const&, lyx::Font const&, lyx::Font const&, bool const&) const
(  7) /usr/local/src/lyxtest/bin/lyx2.3: 
lyx::Paragraph::latex(lyx::BufferParams const&, lyx::Font const&, 
lyx::otexstream&, lyx::OutputParams const&, int, int, bool) const
(  8) /usr/local/src/lyxtest/bin/lyx2.3: lyx::TeXOnePar(lyx::Buffer const&, 
lyx::Text const&, long, lyx::otexstream&, lyx::OutputParams const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, int, int)
(  9) /usr/local/src/lyxtest/bin/lyx2.3: lyx::latexParagraphs(lyx::Buffer 
const&, lyx::Text const&, lyx::otexstream&, lyx::OutputParams const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&)
( 10) /usr/local/src/lyxtest/bin/lyx2.3: 
lyx::Buffer::getSourceCode(std::basic_ostream<wchar_t, 
std::char_traits<wchar_t> >&, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, long, long, 
lyx::Buffer::OutputWhat, bool) const
( 11) /usr/local/src/lyxtest/bin/lyx2.3: 
lyx::frontend::ViewSourceWidget::getContent(lyx::BufferView const&, 
lyx::Buffer::OutputWhat, std::__cxx11::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> >&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, bool)
( 12) /usr/local/src/lyxtest/bin/lyx2.3: 
lyx::frontend::ViewSourceWidget::updateView(lyx::BufferView const*)
( 13) /usr/local/src/lyxtest/bin/lyx2.3: /usr/local/src/lyxtest/bin/lyx2.3() 
[0xac2ed5]
( 14) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: QMetaObject::activate(QObject*, 
QMetaObject const*, int, void**)
( 15) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: QObject::event(QEvent*)
( 16) /usr/lib/x86_64-linux-gnu/libQtGui.so.4: 
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 17) /usr/lib/x86_64-linux-gnu/libQtGui.so.4: QApplication::notify(QObject*, 
QEvent*)
( 18) /usr/local/src/lyxtest/bin/lyx2.3: 
lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 19) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QCoreApplication::notifyInternal(QObject*, QEvent*)
( 20) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1bdd20) [0x7f81e3181d20]
( 21) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1baf59) [0x7f81e317ef59]
( 22) /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) 
[0x7f81e18757d7]
( 23) /lib/x86_64-linux-gnu/libglib-2.0.so.0: 
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aa40) [0x7f81e1875a40]
( 24) /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) 
[0x7f81e1875aec]
( 25) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 26) /usr/lib/x86_64-linux-gnu/libQtGui.so.4: 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26e5d6) [0x7f81e37255d6]
( 27) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 28) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
( 29) /usr/lib/x86_64-linux-gnu/libQtCore.so.4: QCoreApplication::exec()
( 30) /usr/local/src/lyxtest/bin/lyx2.3: lyx::LyX::exec(int&, char**)
( 31) /usr/local/src/lyxtest/bin/lyx2.3: 
/usr/local/src/lyxtest/bin/lyx2.3(main+0x38) [0x59b4a8]
( 32) /lib/x86_64-linux-gnu/libc.so.6: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f81e218f2b1]
( 33) /usr/local/src/lyxtest/bin/lyx2.3: 
/usr/local/src/lyxtest/bin/lyx2.3(_start+0x2a) [0x5a261a]
Aborted

Reply via email to