Bug 287783 - okular crash on exit
Summary: okular crash on exit
Status: RESOLVED DUPLICATE of bug 287138
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: 2011-11-28 20:00 UTC by Francesco Riosa
Modified: 2011-11-28 23:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.08 KB, text/plain)
2011-11-28 20:02 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2011-11-28 20:00:23 UTC
Application: okular (0.13.80)
KDE Platform Version: 4.7.3 (4.7.3) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.1.1-fc15-aufs-x86_64 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
using okular to visualize a pdf, when closing the program the crash report assistant appear

updated @
commit 56e1002af622ec75b5a2c18ff7ea99a7d03f09b4
Date:   Fri Nov 25 16:36:24 2011 +0100

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x00007fd3fb4e4ac5 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fd3fb4e5f3b in __GI_abort () at abort.c:93
#8  0x00007fd3fb51e1ae in __libc_message (do_abort=2, fmt=0x7fd3fb5f8358 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x00007fd3fb5241b6 in malloc_printerr (action=3, str=0x7fd3fb5f5411 "free(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007fd3ee47abe7 in qDeleteAll<QList<TinyTextEntity*>::const_iterator> (begin=..., end=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#11 0x00007fd3ee47acfd in qDeleteAll<QList<TinyTextEntity*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#12 0x00007fd3ee474f45 in Okular::TextPagePrivate::~TextPagePrivate (this=0x10c3e50, __in_chrg=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/core/textpage.cpp:182
#13 0x00007fd3ee474f81 in Okular::TextPage::~TextPage (this=0x11295c0, __in_chrg=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/core/textpage.cpp:206
#14 0x00007fd3ee468554 in Okular::PagePrivate::~PagePrivate (this=0x11b7280, __in_chrg=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/core/page.cpp:80
#15 0x00007fd3ee46a5b3 in Okular::Page::~Page (this=0x11b6fd0, __in_chrg=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/core/page.cpp:140
#16 0x00007fd3ee458326 in Okular::Document::closeDocument (this=0xeb3ac0) at /usr/src/debug/kde-base/okular-9999/okular-9999/core/document.cpp:1832
#17 0x00007fd3ee724424 in Okular::Part::closeUrl (this=0xdbee90) at /usr/src/debug/kde-base/okular-9999/okular-9999/part.cpp:1338
#18 0x00007fd3ee7248f0 in Okular::Part::~Part (this=0xdbee90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/part.cpp:775
#19 0x00007fd3ee724959 in Okular::Part::~Part (this=0xdbee90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/part.cpp:800
#20 0x0000000000409fcc in Shell::~Shell (this=0xd320a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/shell/shell.cpp:123
#21 0x000000000040a069 in Shell::~Shell (this=0xd320a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/shell/shell.cpp:126
#22 0x00007fd3fc8fb168 in QObject::event (this=0xd320a0, e=<optimized out>) at kernel/qobject.cpp:1200
#23 0x00007fd3fd5ac65b in QWidget::event (this=0xd320a0, event=0x1101170) at kernel/qwidget.cpp:8754
#24 0x00007fd3fd9b48bb in QMainWindow::event (this=0xd320a0, event=0x1101170) at widgets/qmainwindow.cpp:1478
#25 0x00007fd3fe41f9e1 in KXmlGuiWindow::event (this=0xd320a0, ev=0x1101170) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguiwindow.cpp:126
#26 0x00007fd3fd5536a2 in notify_helper (e=0x1101170, receiver=0xd320a0, this=0xbb6c40) at kernel/qapplication.cpp:4481
#27 QApplicationPrivate::notify_helper (this=0xbb6c40, receiver=0xd320a0, e=0x1101170) at kernel/qapplication.cpp:4453
#28 0x00007fd3fd559229 in QApplication::notify (this=0x7fffff833500, receiver=0xd320a0, e=0x1101170) at kernel/qapplication.cpp:4360
#29 0x00007fd3fe328b5d in KApplication::notify (this=0x7fffff833500, receiver=0xd320a0, event=0x1101170) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#30 0x00007fd3fc8e19bc in QCoreApplication::notifyInternal (this=0x7fffff833500, receiver=0xd320a0, event=0x1101170) at kernel/qcoreapplication.cpp:787
#31 0x00007fd3fc8e562e in sendEvent (event=0x1101170, receiver=0xd320a0) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb9f4a0) at kernel/qcoreapplication.cpp:1428
#33 0x00007fd3fc90fc53 in sendPostedEvents () at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007fd3f89f088d in g_main_dispatch (context=0xbb71e0) at gmain.c:2441
#36 g_main_context_dispatch (context=0xbb71e0) at gmain.c:3011
#37 0x00007fd3f89f1088 in g_main_context_iterate (context=0xbb71e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#38 0x00007fd3f89f1259 in g_main_context_iteration (context=0xbb71e0, may_block=1) at gmain.c:3152
#39 0x00007fd3fc9100ff in QEventDispatcherGlib::processEvents (this=0xbb67d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007fd3fd6039de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fd3fc8e02a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fd3fc8e049f in QEventLoop::exec (this=0x7fffff8334c0, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007fd3fc8e58e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#44 0x00000000004085b6 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-base/okular-9999/okular-9999/shell/main.cpp:85

Possible duplicates by query: bug 286234, bug 283789, bug 275298.

Reported using DrKonqi
Comment 1 Francesco Riosa 2011-11-28 20:02:47 UTC
Created attachment 66160 [details]
New crash information added by DrKonqi

okular (0.13.80) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

what I was doing when the application crashed:
replicate the bug to be sure

-- Backtrace (Reduced):
#6  0x00007f074c631ac5 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f074c632f3b in __GI_abort () at abort.c:93
[...]
#9  0x00007f074c6711b6 in malloc_printerr (action=3, str=0x7f074c742411 "free(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f073f5c7be7 in qDeleteAll<QList<TinyTextEntity*>::const_iterator> (begin=..., end=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#11 0x00007f073f5c7cfd in qDeleteAll<QList<TinyTextEntity*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
Comment 2 Francesco Riosa 2011-11-28 20:14:12 UTC
cannot attach the pdf, it's too big, but it should be available on internet

# file  ~/tmp/dell_monitor_u2410.pdf
/home/vivo/tmp/dell_monitor_u2410.pdf: PDF document, version 1.4

# file --mime  ~/tmp/dell_monitor_u2410.pdf
/home/vivo/tmp/dell_monitor_u2410.pdf: application/pdf; charset=binary

md5sum ~/tmp/dell_monitor_u2410.pdf
320a4f10816d5cb4bc72f8f945ba6d49  /home/vivo/tmp/dell_monitor_u2410.pdf

it MAY be important because not all pdf make okular crash, but more than one from Dell had this behaviour
Comment 3 Albert Astals Cid 2011-11-28 23:53:12 UTC

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