Bug 330376

Summary: Okular crashing when inserting notes in Debian Testing
Product: [Applications] okular Reporter: dartmouth.kids
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aacid
Priority: NOR Keywords: drkonqi
Version: 0.17.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-22622-0.html
attachment-22622-1.dat
memcheck-amd64-linux-20140128-182908.kcrash.txt
valgrind-Output-OkularBugNotes
attachment-7549-0.html

Description dartmouth.kids 2014-01-24 22:49:01 UTC
Application: okular (0.17.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.6
Operating System: Linux 3.12-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (jessie)

-- Information about the crash:
- What I was doing when the application crashed:

I was reading a pdf document and tried to insert a 'note' (inline notes and higlights work just fine), then it crashed. Always happens.

- Custom settings of the application:
Nothing special. I modified the xml archive that controls which tools appear on the 'Editing' menu (F6), but it generated no problems in Debian Stable (now I'm running Debian Testing).

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  0x00007ff74918cd0f in PagePainter::scalePixmapOnImage (dest=..., src=src@entry=0x7fff8b05d530, scaledWidth=scaledWidth@entry=24, scaledHeight=scaledHeight@entry=24, cropRect=..., format=format@entry=QImage::Format_ARGB32) at ../ui/pagepainter.cpp:907
#6  0x00007ff74918e57d in PagePainter::paintCroppedPageOnPainter (destPainter=destPainter@entry=0x7fff8b05d7c0, page=0x1043d40, observer=observer@entry=0xe7d0e8, flags=flags@entry=63, scaledWidth=scaledWidth@entry=1343, scaledHeight=scaledHeight@entry=1899, limits=..., crop=..., viewPortPoint=viewPortPoint@entry=0x0) at ../ui/pagepainter.cpp:728
#7  0x00007ff74919fc05 in PageView::drawDocumentOnPainter (this=this@entry=0xe7d0c0, contentsRect=..., p=p@entry=0x7fff8b05d7c0) at ../ui/pageview.cpp:3245
#8  0x00007ff7491b0ba6 in PageView::paintEvent (this=0xe7d0c0, pe=<optimized out>) at ../ui/pageview.cpp:1528
#9  0x00007ff758ff7ab0 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ff759395c5e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007ff7491b4766 in PageView::viewportEvent (this=0xe7d0c0, e=0x7fff8b05ddd0) at ../ui/pageview.cpp:3082
#12 0x00007ff7585a3536 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007ff758fa86ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ff758faed40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007ff759cca49a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007ff7585a33cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ff758ff21d1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007ff758ff2c00 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ff758ff2a6f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ff758ff2a6f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ff758ff2a6f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ff758ff1d8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007ff758ff2c00 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ff758ff1d8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ff758ff2c00 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007ff758ff1d8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007ff758ff2c00 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007ff758ff1d8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ff758ff2c00 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007ff758ff1d8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007ff7591b123e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007ff758fe7680 in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007ff758ff762a in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007ff7593ae653 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007ff759db6349 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x00007ff758fa86cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007ff758faed40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007ff759cca49a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0x00007ff7585a33cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007ff7585a6a2d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007ff7585d0d53 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x00007ff7547ceea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ff7547cf1f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ff7547cf29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ff7585d0615 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007ff759046776 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007ff7585a1f9f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007ff7585a2295 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007ff7585a7a69 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00000000004082d6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:100

Possible duplicates by query: bug 279758, bug 279314, bug 277842, bug 277335, bug 276197.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2014-01-24 23:10:11 UTC
Can you please run valgrind okular yourfile.pdf and try to make it crash and then attach the output?
Comment 2 dartmouth.kids 2014-01-28 17:34:06 UTC
Created attachment 84866 [details]
attachment-22622-0.html

Sure!

Sorry about the delay.

i.


2014-01-25 Albert Astals Cid <aacid@kde.org>

> https://bugs.kde.org/show_bug.cgi?id=330376
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |aacid@kde.org
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Albert Astals Cid <aacid@kde.org> ---
> Can you please run valgrind okular yourfile.pdf and try to make it crash
> and
> then attach the output?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 dartmouth.kids 2014-01-28 17:34:09 UTC
Created attachment 84867 [details]
attachment-22622-1.dat
Comment 4 dartmouth.kids 2014-01-28 17:34:09 UTC
Created attachment 84868 [details]
memcheck-amd64-linux-20140128-182908.kcrash.txt
Comment 5 dartmouth.kids 2014-01-28 17:34:09 UTC
Created attachment 84869 [details]
valgrind-Output-OkularBugNotes
Comment 6 Albert Astals Cid 2014-01-28 22:13:09 UTC
Can you install the debug packages for okular of your distribution and do the same again?
Comment 7 Christoph Feck 2014-02-26 00:51:45 UTC
If you can provide the information requested in comment #6, please add it.
Comment 8 Christoph Feck 2014-03-12 21:58:08 UTC
To further investigate this issue, KDE developers need the information requested in comment #6. If you can provide it, or need help with finding that information, please add a comment.
Comment 9 Albert Astals Cid 2014-07-22 22:30:30 UTC
No answer to our questions in a long time so can't fix stuff. If you can provide the information please do and reopen the bug.
Comment 10 dartmouth.kids 2014-08-02 13:57:09 UTC
Created attachment 88086 [details]
attachment-7549-0.html

It seems to be resolved. I apologize for not answering before; I couldn't
access this account for a long time.

Thank you for your assistance.


2014-07-23 0:30 GMT+02:00 Albert Astals Cid <aacid@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=330376
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|WAITINGFORINFO              |WONTFIX
>              Status|NEEDSINFO                   |RESOLVED
>
> --- Comment #9 from Albert Astals Cid <aacid@kde.org> ---
> No answer to our questions in a long time so can't fix stuff. If you can
> provide the information please do and reopen the bug.
>
> --
> You are receiving this mail because:
> You reported the bug.
>