Steps to reproduce: 1. Enter the following in new Writer document: """ PICTURE "circle.svg" [ CIRCLE 50 ] """ 2. Save as "circle.odt". 3. Run from LibreLogo toolbar. Observed outcome: 1. Turtle draws circle and sits inside it. 2. The file "circle.svg" is produced correctly, and in the correct directory. 3. New window appears titled "Untitled 1" followed shortly by the Spinning Beach Ball of Death (SBBOD). 4. The mouse cursor changes to SBBOD on all LibreOffice windows ("circle.odt" and "Untitled 1"); and LibreOffice is marked "unresponsive" on Force Quit Applications dialog. Tried with same outcome: 1. tick only "Use hardware acceleration". 2. tick only "Use anti-aliasing". 3. tick only "Use Skia for all rendering". 4. tick none of above. After force-quit Libreoffice; and file-recovery: 1. "circle.odt" is recovered fully and the turtle is not sitting in a circle. 2. "Untitled 1 (Remote)" is an empty document.
(In reply to Roland Chee from comment #0) > Steps to reproduce: > 1. Enter the following in new Writer document: > """ > PICTURE "circle.svg" [ CIRCLE 50 ] Attachment is missing. Please add it. => NEEDINFO
And please also text with a recent version of LO (LO 24.2.2). Thank you.
Created attachment 193687 [details] Screenshot of the Untitled window. Strangely, this time it is "Untitled 2", rather than "Untitled 1". I was unable to re-size the window, because libreoffice is just totally frozen.
LibreOffice Community 7.5.9.2(x86_64) CPU threads:4 MacOSX 11.7.10 UI render: default VCL: osx Locale: en_AU.UTF-8 UI: en-US
Created attachment 193689 [details] LibreOffice 24.2.2 Similarly, LibreOffice 24.2.2 hangs after running the LibreLogo code.
The difference with LibreOffice 24.2.2 are: 1. The new window has no title. 2. After force-quit, then I re-open "circle.odt", there is no dialog about file recovery for "circle.odt", and no listing of any "untitled (remote)" file.
I have tried this in following way: Activated Libre Logo toolbar. Activated turtle and 2 page layout by the wand. Wrote the following code for my German Linux system: BILD "/home/robby/circle.svg" [ KREIS 50 ] Executed the code. circle.svg will be created in my home directory. Turtle sits inside the circle on the first page of LibreLogo layout. Works also if I try to write direct to "circle.svg" without any path. My system: OpenSUSE 15.6 64bit rpm Linux with LO 24.2.2.2
(In reply to Robert Großkopf from comment #7) > I have tried this in following way: > Activated Libre Logo toolbar. > Activated turtle and 2 page layout by the wand. > Wrote the following code for my German Linux system: > > BILD "/home/robby/circle.svg" [ > KREIS 50 > ] > > Executed the code. > circle.svg will be created in my home directory. > Turtle sits inside the circle on the first page of LibreLogo layout. > > Works also if I try to write direct to "circle.svg" without any path. > > My system: OpenSUSE 15.6 64bit rpm Linux with LO 24.2.2.2 Thank you for the attempt to reproduce this bug. If no problem on Linux, maybe the problem is on MacOS? I am on MacOS 11.7.10 (Big Sur). Same bug with LO 24.2.2 and LO 7.5.9.2. Of interest, LO has produced the SVG image before LO hangs. Maybe a script could not finish or close?
Created attachment 195199 [details] Reproducible document
Created attachment 195200 [details] Sample during hang using the Activity Monitor application
I can reproduce this bug in my local master build on macOS using attachment #195199 [details]. I also see a circle.svg file created immediately before the hang. I took a sample of LibreOffice while it was hanging using the Activity Monitor application (see attachment #195200 [details]) and it looks like the LibreLogo thread is crashing since it calls std::terminate). Maybe an uncaught exception is being thrown? I read through the code and see if I can figure out what is happening. I'll post again when I have any news.
Patrick Luby committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/8e8036491ff0a6c2df2075af66609df17ee594cd tdf#160427 native menu changes can only be done on the main thread It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I have committed a fix this bug. The fix should be in tomorrow's (11 July 2024) nightly master builds: https://dev-builds.libreoffice.org/daily/master/current.html Note for macOS testers: the nightly master builds install in /Applications/LibreOfficeDev.app. These builds are not codesigned like regular LibreOffice releases so you will need to execute the following Terminal command after installation but before you launch /Applications/LibreOfficeDev: xattr -d com.apple.quarantine /Applications/LibreOfficeDev.app
Patrick Luby committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/2a7441a00155ce46977fbd0779590e12a5cfd944 tdf#160427 native menu changes can only be done on the main thread It will be available in 24.2.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Yes! I tested [LibreOfficeDev_24.2.6.0.0_MacOS_x86-64.dmg](https://dev-builds.libreoffice.org/daily/libreoffice-24-2/MacOSX-x86_64@tb92-TDF/current/) by following the same steps in my initial post. LOdev did not freeze after producing "circle.svg". And there was no sight of any new untitled window. The bug is gone. Thank you all for your help and especially to Patrick Luby for the fix!
Patrick Luby committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/6079df3e7f86270aad9d4a6ce811366f280fa762 tdf#160427 native menu changes can only be done on the main thread It will be available in 24.8.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.