Skip to content

Calibre 3.38 crashes

I haven't been using calibre for about two months and today I tried to open it and it doesn't even start. Running $ calibre from the command line just outputs Segmentation fault (core dumped) and quits (even with the --ignore-plugin or --version options).

I tried deleting calibre's .config folder, moving the library in another directory and reinstalling it completely (dependencies too)

I'm running a fully updated arch linux, calibre version is 3.38.1-1

​

EDIT: solved by removing the official version and installing the calibre-installer from the AUR

Edited 26 Jan 2019. We only hold this version.

4 points10 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
4 · 100% up
Kind
Text
ID
ajrfuz

Author

34
posts
56
comments
4
media
View profile

10 comments

1 points

Here it is:

           PID: 13760 (python2)
           UID: 1000 (username)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Fri 2019-01-25 19:47:10 CET (29s ago)
  Command Line: python2 /usr/bin/calibre
    Executable: /usr/bin/python2.7
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (username)
       Boot ID: ffd69ea7ccc24c6f8e7c2719b6f38f0a
    Machine ID: e339e80f39a541ff80e811e0f5181fd7
      Hostname: arch
       Storage: /var/lib/systemd/coredump/core.python2.1000.ffd69ea7ccc24c6f8e7c2719b6f38f0a.13760.1548442030000000.lz4
       Message: Process 13760 (python2) of user 1000 dumped core.
                
                Stack trace of thread 13760:
                #0  0x00007f2e5a281bc3 _dl_relocate_object (ld-linux-x86-64.so.2)
                #1  0x00007f2e5a289406 dl_open_worker (ld-linux-x86-64.so.2)
                #2  0x00007f2e5a179f57 _dl_catch_exception (libc.so.6)
                #3  0x00007f2e5a288dff _dl_open (ld-linux-x86-64.so.2)
                #4  0x00007f2e59df915a n/a (libdl.so.2)
                #5  0x00007f2e5a179f57 _dl_catch_exception (libc.so.6)
                #6  0x00007f2e5a179ff3 _dl_catch_error (libc.so.6)
                #7  0x00007f2e59df98bf n/a (libdl.so.2)
                #8  0x00007f2e59df91fa dlopen (libdl.so.2)
                #9  0x00007f2e59f4a4fe _PyImport_GetDynLoadFunc (libpython2.7.so.1.0)
                #10 0x00007f2e59f51572 _PyImport_LoadDynamicModule (libpython2.7.so.1.0)
                #11 0x00007f2e59eab69e import_submodule (libpython2.7.so.1.0)
                #12 0x00007f2e59eac43b PyImport_ImportModuleLevel (libpython2.7.so.1.0)
                #13 0x00007f2e59ecbb3a builtin___import__ (libpython2.7.so.1.0)
                #14 0x00007f2e59f34b43 PyObject_Call (libpython2.7.so.1.0)
                #15 0x00007f2e59f35419 PyObject_CallFunction (libpython2.7.so.1.0)
                #16 0x00007f2e59eac9fe PyImport_Import (libpython2.7.so.1.0)
                #17 0x00007f2e59f51cfe PyImport_ImportModule (libpython2.7.so.1.0)
                #18 0x00007f2e58fe210b n/a (Qt.so)
                #19 0x00007f2e58fe2225 initQt (Qt.so)
                #20 0x00007f2e59f515a0 _PyImport_LoadDynamicModule (libpython2.7.so.1.0)
                #21 0x00007f2e59eab69e import_submodule (libpython2.7.so.1.0)
                #22 0x00007f2e59eac43b PyImport_ImportModuleLevel (libpython2.7.so.1.0)
                #23 0x00007f2e59ecbb3a builtin___import__ (libpython2.7.so.1.0)
                #24 0x00007f2e59f34b43 PyObject_Call (libpython2.7.so.1.0)
                #25 0x00007f2e59ebcdb1 PyEval_CallObjectWithKeywords (libpython2.7.so.1.0)
                #26 0x00007f2e59ec2348 PyEval_EvalFrameEx (libpython2.7.so.1.0)
                #27 0x00007f2e59ebd6ba PyEval_EvalCodeEx (libpython2.7.so.1.0)
                #28 0x00007f2e59f54b6a PyEval_EvalCode (libpython2.7.so.1.0)
                #29 0x00007f2e59f51031 PyImport_ExecCodeModuleEx (libpython2.7.so.1.0)
                #30 0x00007f2e59f5121a load_source_module (libpython2.7.so.1.0)
                #31 0x00007f2e59f51c1f load_package (libpython2.7.so.1.0)
                #32 0x00007f2e59eab69e import_submodule (libpython2.7.so.1.0)
                #33 0x00007f2e59eac43b PyImport_ImportModuleLevel (libpython2.7.so.1.0)
                #34 0x00007f2e59ecbb3a builtin___import__ (libpython2.7.so.1.0)
                #35 0x00007f2e59f34b43 PyObject_Call (libpython2.7.so.1.0)
                #36 0x00007f2e59ebcdb1 PyEval_CallObjectWithKeywords (libpython2.7.so.1.0)
                #37 0x00007f2e59ec2348 PyEval_EvalFrameEx (libpython2.7.so.1.0)
                #38 0x00007f2e59ebd6ba PyEval_EvalCodeEx (libpython2.7.so.1.0)
                #39 0x00007f2e59ec427f PyEval_EvalFrameEx (libpython2.7.so.1.0)
                #40 0x00007f2e59ebd6ba PyEval_EvalCodeEx (libpython2.7.so.1.0)
                #41 0x00007f2e59f54b6a PyEval_EvalCode (libpython2.7.so.1.0)
                #42 0x00007f2e59f4e331 run_mod (libpython2.7.so.1.0)
                #43 0x00007f2e59f4e3d7 PyRun_FileExFlags (libpython2.7.so.1.0)
                #44 0x00007f2e59f4ec64 PyRun_SimpleFileExFlags (libpython2.7.so.1.0)
                #45 0x00007f2e59f4a133 Py_Main (libpython2.7.so.1.0)
                #46 0x00007f2e5a066223 __libc_start_main (libc.so.6)
                #47 0x000055993f5e905e _start (python2.7)

​

1 points

Educated guess, did you ever use pip to install python modules as root or any other general python distribution that might be altering the loader path?

You shouldn't do the first and you should use pip to uninstall them again and properly replace them with the repo alternatives

2 points

Works fine here. Running Gnome. Works on wayland and xorg.

1 points

I'm using KDE Plasma. Might try installing something else to see if it's the problem

1 points

Why not try uninstalling from Arch repos, and installing directly from calibre website. I've been doing that for a few years now with no issues. (Running 3.38 on Gnome on Arch.)

1 points

Calibre never works well with shared dependencies, it's finnicky and needs specific versions. Get the binary that includes dependencies from the site, or use calibre-installer from the AUR. Alternatively, you can use the flatpak version which should also work fine.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.