Bug 2374170 - [abrt] calibre: QScopedPointerDeleter<QPlatformServices>::cleanup(): python3.13 killed by SIGABRT
Summary: [abrt] calibre: QScopedPointerDeleter<QPlatformServices>::cleanup(): python3....
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:0e379eb77ea171b2e22f1db69b8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-21 15:49 UTC by Nicolas Sapa
Modified: 2025-06-24 13:11 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: maps (3.89 KB, text/plain)
2025-06-21 15:49 UTC, Nicolas Sapa
no flags Details
File: core_backtrace (11.92 KB, text/plain)
2025-06-21 15:49 UTC, Nicolas Sapa
no flags Details
File: dso_list (843 bytes, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: proc_pid_status (1.50 KB, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: limits (1.29 KB, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: open_fds (625 bytes, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: backtrace (61.99 KB, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: environ (4.26 KB, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: cpuinfo (2.70 KB, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: mountinfo (3.99 KB, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details
File: os_info (729 bytes, text/plain)
2025-06-21 15:50 UTC, Nicolas Sapa
no flags Details

Description Nicolas Sapa 2025-06-21 15:49:54 UTC
Description of problem:
I was using the FanFicFare extension to download two stories from ArchiveOfOurOwn.org.

Version-Release number of selected component:
calibre-8.0.1-3.fc42

Additional info:
reporter:       libreport-2.17.15
cgroup:         0::/user.slice/user-1000.slice/session-c2.scope
uid:            1000
crash_function: QScopedPointerDeleter<QPlatformServices>::cleanup
cmdline:        /usr/bin/python3 /usr/bin/calibre-parallel
reason:         python3.13 killed by SIGABRT
backtrace_rating: 4
runlevel:       N 5
rootdir:        /
journald_cursor: s=b83535e1b58c4804bafb2362b9ebb2e5;i=12596e0;b=c67591df06a04e0b929da89c12407469;m=1cb4f7b5c8;t=637cb1974bbb3;x=ed5699afac6d7879
executable:     /usr/bin/python3.13
kernel:         6.14.9-300.fc42.x86_64
package:        calibre-8.0.1-3.fc42
comment:        I was using the FanFicFare extension to download two stories from ArchiveOfOurOwn.org.
type:           CCpp

Truncated backtrace:
Thread no. 1 (26 frames)
 #9 QScopedPointerDeleter<QPlatformServices>::cleanup at /usr/include/qt6/QtCore/qscopedpointer.h:78
 #10 QScopedPointer<QPlatformServices, QScopedPointerDeleter<QPlatformServices> >::~QScopedPointer at /usr/include/qt6/QtCore/qscopedpointer.h:81
 #11 HeadlessIntegration::~HeadlessIntegration at /usr/src/debug/calibre-8.0.1-3.fc42.x86_64/src/calibre/headless/headless_integration.cpp:83
 #13 QGuiApplicationPrivate::~QGuiApplicationPrivate at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1843
 #14 QApplicationPrivate::~QApplicationPrivate at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:149
 #15 sipQApplication::~sipQApplication at /usr/src/debug/python-pyqt6-6.9.0-3.fc42.x86_64/build/QtWidgets/sipQtWidgetsQApplication.cpp:210
 #17 cleanup_on_exit at ../../qpy/QtCore/qpycore_init.cpp:52
 #18 cfunction_vectorcall_NOARGS at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Include/cpython/methodobject.h:50
 #19 atexit_callfuncs at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Modules/atexitmodule.c:141
 #20 _PyAtExit_Call at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Modules/atexitmodule.c:162
 #21 _Py_Finalize at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pylifecycle.c:2050
 #22 Py_Exit at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pylifecycle.c:3520
 #23 handle_system_exit at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pythonrun.c:679
 #24 _PyErr_PrintEx at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pythonrun.c:688
 #25 PyErr_PrintEx at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pythonrun.c:768
 #26 PyErr_Print at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pythonrun.c:774
 #27 _PyRun_SimpleFileObject at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pythonrun.c:523
 #28 _PyRun_AnyFileObject at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Python/pythonrun.c:77
 #29 pymain_run_file_obj at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Modules/main.c:410
 #30 pymain_run_file at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Modules/main.c:429
 #31 pymain_run_python at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Modules/main.c:696
 #32 Py_RunMain at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Modules/main.c:775
 #33 Py_BytesMain at /usr/src/debug/python3.13-3.13.3-2.fc42.x86_64/Modules/main.c:829
 #34 __libc_start_call_main at ../sysdeps/nptl/libc_start_call_main.h:58
 #35 __libc_start_main_impl at ../csu/libc-start.c:360
 #36 _start

Comment 1 Nicolas Sapa 2025-06-21 15:49:57 UTC
Created attachment 2094625 [details]
File: maps

Comment 2 Nicolas Sapa 2025-06-21 15:49:58 UTC
Created attachment 2094626 [details]
File: core_backtrace

Comment 3 Nicolas Sapa 2025-06-21 15:50:00 UTC
Created attachment 2094627 [details]
File: dso_list

Comment 4 Nicolas Sapa 2025-06-21 15:50:01 UTC
Created attachment 2094628 [details]
File: proc_pid_status

Comment 5 Nicolas Sapa 2025-06-21 15:50:02 UTC
Created attachment 2094629 [details]
File: limits

Comment 6 Nicolas Sapa 2025-06-21 15:50:03 UTC
Created attachment 2094630 [details]
File: open_fds

Comment 7 Nicolas Sapa 2025-06-21 15:50:04 UTC
Created attachment 2094631 [details]
File: backtrace

Comment 8 Nicolas Sapa 2025-06-21 15:50:05 UTC
Created attachment 2094632 [details]
File: environ

Comment 9 Nicolas Sapa 2025-06-21 15:50:06 UTC
Created attachment 2094633 [details]
File: cpuinfo

Comment 10 Nicolas Sapa 2025-06-21 15:50:07 UTC
Created attachment 2094634 [details]
File: mountinfo

Comment 11 Nicolas Sapa 2025-06-21 15:50:08 UTC
Created attachment 2094635 [details]
File: os_info

Comment 12 Stefan Becker 2025-06-22 08:26:35 UTC
"maps" shows that qt6 6.9.1 is running on the system. I assume that this issue started to appear after upgrading to latest qt6 6.9.1/KDE Plasma 6.4.0, correct?

Then this is probably the same issue I see when running calibre from the CLI to convert material to an e-book:

    Output saved to   /home/..../XXX.epub
    free(): invalid next size (normal)

I rebuilt calibre against the latest F42 packages using mock and now it works again from the CLI. I also tried the GUI and couldn't see any crashes.


calibre is known to be prone to break even on Qt patch release updates, that's why in the past it was usually included in any Qt update. I've requested a rebuild of the F42 package on Matrix KDE channel, but it hasn't happened yet (adding Jan as FYI).

Comment 13 Nicolas Sapa 2025-06-22 14:41:59 UTC
Looking at dnf history, I upgraded qt6-qtbase-0 to 6.9.1-1.fc42.x86_64 and the first crash happened two days later. 
I am going to try rebuilding calibre with mock and will report back if it fix this issue.

Comment 14 Nicolas Sapa 2025-06-23 16:39:28 UTC
(In reply to Nicolas Sapa from comment #13)
> I am going to try rebuilding calibre with mock and will report back if it
> fix this issue.

Calibre rebuild by Mock doesn't show this issue.
I saw that Jan did a rebuild this morning, I will test that and +1 in Bohdi.

Comment 15 Stefan Becker 2025-06-24 13:11:53 UTC
Rebuilt package from https://bodhi.fedoraproject.org/updates/FEDORA-2025-c40b2dd489 fixes the issue. +1 Karma.


Note You need to log in before you can comment on or make changes to this bug.