Bug 193175 - crash on resize of contents sub-window
Summary: crash on resize of contents sub-window
Status: RESOLVED DUPLICATE of bug 196207
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 01:08 UTC by Jason Vas Dias
Modified: 2009-12-26 21:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
kcrash file (11.37 KB, text/plain)
2009-05-19 01:11 UTC, Jason Vas Dias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Vas Dias 2009-05-19 01:08:50 UTC
Version:            (using Devel)
Compiler:          gcc-4.4.1 glibc-2.10 / linux 2.6.30 
OS:                Linux
Installed from:    Compiled sources

Having downloaded one of these online PDFs, and viewing it with Okular
from a "kpdf -> Okular" link (which, incidentally, it would have been
nice if the installation created automatically - I created the link myself) -
Okular crashes when resizing the internal "Contents" or "Thumbnail" windows -
terminal output and kpdf.kcrash files attached.

PDF viewed :
http://dlc.sun.com/pdf/817-1985/817-1985.pdf

Terminal output after crash:
$ mv 817-1985.pdf Sol_Admin.pdf
$ /usr/kde/4.2/bin/kpdf Sol_Admin.pdf &
...
okular(21241) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1124x1349@1 async == true
KCrash: Application 'kpdf' crashing...
sock_file=/home/jason/.kde/socket-jvdspc/kdeinit4__0
Error (25018): Illegal character ')'
Error (25046): Illegal character ')'
Error (25059): Illegal character '{'
Error: Unterminated string
Error: End of file inside array
Error: Bad color space 'Cs8'
Error (563795): Bad color space (stroke)
Error (563805): Incorrect number of arguments in 'SCN' command
Error (564033): Unexpected end of file in flate stream
Error: Unterminated string
Error: End of file inside array
Error: Leftover args in content stream

[3]+  Exit 253                kpdf ~/Sol_Admin.pdf
Comment 1 Jason Vas Dias 2009-05-19 01:11:13 UTC
Created attachment 33821 [details]
kcrash file
Comment 2 Albert Astals Cid 2009-05-19 23:29:32 UTC
Can't reproduce the crash, can you please run it in valgrind and attach the log. Also see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and attach the result of thread apply all backtrace

Which poppler version are you using?
Comment 3 Pino Toscano 2009-12-26 21:59:19 UTC
Pasting the backtrace of comment #1, and marking it as proper duplicate...

Application: Okular (kpdf), signal SIGABRT
0x00007f7f4f9fa5a1 in nanosleep () from /lib64/libc.so.6
[KCrash Handler]
#5  0x00007f7f4f98e3b6 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007f7f4f98f62e in *__GI_abort () at abort.c:88
#7  0x00007f7f4f9ce5cd in malloc_printerr (action=2, 
    str=0x7f7f4fa75640 "free(): invalid pointer", ptr=0x52f9) at malloc.c:6201
#8  0x00007f7f4f9d017f in free_check (mem=0xb06260, 
    caller=<value optimized out>) at hooks.c:281
#9  0x00007f7f4f9d2d8d in *__GI___libc_free (mem=0x52f9) at malloc.c:3677
#10 0x00007f7f50849e41 in ~LayoutData (this=0xb2dce0, 
    __in_chrg=<value optimized out>)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/text/qtextengine.cpp:2042
#11 0x00007f7f50849ea1 in QTextEngine::freeMemory (this=0x8f2f70)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/text/qtextengine.cpp:2104
#12 0x00007f7f5085b0bb in QTextLayout::draw (this=<value optimized out>, 
    p=<value optimized out>, pos=..., selections=..., clip=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/text/qtextlayout.cpp:1245
#13 0x00007f7f50b6a9e2 in QItemDelegate::drawDisplay (
    this=<value optimized out>, painter=<value optimized out>, option=..., 
    rect=..., text=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/itemviews/qitemdelegate.cpp:739
#14 0x00007f7f4909a3bc in PageItemDelegate::drawDisplay (this=0x858160, 
    painter=<value optimized out>, option=..., rect=..., text=...)
    at /home/KDE/KDE/kdegraphics/okular/ui/pageitemdelegate.cpp:76
#15 0x00007f7f50b69f22 in QItemDelegate::paint (this=0x858160, 
    painter=0x7fff5b53a8a0, option=..., index=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/itemviews/qitemdelegate.cpp:478
#16 0x00007f7f50b55900 in QTreeView::drawRow (this=<value optimized out>, 
    painter=<value optimized out>, option=..., index=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/itemviews/qtreeview.cpp:1638
#17 0x00007f7f50b5d004 in QTreeView::drawTree (this=0x7c6090, 
    painter=<value optimized out>, region=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/itemviews/qtreeview.cpp:1401
#18 0x00007f7f50b5dac3 in QTreeView::paintEvent (this=0x7c6090, 
    event=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/itemviews/qtreeview.cpp:1279
#19 0x00007f7f5066870f in QWidget::event (this=0x7c6090, event=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:7659
#20 0x00007f7f509f3406 in QFrame::event (this=0x7c6090, e=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/widgets/qframe.cpp:559
#21 0x00007f7f50b2576d in QAbstractItemView::viewportEvent (this=0x7c6090, 
    event=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1471
#22 0x00007f7f50b5c160 in QTreeView::viewportEvent (this=0x7c6090, 
    event=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/itemviews/qtreeview.cpp:1264
#23 0x00007f7f513d25e7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x787990, event=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:726
#24 0x00007f7f50618fcc in QApplicationPrivate::notify_helper (this=0x649ff0, 
    receiver=0x787990, e=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qapplication.cpp:4053
#25 0x00007f7f506202ae in QApplication::notify (this=0x7fff5b53d9d0, 
    receiver=0x787990, e=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qapplication.cpp:4022
#26 0x00007f7f52299d06 in KApplication::notify (this=0x7fff5b53d9d0, 
    receiver=0x787990, event=0x7fff5b53b3d0)
    at /home/KDE/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#27 0x00007f7f513d32ec in QCoreApplication::notifyInternal (
    this=0x7fff5b53d9d0, receiver=0x787990, event=0x7fff5b53b3d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:610
#28 0x00007f7f506700fa in QWidgetPrivate::drawWidget (this=0x8585e0, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#29 0x00007f7f50670860 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5162
#30 0x00007f7f5066fd59 in QWidgetPrivate::drawWidget (this=0x927000, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5101
#31 0x00007f7f50670860 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5162
#32 0x00007f7f5066fd59 in QWidgetPrivate::drawWidget (this=0x787520, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5101
#33 0x00007f7f50670860 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5162
#34 0x00007f7f5066fd59 in QWidgetPrivate::drawWidget (this=0x785890, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5101
#35 0x00007f7f50670860 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5162
#36 0x00007f7f5066fd59 in QWidgetPrivate::drawWidget (this=0x784a70, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5101
#37 0x00007f7f50670860 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5162
#38 0x00007f7f50670774 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5153
#39 0x00007f7f5066fd59 in QWidgetPrivate::drawWidget (this=0x784770, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5101
#40 0x00007f7f50670860 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5162
#41 0x00007f7f5066fd59 in QWidgetPrivate::drawWidget (this=0x756540, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5101
#42 0x00007f7f50670860 in QWidgetPrivate::paintSiblingsRecursive (
    this=<value optimized out>, pdev=<value optimized out>, siblings=..., 
    index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5162
#43 0x00007f7f5066fd59 in QWidgetPrivate::drawWidget (this=0x73cbb0, 
    pdev=0x751538, rgn=..., offset=..., flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:5101
#44 0x00007f7f5080d0ce in QWidgetBackingStore::sync (this=0x7514d0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/painting/qbackingstore.cpp:1268
#45 0x00007f7f506617e0 in QWidgetPrivate::syncBackingStore (this=0x73cbb0)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:1602
#46 0x00007f7f50668515 in QWidget::event (this=0x7536c0, event=0xba5610)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qwidget.cpp:7799
#47 0x00007f7f50a0e05b in QMainWindow::event (this=0x7536c0, event=0xba5610)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/widgets/qmainwindow.cpp:1402
#48 0x00007f7f523a7138 in KXmlGuiWindow::event (this=0x52f9, ev=0x52f9)
    at /home/KDE/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0x00007f7f50618ffc in QApplicationPrivate::notify_helper (this=0x649ff0, 
    receiver=0x7536c0, e=0xba5610)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qapplication.cpp:4057
#50 0x00007f7f506202ae in QApplication::notify (this=0x7fff5b53d9d0, 
    receiver=0x7536c0, e=0xba5610)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qapplication.cpp:4022
#51 0x00007f7f52299d06 in KApplication::notify (this=0x7fff5b53d9d0, 
    receiver=0x7536c0, event=0xba5610)
    at /home/KDE/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#52 0x00007f7f513d32ec in QCoreApplication::notifyInternal (
    this=0x7fff5b53d9d0, receiver=0x7536c0, event=0xba5610)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:610
#53 0x00007f7f513d3dda in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=<value optimized out>, data=0x610100)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qcoreapplication.h:213
#54 0x00007f7f513fca23 in postEventSourceDispatch (s=<value optimized out>)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qcoreapplication.h:218
#55 0x00007f7f4d39c44e in IA__g_main_context_dispatch (context=0x64be00)
    at ../../glib/gmain.c:1814
#56 0x00007f7f4d39fb98 in g_main_context_iterate (context=0x64be00, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at ../../glib/gmain.c:2448
#57 0x00007f7f4d39fd0c in IA__g_main_context_iteration (context=0x64be00, 
    may_block=1) at ../../glib/gmain.c:2511
#58 0x00007f7f513fc696 in QEventDispatcherGlib::processEvents (this=0x616060, 
    flags=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#59 0x00007f7f506ad54e in QGuiEventDispatcherGlib::processEvents (
    this=0x52f9, flags=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#60 0x00007f7f513d1bc2 in QEventLoop::processEvents (
    this=<value optimized out>, flags=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#61 0x00007f7f513d1f94 in QEventLoop::exec (this=0x7fff5b53d920, flags=...)
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qeventloop.cpp:200
#62 0x00007f7f513d4089 in QCoreApplication::exec ()
    at /usr/x/kde/4.1/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#63 0x0000000000407fc4 in main (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /home/KDE/KDE/kdegraphics/okular/shell/main.cpp:81
Current language:  auto; currently c

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