Bug 263803 - Clicking a radio button in a form causes a crash
Summary: Clicking a radio button in a form causes a crash
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 01:37 UTC by Dima Ryazanov
Modified: 2011-01-21 19:32 UTC (History)
0 users

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


Attachments
Testcase (127.65 KB, application/pdf)
2011-01-21 01:38 UTC, Dima Ryazanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2011-01-21 01:37:04 UTC
Application: okular (0.11.80)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.0
Operating System: Linux 2.6.37 x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I opened a PDF document containing a form, clicked "Show Forms", then clicked a radio button.

I'll attach the file.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Aborted
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7fc9a31cb760 (LWP 14031))]

Thread 4 (Thread 0x7fc98cc95700 (LWP 14032)):
#0  0x00007fc9a03932c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fc9a0cfce8d in QProcessManager::run (this=0x7fc9a1052f40) at io/qprocess_unix.cpp:245
#2  0x00007fc9a0c2d27e in QThreadPrivate::start (arg=0x7fc9a1052f40) at thread/qthread_unix.cpp:266
#3  0x00007fc99d771971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007fc9a039a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc98bbe0700 (LWP 14036)):
#0  __pthread_mutex_lock (mutex=0x11e0c48) at pthread_mutex_lock.c:51
#1  0x00007fc99d2b2fc6 in g_main_context_poll (context=0x11e0c40, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:3088
#2  g_main_context_iterate (context=0x11e0c40, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2775
#3  0x00007fc99d2b345c in g_main_context_iteration (context=0x11e0c40, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#4  0x00007fc9a0d4d1e6 in QEventDispatcherGlib::processEvents (this=0x11e61e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007fc9a0d1fa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fc9a0d1fdec in QEventLoop::exec (this=0x7fc98bbdfdb0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fc9a0c2a2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fc9a0cff5f8 in QInotifyFileSystemWatcherEngine::run (this=0x1189fa0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc9a0c2d27e in QThreadPrivate::start (arg=0x1189fa0) at thread/qthread_unix.cpp:266
#10 0x00007fc99d771971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007fc9a039a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc98913b700 (LWP 16392)):
[KCrash Handler]
#6  0x00007fc9a02e7ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fc9a02eb6b0 in abort () at abort.c:92
#8  0x00007fc98bc89e6e in Object::getArray (this=<value optimized out>) at Object.h:202
#9  0x00007fc98bc830c6 in AnnotWidget::generateFieldAppearance (this=0x11f7520) at Annot.cc:3780
#10 0x00007fc98bc83247 in AnnotWidget::draw (this=0x11f7520, gfx=0x1233180, printing=<value optimized out>) at Annot.cc:3995
#11 0x00007fc98bcf0f2d in Page::displaySlice (this=<value optimized out>, out=<value optimized out>, hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>, useMediaBox=<value optimized out>, crop=<value optimized out>, sliceX=<value optimized out>, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0x1097900, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:492
#12 0x00007fc98c01237b in Poppler::Page::renderToImage (this=0x1200750, xres=<value optimized out>, yres=<value optimized out>, x=<value optimized out>, y=<value optimized out>, w=-1, h=-1, rotate=Poppler::Page::Rotate0) at poppler-page.cc:211
#13 0x00007fc98c27ca95 in PDFPixmapGeneratorThread::run (this=0x1098210) at ../../../../okular/generators/poppler/generator_pdf.cpp:1851
#14 0x00007fc9a0c2d27e in QThreadPrivate::start (arg=0x1098210) at thread/qthread_unix.cpp:266
#15 0x00007fc99d771971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#16 0x00007fc9a039a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc9a31cb760 (LWP 14031)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc9a0c2de3b in wait (this=<value optimized out>, mutex=0xba9090, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xba9090, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc9a0c2cedc in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:652
#4  0x00007fc9a0cfbf6a in QProcessManager::~QProcessManager (this=0x7fc9a1052f40, __in_chrg=<value optimized out>) at io/qprocess_unix.cpp:208
#5  0x00007fc9a02ed4f2 in __run_exit_handlers (status=1) at exit.c:78
#6  exit (status=1) at exit.c:100
#7  0x00007fc9a177a678 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#8  0x00007fc9a2492348 in KApplication::xioErrhandler (this=0x7fff4dc8c160, dpy=0xbbb660) at ../../kdeui/kernel/kapplication.cpp:417
#9  0x00007fc99f06d86e in _XIOError (dpy=0xbbb660) at ../../src/XlibInt.c:3138
#10 0x00007fc99f075415 in process_responses (dpy=0xbbb660, wait_for_first_event=<value optimized out>, current_error=<value optimized out>, current_request=0) at ../../src/xcb_io.c:247
#11 0x00007fc99f075d07 in _XEventsQueued (dpy=0xbbb660, mode=<value optimized out>) at ../../src/xcb_io.c:263
#12 0x00007fc99f05e47f in XEventsQueued (dpy=0xbbb660, mode=2) at ../../src/Pending.c:43
#13 0x00007fc9a17b5c0c in x11EventSourceCheck (s=0xba8910) at kernel/qguieventdispatcher_glib.cpp:87
#14 0x00007fc99d2b266a in g_main_context_check (context=0xba74c0, max_priority=0, fds=<value optimized out>, n_fds=-1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2658
#15 0x00007fc99d2b3023 in g_main_context_iterate (context=0xba74c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2777
#16 0x00007fc99d2b345c in g_main_context_iteration (context=0xba74c0, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#17 0x00007fc9a0d4d193 in QEventDispatcherGlib::processEvents (this=0xb88fa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#18 0x00007fc9a17b5a4e in QGuiEventDispatcherGlib::processEvents (this=0xba922c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007fc9a0d1fa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007fc9a0d1fdec in QEventLoop::exec (this=0x7fff4dc8c0b0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007fc9a0d23ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#22 0x000000000040807c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Dima Ryazanov 2011-01-21 01:38:12 UTC
Created attachment 56264 [details]
Testcase

Click "Show Forms", then click the "Ski" radio button.
Comment 2 Albert Astals Cid 2011-01-21 19:32:17 UTC
Same bug as https://bugs.freedesktop.org/show_bug.cgi?id=33063