Bug 2383769 - [abrt] okular: qBadAlloc(): okular killed by SIGABRT
Summary: [abrt] okular: qBadAlloc(): okular killed by SIGABRT
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: okular
Version: 42
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4ca306f409d700748becc51c648...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-27 18:35 UTC by Mr. Beedell, Roke Julian Lockhart (RJLB)
Modified: 2026-05-09 00:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-05-09 00:24:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.49 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: maps (3.93 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: limits (1.29 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: environ (2.70 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: open_fds (5.68 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: mountinfo (3.75 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: os_info (739 bytes, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: cpuinfo (3.62 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: core_backtrace (51.20 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: dso_list (838 bytes, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: var_log_messages (908 bytes, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: backtrace (110.87 KB, text/plain)
2025-07-27 18:35 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 507550 0 NOR UNCONFIRMED Okular crashes when it attempts to open a "100-GiB" sparse file 2025-07-27 18:38:54 UTC
Red Hat Bugzilla 2383767 0 unspecified CLOSED [abrt] gwenview: (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >(): gwenview ki... 2026-05-09 00:18:32 UTC

Internal Links: 2383770

Description Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:26 UTC
Description of problem:
I managed to reproduce https://bugzilla.redhat.com/show_bug.cgi?id=2383767#c0 in Okular by merely invoking the file. (No need to have it initially reload it whilst visible.)

Version-Release number of selected component:
okular-25.04.3-1.fc42

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         okular killed by SIGABRT
journald_cursor: s=c1f108f1ef4e48808a377c0a73f168fc;i=9b9f38;b=e8ee8ef7bad24e8c8c16cdc147512e71;m=5d255fb3f;t=63aed679e8b51;x=9ae278c1ee270625
executable:     /usr/bin/okular
cmdline:        /usr/bin/okular $'/home/RokeJulianLockhart/Downloads/__Shot_From_The_Sky__Army_Show_1945_Oak_Ridge_(24971013612).jpg'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.okular
rootdir:        /
uid:            1000
kernel:         6.15.7-200.fc42.x86_64
package:        okular-25.04.3-1.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: qBadAlloc
comment:        I managed to reproduce https://bugzilla.redhat.com/show_bug.cgi?id=2383767#c0 in Okular by merely invoking the file. (No need to have it initially reload it whilst visible.)

Truncated backtrace:
Thread no. 1 (16 frames)
 #13 qBadAlloc at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/global/qassert.cpp:171
 #14 QByteArray::reallocData at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/text/qbytearray.cpp:1985
 #15 QByteArray::resize at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/text/qbytearray.cpp:1908
 #16 QIODevice::readAll at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/io/qiodevice.cpp:1269
 #17 KIMGIOGenerator::loadDocument at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/generators/kimgio/generator_kimgio.cpp:58
 #18 Okular::Generator::loadDocumentWithPassword at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/core/generator.cpp:208
 #19 Okular::DocumentPrivate::openDocumentInternal at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/core/document.cpp:961
 #20 Okular::Document::openDocument at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/core/document.cpp:2476
 #21 Okular::Part::doOpenFile at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/part/part.cpp:1448
 #22 Okular::Part::openFile at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/part/part.cpp:1593
 #23 KParts::ReadOnlyPartPrivate::openLocalFile at /usr/src/debug/kf6-kparts-6.16.0-1.fc42.x86_64/src/readonlypart.cpp:157
 #24 KParts::ReadOnlyPart::openUrl at /usr/src/debug/kf6-kparts-6.16.0-1.fc42.x86_64/src/readonlypart.cpp:118
 #25 Okular::Part::openUrl at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/part/part.cpp:1819
 #26 Shell::openUrl at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/shell/shell.cpp:488
 #27 Shell::openDocument at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/shell/shell.cpp:414
 #28 Okular::main at /usr/src/debug/okular-25.04.3-1.fc42.x86_64/shell/okular_main.cpp:229

Comment 1 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:30 UTC
Created attachment 2098450 [details]
File: proc_pid_status

Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:31 UTC
Created attachment 2098451 [details]
File: maps

Comment 3 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:32 UTC
Created attachment 2098452 [details]
File: limits

Comment 4 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:33 UTC
Created attachment 2098453 [details]
File: environ

Comment 5 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:36 UTC
Created attachment 2098454 [details]
File: open_fds

Comment 6 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:37 UTC
Created attachment 2098455 [details]
File: mountinfo

Comment 7 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:38 UTC
Created attachment 2098456 [details]
File: os_info

Comment 8 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:40 UTC
Created attachment 2098457 [details]
File: cpuinfo

Comment 9 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:41 UTC
Created attachment 2098458 [details]
File: core_backtrace

Comment 10 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:42 UTC
Created attachment 2098459 [details]
File: dso_list

Comment 11 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:43 UTC
Created attachment 2098460 [details]
File: var_log_messages

Comment 12 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:35:45 UTC
Created attachment 2098461 [details]
File: backtrace

Comment 13 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-07-27 18:42:21 UTC
I reproduced https://bugzilla.redhat.com/show_bug.cgi?id=2383769#c0 via the "Open" context menu.


reporter:       libreport-2.17.15
type:           CCpp
reason:         okular killed by SIGABRT
journald_cursor: s=c1f108f1ef4e48808a377c0a73f168fc;i=9ba357;b=e8ee8ef7bad24e8c8c16cdc147512e71;m=5ea2d0f16;t=63aed7f759f28;x=e3a256491c655144
executable:     /usr/bin/okular
cmdline:        /usr/bin/okular
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-\x2fusr\x2fbin\x2fokular
rootdir:        /
uid:            1000
kernel:         6.15.7-200.fc42.x86_64
package:        okular-25.04.3-1.fc42
runlevel:       N 5
backtrace_rating: 4
crash_function: qBadAlloc
comment:        I reproduced https://bugzilla.redhat.com/show_bug.cgi?id=2383769#c0 via the "Open" context menu.

Comment 14 Fedora Release Engineering 2026-05-06 13:39:06 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 15 Mr. Beedell, Roke Julian Lockhart (RJLB) 2026-05-09 00:24:55 UTC
This does not reproduce, because Okular refuses to invoke any file âȘ† 600 MiB.


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