[Okular-devel] [Bug 231123] New: okular crashes after closing print preview and then pressing F6

Stefan Endrullis stefan at endrullis.de
Wed Mar 17 17:16:51 CET 2010


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

           Summary: okular crashes after closing print preview and then
                    pressing F6
           Product: okular
           Version: 0.10.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: stefan at endrullis.de


Application: okular (0.10.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-16-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
It's a reproducable crash of okular.  All you have to do is:
- open print preview
- close print preview
- press F6
-> crash

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f827f744800 (LWP 17779))]

Thread 2 (Thread 0x7f826c7ea710 (LWP 17805)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f827dce372b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x2a09dc0, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2a09dc0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f827dcdf680 in QSemaphore::acquire (this=0x2f8bcb0, n=1) at
thread/qsemaphore.cpp:142
#4  0x00007f8268ceee2f in GSRendererThread::run (this=0x2f8bca0) at
../../../../okular/generators/spectre/rendererthread.cpp:50
#5  0x00007f827dce2775 in QThreadPrivate::start (arg=0x2f8bca0) at
thread/qthread_unix.cpp:248
#6  0x00007f827aee29ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#7  0x00007f827ca2338d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f827f744800 (LWP 17779)):
[KCrash Handler]
#5  0x00007f827e9f9017 in QString (this=0x188, group=0, state=0) at
/usr/include/qt4/QtCore/qstring.h:714
#6  KIconEffect::fingerprint (this=0x188, group=0, state=0) at
../../kdeui/icons/kiconeffect.cpp:158
#7  0x00007f827ea04d88 in KIconLoader::loadIcon (this=0x2f86fd0, _name=...,
group=<value optimized out>, size=32, state=<value optimized out>,
overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1085
#8  0x00007f827e9fd5ad in KIconEngine::pixmap (this=<value optimized out>,
size=..., mode=<value optimized out>, state=<value optimized out>) at
../../kdeui/icons/kiconengine.cpp:119
#9  0x00007f827d2424c5 in QIcon::pixmap (this=<value optimized out>, size=...,
mode=QIcon::Normal, state=7274607) at image/qicon.cpp:669
#10 0x00007f827d4a232f in QCommonStyle::drawControl (this=0x26917e0,
element=<value optimized out>, opt=0x7fff62c21040, p=0x7fff62c21620,
widget=0x262e1a0) at styles/qcommonstyle.cpp:1597
#11 0x00007f827ea4e4e2 in KStyle::drawControl (this=0x26917e0,
element=QStyle::CE_ToolButtonLabel, option=0x7fff62c21040, p=<value optimized
out>, widget=0x262e1a0)
    at ../../kdeui/kernel/kstyle.cpp:2508
#12 0x00007f8273be811d in OxygenStyle::drawControl (this=0x26917e0,
element=<value optimized out>, option=0x7fff62c21040, p=0x7fff62c21620,
widget=0x262e1a0) at ../../../kstyles/oxygen/oxygen.cpp:607
#13 0x00007f827ea4bddc in KStyle::drawComplexControl (this=0x26917e0, cc=<value
optimized out>, opt=0x7fff62c215a0, p=<value optimized out>, w=0x262e1a0) at
../../kdeui/kernel/kstyle.cpp:3473
#14 0x00007f8273bdf3fa in OxygenStyle::drawComplexControl (this=0x26917e0,
control=QStyle::CC_ToolButton, option=0x7fff62c215a0, painter=0x7fff62c21620,
widget=0x2d006c006f006f)
    at ../../../kstyles/oxygen/oxygen.cpp:299
#15 0x00007f827d614fb8 in QStylePainter::drawComplexControl (this=0x262e1a0) at
../../include/QtGui/../../src/gui/painting/qstylepainter.h:94
#16 QToolButton::paintEvent (this=0x262e1a0) at widgets/qtoolbutton.cpp:556
#17 0x00007f827d1e6172 in QWidget::event (this=0x262e1a0, event=0x7fff62c21e30)
at kernel/qwidget.cpp:8144
#18 0x00007f827d19022c in QApplicationPrivate::notify_helper (this=0x25ec610,
receiver=0x262e1a0, e=0x7fff62c21e30) at kernel/qapplication.cpp:4300
#19 0x00007f827d1966fb in QApplication::notify (this=0x7fff62c257d0,
receiver=0x262e1a0, e=0x7fff62c21e30) at kernel/qapplication.cpp:4183
#20 0x00007f827ea3d506 in KApplication::notify (this=0x7fff62c257d0,
receiver=0x262e1a0, event=0x7fff62c21e30) at
../../kdeui/kernel/kapplication.cpp:302
#21 0x00007f827ddd6ffc in QCoreApplication::notifyInternal
(this=0x7fff62c257d0, receiver=0x262e1a0, event=0x7fff62c21e30) at
kernel/qcoreapplication.cpp:704
#22 0x00007f827d1ee7ed in QCoreApplication::sendSpontaneousEvent
(this=0x29012f0, pdev=<value optimized out>, rgn=..., offset=<value optimized
out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x2952c20) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x29012f0, pdev=<value optimized out>,
rgn=..., offset=<value optimized out>, flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x2952c20)
    at kernel/qwidget.cpp:5339
#24 0x00007f827d1ef488 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=1, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5452
#25 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#26 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=3, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#27 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=4, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#28 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=5, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#29 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#30 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=7, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#31 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=8, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#32 0x00007f827d1ef2b9 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=9, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5439
#33 0x00007f827d1ee54a in QWidgetPrivate::drawWidget (this=0x2b26d20,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x2952c20) at kernel/qwidget.cpp:5388
#34 0x00007f827d1ef488 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=80, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5452
#35 0x00007f827d1ee54a in QWidgetPrivate::drawWidget (this=0x28ba430,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x2952c20) at kernel/qwidget.cpp:5388
#36 0x00007f827d1ef488 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=3, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5452
#37 0x00007f827d1ee54a in QWidgetPrivate::drawWidget (this=0x27c7ae0,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x2952c20) at kernel/qwidget.cpp:5388
#38 0x00007f827d1ef488 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5452
#39 0x00007f827d1ee54a in QWidgetPrivate::drawWidget (this=0x26f7d60,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x2952c20) at kernel/qwidget.cpp:5388
#40 0x00007f827d1ef488 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5452
#41 0x00007f827d1ee54a in QWidgetPrivate::drawWidget (this=0x26d74b0,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x2952c20) at kernel/qwidget.cpp:5388
#42 0x00007f827d1ef488 in QWidgetPrivate::paintSiblingsRecursive (this=<value
optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value
optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0,
backingStore=0x2952c20) at kernel/qwidget.cpp:5452
#43 0x00007f827d1ee54a in QWidgetPrivate::drawWidget (this=0x26baf00,
pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value
optimized out>, sharedPainter=0x0, 
    backingStore=0x2952c20) at kernel/qwidget.cpp:5388
#44 0x00007f827d3a8855 in QWidgetBackingStore::sync (this=0x2952c20) at
painting/qbackingstore.cpp:1291
#45 0x00007f827d1dfb70 in QWidgetPrivate::syncBackingStore (this=0x26baf00) at
kernel/qwidget.cpp:1672
#46 0x00007f827d1e6875 in QWidget::event (this=0x26bad30, event=0x2f6a730) at
kernel/qwidget.cpp:8291
#47 0x00007f827d5a8c1b in QMainWindow::event (this=0x26bad30, event=0x2f6a730)
at widgets/qmainwindow.cpp:1433
#48 0x00007f827eb545d3 in KXmlGuiWindow::event (this=0x7fff62c1f130, ev=0x188)
at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0x00007f827d19022c in QApplicationPrivate::notify_helper (this=0x25ec610,
receiver=0x26bad30, e=0x2f6a730) at kernel/qapplication.cpp:4300
#50 0x00007f827d1966fb in QApplication::notify (this=0x7fff62c257d0,
receiver=0x26bad30, e=0x2f6a730) at kernel/qapplication.cpp:4183
#51 0x00007f827ea3d506 in KApplication::notify (this=0x7fff62c257d0,
receiver=0x26bad30, event=0x2f6a730) at ../../kdeui/kernel/kapplication.cpp:302
#52 0x00007f827ddd6ffc in QCoreApplication::notifyInternal
(this=0x7fff62c257d0, receiver=0x26bad30, event=0x2f6a730) at
kernel/qcoreapplication.cpp:704
#53 0x00007f827ddd9777 in QCoreApplication::sendEvent (receiver=0x0,
event_type=<value optimized out>, data=0x25d58e0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value
optimized out>, data=0x25d58e0) at kernel/qcoreapplication.cpp:1345
#55 0x00007f827de00963 in QCoreApplication::sendPostedEvents (s=<value
optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#56 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:276
#57 0x00007f8278ef0492 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#58 0x00007f8278ef4308 in ?? () from /lib/libglib-2.0.so.0
#59 0x00007f8278ef44bc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#60 0x00007f827de004a3 in QEventDispatcherGlib::processEvents (this=0x25d5030,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#61 0x00007f827d24030e in QGuiEventDispatcherGlib::processEvents
(this=0x7fff62c1f130, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f827ddd5922 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#63 0x00007f827ddd5cfc in QEventLoop::exec (this=0x7fff62c25720, flags=) at
kernel/qeventloop.cpp:201
#64 0x00007f827ddd9a3b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#65 0x000000000040889c in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../../okular/shell/main.cpp:82

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