[Okular-devel] [okular] [Bug 330090] New: Okular crash when a pdf file was selected, while a postscript was open.

John heimdal at q.com
Fri Jan 17 18:00:50 UTC 2014


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

            Bug ID: 330090
           Summary: Okular crash when a pdf file was selected, while a
                    postscript was open.
    Classification: Unclassified
           Product: okular
           Version: 0.17.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: heimdal at q.com

Application: okular (0.17.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
1. Okular was already open, with main.1-2.cpp.ps displayed.
2. "Resume.pdf" was selected, through "File->Open Recent->path to Resume.pdf",
using the mouse.
3. Okular crashed.
4. This defect is 100% reproducible, by selecting a pdf, and then a postscript
file, or vice versa.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff352c217c0 (LWP 4889))]

Thread 4 (Thread 0x7ff33c46c700 (LWP 4890)):
#0  0x00007ff34fc3cf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff34c8336a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff34c8337ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff35063da76 in QEventDispatcherGlib::processEvents
(this=0x7ff3340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff35060f5ef in QEventLoop::processEvents
(this=this at entry=0x7ff33c46bd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff35060f8e5 in QEventLoop::exec (this=this at entry=0x7ff33c46bd70,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff35050e88f in QThread::exec (this=this at entry=0x19804b0) at
thread/qthread.cpp:542
#7  0x00007ff3505f0d13 in QInotifyFileSystemWatcherEngine::run (this=0x19804b0)
at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ff350510f2f in QThreadPrivate::start (arg=0x19804b0) at
thread/qthread_unix.cpp:338
#9  0x00007ff34cd0bf6e in start_thread (arg=0x7ff33c46c700) at
pthread_create.c:311
#10 0x00007ff34fc499cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ff33b6a5700 (LWP 4891)):
#0  0x00007ff34fc57c54 in pthread_mutex_lock (mutex=0x7ff32c000a60) at
forward.c:192
#1  0x00007ff34c8733a1 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff34c833798 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff35063da76 in QEventDispatcherGlib::processEvents
(this=0x7ff32c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff35060f5ef in QEventLoop::processEvents
(this=this at entry=0x7ff33b6a4d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff35060f8e5 in QEventLoop::exec (this=this at entry=0x7ff33b6a4d70,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff35050e88f in QThread::exec (this=this at entry=0x1a1c630) at
thread/qthread.cpp:542
#7  0x00007ff3505f0d13 in QInotifyFileSystemWatcherEngine::run (this=0x1a1c630)
at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ff350510f2f in QThreadPrivate::start (arg=0x1a1c630) at
thread/qthread_unix.cpp:338
#9  0x00007ff34cd0bf6e in start_thread (arg=0x7ff33b6a5700) at
pthread_create.c:311
#10 0x00007ff34fc499cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ff332f13700 (LWP 4897)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff350511406 in wait (time=18446744073709551615, this=0x1c28370) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex at entry=0x1d1cca0,
time=time at entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff35050d5eb in QSemaphore::acquire (this=this at entry=0x1dda790,
n=n at entry=1) at thread/qsemaphore.cpp:144
#4  0x00007ff33aaff53f in GSRendererThread::run (this=0x1dda780) at
../../../generators/spectre/rendererthread.cpp:50
#5  0x00007ff350510f2f in QThreadPrivate::start (arg=0x1dda780) at
thread/qthread_unix.cpp:338
#6  0x00007ff34cd0bf6e in start_thread (arg=0x7ff332f13700) at
pthread_create.c:311
#7  0x00007ff34fc499cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ff352c217c0 (LWP 4889)):
[KCrash Handler]
#6  gs_lcms2_malloc (id=0x0, size=56) at ./base/gsicc_lcms2.c:49
#7  0x00007ff339aba6ed in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#8  0x00007ff339abb2a5 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#9  0x00007ff339abb6d0 in cmsBuildSegmentedToneCurve () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#10 0x00007ff339abb94b in cmsBuildParametricToneCurve () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#11 0x00007ff339ad70a0 in cmsCreate_sRGBProfileTHR () from
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
#12 0x00007ff331520425 in GfxColorSpace::setupColorProfiles () at
GfxState.cc:414
#13 0x00007ff33154e53e in Page::getDefaultCTM (this=<optimized out>,
ctm=0x7fff16813160, hDPI=72, vDPI=72, rotate=0, useMediaBox=<optimized out>,
upsideDown=<optimized out>) at Page.cc:820
#14 0x00007ff331898017 in Poppler::cvtUserToDev (page=page at entry=0x1ffab60,
xu=xu at entry=53, yu=yu at entry=595.86199999999985, xd=xd at entry=0x7fff168131d4,
yd=yd at entry=0x7fff168131d8) at poppler-link.cc:243
#15 0x00007ff331899ef5 in Poppler::LinkDestination::LinkDestination
(this=0x7fff16813250, data=...) at poppler-link.cc:298
#16 0x00007ff331893e28 in Poppler::PageData::convertLinkActionToLink
(a=<optimized out>, parentDoc=parentDoc at entry=0x1fba660, linkArea=...) at
poppler-page.cc:84
#17 0x00007ff3318a0664 in Poppler::AnnotationPrivate::findAnnotations
(pdfPage=0x1ff9760, doc=0x1fba660, parentID=parentID at entry=0) at
poppler-annotation.cc:452
#18 0x00007ff331894a45 in Poppler::Page::annotations
(this=this at entry=0x1ff87a0) at poppler-page.cc:674
#19 0x00007ff331ae5a01 in PDFGenerator::addAnnotations
(this=this at entry=0x1fcd290, popplerPage=popplerPage at entry=0x1ff87a0,
page=page at entry=0x1ff9240) at
../../../generators/poppler/generator_pdf.cpp:1483
#20 0x00007ff331ae6888 in PDFGenerator::loadPages (this=this at entry=0x1fcd290,
pagesVector=..., rotation=rotation at entry=0, clear=clear at entry=false) at
../../../generators/poppler/generator_pdf.cpp:646
#21 0x00007ff331ae8186 in PDFGenerator::init (this=this at entry=0x1fcd290,
pagesVector=..., walletKey=...) at
../../../generators/poppler/generator_pdf.cpp:579
#22 0x00007ff331ae9cfe in PDFGenerator::loadDocument (this=0x1fcd290,
filePath=..., pagesVector=...) at
../../../generators/poppler/generator_pdf.cpp:468
#23 0x00007ff3413ff4b1 in Okular::DocumentPrivate::openDocumentInternal
(this=0x1e93450, offer=..., isstdin=isstdin at entry=false, docFile=...,
filedata=...) at ../core/document.cpp:924
#24 0x00007ff3413ff965 in Okular::Document::openDocument (this=0x1b15200,
docFile=..., url=..., _mime=...) at ../core/document.cpp:2175
#25 0x00007ff3416bfb8c in Okular::Part::openFile (this=0x1acc210) at
../part.cpp:1224
#26 0x00007ff352819c27 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=this at entry=0x1acc550) at ../../kparts/part.cpp:591
#27 0x00007ff35281b20e in KParts::ReadOnlyPart::openUrl
(this=this at entry=0x1acc210, url=...) at ../../kparts/part.cpp:555
#28 0x00007ff3416b50ab in Okular::Part::openUrl (this=0x1acc210, _url=...) at
../part.cpp:1374
#29 0x000000000040b354 in Shell::openUrl (this=this at entry=0x16db870, url=...)
at ../../shell/shell.cpp:188
#30 0x000000000040b537 in Shell::openUrl (this=<optimized out>, url=...) at
../../shell/shell.cpp:176
#31 0x000000000040bfd9 in Shell::qt_static_metacall (_o=<optimized out>,
_id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./shell.moc:78
#32 0x00007ff350624a58 in QMetaObject::activate (sender=sender at entry=0x1865c00,
m=m at entry=0x7ff3521070c0 <KRecentFilesAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff16813f50)
at kernel/qobject.cpp:3539
#33 0x00007ff351c3d042 in KRecentFilesAction::urlSelected
(this=this at entry=0x1865c00, _t1=...) at ./krecentfilesaction.moc:138
#34 0x00007ff351c3d108 in KRecentFilesActionPrivate::_k_urlSelected
(this=<optimized out>, action=0x18c8040) at
../../kdeui/actions/krecentfilesaction.cpp:98
#35 0x00007ff350624a58 in QMetaObject::activate (sender=sender at entry=0x1865c00,
m=m at entry=0x7ff3521071c0 <KSelectAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff16814130)
at kernel/qobject.cpp:3539
#36 0x00007ff351c4086f in KSelectAction::triggered (this=this at entry=0x1865c00,
_t1=0x18c8040) at ./kselectaction.moc:189
#37 0x00007ff351c40c40 in KSelectAction::actionTriggered (this=0x1865c00,
action=0x18c8040) at ../../kdeui/actions/kselectaction.cpp:321
#38 0x00007ff350624a58 in QMetaObject::activate (sender=sender at entry=0x1865870,
m=m at entry=0x7ff351aaaf00 <QActionGroup::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff168142c0)
at kernel/qobject.cpp:3539
#39 0x00007ff350ffe97f in QActionGroup::triggered (this=this at entry=0x1865870,
_t1=_t1 at entry=0x18c8040) at .moc/release-shared/moc_qactiongroup.cpp:160
#40 0x00007ff350ffe9ff in QActionGroupPrivate::_q_actionTriggered
(this=<optimized out>) at kernel/qactiongroup.cpp:93
#41 0x00007ff350624a58 in QMetaObject::activate (sender=sender at entry=0x18c8040,
m=m at entry=0x7ff351aaade0 <QAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fff16814410)
at kernel/qobject.cpp:3539
#42 0x00007ff350ffba32 in QAction::triggered (this=this at entry=0x18c8040,
_t1=false) at .moc/release-shared/moc_qaction.cpp:277
#43 0x00007ff350ffd403 in QAction::activate (this=this at entry=0x18c8040,
event=event at entry=QAction::Trigger) at kernel/qaction.cpp:1257
#44 0x00007ff35142a7f9 in QMenuPrivate::activateCausedStack
(this=this at entry=0x1866390, causedStack=..., action=action at entry=0x18c8040,
action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at
widgets/qmenu.cpp:1038
#45 0x00007ff35142ed19 in QMenuPrivate::activateAction (this=0x1866390,
action=0x18c8040, action_e=action_e at entry=QAction::Trigger,
self=self at entry=true) at widgets/qmenu.cpp:1130
#46 0x00007ff3514326e5 in QMenu::mouseReleaseEvent (this=this at entry=0x1866160,
e=e at entry=0x7fff16814b40) at widgets/qmenu.cpp:2372
#47 0x00007ff351dc2175 in KMenu::mouseReleaseEvent (this=0x1866160,
e=0x7fff16814b40) at ../../kdeui/widgets/kmenu.cpp:464
#48 0x00007ff35105131e in QWidget::event (this=this at entry=0x1866160,
event=event at entry=0x7fff16814b40) at kernel/qwidget.cpp:8375
#49 0x00007ff351432aeb in QMenu::event (this=0x1866160, e=0x7fff16814b40) at
widgets/qmenu.cpp:2481
#50 0x00007ff351001dfc in QApplicationPrivate::notify_helper
(this=this at entry=0x1258cc0, receiver=receiver at entry=0x1866160,
e=e at entry=0x7fff16814b40) at kernel/qapplication.cpp:4567
#51 0x00007ff3510085ad in QApplication::notify (this=this at entry=0x7fff16815430,
receiver=receiver at entry=0x1866160, e=e at entry=0x7fff16814b40) at
kernel/qapplication.cpp:4110
#52 0x00007ff351d0ba6a in KApplication::notify (this=0x7fff16815430,
receiver=0x1866160, event=0x7fff16814b40) at
../../kdeui/kernel/kapplication.cpp:311
#53 0x00007ff3506108bd in QCoreApplication::notifyInternal
(this=0x7fff16815430, receiver=receiver at entry=0x1866160,
event=event at entry=0x7fff16814b40) at kernel/qcoreapplication.cpp:946
#54 0x00007ff351007d63 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x1866160,
event=event at entry=0x7fff16814b40, alienWidget=alienWidget at entry=0x0,
nativeWidget=nativeWidget at entry=0x1866160,
buttonDown=buttonDown at entry=0x7ff351ae62f8 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true) at
kernel/qapplication.cpp:3178
#56 0x00007ff35107cb0c in QETWidget::translateMouseEvent
(this=this at entry=0x1866160, event=event at entry=0x7fff16814e90) at
kernel/qapplication_x11.cpp:4565
#57 0x00007ff35107c079 in QApplication::x11ProcessEvent (this=0x7fff16815430,
event=event at entry=0x7fff16814e90) at kernel/qapplication_x11.cpp:3624
#58 0x00007ff3510a3922 in x11EventSourceDispatch (s=0x1258ae0, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0x00007ff34c8333b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007ff34c833708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007ff34c8337ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007ff35063da76 in QEventDispatcherGlib::processEvents (this=0x121db30,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#63 0x00007ff3510a39d6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007ff35060f5ef in QEventLoop::processEvents
(this=this at entry=0x7fff16815270, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007ff35060f8e5 in QEventLoop::exec (this=this at entry=0x7fff16815270,
flags=...) at kernel/qeventloop.cpp:204
#66 0x00007ff350614e5b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#67 0x00007ff35100034c in QApplication::exec () at kernel/qapplication.cpp:3828
#68 0x0000000000408276 in main (argc=<optimized out>, argv=<optimized out>) at
../../shell/main.cpp:100

Possible duplicates by query: bug 328874.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list