Bug 289421 - Ark crashed while opening .kmz file
Summary: Ark crashed while opening .kmz file
Status: RESOLVED WORKSFORME
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
: 300581 310134 318458 330276 333795 336915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-20 11:42 UTC by Sand
Modified: 2021-01-03 04:34 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.55 KB, text/plain)
2013-09-18 09:57 UTC, gabriele monfardini
Details
New crash information added by DrKonqi (8.56 KB, text/plain)
2014-04-29 23:17 UTC, Roberto Romero
Details
Example ZIP file with a gpx inside (315 bytes, application/zip)
2014-04-29 23:20 UTC, Roberto Romero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sand 2011-12-20 11:42:15 UTC
Application: ark (2.17)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Ark crashed while opening .kmz (made by google-earth) file out of dolphin.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff8f1619760 (LWP 6746))]

Thread 3 (Thread 0x7ff8de093700 (LWP 6776)):
#0  0x00007fff015ff8de in ?? ()
#1  0x00007ff8e8a33e91 in clock_gettime () from /lib64/librt.so.1
#2  0x00007ff8eec8d114 in do_gettime (frac=0x7ff8de092b78, sec=0x7ff8de092b70) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ff8eed4ed1d in QTimerInfoList::updateCurrentTime (this=0x7ff8d8002480) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007ff8eed4f053 in QTimerInfoList::timerWait (this=0x7ff8d8002480, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007ff8eed4dabc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ff8de092c5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007ff8eed4db65 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007ff8eac5eb22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ff8eac5f92d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007ff8eac5ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007ff8eed4e576 in QEventDispatcherGlib::processEvents (this=0x7ff8d800bf20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007ff8eed22a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007ff8eed22c1f in QEventLoop::exec (this=0x7ff8de092df0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007ff8eec3a5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#15 0x00007ff8eed05aef in QInotifyFileSystemWatcherEngine::run (this=0xa6de00) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007ff8eec3d025 in QThreadPrivate::start (arg=0xa6de00) at thread/qthread_unix.cpp:331
#17 0x00007ff8ec0bff05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007ff8ee60253d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff8cf793700 (LWP 6777)):
#0  0x00007fff015ff8de in ?? ()
#1  0x00007ff8e8a33e91 in clock_gettime () from /lib64/librt.so.1
#2  0x00007ff8eec8d114 in do_gettime (frac=0x7ff8cf792b78, sec=0x7ff8cf792b70) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ff8eed4ed1d in QTimerInfoList::updateCurrentTime (this=0x7ff8c8001490) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007ff8eed4f053 in QTimerInfoList::timerWait (this=0x7ff8c8001490, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007ff8eed4dabc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ff8cf792c5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007ff8eed4db65 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007ff8eac5eb22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ff8eac5f92d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007ff8eac5ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007ff8eed4e576 in QEventDispatcherGlib::processEvents (this=0x7ff8c80008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007ff8eed22a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007ff8eed22c1f in QEventLoop::exec (this=0x7ff8cf792df0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007ff8eec3a5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#15 0x00007ff8eed05aef in QInotifyFileSystemWatcherEngine::run (this=0xaba510) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007ff8eec3d025 in QThreadPrivate::start (arg=0xaba510) at thread/qthread_unix.cpp:331
#17 0x00007ff8ec0bff05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007ff8ee60253d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff8f1619760 (LWP 6746)):
[KCrash Handler]
#6  data (this=0x8) at ../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../src/corelib/global/qglobal.h:2342
#8  d_func (this=0x0) at ../../src/gui/kernel/qwidget.h:143
#9  QWidget::setUpdatesEnabled (this=0x0, enable=false) at kernel/qwidget.cpp:7307
#10 0x00007ff8dce778b5 in Marble::MarblePart::MarblePart (this=0x982bb0, parentWidget=0x9e77d0, parent=<optimized out>, arguments=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/marble-4.7.2/src/marble_part.cpp:158
#11 0x00007ff8dce7c98f in KPluginFactory::createPartInstance<Marble::MarblePart> (parentWidget=0x9e77d0, parent=0x947c20, args=...) at /usr/include/kpluginfactory.h:483
#12 0x00007ff8ef27b5f1 in KPluginFactory::create (this=0x9578b0, iface=0x7ff8f0d460a0 "KParts::ReadOnlyPart", parentWidget=0x9e77d0, parent=0x947c20, args=..., keyword=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kdecore/util/kpluginfactory.cpp:203
#13 0x00007ff8e17b492a in create<KParts::ReadOnlyPart> (parent=0x947c20, this=0x9578b0, args=..., keyword=..., parentWidget=0x9e77d0) at /usr/include/kpluginfactory.h:531
#14 createInstance<KParts::ReadOnlyPart> (error=0x0, args=..., parent=0x947c20, parentWidget=0x9e77d0, this=<optimized out>) at /usr/include/kservice.h:557
#15 createPartInstanceFromQuery<KParts::ReadOnlyPart> (error=0x0, args=..., constraint=..., parent=0x947c20, parentWidget=0x9e77d0, mimeType=...) at /usr/include/kmimetypetrader.h:128
#16 ArkViewer::viewInInternalViewer (this=0x947c20, filename=<optimized out>) at /usr/src/debug/kdeutils-4.7.2/ark/part/arkviewer.cpp:165
#17 0x00007ff8e17b4fc2 in ArkViewer::view (filename=..., parent=0x84f3e0) at /usr/src/debug/kdeutils-4.7.2/ark/part/arkviewer.cpp:103
#18 0x00007ff8e17ae854 in Ark::Part::slotPreviewExtracted (this=0x8528c0, job=<optimized out>) at /usr/src/debug/kdeutils-4.7.2/ark/part/part.cpp:563
#19 0x00007ff8e17a6ba0 in Ark::Part::qt_metacall (this=0x8528c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ff8d800b510) at /usr/src/debug/kdeutils-4.7.2/build/ark/part/moc_part.cpp:134
#20 0x00007ff8eed3a14a in QObject::event (this=0x8528c0, e=<optimized out>) at kernel/qobject.cpp:1226
#21 0x00007ff8ef701c34 in notify_helper (e=0x7ff8d8006230, receiver=0x8528c0, this=0x63ee00) at kernel/qapplication.cpp:4481
#22 QApplicationPrivate::notify_helper (this=0x63ee00, receiver=0x8528c0, e=0x7ff8d8006230) at kernel/qapplication.cpp:4453
#23 0x00007ff8ef706ac1 in QApplication::notify (this=0x7fff0144d900, receiver=0x8528c0, e=0x7ff8d8006230) at kernel/qapplication.cpp:4360
#24 0x00007ff8f0414e36 in KApplication::notify (this=0x7fff0144d900, receiver=0x8528c0, event=0x7ff8d8006230) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#25 0x00007ff8eed2381c in QCoreApplication::notifyInternal (this=0x7fff0144d900, receiver=0x8528c0, event=0x7ff8d8006230) at kernel/qcoreapplication.cpp:787
#26 0x00007ff8eed26bf8 in sendEvent (event=0x7ff8d8006230, receiver=0x8528c0) at kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x61aad0) at kernel/qcoreapplication.cpp:1428
#28 0x00007ff8eed4e0b3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007ff8eac5f58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007ff8eac5fd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007ff8eac5ff59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007ff8eed4e50f in QEventDispatcherGlib::processEvents (this=0x61a2e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007ff8ef7a4f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007ff8eed22a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007ff8eed22c1f in QEventLoop::exec (this=0x7fff0144d890, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007ff8eed26de7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#38 0x000000000040b0a8 in main (argc=4, argv=0x7fff0144e558) at /usr/src/debug/kdeutils-4.7.2/ark/app/main.cpp:209

Reported using DrKonqi
Comment 1 Raphael Kubo da Costa 2011-12-20 13:32:45 UTC
This seems to be a crash in marblepart, reassigning to the Marble folks.
Comment 2 Dennis Nienhüser 2012-05-25 06:40:07 UTC
*** Bug 300581 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2013-04-16 19:47:22 UTC
*** Bug 318458 has been marked as a duplicate of this bug. ***
Comment 4 gabriele monfardini 2013-09-18 09:57:54 UTC
Created attachment 82387 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.11.1 using Qt 4.8.4

- What I was doing when the application crashed:
I was opening a .shp file from a zip that contains also .dbf e .shx (an esri shapefile is composed of 3 files with the same name with extensions .shp, .shx e .dbf).

The crash happens every time.

I'm using kde 4.11 from kubuntu using a ppa

-- Backtrace (Reduced):
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QWidget::setUpdatesEnabled (this=0x0, enable=false) at kernel/qwidget.cpp:7387
#10 0x00007fca1af49142 in Marble::MarblePart::MarblePart (this=this@entry=0x21dbe50, parentWidget=parentWidget@entry=0x2185250, parent=parent@entry=0x2186240, arguments=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/marble_part.cpp:168
#11 0x00007fca1af518ff in KPluginFactory::createPartInstance<Marble::MarblePart> (parentWidget=0x2185250, parent=0x2186240, args=...) at /usr/include/kpluginfactory.h:483
#12 0x00007fca34aab455 in KPluginFactory::create (this=0x21d6900, iface=0x7fca36538660 <qt_meta_stringdata_KParts__ReadOnlyPart> "KParts::ReadOnlyPart", parentWidget=0x2185250, parent=0x2186240, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
Comment 5 Bernhard Beschow 2014-04-27 12:01:31 UTC
*** Bug 333795 has been marked as a duplicate of this bug. ***
Comment 6 Bernhard Beschow 2014-04-27 12:02:56 UTC
*** Bug 330276 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2014-04-29 15:03:32 UTC
*** Bug 310134 has been marked as a duplicate of this bug. ***
Comment 8 Roberto Romero 2014-04-29 23:17:09 UTC
Created attachment 86355 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.11.5 using Qt 4.8.6

Ark crashed trying to open a .gpx file inside a zip

-- Backtrace (Reduced):
#5  0x0000003a62e10275 in QWidget::setUpdatesEnabled(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007fa9175dfe8b in Marble::MarblePart::MarblePart (this=this@entry=0x2979780, parentWidget=parentWidget@entry=0x2867ee0, parent=parent@entry=0x2a0f4a0, arguments=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/marble_part.cpp:168
#7  0x00007fa9175e6f11 in KPluginFactory::createPartInstance<Marble::MarblePart> (parentWidget=0x2867ee0, parent=0x2a0f4a0, args=...) at /usr/include/kpluginfactory.h:483
#8  0x0000003a61c0e763 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#9  0x00007fa91dad85ee in create<KParts::ReadOnlyPart> (args=..., keyword=..., parent=0x2a0f4a0, parentWidget=0x2867ee0, this=0x2975c20) at /usr/include/kpluginfactory.h:531
Comment 9 Roberto Romero 2014-04-29 23:20:26 UTC
Created attachment 86356 [details]
Example ZIP file with a gpx inside

Opening the .gpx inside this file always makes ark crash
Comment 10 Jekyll Wu 2014-07-01 00:41:56 UTC
*** Bug 336915 has been marked as a duplicate of this bug. ***
Comment 11 Friedrich W. H. Kossebau 2016-07-05 19:33:06 UTC
Can confirm this for Marble 1.14.21
The Marble KPart has a hard assumption that there is a statusbar around which can be taken from the KParts::StatusBarExtension object, which is not the case with the Ark preview it seems.

At the same time though the Marble KPart also has bitrotted and currently does not properly load the passed file and focus its view on it. That needs some bigger overhaul.

So for now the workaround is to simply not register the Marble KPart for all the geo file types. Will do a respective commit now, should get into Application 16.08 and 16.04.3
Comment 12 Justin Zobel 2020-12-04 05:11:14 UTC
Thank you for the 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 13 Bug Janitor Service 2020-12-19 04:34:39 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 14 Bug Janitor Service 2021-01-03 04:34:09 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!