Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-21-2026, 05:14 PM   #1
spiritomb
Junior Member
spiritomb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2019
Location: Northeast U.S.
Device: Kindle Paperwhite 10G
Lightbulb Linux tip: refresh your fontconfig cache regularly, or calibre may segfault

I had a strange problem with my Calibre setup on Linux that began a few days ago and I just figured out the solution, after a lot of troubleshooting.

My system setup:
calibre 9.9.0 installed the recommended way, to /opt, not via system repo or AUR
Arch Linux (rolling)
desktop environment: i3

The problem: Calibre would segfault whenever I clicked the Edit Metadata button or clicked the message in the lower-right corner that opens the plugin-updater window. Running
Code:
calibre-debug -g
in a terminal showed the program starting fine. The only error I received in the terminal was
Code:
segmentation fault (core dumped)  calibre
, immediately upon clicking Edit Metadata or attempting to open the plugin updater window.

Things I tried (list not necessarily in order):
  • disabling all 3rd-party plugins (the segfault still happened)
  • uninstalling unneeded system python libraries (I thought there was a conflict with C
    calibre's somehow even though I was not using a system repo version; this changed nothing)
  • uninstalling calibre 9.9.0 and installing an earlier version (did not solve the problem)
  • renaming ~/.cache/calibre and ~/.config/calibre to see if the problem persisted with a completely new library and no third-party plugins (it did)

What actually fixed the problem? Forcibly rebuilding my system's fontconfig cache by opening a terminal and running
Code:
fc-cache -f
.

I'm sharing this information here in case any other Linux user encounters this odd problem, because the only reason I figured it out was because a different program (conky) wasn't detecting my installed fonts like it should have been.
spiritomb is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 4 linux viewer symlinked .cache fail Adoby Calibre 3 10-05-2019 05:52 AM
PW4 Kindle Linux Page refresh modification possible? Novo Kindle Developer's Corner 2 02-26-2019 04:29 PM
Forcing Total Cache & GUI Refresh Without Restarting DaltonST Development 13 09-18-2014 04:29 PM
Calibre 0.6.40 source - segfault after successful build on Linux Megatron-UK Calibre 7 02-20-2010 04:29 AM
Recipe causes segfault: Ubuntu Intrepid, Calibre 0.6.14 rogue_ronin Calibre 1 10-02-2009 12:35 AM


All times are GMT -4. The time now is 12:55 AM.


MobileRead.com is a privately owned, operated and funded community.