[Okular-devel] [Bug 267438] New: Okular crashes on exit after saving attachment

Tsvi Mostovicz ttmost at gmail.com
Wed Mar 2 08:33:42 CET 2011


https://bugs.kde.org/show_bug.cgi?id=267438

           Summary: Okular crashes on exit after saving attachment
           Product: okular
           Version: 0.12
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: ttmost at gmail.com


Application: okular (0.12)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I get my bank statements as password protected PDF files ahich have attached to
them a HTML page with the statement (the PDF is worthless, it's just some
generic message stating that attached to this file is a statement, blah blah)

To extract the actual HTML I do the following:
- Enter my password
- Click Reviews in left hand pane
- I then open a tree right next to it showing Page 1, a clock and then the file
- To view the file I need to do "Save as"
- The file is saved, I open it and check the contents.
- The crash occurs when I close Okular (clicking on the X)

BTW I hope to remember putting on wishlist the possibility to view these
attachments as with Adobe's product, showing directly under the text of the
page, allowing for double-click to open it. At the moment it took me some time
to figure out Okular could handle these files as well.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f199ae04700 (LWP 6829)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f19adece1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f19adeccc78 in __libc_free (mem=0x7f19ae1cde40) at malloc.c:3736
#3  0x00007f19aae5ac3b in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f19ae8e8d33 in QEventDispatcherGlib::~QEventDispatcherGlib
(this=0x1c1d0d0, __in_chrg=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:369
#5  0x00007f19ae7c7ac4 in QThreadPrivate::finish (arg=<value optimized out>) at
thread/qthread_unix.cpp:302
#6  0x00007f19ae7c8286 in ~__pthread_cleanup_class (arg=0x7f19aebedf40) at
/usr/include/pthread.h:545
#7  QThreadPrivate::start (arg=0x7f19aebedf40) at thread/qthread_unix.cpp:271
#8  0x00007f19ab31d971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#9  0x00007f19adf3592d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1997e7d700 (LWP 6832)):
#0  0x00007f19adf29203 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f19aae5f009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f19aae5f45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007f19ae8e81e6 in QEventDispatcherGlib::processEvents (this=0x1b65140,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f19ae8baa02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f19ae8badec in QEventLoop::exec (this=0x7f1997e7cdb0, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007f19ae7c52fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#7  0x00007f19ae89a5f8 in QInotifyFileSystemWatcherEngine::run (this=0x1d07e10)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f19ae7c827e in QThreadPrivate::start (arg=0x1d07e10) at
thread/qthread_unix.cpp:266
#9  0x00007f19ab31d971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#10 0x00007f19adf3592d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f199767c700 (LWP 6837)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f19adece1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f19adeccc78 in __libc_free (mem=0x7f19ae1cde40) at malloc.c:3736
#3  0x00007f19ae8e8601 in socketNotifierSourceCheck (source=<value optimized
out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f19aae5e66a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f19aae5f023 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f19aae5f45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#7  0x00007f19ae8e8193 in QEventDispatcherGlib::processEvents (this=0x1e336f0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f19ae8baa02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f19ae8badec in QEventLoop::exec (this=0x7f199767bdb0, flags=) at
kernel/qeventloop.cpp:201
#10 0x00007f19ae7c52fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#11 0x00007f19ae89a5f8 in QInotifyFileSystemWatcherEngine::run (this=0x1e26710)
at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f19ae7c827e in QThreadPrivate::start (arg=0x1e26710) at
thread/qthread_unix.cpp:266
#13 0x00007f19ab31d971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#14 0x00007f19adf3592d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f19b0d6a760 (LWP 6828)):
[KCrash Handler]
#6  0x00007f19ade82ba5 in raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f19ade866b0 in abort () at abort.c:92
#8  0x00007f19adebc43b in __libc_message (do_abort=<value optimized out>,
fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f19adec64b6 in malloc_printerr (action=3, str=0x7f19adf96eab
"malloc(): memory corruption", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f19adeca55f in _int_malloc (av=0x7f19ae1cde40, bytes=128) at
malloc.c:4396
#11 0x00007f19adecb38e in __libc_malloc (bytes=128) at malloc.c:3660
#12 0x00007f19ae7e6e9b in QListData::detach (this=0x7fff3c012c00, alloc=0) at
tools/qlist.cpp:185
#13 0x00007f19aff28c2a in detach_helper (this=0x1aac) at
/usr/include/qt4/QtCore/qlist.h:693
#14 QList<QAction*>::detach_helper (this=0x1aac) at
/usr/include/qt4/QtCore/qlist.h:709
#15 0x00007f19b0135185 in detach (this=0x1c064e0) at
/usr/include/qt4/QtCore/qlist.h:126
#16 operator[] (this=0x1c064e0) at /usr/include/qt4/QtCore/qlist.h:464
#17 KToolBar::Private::adjustSeparatorVisibility (this=0x1c064e0) at
../../kdeui/widgets/ktoolbar.cpp:399
#18 0x00007f19b0139751 in KToolBar::actionEvent (this=0x1c0f7e0,
event=0x7fff3c013540) at ../../kdeui/widgets/ktoolbar.cpp:1306
#19 0x00007f19af2f3965 in QWidget::event (this=0x1c0f7e0, event=0x7fff3c013540)
at kernel/qwidget.cpp:8562
#20 0x00007f19af73fbfb in QToolBar::event (this=0x1c0f7e0,
event=0x7fff3c013540) at widgets/qtoolbar.cpp:1248
#21 0x00007f19af29dfdc in QApplicationPrivate::notify_helper (this=0x1623720,
receiver=0x1c0f7e0, e=0x7fff3c013540) at kernel/qapplication.cpp:4396
#22 0x00007f19af2a3aed in QApplication::notify (this=0x7fff3c014550,
receiver=0x1c0f7e0, e=0x7fff3c013540) at kernel/qapplication.cpp:4277
#23 0x00007f19b002da36 in KApplication::notify (this=0x7fff3c014550,
receiver=0x1c0f7e0, event=0x7fff3c013540) at
../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f19ae8bbcdc in QCoreApplication::notifyInternal
(this=0x7fff3c014550, receiver=0x1c0f7e0, event=0x7fff3c013540) at
kernel/qcoreapplication.cpp:732
#25 0x00007f19af2e9bf1 in sendEvent (this=0x1c0f7e0, action=0x1bba030) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QWidget::removeAction (this=0x1c0f7e0, action=0x1bba030) at
kernel/qwidget.cpp:3169
#27 0x00007f19af296bdf in QAction::~QAction (this=0x1bba030, __in_chrg=<value
optimized out>) at kernel/qaction.cpp:656
#28 0x00007f19af300b29 in QWidgetAction::~QWidgetAction (this=0x1bba030,
__in_chrg=<value optimized out>) at kernel/qwidgetaction.cpp:129
#29 0x00007f19aff3713f in KSelectAction::~KSelectAction (this=0x1bba030,
__in_chrg=<value optimized out>) at ../../kdeui/actions/kselectaction.cpp:93
#30 0x00007f19ae8cdd5f in QObjectPrivate::deleteChildren (this=0x1ae4bc0) at
kernel/qobject.cpp:1957
#31 0x00007f19af2f9168 in QWidget::~QWidget (this=0x1ae9d30, __in_chrg=<value
optimized out>) at kernel/qwidget.cpp:1589
#32 0x00007f19a04a860a in ?? () from /usr/lib/kde4/okularpart.so
#33 0x00007f19a045794d in ?? () from /usr/lib/kde4/okularpart.so
#34 0x0000000000409aad in _start ()

Possible duplicates by query: bug 265308, bug 253841, bug 248935, bug 236519,
bug 232041.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list