Bug 349964 - Opening new .doc, with several large PDFs open already
Summary: Opening new .doc, with several large PDFs open already
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrawords
Classification: Applications
Component: okularplugin (show other bugs)
Version: 2.9.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-06 16:34 UTC by Julian Day
Modified: 2021-01-16 04:34 UTC (History)
2 users (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 Julian Day 2015-07-06 16:34:52 UTC
Application: okular (0.22.1)
KDE Platform Version: 4.14.8
Qt Version: 4.8.6
Operating System: Linux 3.19.0-22-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:

I was attempting to open a new .pdf, with several large PDFs open already

-- 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 0x7fc7c8b8e7c0 (LWP 11785))]

Thread 3 (Thread 0x7fc7b24b3700 (LWP 11786)):
#0  0x00007fc7c5af08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc7c2bb2ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc7c2bb2fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc7c650187e in QEventDispatcherGlib::processEvents (this=0x7fc7ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fc7c64d0d21 in QEventLoop::processEvents (this=this@entry=0x7fc7b24b2dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc7c64d1085 in QEventLoop::exec (this=this@entry=0x7fc7b24b2dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc7c63c4e89 in QThread::exec (this=this@entry=0x1489b40) at thread/qthread.cpp:538
#7  0x00007fc7c64b1493 in QInotifyFileSystemWatcherEngine::run (this=0x1489b40) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc7c63c76ff in QThreadPrivate::start (arg=0x1489b40) at thread/qthread_unix.cpp:349
#9  0x00007fc7c30986aa in start_thread (arg=0x7fc7b24b3700) at pthread_create.c:333
#10 0x00007fc7c5afbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc7b179b700 (LWP 11788)):
#0  0x00007fc7c5af08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc7c2bb2ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc7c2bb2fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc7c650187e in QEventDispatcherGlib::processEvents (this=0x7fc7a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fc7c64d0d21 in QEventLoop::processEvents (this=this@entry=0x7fc7b179adc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc7c64d1085 in QEventLoop::exec (this=this@entry=0x7fc7b179adc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc7c63c4e89 in QThread::exec (this=this@entry=0x14bb370) at thread/qthread.cpp:538
#7  0x00007fc7c64b1493 in QInotifyFileSystemWatcherEngine::run (this=0x14bb370) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc7c63c76ff in QThreadPrivate::start (arg=0x14bb370) at thread/qthread_unix.cpp:349
#9  0x00007fc7c30986aa in start_thread (arg=0x7fc7b179b700) at pthread_create.c:333
#10 0x00007fc7c5afbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc7c8b8e7c0 (LWP 11785)):
[KCrash Handler]
#6  QString (other=<error reading variable: Cannot access memory at address 0x10>, this=this@entry=0x7fffa3303ba0) at /usr/include/qt4/QtCore/qstring.h:725
#7  KService::library (this=this@entry=0x0) at ../../kdecore/services/kservice.cpp:860
#8  0x00007fc7c6a53245 in KPluginLoader::KPluginLoader (this=0x7fffa3303d20, service=..., componentdata=..., parent=0x0) at ../../kdecore/util/kpluginloader.cpp:166
#9  0x00007fc7b36f8027 in createInstance<KoPart> (error=0x7fffa3303c40, args=..., parent=0x0, parentWidget=0x0, this=0x0) at /usr/include/kservice.h:570
#10 createInstance<KoPart> (error=0x7fffa3303c40, args=..., parent=0x0, this=0x0) at /usr/include/kservice.h:550
#11 KoDocumentEntry::createKoPart (this=this@entry=0x7fffa3303e10, errorMsg=errorMsg@entry=0x7fffa3303e00) at /build/buildd/calligra-2.9.2/libs/main/KoDocumentEntry.cpp:84
#12 0x00007fc7b39d2794 in OkularOdtGenerator::loadDocument (this=0x342247f0, fileName=..., pages=...) at /build/buildd/calligra-2.9.2/extras/okularodtgenerator/OkularOdtGenerator.cpp:105
#13 0x00007fc7b78b1446 in Okular::Generator::loadDocumentWithPassword (this=<optimized out>, fileName=..., pagesVector=...) at ../core/generator.cpp:191
#14 0x00007fc7b78a485e in Okular::DocumentPrivate::openDocumentInternal (this=0x3d423330, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=..., password=...) at ../core/document.cpp:948
#15 0x00007fc7b78a51b0 in Okular::Document::openDocument (this=0x35d7d1b0, docFile=..., url=..., _mime=..., password=...) at ../core/document.cpp:2361
#16 0x00007fc7b7bb1203 in Okular::Part::doOpenFile (this=0x3d43ec90, mimeA=..., fileNameToOpenA=..., isCompressedFile=<optimized out>) at ../part.cpp:1242
#17 0x00007fc7b7bb327f in Okular::Part::openFile (this=0x3422c7f8) at ../part.cpp:1365
#18 0x00007fc7c87879ca in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x3d3119d0) at ../../kparts/part.cpp:591
#19 0x00007fc7c8789e06 in KParts::ReadOnlyPart::openUrl (this=this@entry=0x3d43ec90, url=...) at ../../kparts/part.cpp:555
#20 0x00007fc7b7ba80ab in Okular::Part::openUrl (this=0x3d43ec90, _url=...) at ../part.cpp:1518
#21 0x000000000040ecc4 in Shell::openUrl (this=this@entry=0x16efe60, url=..., serializedOptions=...) at ../../shell/shell.cpp:240
#22 0x000000000040edae in Shell::openUrl (this=this@entry=0xca9fd80, url=..., serializedOptions=...) at ../../shell/shell.cpp:231
#23 0x000000000040fdc9 in Shell::fileOpen (this=0xca9fd80) at ../../shell/shell.cpp:415
#24 0x000000000040b34d in Shell::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7fffa33049d0, _c=<optimized out>) at moc_shell.cpp:97
#25 0x00007fc7c64e71ec in QMetaObject::activate (sender=sender@entry=0x1e2640c0, m=m@entry=0x7fc7c79d4540 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffa33049d0) at kernel/qobject.cpp:3567
#26 0x00007fc7c6ed8fd2 in QAction::triggered (this=this@entry=0x1e2640c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#27 0x00007fc7c6edab57 in QAction::activate (this=this@entry=0x1e2640c0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#28 0x00007fc7c733448d in QMenuPrivate::activateCausedStack (this=this@entry=0xc9e69d0, causedStack=..., action=action@entry=0x1e2640c0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#29 0x00007fc7c7338e59 in QMenuPrivate::activateAction (this=0xc9e69d0, action=0x1e2640c0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129
#30 0x00007fc7c733c969 in QMenu::mouseReleaseEvent (this=this@entry=0xcac7070, e=e@entry=0x7fffa33050e0) at widgets/qmenu.cpp:2371
#31 0x00007fc7c7d0a383 in KMenu::mouseReleaseEvent (this=0xcac7070, e=0x7fffa33050e0) at ../../kdeui/widgets/kmenu.cpp:464
#32 0x00007fc7c6f32dc8 in QWidget::event (this=0xcac7070, event=0x7fffa33050e0) at kernel/qwidget.cpp:8775
#33 0x00007fc7c733ce4b in QMenu::event (this=0xcac7070, e=0x7fffa33050e0) at widgets/qmenu.cpp:2480
#34 0x00007fc7c6edf9bc in QApplicationPrivate::notify_helper (this=this@entry=0xe9dd10, receiver=receiver@entry=0xcac7070, e=e@entry=0x7fffa33050e0) at kernel/qapplication.cpp:4570
#35 0x00007fc7c6ee663f in QApplication::notify (this=this@entry=0x7fffa3305880, receiver=receiver@entry=0xcac7070, e=e@entry=0x7fffa33050e0) at kernel/qapplication.cpp:4113
#36 0x00007fc7c7c41c2a in KApplication::notify (this=0x7fffa3305880, receiver=0xcac7070, event=0x7fffa33050e0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007fc7c64d21cd in QCoreApplication::notifyInternal (this=0x7fffa3305880, receiver=receiver@entry=0xcac7070, event=event@entry=0x7fffa33050e0) at kernel/qcoreapplication.cpp:955
#38 0x00007fc7c6ee5c9f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xcac7070, event=event@entry=0x7fffa33050e0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xcac7070, buttonDown=buttonDown@entry=0x7fc7c7a0d578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#40 0x00007fc7c6f5fd3a in QETWidget::translateMouseEvent (this=this@entry=0xcac7070, event=event@entry=0x7fffa3305410) at kernel/qapplication_x11.cpp:4566
#41 0x00007fc7c6f5f24c in QApplication::x11ProcessEvent (this=0x7fffa3305880, event=event@entry=0x7fffa3305410) at kernel/qapplication_x11.cpp:3626
#42 0x00007fc7c6f87ba2 in x11EventSourceDispatch (s=0xeb1df0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007fc7c2bb2c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fc7c2bb2f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fc7c2bb2fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fc7c650185e in QEventDispatcherGlib::processEvents (this=0xe78340, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#47 0x00007fc7c6f87c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fc7c64d0d21 in QEventLoop::processEvents (this=this@entry=0x7fffa33057f0, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007fc7c64d1085 in QEventLoop::exec (this=this@entry=0x7fffa33057f0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007fc7c64d6b09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#51 0x00007fc7c6eddc1c in QApplication::exec () at kernel/qapplication.cpp:3828
#52 0x00000000004096b4 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:64

Reported using DrKonqi
Comment 1 Albert Astals Cid 2015-07-07 21:28:34 UTC
Can you reproduce this?
Comment 2 Julian Day 2015-07-08 13:54:07 UTC
The pdf normally opens without a problem. Just crashed this one time.
Comment 3 Albert Astals Cid 2015-07-08 22:26:13 UTC
This is pretty confusing since the crash backtrace says you were opening an odt file instead of a pdf file, may it be you maybe opened an odt instead of a pdf file?
Comment 4 Julian Day 2015-07-09 08:03:44 UTC
Ahh, sorry. It looks like I clicked on a .doc instead of the intended .pdf, it is the previous file in the directory. This is repeatable, however, I can't send that file as it is company confidential.

The problem doesn't seem to depend on which other documents are open though.
Comment 5 Albert Astals Cid 2015-07-09 20:54:20 UTC
Calligra guys, another crash on your plugin for okular
Comment 6 Justin Zobel 2020-12-17 05:32:37 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 7 Bug Janitor Service 2021-01-01 04:35:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2021-01-16 04:34:30 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!