On 2019-02-06, Jean-Marc Lasgouttes wrote:
> Le 06/02/2019 à 17:21, Guenter Milde a écrit :
>> I get a "frozen" LyX (maybe this endless loop) since some days when I try to
>> delete an inset -- at least in some cases.

>> Example:
>>    In the file
>>    autotests/export/latex/unicodesymbols/008-greek-and-coptic.lyx
>>    the Branch-inset following "3F0" containing the non-convertible characters
>>    ϰ ϱ ϲ ϳ ϴ ϵ ϶ Ϸ ϸ Ϲ Ϻ ϻ ϼ Ͻ Ͼ Ͽ

>>    a) select the characters inside the branch-inset,
>>       delete,
>>       delete the branch-inset
>>       OK

>>    b) select the complete inset,
>>       delete,
>>       LyX freezes :-(

> Unfortunately I cannot reproduce. Could you either give me a backtrace 
> or make a webcast of the problem?

* I open LyX (master) and load one of the affected files with the command line

    #> lyx-en autotests/export/latex/unicodesymbols/008-greek-and-coptic.lyx

* In LyX, I select the branch-inset described above and press [Del],
  [Backspace] or Ctrl-X.

* LyX no longer reacts to input nor updates the buffer view.
  The taskmanager shows 25% CPU usage (1 of 4 cores at 100% maybe?)
  Memory usage is stable at 87,4 MiB RSS.  

* Abort with Ctrl-C.

  In case I did some changes to the file before the freeze, the terminal shows

    (process:3380): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
    ^CBuffer.cpp (1614):   
/usr/local/src/lyx/autotests/export/latex/unicodesymbols/008-greek-and-coptic.lyx.emergency

  otherwise just
  
    (process:3388): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
    ^C

> This is master, right?

Right:

LyX Version 2.4.0dev
(Tuesday, 5 February 2019)
Built from git commit hash 084af15a
Library directory: /usr/local/src/lyx/lib/
User directory: ~/.lyx2.4/
Qt Version (run-time): 5.7.1
Qt Version (compile-time): 5.7.1


Built on a stock Debian/stable, without debugging symbols.

  cmake -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ON -DLYX_USE_QT=QT5 ../lyx

  make
  

hope this helps a little bit,
Günter

Reply via email to