Bug 267381 - Okular crashes when using PDF forms with radio button
Summary: Okular crashes when using PDF forms with radio button
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.11.2
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 14:47 UTC by Nico Schlömer
Modified: 2011-03-01 21:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF form that makes Okular crash (use radio buttons) (126.95 KB, text/pdf)
2011-03-01 14:49 UTC, Nico Schlömer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Schlömer 2011-03-01 14:47:53 UTC
Version:           0.11.2 (using KDE 4.5.5) 
OS:                Linux

Hi,

I've just downloaded this PDF with forms in it. They activate nicely, but as soon as I click on one of the radio buttons on the left, Okular crashes.

PDF attached.

Cheers,
Nico

Reproducible: Always
Comment 1 Nico Schlömer 2011-03-01 14:49:39 UTC
Created attachment 57589 [details]
PDF form that makes Okular crash (use radio buttons)
Comment 2 Pino Toscano 2011-03-01 15:11:08 UTC
Can you please provide a backtrace of the crash?
Also, what is the version of the installe poppler library?
Comment 3 Nico Schlömer 2011-03-01 15:20:27 UTC
That's with poppler 0.14.5.
How to provide a backtrace?
Can you confirm the crash?
Comment 4 Pino Toscano 2011-03-01 15:29:05 UTC
(In reply to comment #3)
> How to provide a backtrace?

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

> Can you confirm the crash?

No.
Comment 5 Nico Schlömer 2011-03-01 16:17:31 UTC
Okay, so here's what I got (all of gdb's output):

===================== *snip* =====================
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/okular...Reading symbols from /usr/lib64/debug/usr/bin/okular.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) set args organ.pdf
(gdb) run
Starting program: /usr/bin/okular organ.pdf
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.2/libstdc++.so.6.0.14-gdb.py", line 59, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
[Thread debugging using libthread_db enabled]
okular(12154)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(12154)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(12154)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
Annotation Widget not supported. 
[New Thread 0x7fffe5dfa710 (LWP 12158)]
[Thread 0x7fffe5dfa710 (LWP 12158) exited]
[New Thread 0x7fffe5dfa710 (LWP 12159)]
[Thread 0x7fffe5dfa710 (LWP 12159) exited]
[New Thread 0x7fffe5dfa710 (LWP 12160)]
[Thread 0x7fffe5dfa710 (LWP 12160) exited]
[New Thread 0x7fffe5dfa710 (LWP 12161)]
Error (0): Call to Object where the object was type 4, not the expected type 6 

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe5dfa710 (LWP 12161)]
0x00007ffff525b165 in raise () from /lib/libc.so.6
(gdb) thread apply all backtrace

Thread 5 (Thread 0x7fffe5dfa710 (LWP 12161)):
#0  0x00007ffff525b165 in raise () from /lib/libc.so.6
#1  0x00007ffff525c580 in abort () from /lib/libc.so.6
#2  0x00007fffe60da1ad in Object::getArray () from /usr/lib/libpoppler.so.7
#3  0x00007fffe60e88b9 in AnnotWidget::generateFieldAppearance() () from /usr/lib/libpoppler.so.7
#4  0x00007fffe60e89c7 in AnnotWidget::draw(Gfx*, int) () from /usr/lib/libpoppler.so.7
#5  0x00007fffe614170d in Page::displaySlice(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) () from /usr/lib/libpoppler.so.7
#6  0x00007fffe647acf5 in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.3
#7  0x00007fffe66b58d5 in PDFPixmapGeneratorThread::run() () from /usr/lib64/kde4/okularGenerator_poppler.so
#8  0x00007ffff6578a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff37388c4 in start_thread () from /lib/libpthread.so.0
#10 0x00007ffff52fa1dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7ffff7fa9760 (LWP 12154)):
#0  0x00007ffff52f1503 in poll () from /lib/libc.so.6
#1  0x00007ffff14cb7e4 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff14cbd1d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff66905b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffff5af5d2e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#5  0x00007ffff66659a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffff6665d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff666a9eb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x0000000000408f38 in main ()
(gdb)
===================== *snap* =====================

Is this more helpful?
Comment 6 Albert Astals Cid 2011-03-01 20:54:10 UTC
poppler bug 33063, update your poppler.