Bug 219814 - Scrolling fast with an opened pdf document leads to crash [__libc_message, malloc_printerr, Object::free]
Summary: Scrolling fast with an opened pdf document leads to crash [__libc_message, ma...
Status: RESOLVED DUPLICATE of bug 196207
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: 2009-12-23 12:12 UTC by Martin
Modified: 2009-12-23 15:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2009-12-23 12:12:14 UTC
Application: okular (0.9.80)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
* ViewMode is "Facing Pages"

Steps to reproduce:
(*  opened the file (~40 pages) from kmail (was attachement from email))
* start scrolling using the mouse wheel from the beginning (immediately after open the file)
* okular crashes soon


The crash can be reproduced everytime.

 -- Backtrace:
Application: Okular (okular), signal: Aborted
[Current thread is 1 (Thread 0x7f80b7d2d7f0 (LWP 10541))]

Thread 2 (Thread 0x7f80a5270910 (LWP 10699)):
[KCrash Handler]
#5  0x00007f80b4f7b4b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f80b4f7ef50 in *__GI_abort () at abort.c:92
#7  0x00007f80b4fb3c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f80b4fbddd6 in malloc_printerr (action=3, str=0x7f80b507c7da "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007f80a537abe1 in Object::free() () from /usr/lib/libpoppler.so.5
#10 0x00007f80a5380b89 in Parser::shift(int) () from /usr/lib/libpoppler.so.5
#11 0x00007f80a5380f8d in Parser::getObj(Object*, unsigned char*, CryptAlgorithm, int, int, int) () from /usr/lib/libpoppler.so.5
#12 0x00007f80a53811be in Parser::getObj(Object*, unsigned char*, CryptAlgorithm, int, int, int) () from /usr/lib/libpoppler.so.5
#13 0x00007f80a5390753 in XRef::fetch(int, int, Object*) () from /usr/lib/libpoppler.so.5
#14 0x00007f80a5349248 in Gfx8BitFont::Gfx8BitFont(XRef*, char*, Ref, GooString*, GfxFontType, Dict*) () from /usr/lib/libpoppler.so.5
#15 0x00007f80a534dcad in GfxFont::makeFont(XRef*, char*, Ref, Dict*) () from /usr/lib/libpoppler.so.5
#16 0x00007f80a534de1e in GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*) () from /usr/lib/libpoppler.so.5
#17 0x00007f80a533a427 in GfxResources::GfxResources(XRef*, Dict*, GfxResources*) () from /usr/lib/libpoppler.so.5
#18 0x00007f80a533db20 in Gfx::Gfx(XRef*, OutputDev*, int, Dict*, Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int (*)(void*), void*) () from /usr/lib/libpoppler.so.5
#19 0x00007f80a537e38e in Page::createGfx(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) ()
   from /usr/lib/libpoppler.so.5
#20 0x00007f80a537e62b in Page::displaySlice(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) ()
   from /usr/lib/libpoppler.so.5
#21 0x00007f80a569589b in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.3
#22 0x00007f80a58fc905 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so
#23 0x00007f80b62cf6c5 in QThreadPrivate::start (arg=0x244bbe0) at thread/qthread_unix.cpp:244
#24 0x00007f80b34fca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#25 0x00007f80b50277bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f80b7d2d7f0 (LWP 10541)):
#0  0x00007f80b501b373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f80b021b29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f80b021cc2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007f80b3fcdf23 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007f80b3fbb970 in XQueryPointer () from /usr/lib/libX11.so.6
#5  0x00007f80b581432d in QCursor::pos () at kernel/qcursor_x11.cpp:155
#6  0x00007f80a8f46f0d in ?? () from /usr/lib/kde4/okularpart.so
#7  0x00007f80b57da1f7 in QWidget::event (this=0x24dd090, event=0x7fffae9806e0) at kernel/qwidget.cpp:7959
#8  0x00007f80b5b7de16 in QFrame::event (this=0x24dd090, e=0x7fffae9806e0) at widgets/qframe.cpp:557
#9  0x00007f80a8f3fc4d in ?? () from /usr/lib/kde4/okularpart.so
#10 0x00007f80b63c2467 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x245a5b0, event=0x7fffae9806e0) at kernel/qcoreapplication.cpp:819
#11 0x00007f80b5784e5c in QApplicationPrivate::notify_helper (this=0x2276cb0, receiver=0x245a5b0, e=0x7fffae9806e0) at kernel/qapplication.cpp:4238
#12 0x00007f80b578bcf1 in QApplication::notify (this=0x7fffae9813e0, receiver=0x245a5b0, e=0x7fffae9806e0) at kernel/qapplication.cpp:3822
#13 0x00007f80b7027856 in KApplication::notify (this=0x7fffae9813e0, receiver=0x245a5b0, event=0x7fffae9806e0) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f80b63c304c in QCoreApplication::notifyInternal (this=0x7fffae9813e0, receiver=0x245a5b0, event=0x7fffae9806e0) at kernel/qcoreapplication.cpp:704
#15 0x00007f80b578ae66 in QCoreApplication::sendEvent (receiver=0x245a5b0, event=0x7fffae9806e0, alienWidget=0x245a5b0, nativeWidget=0x23fac20, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QApplicationPrivate::sendMouseEvent (receiver=0x245a5b0, event=0x7fffae9806e0, alienWidget=0x245a5b0, nativeWidget=0x23fac20, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2956
#17 0x00007f80b5809055 in QETWidget::translateMouseEvent (this=0x23fac20, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#18 0x00007f80b5807d6a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffae981000) at kernel/qapplication_x11.cpp:3501
#19 0x00007f80b5833712 in x11EventSourceDispatch (s=0x227ab70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007f80b1742bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f80b1746598 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f80b17466c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f80b63ec623 in QEventDispatcherGlib::processEvents (this=0x225e890, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#24 0x00007f80b58332fe in QGuiEventDispatcherGlib::processEvents (this=0x7fffae97f990, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007f80b63c1972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f80b63c1d4c in QEventLoop::exec (this=0x7fffae981330, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f80b63c5a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#28 0x00000000004088dc in _start ()

Possible duplicates by query: bug 219629.

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-23 12:55:17 UTC
This is likely to be bug 196207
Check this
- Close Okular
- Open Konsole
- Enter "export QT_NO_GLIB=1" + Return
- Enter "export MALLOC_CHECK_=" + Return
- Enter "okular" + Return
Okular starts
- Try to reproduce the crash.

If you cannot repeat the crash, then it is the same bug (already fixed upstream)
Thanks
Comment 2 Martin 2009-12-23 15:24:33 UTC
Yes, using the export statements I couldn't reproduce the crashes.

Thanks a lot.

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