Bug 318458

Summary: Ark crashes if user clicks on a .gpx file invoking marble
Product: [Applications] ark Reporter: Florian Evers <florian-evers>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash CC: elgaard, florian-evers
Priority: NOR    
Version: 2.19   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Example zip file containing a single GPS waypoint as GPX
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Florian Evers 2013-04-16 16:23:13 UTC
Open a zip file with ark that contains GPS data in a GPX file. Ark crashes immediately. The crash dump shows that it tries to invoke Marble /to visualize the GPS waypoints), which seems to fail.

Reproducible: Always

Steps to Reproduce:
1. Open the attached ZIP file containing a GPX file, with Ark
2. Click on the GPX file within Ark
3. Ark crashes
Actual Results:  
Ark crashes

Expected Results:  
Ark should not crash, but should open Marble successfully to provide a preview

Just follow the steps to reproduce using my exemplary zip file attached to this bug report. Crashes reliably on multiple machines.
Comment 1 Florian Evers 2013-04-16 16:25:02 UTC
Created attachment 78965 [details]
Example zip file containing a single GPS waypoint as GPX

Clicking on the GPX file embedded in this ZIP file within Ark causes Ark to crash.
Comment 2 Florian Evers 2013-04-16 18:26:22 UTC
Created attachment 78967 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.10.2 using Qt 4.8.4

The crash dump that occurs if the bug is triggered

-- 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 0x00007fac198d397d in Marble::MarblePart::MarblePart (this=0x2a3d2e0, parentWidget=0x29332d0, parent=<optimized out>, arguments=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/marble-4.10.2/work/marble-4.10.2/src/marble_part.cpp:164
#11 0x00007fac198d937f in KPluginFactory::createPartInstance<Marble::MarblePart> (parentWidget=0x29332d0, parent=0x2948af0, args=...) at /usr/include/kpluginfactory.h:483
#12 0x00007fac29cee701 in KPluginFactory::create (this=0x2a0f3c0, iface=0x7fac2b80fba0 <qt_meta_stringdata_KParts__ReadOnlyPart> "KParts::ReadOnlyPart", parentWidget=0x29332d0, parent=0x2948af0, args=..., keyword=...) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdecore/util/kpluginfactory.cpp:203
Comment 3 Christoph Feck 2013-04-16 19:47:22 UTC

*** This bug has been marked as a duplicate of bug 289421 ***
Comment 4 Niels Elgaard 2014-02-26 10:44:47 UTC
Created attachment 85336 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.11.5 using Qt 4.8.4

- What I was doing when the application crashed:
Opening .gpx.gz tace file from openstreetmap.org

-- Backtrace (Reduced):
#5  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#8  QWidget::setUpdatesEnabled (this=0x0, enable=enable@entry=false) at kernel/qwidget.cpp:7387
#9  0x00007f3af6822de1 in Marble::MarblePart::MarblePart (this=this@entry=0x19ef260, parentWidget=parentWidget@entry=0x196e750, parent=parent@entry=0x196ca40, arguments=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/marble_part.cpp:168
#10 0x00007f3af6829e71 in KPluginFactory::createPartInstance<Marble::MarblePart> (parentWidget=0x196e750, parent=0x196ca40, args=...) at /usr/include/kpluginfactory.h:483
#11 0x00007f3b0fc1b6b3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5