Bug 294749 - crash when scrolling
Summary: crash when scrolling
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-24 13:48 UTC by Pascal d'Hermilly
Modified: 2012-08-22 09:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Valgrind okular mypd... (20.89 KB, text/plain)
2012-08-21 07:50 UTC, Pascal d'Hermilly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal d'Hermilly 2012-02-24 13:48:32 UTC
Application: okular (0.14.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was scrolling through a 74 page pdf by pulling the little handle on the vertical scrollbar up and down.

-- Backtrace:
Application: Okular (okular), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7ffb91457780 (LWP 6322))]

Thread 3 (Thread 0x7ffb7ccd6700 (LWP 6326)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ffb8e61e9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffb8e61cd71 in __GI___libc_free (mem=0x7ffb8e93a1c0) at malloc.c:3736
#3  0x00007ffb8f056665 in socketNotifierSourceCheck (source=0x15b2aa0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007ffb8b560734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffb8b560f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffb8b561429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ffb8f056ed6 in QEventDispatcherGlib::processEvents (this=0x117dfc0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007ffb8f02acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007ffb8f02aef7 in QEventLoop::exec (this=0x7ffb7ccd5dd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007ffb8ef4227f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007ffb8f00dcbf in QInotifyFileSystemWatcherEngine::run (this=0xf19c60) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007ffb8ef44d05 in QThreadPrivate::start (arg=0xf19c60) at thread/qthread_unix.cpp:331
#13 0x00007ffb8ba32efc in start_thread (arg=0x7ffb7ccd6700) at pthread_create.c:304
#14 0x00007ffb8e68189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffb79c4e700 (LWP 6364)):
[KCrash Handler]
#6  0x00007ffb8e5d63a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ffb8e5d9b0b in __GI_abort () at abort.c:92
#8  0x00007ffb8e60e113 in __libc_message (do_abort=2, fmt=0x7ffb8e6ff0d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007ffb8e618a96 in malloc_printerr (action=3, str=0x7ffb8e6ff278 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007ffb8e61cd7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007ffb7cd93a39 in Dict::~Dict (this=0x147ddf0, __in_chrg=<optimized out>) at Dict.cc:95
#12 0x00007ffb7cde0ab2 in Object::free (this=0x1505a08) at Object.cc:138
#13 0x00007ffb7cda19fa in GfxResources::~GfxResources (this=0x1505a00, __in_chrg=<optimized out>) at Gfx.cc:377
#14 0x00007ffb7cdab486 in Gfx::popResources (this=0x1b4ac90) at Gfx.cc:4991
#15 0x00007ffb7cdab530 in Gfx::~Gfx (this=0x1b4ac90, __in_chrg=<optimized out>) at Gfx.cc:649
#16 0x00007ffb7cde49b2 in Page::displaySlice (this=<optimized out>, out=<optimized out>, hDPI=<optimized out>, vDPI=<optimized out>, rotate=<optimized out>, useMediaBox=<optimized out>, crop=<optimized out>, sliceX=<optimized out>, sliceY=-1, sliceW=-1, sliceH=-1, printing=false, catalog=0x1424150, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:507
#17 0x00007ffb7d100347 in Poppler::Page::renderToImage (this=0x128ef10, xres=30.031749984436281, yres=30.027422303473493, x=-1, y=-1, w=-1, h=-1, rotate=Poppler::Page::Rotate0) at poppler-page.cc:217
#18 0x00007ffb7d34923d in PDFGenerator::image (this=0x1425a40, request=0xf759f0) at ../../../generators/poppler/generator_pdf.cpp:793
#19 0x00007ffb81703f89 in Okular::PixmapGenerationThread::run (this=0x15021f0) at ../core/generator_p.cpp:64
#20 0x00007ffb8ef44d05 in QThreadPrivate::start (arg=0x15021f0) at thread/qthread_unix.cpp:331
#21 0x00007ffb8ba32efc in start_thread (arg=0x7ffb79c4e700) at pthread_create.c:304
#22 0x00007ffb8e68189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffb91457780 (LWP 6322)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ffb8e61e9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffb8e61cd71 in __GI___libc_free (mem=0x7ffb8e93a1c0) at malloc.c:3736
#3  0x00007ffb8d5c3cbc in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007ffb8d5b8ec0 in XQueryPointer () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007ffb8fab5ecf in QCursor::pos () at kernel/qcursor_x11.cpp:159
#6  0x00007ffb8fa2e7f5 in QApplicationPrivate::sendSyntheticEnterLeave (this=<optimized out>, widget=0x12ddde0) at kernel/qapplication.cpp:3212
#7  0x00007ffb8fa81b02 in QWidget::setVisible (this=0x12ddde0, visible=<optimized out>) at kernel/qwidget.cpp:7700
#8  0x00007ffb86436b0c in show (this=<optimized out>) at /usr/include/qt4/QtGui/qwidget.h:487
#9  Oxygen::LineEditData::initializeAnimation (this=0x12ddc40) at ../../../kstyles/oxygen/transitions/oxygenlineeditdata.cpp:237
#10 0x00007ffb8643664f in textChanged (this=0x12ddc40) at ../../../kstyles/oxygen/transitions/oxygenlineeditdata.cpp:188
#11 Oxygen::LineEditData::textChanged (this=0x12ddc40) at ../../../kstyles/oxygen/transitions/oxygenlineeditdata.cpp:163
#12 0x00007ffb8643651d in Oxygen::LineEditData::qt_metacall (this=0x12ddc40, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff629dbab0) at ./oxygenlineeditdata.moc:82
#13 0x00007ffb8f03eeba in QMetaObject::activate (sender=0x12d6ef0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff629dbab0) at kernel/qobject.cpp:3278
#14 0x00007ffb8fe35e32 in QLineEdit::textChanged (this=<optimized out>, _t1=<optimized out>) at .moc/release-shared/moc_qlineedit.cpp:242
#15 0x00007ffb8fe362ec in QLineEdit::qt_metacall (this=0x12d6ef0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff629dbc80) at .moc/release-shared/moc_qlineedit.cpp:158
#16 0x00007ffb907fbfc5 in KLineEdit::qt_metacall (this=0x12d6ef0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff629dbc80) at ./klineedit.moc:133
#17 0x00007ffb8f03eeba in QMetaObject::activate (sender=0x12d7280, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff629dbc80) at kernel/qobject.cpp:3278
#18 0x00007ffb900a1485 in QLineControl::textChanged (this=<optimized out>, _t1=<optimized out>) at .moc/release-shared/moc_qlinecontrol_p.cpp:134
#19 0x00007ffb8fe3acfb in QLineControl::finishChange (this=0x12d7280, validateFromState=-1, update=<optimized out>, edited=false) at widgets/qlinecontrol.cpp:658
#20 0x00007ffb8fe3af90 in QLineControl::internalSetText (this=0x12d7280, txt=<optimized out>, pos=<optimized out>, edited=false) at widgets/qlinecontrol.cpp:690
#21 0x00007ffb819de45b in PagesEdit::setText (this=0x12d6ef0, newText=...) at ../ui/minibar.cpp:432
#22 0x00007ffb819de577 in MiniBar::notifyViewportChanged (this=0x12d4e30) at ../ui/minibar.cpp:190
#23 0x00007ffb816ef743 in Okular::Document::setViewport (this=0xf91a80, viewport=..., excludeId=3, smoothMove=false) at ../core/document.cpp:2482
#24 0x00007ffb819ff26e in PageView::slotRequestVisiblePixmaps (this=0x12c0600, newValue=<optimized out>) at ../ui/pageview.cpp:3972
#25 0x00007ffb81a03001 in PageView::qt_metacall (this=0x12c0600, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff629dc260) at ./pageview.moc:184
#26 0x00007ffb8f03eeba in QMetaObject::activate (sender=0x12b84b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff629dc260) at kernel/qobject.cpp:3278
#27 0x00007ffb9009eb0e in QAbstractSlider::valueChanged (this=<optimized out>, _t1=4799) at .moc/release-shared/moc_qabstractslider.cpp:182
#28 0x00007ffb8fe76dfb in QScrollBar::mouseMoveEvent (this=0x12b84b0, e=0x7fff629dca10) at widgets/qscrollbar.cpp:673
#29 0x00007ffb8fa7dd1e in QWidget::event (this=0x12b84b0, event=0x7fff629dca10) at kernel/qwidget.cpp:8280
#30 0x00007ffb8fe761da in QScrollBar::event (this=0x12b84b0, event=0x7fff629dca10) at widgets/qscrollbar.cpp:545
#31 0x00007ffb8fa2d474 in notify_helper (e=0x7fff629dca10, receiver=0x12b84b0, this=0xcdb260) at kernel/qapplication.cpp:4486
#32 QApplicationPrivate::notify_helper (this=0xcdb260, receiver=0x12b84b0, e=0x7fff629dca10) at kernel/qapplication.cpp:4458
#33 0x00007ffb8fa32cbb in QApplication::notify (this=<optimized out>, receiver=0x12b84b0, e=0x7fff629dca10) at kernel/qapplication.cpp:4047
#34 0x00007ffb90742ae6 in KApplication::notify (this=0x7fff629dd670, receiver=0x12b84b0, event=0x7fff629dca10) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007ffb8f02bafc in QCoreApplication::notifyInternal (this=0x7fff629dd670, receiver=0x12b84b0, event=0x7fff629dca10) at kernel/qcoreapplication.cpp:787
#36 0x00007ffb8fa2e442 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QApplicationPrivate::sendMouseEvent (receiver=0x12b84b0, event=0x7fff629dca10, alienWidget=0x12c0660, nativeWidget=0xf7cf80, buttonDown=0x12b84b0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#38 0x00007ffb8faad9d5 in QETWidget::translateMouseEvent (this=0xf7cf80, event=<optimized out>) at kernel/qapplication_x11.cpp:4571
#39 0x00007ffb8faac94e in QApplication::x11ProcessEvent (this=0x7fff629dd670, event=0x7fff629dd230) at kernel/qapplication_x11.cpp:3693
#40 0x00007ffb8fad54a2 in x11EventSourceDispatch (s=0xcdeaa0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007ffb8b560a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ffb8b561258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ffb8b561429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ffb8f056ed6 in QEventDispatcherGlib::processEvents (this=0xcb7fa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007ffb8fad510e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007ffb8f02acf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007ffb8f02aef7 in QEventLoop::exec (this=0x7fff629dd600, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007ffb8f02f789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#49 0x00000000004079c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Possible duplicates by query: bug 292022, bug 291425, bug 290830, bug 290682, bug 290537.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-02-24 17:37:55 UTC
Can you reproduce the crash? If so can you attach the pdf and state which poppler version do you have installed in your system?
Comment 2 Pascal d'Hermilly 2012-02-25 11:29:15 UTC
I cannot reproduce.
libpoppler-qt4-3:
Version: 0.16.7-2ubuntu2

I'm not able to make the PDF public since it's a book that I paid for and they inserted my name on every page ;-) However I could send it to your email-address if you think it would help.
Comment 3 Albert Astals Cid 2012-02-25 15:05:13 UTC
Try running it with valgrind and attach the output
valgrind okular mypdf.pdf
Comment 4 Albert Astals Cid 2012-08-20 22:40:53 UTC
Waiting for info...
Comment 5 Pascal d'Hermilly 2012-08-21 07:50:52 UTC
Created attachment 73346 [details]
Valgrind okular mypd...

It's the same PDF but I'm using Okular 0.15.0 on KDE SC 4.9.0
Comment 6 Albert Astals Cid 2012-08-21 19:05:28 UTC
There's nothing wrong in there, is it still crashing?
Comment 7 Pascal d'Hermilly 2012-08-22 07:29:52 UTC
No. I cannot reproduce.
Comment 8 Albert Astals Cid 2012-08-22 09:42:15 UTC
Ok, I'll set it as "worksforme" then, it is indeed quite strange what happened to you but the backtrace doesn't really help and you haven't been able to crash it again so there's not much we can do.

Thanks for caring about Okular :-)