Bug 256681 - okular crashes at rescaling pdf
Summary: okular crashes at rescaling pdf
Status: RESOLVED DUPLICATE of bug 243434
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 258932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-12 12:02 UTC by Christoph Thielecke
Modified: 2010-12-09 18:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.01 KB, text/plain)
2010-12-01 18:41 UTC, Christoph Thielecke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Thielecke 2010-11-12 12:02:01 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I loaded a pdf file (http://www.pollin.de/shop/downloads/D721738B.PDF) and rescale it by pressing ctrl and using mouse wheel for made smaller. NOw okular crashed.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76e9710 (LWP 8042))]

Thread 2 (Thread 0xb3358b70 (LWP 8044)):
#0  0x00639416 in __kernel_vsyscall ()
#1  0x07e36de6 in __poll (fds=0x7eceff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x08ca5a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x08c9843c in ?? () from /lib/libglib-2.0.so.0
#4  0x08c98848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01aa459f in QEventDispatcherGlib::processEvents (this=0x9256440, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x01a74609 in QEventLoop::processEvents (this=0xb3358290, flags=) at kernel/qeventloop.cpp:149
#7  0x01a74a8a in QEventLoop::exec (this=0xb3358290, flags=...) at kernel/qeventloop.cpp:201
#8  0x01970b7e in QThread::exec (this=0x944cd60) at thread/qthread.cpp:490
#9  0x01a5335b in QInotifyFileSystemWatcherEngine::run (this=0x944cd60) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01973df9 in QThreadPrivate::start (arg=0x944cd60) at thread/qthread_unix.cpp:266
#11 0x00611cc9 in start_thread (arg=0xb3358b70) at pthread_create.c:304
#12 0x07e456ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76e9710 (LWP 8042)):
[KCrash Handler]
#7  0x01f9d3a7 in PagePainter::scalePixmapOnImage (dest=..., src=0x93c64f0, scaledWidth=1354, scaledHeight=1907, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at ../../okular/ui/pagepainter.cpp:755
#8  0x01f9da24 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfeab29c, page=0x9432f90, pixID=3, flags=<value optimized out>, scaledWidth=1354, scaledHeight=1907, limits=..., crop=...) at ../../okular/ui/pagepainter.cpp:229
#9  0x01fb108f in PageView::drawDocumentOnPainter (this=0x930ed20, contentsRect=..., p=0xbfeab29c) at ../../okular/ui/pageview.cpp:2446
#10 0x01fb1995 in PageView::paintEvent (this=0x930ed20, pe=0xbfeab9a4) at ../../okular/ui/pageview.cpp:1212
#11 0x00d61cc6 in QWidget::event (this=0x930ed20, event=0xbfeab9a4) at kernel/qwidget.cpp:8333
#12 0x01183763 in QFrame::event (this=0x930ed20, e=0xbfeab9a4) at widgets/qframe.cpp:557
#13 0x01220a82 in QAbstractScrollArea::viewportEvent (this=0x1a7ee4, e=0x1) at widgets/qabstractscrollarea.cpp:1043
#14 0x01fb4b40 in PageView::viewportEvent (this=0x930ed20, e=0xbfeab9a4) at ../../okular/ui/pageview.cpp:2292
#15 0x012234d5 in viewportEvent (this=0x930e920, o=0x93102f0, e=0xbfeab9a4) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0x930e920, o=0x93102f0, e=0xbfeab9a4) at widgets/qabstractscrollarea_p.h:116
#17 0x01a7529a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8fdae18, receiver=0x93102f0, event=0xbfeab9a4) at kernel/qcoreapplication.cpp:847
#18 0x00d03fb9 in QApplicationPrivate::notify_helper (this=0x8fdae18, receiver=0x93102f0, e=0xbfeab9a4) at kernel/qapplication.cpp:4392
#19 0x00d0a0e9 in QApplication::notify (this=0xbfead520, receiver=0x93102f0, e=0xbfeab9a4) at kernel/qapplication.cpp:4361
#20 0x009f901a in KApplication::notify (this=0xbfead520, receiver=0x93102f0, event=0xbfeab9a4) at ../../kdeui/kernel/kapplication.cpp:310
#21 0x01a75b3b in QCoreApplication::notifyInternal (this=0xbfead520, receiver=0x93102f0, event=0xbfeab9a4) at kernel/qcoreapplication.cpp:732
#22 0x00d68ee6 in sendSpontaneousEvent (this=0x9310308, pdev=0x93b84c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x93bb920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x9310308, pdev=0x93b84c4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x93bb920) at kernel/qwidget.cpp:5420
#24 0x00f59bff in QWidgetBackingStore::sync (this=0x93bb920) at painting/qbackingstore.cpp:1320
#25 0x00d5b2b3 in QWidgetPrivate::syncBackingStore (this=0x908e5d8) at kernel/qwidget.cpp:1805
#26 0x00d62466 in QWidget::event (this=0x908f7b8, event=0xbfeac384) at kernel/qwidget.cpp:8480
#27 0x011a2917 in QMainWindow::event (this=0x908f7b8, event=0xbfeac384) at widgets/qmainwindow.cpp:1417
#28 0x00aef264 in KMainWindow::event (this=0x908f7b8, ev=0xbfeac384) at ../../kdeui/widgets/kmainwindow.cpp:1100
#29 0x00b37b4f in KXmlGuiWindow::event (this=0x908f7b8, ev=0xbfeac384) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:132
#30 0x00d03fdc in QApplicationPrivate::notify_helper (this=0x8fdae18, receiver=0x908f7b8, e=0xbfeac384) at kernel/qapplication.cpp:4396
#31 0x00d0a0e9 in QApplication::notify (this=0xbfead520, receiver=0x908f7b8, e=0xbfeac384) at kernel/qapplication.cpp:4361
#32 0x009f901a in KApplication::notify (this=0xbfead520, receiver=0x908f7b8, event=0xbfeac384) at ../../kdeui/kernel/kapplication.cpp:310
#33 0x01a75b3b in QCoreApplication::notifyInternal (this=0xbfead520, receiver=0x908f7b8, event=0xbfeac384) at kernel/qcoreapplication.cpp:732
#34 0x00f56c17 in sendEvent (widget=0x908f7b8, updateImmediately=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 sendUpdateRequest (widget=0x908f7b8, updateImmediately=<value optimized out>) at painting/qbackingstore.cpp:507
#36 0x00f5a431 in QWidgetBackingStore::markDirty (this=0x93bb920, rect=..., widget=0x93c2a28, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:695
#37 0x00d5dcb9 in QWidget::repaint (this=0x93c2a28, rect=...) at kernel/qwidget.cpp:10237
#38 0x00d5ddcc in QWidget::repaint (this=0x93c2a28) at kernel/qwidget.cpp:10193
#39 0x011336d1 in QAbstractButtonPrivate::click (this=0x93ec898) at widgets/qabstractbutton.cpp:534
#40 0x011339ae in QAbstractButton::mouseReleaseEvent (this=0x93c2a28, e=0xbfeacc10) at widgets/qabstractbutton.cpp:1121
#41 0x0121a54c in QToolButton::mouseReleaseEvent (this=0x93c2a28, e=0xbfeacc10) at widgets/qtoolbutton.cpp:721
#42 0x00d61e08 in QWidget::event (this=0x93c2a28, event=0xbfeacc10) at kernel/qwidget.cpp:8187
#43 0x01131e9e in QAbstractButton::event (this=0x93c2a28, e=0x1) at widgets/qabstractbutton.cpp:1080
#44 0x0121d0ca in QToolButton::event (this=0x93c2a28, event=0xbfeacc10) at widgets/qtoolbutton.cpp:1163
#45 0x00d03fdc in QApplicationPrivate::notify_helper (this=0x8fdae18, receiver=0x93c2a28, e=0xbfeacc10) at kernel/qapplication.cpp:4396
#46 0x00d0ac2e in QApplication::notify (this=0xbfead520, receiver=0x93c2a28, e=0xbfeacc10) at kernel/qapplication.cpp:3959
#47 0x009f901a in KApplication::notify (this=0xbfead520, receiver=0x93c2a28, event=0xbfeacc10) at ../../kdeui/kernel/kapplication.cpp:310
#48 0x01a75b3b in QCoreApplication::notifyInternal (this=0xbfead520, receiver=0x93c2a28, event=0xbfeacc10) at kernel/qcoreapplication.cpp:732
#49 0x00d09094 in sendEvent (receiver=0x93c2a28, event=0xbfeacc10, alienWidget=0x93c2a28, nativeWidget=0x908f7b8, buttonDown=0x169e3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 QApplicationPrivate::sendMouseEvent (receiver=0x93c2a28, event=0xbfeacc10, alienWidget=0x93c2a28, nativeWidget=0x908f7b8, buttonDown=0x169e3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#51 0x00d97d10 in QETWidget::translateMouseEvent (this=0x908f7b8, event=0xbfead12c) at kernel/qapplication_x11.cpp:4403
#52 0x00d97151 in QApplication::x11ProcessEvent (this=0xbfead520, event=0xbfead12c) at kernel/qapplication_x11.cpp:3414
#53 0x00dc636a in x11EventSourceDispatch (s=0x8fde040, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x08c94855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0x08c98668 in ?? () from /lib/libglib-2.0.so.0
#56 0x08c98848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0x01aa4565 in QEventDispatcherGlib::processEvents (this=0x8fc5b58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#58 0x00dc5be5 in QGuiEventDispatcherGlib::processEvents (this=0x8fc5b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x01a74609 in QEventLoop::processEvents (this=0xbfead424, flags=) at kernel/qeventloop.cpp:149
#60 0x01a74a8a in QEventLoop::exec (this=0xbfead424, flags=...) at kernel/qeventloop.cpp:201
#61 0x01a7900f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#62 0x00d02e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#63 0x0804e6d9 in main (argc=6, argv=0xbfead714) at ../../../okular/shell/main.cpp:82

Possible duplicates by query: bug 254974, bug 253343, bug 252559, bug 251564, bug 230282.

Reported using DrKonqi
Comment 1 Christoph Thielecke 2010-12-01 18:41:40 UTC
Created attachment 53946 [details]
New crash information added by DrKonqi

okular (0.11.2) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

I openend the local pdf (http://ww1.microchip.com/downloads/en/devicedoc/MPLAB_C18_Users_Guide_51288j.pdf) and it crash on clicking sometimes on the left navigation tree.

I started okular on console and get some output too:
okular MPLAB_C18_Users_Guide_51288j.pdf                                                                                                                                                          
Bus::open: Can not get ibus-daemon's address.                                                                                                                                                                                                
IBusInputContext::createInputContext: no connection to ibus-daemon                                                                                                                                                                           
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...                                                                                                                                                                             
KCrash: Application 'okular' crashing...                                                                                                                                                                                                     
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit                                                                                                                                                                       
sock_file=/home/crissi/.kde/socket-scaleo/kdeinit4__0                                                                                                                                                                                        
Error (1781): Unexpected end of file in flate stream                                                                                                                                                                                         
Error: Leftover args in content stream

-- Backtrace (Reduced):
#7  0x01d6d3a7 in PagePainter::scalePixmapOnImage (dest=..., src=0x9f5d360, scaledWidth=1432, scaledHeight=1853, cropRect=..., format=QImage::Format_ARGB32_Premultiplied) at ../../okular/ui/pagepainter.cpp:755
#8  0x01d6da24 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfd7dd3c, page=0x9eb64e8, pixID=3, flags=<value optimized out>, scaledWidth=1432, scaledHeight=1853, limits=..., crop=...) at ../../okular/ui/pagepainter.cpp:229
#9  0x01d8108f in PageView::drawDocumentOnPainter (this=0x9dca438, contentsRect=..., p=0xbfd7dd3c) at ../../okular/ui/pageview.cpp:2446
#10 0x01d81995 in PageView::paintEvent (this=0x9dca438, pe=0xbfd7e444) at ../../okular/ui/pageview.cpp:1212
#11 0x01068cc6 in QWidget::event (this=0x9dca438, event=0xbfd7e444) at kernel/qwidget.cpp:8333
Comment 2 Albert Astals Cid 2010-12-01 20:57:21 UTC
*** Bug 258487 has been marked as a duplicate of this bug. ***
Comment 3 Albert Astals Cid 2010-12-01 21:00:07 UTC
Can you please run
valgrind okular
http://ww1.microchip.com/downloads/en/devicedoc/MPLAB_C18_Users_Guide_51288j.pdf
and attach the output?
Comment 4 Albert Astals Cid 2010-12-01 21:24:08 UTC
*** Bug 257340 has been marked as a duplicate of this bug. ***
Comment 5 Pino Toscano 2010-12-05 19:07:25 UTC
*** Bug 258932 has been marked as a duplicate of this bug. ***
Comment 6 Pino Toscano 2010-12-09 18:40:43 UTC

*** This bug has been marked as a duplicate of bug 243434 ***