Bug 484488 - Okular don't open the sound annotation
Summary: Okular don't open the sound annotation
Status: ASSIGNED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 23.08.5
Platform: Solus Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 22:19 UTC by Eifu
Modified: 2024-08-19 22:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A pdf with a sound annotation (205.58 KB, application/pdf)
2024-03-25 22:19 UTC, Eifu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eifu 2024-03-25 22:19:27 UTC
Created attachment 167765 [details]
A pdf with a sound annotation

I can't open audio files attached to PDFs (so called sound annotation) produced with a tablet, but I can open the same attachments with PDF Studio Viewer. AI attach an exemple.
Comment 1 Eifu 2024-04-01 15:45:54 UTC
With the new Okular 24.02.01 when I try to open the pdf okular crash with
"
Application: Okular (okular), signal: Segmentation fault

[New LWP 22450]
[New LWP 22454]
[New LWP 22455]
[New LWP 22457]
[New LWP 22459]
[New LWP 22458]
[New LWP 22452]
[New LWP 22456]
[New LWP 22451]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/okular /home/fabio/Documenti/62b96c2f3d4d4239bfc7709e420541d4.pdf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fac7689b0bb in pthread_kill () from /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
[Current thread is 1 (Thread 0x7fac72a4be80 (LWP 22450))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7fac72a4be80 (LWP 22450))]

Thread 9 (Thread 0x7fac725cf6c0 (LWP 22451)):
#0  0x00007fac76912dcf in poll () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac7646ae57 in ??? () at /usr/lib/libglib-2.0.so.0
#2  0x00007fac7646b571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fac775d37b2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#4  0x00007fac772fad8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#5  0x00007fac7740a656 in QThread::exec() () at /usr/lib/libQt6Core.so.6
#6  0x00007fac7878e45a in ??? () at /usr/lib/libQt6DBus.so.6
#7  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#8  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#9  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 8 (Thread 0x7fac5f5fd6c0 (LWP 22456)):
#0  0x00007fac76895776 in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac76898515 in pthread_cond_timedwait () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#2  0x00007fac774bed2c in ??? () at /usr/lib/libQt6Core.so.6
#3  0x00007fac774bebda in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#4  0x00007fac774b6f09 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#7  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 7 (Thread 0x7fac71dce6c0 (LWP 22452)):
#0  0x00007fac76912dcf in poll () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac76b0d773 in ??? () at /usr/lib/libxcb.so.1
#2  0x00007fac76b101eb in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fac729b407f in ??? () at /usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#4  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#5  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#6  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 6 (Thread 0x7fac5e5fb6c0 (LWP 22458)):
#0  0x00007fac76895776 in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac76898515 in pthread_cond_timedwait () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#2  0x00007fac774bed2c in ??? () at /usr/lib/libQt6Core.so.6
#3  0x00007fac774bebda in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#4  0x00007fac774b6f09 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#7  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 5 (Thread 0x7fac5ddfa6c0 (LWP 22459)):
#0  0x00007fac76895776 in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac76898515 in pthread_cond_timedwait () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#2  0x00007fac774bed2c in ??? () at /usr/lib/libQt6Core.so.6
#3  0x00007fac774bebda in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#4  0x00007fac774b6f09 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#7  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 4 (Thread 0x7fac5edfc6c0 (LWP 22457)):
#0  0x00007fac76895776 in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac76898515 in pthread_cond_timedwait () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#2  0x00007fac774bed2c in ??? () at /usr/lib/libQt6Core.so.6
#3  0x00007fac774bebda in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#4  0x00007fac774b6f09 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#7  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 3 (Thread 0x7fac5fdfe6c0 (LWP 22455)):
#0  0x00007fac76895776 in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac76898515 in pthread_cond_timedwait () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#2  0x00007fac774bed2c in ??? () at /usr/lib/libQt6Core.so.6
#3  0x00007fac774bebda in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#4  0x00007fac774b6f09 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#7  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 2 (Thread 0x7fac605ff6c0 (LWP 22454)):
#0  0x00007fac76895776 in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#1  0x00007fac76898515 in pthread_cond_timedwait () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#2  0x00007fac774bed2c in ??? () at /usr/lib/libQt6Core.so.6
#3  0x00007fac774bebda in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#4  0x00007fac774b6f09 in ??? () at /usr/lib/libQt6Core.so.6
#5  0x00007fac774b2d9f in ??? () at /usr/lib/libQt6Core.so.6
#6  0x00007fac7689927e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#7  0x00007fac769200ec in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6

Thread 1 (Thread 0x7fac72a4be80 (LWP 22450)):
[KCrash Handler]
#4  0x00007fac6129cc45 in Poppler::SoundObject::data() const () at /usr/lib/libpoppler-qt6.so.3
#5  0x00007fac6131354a in ??? () at /usr/lib64/qt6/plugins/okular_generators/okularGenerator_poppler.so
#6  0x00007fac6132ac96 in ??? () at /usr/lib64/qt6/plugins/okular_generators/okularGenerator_poppler.so
#7  0x00007fac61315cc8 in ??? () at /usr/lib64/qt6/plugins/okular_generators/okularGenerator_poppler.so
#8  0x00007fac6131545a in ??? () at /usr/lib64/qt6/plugins/okular_generators/okularGenerator_poppler.so
#9  0x00007fac69678a7b in ??? () at /usr/lib/libOkular6Core.so.1
#10 0x00007fac6968a2a5 in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) () at /usr/lib/libOkular6Core.so.1
#11 0x00007fac69831449 in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) () at /usr/lib64/qt6/plugins/kf6/parts/okularpart.so
#12 0x00007fac6983280b in Okular::Part::openFile() () at /usr/lib64/qt6/plugins/kf6/parts/okularpart.so
#13 0x00007fac79085f62 in ??? () at /usr/lib/libKF6Parts.so.6
#14 0x00007fac79085cad in KParts::ReadOnlyPart::openUrl(QUrl const&) () at /usr/lib/libKF6Parts.so.6
#15 0x00007fac6983406e in Okular::Part::openUrl(QUrl const&, bool) () at /usr/lib64/qt6/plugins/kf6/parts/okularpart.so
#16 0x0000560087bb00d1 in ??? ()
#17 0x0000560087baff0e in ??? ()
#18 0x0000560087baa7df in ??? ()
#19 0x0000560087ba88e5 in ??? ()
#20 0x00007fac7682a30e in ??? () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#21 0x00007fac7682a3c9 in __libc_start_main () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6
#22 0x0000560087ba3e05 in ??? ()
"
Comment 2 Albert Astals Cid 2024-04-01 22:30:20 UTC
I fixed the crash with poppler 24.04.0 released today, still need to figure out what we need to do with the annotation because last i remember they worked but it doesn't seem to do anything :D
Comment 3 Eifu 2024-04-02 21:36:14 UTC
(In reply to Albert Astals Cid from comment #2)
> I fixed the crash with poppler 24.04.0 released today,
Thanks!
Comment 4 Bug Janitor Service 2024-04-22 21:18:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/976
Comment 5 Eifu 2024-08-18 10:29:52 UTC
(In reply to Bug Janitor Service from comment #4)
> A possibly relevant merge request was started @
> https://invent.kde.org/graphics/okular/-/merge_requests/976

It's not clear to me if this merge was successful and there is an updated version that resolves...
Comment 6 Albert Astals Cid 2024-08-19 22:11:33 UTC
Work is still needed