07-22-2024, 03:06 PM | #1 |
Member
Posts: 21
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
Calibre often crashes in macOS
Hi everyone!
I was hoping to report an issue I'm having in the latest version of calibre (7.15) on the lastest version of macOS (Sonoma 14.5 (23F79)) on a M2 MacBook Pro (Mac14,10). I'll add, this isn't specific to 7.15, as it's been happening for several weeks now. While this crash isn't consistently reproducible, when it does happen, it always seems to be under the same circumstances. Specifically, when I'm in the main library mode, I'll search for something, whether it be author, series, etc. I'll select a row of the results, and then scroll up or down using the arrow keys on my keyboard to different rows. Boom -- crash to desktop. I wish I could more reliably reproduce the crash, but alas, I cannot. I've checked, and all my installed plug-ins are the latest version, according to the User plugins window. I've also run Library Maintenance, and it says it found no errors in the library DB. I use Calibre several times a week, and so any help would be greatly appreciated! Thank you for making such an awesome program! Last edited by .tycho; 07-22-2024 at 03:08 PM. |
07-22-2024, 08:19 PM | #2 |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
I have no idea what version of Qt Calibre is using but if it is Qt 6.5.x series, Qt had a large number of bugs related to Accessibility only on macOS. The issues were not fixed fully until the Qt 6.6.2 series. Many mac users have macOS Accessibility tools installed like VoiceOver, and Rectangle, and etc. This causes lots of segfaults on macOS just navigating lists, tables, and things. We (Sigil) finally moved to Qt 6.6.2 just to get all the fixes. Sigil now uses Qt 6.7.2 and it is very stable on macOS when using or running concurrently Accessibility tools with MacOS.
See https://bugreports.qt.io/browse/QTBUG-121008 and https://bugreports.qt.io/browse/QTBUG-119526 as just 2 of many related Qt bug reports about crashing on macOS related to accessibility apps Last edited by KevinH; 07-22-2024 at 08:50 PM. |
Advert | |
|
07-22-2024, 10:00 PM | #3 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This definitely looks like a Qt bug, and yes calibre uses Qt 6.5.3 currently. It's on my TODO list to move to a newer Qt, there were some issues with it on Windows I need to investigate first.
|
07-23-2024, 03:34 PM | #4 |
Member
Posts: 21
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
Thanks so much for getting back to me! So it does look like this is a bug with Qt and macOS Accessibility features. I use a brilliant app called Alfred that works by using macOS Accessibility hooks.
Here's to hoping you can move to a newer version of Qt. Thanks again! |
07-23-2024, 04:46 PM | #5 | |
Resident Curmudgeon
Posts: 76,423
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
07-24-2024, 03:14 PM | #6 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
Quote:
So I used ChatGPT to make an AppleScript for me that quits Alfred, launches Calibre, waits for Calibre to quit, and then launches Alfred. And it works! So now to see if this solves the crashing issue... Thanks! |
|
07-28-2024, 07:14 PM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2024
Device: iPad
|
Hello,
I have the same issue here (Macbook Air M3, Sonoma 14.5). Thank you for the explanation. Meanwhile, do we have a workaround to launch Calibre without Alfred, Roger, Gaston and other ChatGPT stuff? Regards |
07-29-2024, 11:01 AM | #8 |
Resident Curmudgeon
Posts: 76,423
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It sounds to me like you should not use any app that's got a human name.
|
07-29-2024, 03:28 PM | #9 | |
Member
Posts: 21
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
Quote:
Code:
-- Quit Alfred tell application "Alfred 5" to quit -- Open Calibre tell application "calibre" to activate -- Monitor Calibre and reopen Alfred when Calibre closes repeat delay 1 if not (application "calibre" is running) then tell application "Alfred 5" to activate exit repeat end if end repeat Last edited by .tycho; 07-29-2024 at 03:32 PM. |
|
07-29-2024, 03:31 PM | #10 |
Member
Posts: 21
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
|
07-29-2024, 06:58 PM | #11 |
the rook, bossing Never.
Posts: 12,360
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I doubt it.
|
07-30-2024, 09:53 AM | #12 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2024
Device: iPad
|
Quote:
Thank you. Actually I don't have Alfred. I copy pasted Calibre from the DMG to the Application folder. After the security approval, Calibre doesn't launch on my mac. This is a Macbook Air M3. I don't understand the logs (attached). I never had this issue on my previous computers. Maybe could you please have a look? Laurent |
|
07-30-2024, 01:13 PM | #13 |
Member
Posts: 21
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
|
Ok, so my issue is that Calibre launches and works for a period of time, and then it crashes. If yours doesn't launch at all, then that sounds like a different issue.
What happens if you download a fresh DMG from Calibre's website and over-write the one in the Applications folder? Does that work? You can also try making a new test account in macOS, log in as that test user, and see if Calibre works there? Then just delete the test user when you're done. |
07-30-2024, 06:18 PM | #14 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2024
Device: iPad
|
Quote:
I use CleanMyMac to erase all parameter files, but Calibre still crashes. |
|
07-30-2024, 09:26 PM | #15 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run calibre
/Applications/calibre.app/Contents/MacOS/calibre-debug -g from a terminal and paste the log. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Editing Index Calibre crashes on MacOS | dunhill | Calibre | 3 | 03-19-2023 01:38 PM |
5.4.0 Crashes on Launch; macOS 12.3.1 | LouisPiper | Calibre | 5 | 04-12-2022 09:09 PM |
Calibre 5.19 crashes Macos Catalina | etienne010 | Calibre | 4 | 06-02-2021 08:30 AM |
Calibre not opening on macOS Catalina 10.15.7 after updating to Calibre 5.3.0 | darthschadel | Calibre | 1 | 10-18-2020 03:17 PM |
MacOS : After Update from 3.44 to 3.46 getting Newsfeeds crashes | Mainframe-Junki | Calibre | 2 | 07-27-2019 05:25 AM |