1. Create a new file, enter two lines of text and change the style of
the first line to section. ( a sample is attached).

2. select both lines, with mouse ending at the first line.

3. type something, the section title is changed

4. click on the second line, lyx crashes, with

Assertion triggered in const lyx::Font
lyx::Paragraph::getFontSettings(const lyx::BufferParams&,
lyx::pos_type) const by failing check "pos <= size()" in file
src/Paragraph.cpp:1317

(gdb) backtrace
#0  0x00000037b322e25d in raise () from /lib64/tls/libc.so.6
#1  0x00000037b322fa5e in abort () from /lib64/tls/libc.so.6
#2  0x0000000000a8bc5d in lyx::support::abort () at src/support/abort.cpp:25
#3  0x0000000000527f2c in boost::assertion_failed (
    expr=0xb243d3 "pos <= size()",
    function=0xb23f80 "const lyx::Font
lyx::Paragraph::getFontSettings(const lyx::BufferParams&,
lyx::pos_type) const", file=0xb24397 "src/Paragraph.cpp",
    line=1317) at src/boost.cpp:56
#4  0x00000000004aa1ad in lyx::Paragraph::getFontSettings (this=0x13d4e40,
    [EMAIL PROTECTED], pos=1) at src/Paragraph.h:170
#5  0x0000000000556211 in lyx::Bidi::computeTables (this=0x7fbfffdf00,
    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at src/Bidi.cpp:111
#6  0x000000000066c8d2 in lyx::TextMetrics::getColumnNearX (this=0x1400c28,
    pit=Variable "pit" is not available.
) at src/TextMetrics.cpp:820
#7  0x00000000006679a1 in lyx::Text::editXY (this=0x1404198,
    [EMAIL PROTECTED], x=41, y=108) at src/Text2.cpp:908
#8  0x00000000005aae6b in lyx::BufferView::workAreaDispatch (this=0x10d6a00,
    cmd0=Variable "cmd0" is not available.
) at src/BufferView.cpp:1229

Attachment: temp.lyx
Description: application/lyx

Reply via email to