Summary: | [MacOS Apple Silicon] Writer+Calc hang frequently | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Chris Peñalver <chris> |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | iplaw67, Vincent.Boudry |
Priority: | medium | ||
Version: | 7.4.1.2 release | ||
Hardware: | Other | ||
OS: | macOS (All) | ||
URL: | https://github.com/rxhanson/Rectangle/issues/964 | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=150566 https://bugs.documentfoundation.org/show_bug.cgi?id=148435 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 42082 | ||
Attachments: |
Spindump when LO hangs
App Hung and Apple Crash Reporter caught it |
Description
Chris Peñalver
2022-10-05 16:29:59 UTC
Sigh...another MAcbook Air LO frequent crashing bug report. Like all the others before it, and without a reproducible test scenario, it'll probably get consigned to the UNCONFIRMED/NEEDINFO for 6 months, and then resolved as INSUFFICIENTDATA, or some such. @Christopher : could you let us know: - how much RAM you have on that Macbook Air? - whether or not Java is activated under the LO Preferences > Advanced configuration settings, and if so, which JDK is selected/installed ? - whether you have any accessibility software running, e.g. VoiceOver, screen zoom or magnifier, window placement manager such as Rectangle, etc ? @Christopher, if you can provide an Apple stack trace, or a copy of the trace that the Apple Crash Reporter provides (assuming that it gets triggered of course), then that might at least hopefully point in a useful direction. Hi Alex, thanks for the follow up. >"- how much RAM you have on that Macbook Air?" 8 GB. >"- whether or not Java is activated under the LO Preferences > Advanced configuration settings, and if so, which JDK is selected/installed ?" No Java is installed, activated, etc. >"- whether you have any accessibility software running, e.g. VoiceOver, screen zoom or magnifier, window placement manager such as Rectangle, etc ?" Only Rectangle v0.59 (latest). This is a required app to actually make MacOS usable, so removing it is not an option. >"if you can provide an Apple stack trace, or a copy of the trace that the Apple Crash Reporter provides (assuming that it gets triggered of course)" The crash reporter dialog has never shown itself. The application hangs with the spinning wheel mouse icon but doesn't crash (I leave it hanging for at most 30 seconds before I force quit). However, I will provide a SpinDump next time this occurs: https://helpx.adobe.com/photoshop-elements/kb/generate-sample-process-or-spindump-macos.html I'll keep you posted. @Christopher : thanks for getting back with the information. Unfortunately, Rectangle is a known antagonist for LO freezing / crashing. I have just updated to v 0.59 from 0.57, but I already have experience of LO freezing, leaving ghost windows, and other weirdness, when running Rectangle, especially when re-arranging the tiling layout, or switching to fullscreen and back for example, or snapping to fill x, y, or z part of the screen. If the cause of the freezing on your machine is indeed Rectangle, this report would become another duplicate of one of the accessibility bug reports that plague the Mac version of LibreOffice. Again, unfortunately, LO still has some rather old Cocoa/Aqua code, and you will also have probably noticed that it hasn't integrated with Apple's fullscreen mode, preferring to offer an internally developed version of fullscreen management built into the application itself (which of course, doesn't do the same thing as the native OS fullscreen management). There are to my knowledge no paid macOS developers working on the LO code. What this means is that updating the window management code of the application to reflect current macOS APIs is something that almost never happens, bar a very few occasional volunteer developers who happen to have access to a Mac for a while and have that itch to scratch. I'll leave this as NEEDINFO until you can give us some kind of spindump info, just upload it as a text file via the attachment link, rather than pasting the output into reply window. As an example of an existing report regarding Rectangle, see bug 150159, still awaiting confirmation. (In reply to Alex Thurgood from comment #5) > As an example of an existing report regarding Rectangle, see bug 150159, > still awaiting confirmation. Actually, there's an even earlier report about window managers causing the same problem, bug 148435, which has been bisected to a likely older commit that might be the origin of the problem. Unfortunately, no progress since then. Created attachment 182888 [details]
Spindump when LO hangs
Hi Alex Thurgood,
Thanks for your continued attention, review of potential dup reports, and providing a reasonable expectation in terms of what would need to occur for this issue to be root caused by a developer and fixed.
Attached is the promised spindump.
In terms of reproduction scenario, when using the Rectangle keyboard hotkeys to flip the LO window around quickly, it seemed to cause the hang more quickly versus waiting for it happen organically.
Thanks Christopher, the spindump looks very similar to that provided in bug 148435 (certainly at least for the soffice process), with what look to be the same mutex locks. I'll mark this report as a duplicate of bug 148435. *** This bug has been marked as a duplicate of bug 148435 *** Reproducible in: Version: 7.4.2.3 / LibreOffice Community Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf CPU threads: 8; OS: Mac OS X 12.6; UI render: default; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Maintaining my comments here in case report this is dup'd to gets a fix but this doesn't get resolved. Reproducible in: MacOS 13.0 Rectangle 0.60 Version: 7.4.2.3 / LibreOffice Community Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf CPU threads: 8; OS: Mac OS X 13.0; UI render: default; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Created attachment 183924 [details] App Hung and Apple Crash Reporter caught it Version: 7.4.3.2 / LibreOffice Community Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890 CPU threads: 8; OS: Mac OS X 13.0; UI render: default; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded sw_vers ProductName: macOS ProductVersion: 13.0 BuildVersion: 22A380 sysctl -n machdep.cpu.brand_string Apple M1 (In reply to Christopher M. Penalver from comment #11) > Created attachment 183924 [details] > App Hung and Apple Crash Reporter caught it > > Version: 7.4.3.2 / LibreOffice Community > Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890 > CPU threads: 8; OS: Mac OS X 13.0; UI render: default; VCL: osx > Locale: en-US (en_US.UTF-8); UI: en-US > Calc: threaded > Please try with a daily 7.5 dev build, where the problem is reported as having been fixed. So far, not reproducible using Rectangle 0.61 / 0.63 and LO: Version: 7.5.0.0.alpha1+ (AARCH64) / LibreOffice Community Build ID: ce60a3dd4dbff0dcb5b82c9053ae5d90f8ac929d CPU threads: 8; OS: Mac OS X 13.0; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded |