Also saving to another file leads to crash
Here below the automatic report.
Here included the two files involved.

p.

--- crash report
(  1) /usr/bin/lyx:
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/bin/lyx:
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/bin/lyx: /usr/bin/lyx(+0x46f1ea) [0x557b1f9f31ea]
(  4) /lib64/libc.so.6: /lib64/libc.so.6(+0x41240) [0x7f77e1641240]
(  5) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x1e7e04)
[0x7f77e1fe7e04]
(  6) /usr/bin/lyx: /usr/bin/lyx(+0x806155) [0x557b1fd8a155]
(  7) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x1e8615)
[0x7f77e1fe8615]
(  8) /lib64/libQt6Gui.so.6: QAction::triggered(bool)
(  9) /lib64/libQt6Gui.so.6: QAction::activate(QAction::ActionEvent)
( 10) /lib64/libQt6Core.so.6: QObject::event(QEvent*)
( 11) /lib64/libQt6Widgets.so.6:
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 12) /usr/bin/lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 13) /lib64/libQt6Core.so.6: QCoreApplication::notifyInternal2(QObject*,
QEvent*)
( 14) /lib64/libQt6Core.so.6:
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
( 15) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x3c1fd3)
[0x7f77e21c1fd3]
( 16) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x5d710)
[0x7f77e2512710]
( 17) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x5f358)
[0x7f77e2514358]
( 18) /lib64/libglib-2.0.so.0:
/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f77e2514a0c]
( 19) /lib64/libQt6Core.so.6:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 20) /lib64/libQt6Core.so.6:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
( 21) /lib64/libQt6Core.so.6: QCoreApplication::exec()
( 22) /usr/bin/lyx: lyx::LyX::exec(int&, char**)
( 23) /usr/bin/lyx: /usr/bin/lyx(main+0x54) [0x557b1f8c92c4]
( 24) /lib64/libc.so.6: /lib64/libc.so.6(+0x2a1f0) [0x7f77e162a1f0]
( 25) /lib64/libc.so.6: /lib64/libc.so.6(__libc_start_main+0x8b)
[0x7f77e162a2b9]
( 26) /usr/bin/lyx: /usr/bin/lyx(_start+0x27) [0x557b1f8d5095]
--- end

Il giorno mar 7 mag 2024 alle ore 11:17 Paolo M <
paolo.m.pumilia.gnar...@gmail.com> ha scritto:

> Crash happens when the preamble includes the following commands:
>
> \usepackage{amssymb}
>
> \DeclareUnicodeCharacter{25A2}{$\square$}
>
>
> In my test, crash happened at the insertion of a second branch, just
> typing a character in.
>
>
> p.
>
> Il giorno lun 6 mag 2024 alle ore 17:41 Scott Kostyshak <skost...@lyx.org>
> ha scritto:
>
>> On Mon, May 06, 2024 at 03:06:00PM GMT, Paolo M wrote:
>> > Crash happens often, not always, as I try to insert text into a newly
>> > created branch.
>> > Every time, I have to reopen lyx. Last modifications saved, luckily.
>>
>> Thanks for the report, Paolo. I can't reproduce. Are you able to try to
>> figure out a simple recipe to reproduce?
>>
>> I tried the following:
>>
>> 1. New document.
>> 2. Insert > Insert New Branch and I called it "blah".
>> 3. Insert text into the branch.
>>
>> Everything seems as expected here.
>>
>> Perhaps you can only reproduce with a particular document?
>>
>> Does the crash happen after you type a letter inside the branch? Or when
>> you move the cursor outside of the branch?
>>
>> Scott
>> --
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>
>
>
> --
> --- Paolo M. Pumilia - 347 231 54 96.
>


-- 
--- Paolo M. Pumilia - 347 231 54 96.

Attachment: branch-test-1.lyx
Description: application/lyx

Attachment: branch-test-2.lyx
Description: application/lyx

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to