>
>Abdelrazak Younes wrote:
>> And I cannot make gdb to produce a backtrace... lyx occupying 100%
cpu 
>> and the only way to kill it is with 'kill -9'.
>>
>> I tested 1.6.1 compiled against Q4.4 but running against Qt4.5 and 
>> 1.6.2svn compiled against Qt4.5.
>
>And with trunk too...
>
>Abdel.

Confirmed.

1. New document,
2. Document->Settings->Preamble
3. Type "L\"
4. Any character inserted now causes LyX to freeze with 100% cpu.

Somewhere in LateXHighlighter::highlightBlock()

Vincent


#0  0x00000031c0abc4a1 in operator new () from /usr/lib64/libstdc++.so.6
#1  0x00002aaaab656578 in QRegExp (this=0x7fff71ae0dc0, r...@0xd3a720) at
tools/qregexp.cpp:3412
#2  0x00002aaaab65aa31 in QString::indexOf (this=0x7fff71ae0f10,
rx=Variable "rx" is not available.
) at tools/qstring.cpp:2764
#3  0x000000000081019e in
lyx::frontend::LaTeXHighlighter::highlightBlock ()
#4  0x00002aaaaaf18b7d in QSyntaxHighlighterPrivate::reformatBlock
(this=0x12a76c0, blo...@0x7fff71ae0f80) at
text/qsyntaxhighlighter.cpp:192
#5  0x00002aaaaaf18d26 in QSyntaxHighlighterPrivate::_q_reformatBlocks
(this=0x12a76c0, from=Variable "from" is not available.
) at text/qsyntaxhighlighter.cpp:172
#6  0x00002aaaaaf18f5e in QSyntaxHighlighter::qt_metacall
(this=0x12a7660, _c=QMetaObject::InvokeMetaMethod, _id=-2,
_a=0x7fff71ae10e0)
    at .moc/release-shared/moc_qsyntaxhighlighter.cpp:72
#7  0x00002aaaab712f61 in QMetaObject::activate (sender=0x12a3d30,
from_signal_index=Variable "from_signal_index" is not available.
) at kernel/qobject.cpp:3060
#8  0x00002aaaab29566a in QTextDocument::contentsChange (this=Variable
"this" is not available.
) at .moc/release-shared/moc_qtextdocument.cpp:181
#9  0x00002aaaaaeddc79 in QTextDocumentPrivate::endEditBlock
(this=0x12a3d50) at text/qtextdocument_p.cpp:1098
#10 0x00002aaaaaf0784e in QTextCursor::insertText (this=0x12a3c50,
te...@0x7fff71ae1260, _format=Variable "_format" is not available.
) at text/qtextcursor.cpp:1333
#11 0x00002aaaaaf07aff in QTextCursor::insertText (this=0x12a3c50,
te...@0x7fff71ae1260) at text/qtextcursor.cpp:1272
#12 0x00002aaaaaeac49f in QTextControlPrivate::keyPressEvent
(this=0x12a3bc0, e=0x7fff71ae1eb0) at text/qtextcontrol.cpp:1256
#13 0x00002aaaaaeaf936 in QTextControl::processEvent (this=0x12a3ba0,
e=0x7fff71ae1eb0, matr...@0x7fff71ae15b0, contextWidget=0x12a1ec0)
    at text/qtextcontrol.cpp:904
#14 0x00002aaaaaea3f6b in QTextControl::processEvent (this=0x12a3ba0,
e=0x7fff71ae1eb0, coordinateoffs...@0x7fff71ae1620,
contextWidget=0x12a1ec0)
    at text/qtextcontrol.cpp:866

Reply via email to