Re: Crash on master because of cursor position in session

2022-01-22 Thread Jean-Marc Lasgouttes
Le 22/01/2022 à 21:43, Pavel Sanda a écrit : Error: Software exception Detected LyX has caught an exception, it will now attempt to save all unsaved documents and exit. Exception: basic_string::substr: __pos (which is 32) > this->size() (which is 31)

Re: Crash on master because of cursor position in session

2022-01-22 Thread Pavel Sanda
On Sat, Jan 22, 2022 at 09:43:15PM +0100, Pavel Sanda wrote: > lyx::TextMetrics::redoParagraph:522 pm.rows() = breakParagraph(bigrow); -> > step into > lyx::TextMetrics::breakParagraph:1136 tail = rb.shortenIfNeeded(width, > next_width); -> step into > lyx::Row::shortenIfNeeded:640 if

Re: [LyX/master] Add new placeholder $${python} to configure

2022-01-22 Thread José Abílio Matos
On Saturday, 22 January 2022 19.49.26 WET Pavel Sanda wrote: > Hi Jose, > > this what I see in curent master: > 1. start lyx > 2. load file > 3. this is what I see in terminal window: > env: '$${python}': No such file or directory > > Most likely related to image preview conversions, this what

Re: Crash on master because of cursor position in session

2022-01-22 Thread Pavel Sanda
On Sun, Jan 16, 2022 at 12:02:50PM +0100, Kornel Benko wrote: > Moreover, from then on the crash will always happen. > Resetting the line in lyx2.4.conf from > zoom_ratio=1.9333 > to > zoom_ratio=1.0 > cured it. > > Running under gdb, the software exception happens deep inside

Re: [LyX/master] Add new placeholder $${python} to configure

2022-01-22 Thread Pavel Sanda
On Tue, Jan 04, 2022 at 12:52:37AM +0100, JosĂŠ Matos wrote: > commit 109ea2be4a21ca93d22ab25703b3352a50fbbe3b > Author: José Matos > Date: Tue Jan 4 00:21:34 2022 + > > Add new placeholder $${python} to configure > > This ensures that we use a consistent Python interpreter in

Re: runtime error: load of value 4294967293, which is not a valid value for type 'const lyx::Update::flags'

2022-01-22 Thread Kornel Benko
Am Sat, 22 Jan 2022 18:35:12 +0100 schrieb Kornel Benko : > Am Sat, 22 Jan 2022 10:04:44 -0500 > schrieb Scott Kostyshak : > > > With Clang and fsanitize, I get the following error when I open a buffer: > > > > runtime error: load of value 4294967293, which is not a valid value for > > type

Re: runtime error: load of value 4294967293, which is not a valid value for type 'const lyx::Update::flags'

2022-01-22 Thread Kornel Benko
Am Sat, 22 Jan 2022 10:04:44 -0500 schrieb Scott Kostyshak : > With Clang and fsanitize, I get the following error when I open a buffer: > > runtime error: load of value 4294967293, which is not a valid value for > type 'const > lyx::Update::flags' > > Attached is the backtrace (which is

runtime error: load of value 4294967293, which is not a valid value for type 'const lyx::Update::flags'

2022-01-22 Thread Scott Kostyshak
With Clang and fsanitize, I get the following error when I open a buffer: runtime error: load of value 4294967293, which is not a valid value for type 'const lyx::Update::flags' Attached is the backtrace (which is printed to terminal if I set 'export UBSAN_OPTIONS=print_stacktrace=1').