Bug 383584

Summary: KGet crash when trying to open XML file from Firefox
Product: [Applications] kget Reporter: Alexander Markevich <rabota.pmr>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: metalink - XML file

Description Alexander Markevich 2017-08-16 08:26:35 UTC
Application: kget (2.14.16)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-89-generic x86_64
Distribution: Ubuntu 16.04.3 LTS

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

I get emails from my CentOS server which have this link:
https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64
Click on the link try to open her in Firefox, fna Firefox see dialog:
 Open metalink  and Open with KGet.
When I try to open this file in KGet - he is crashed.
I see this file later - this is plain XML.

-- Backtrace:
Application: KGet (kget), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x0000000000440e40 in  ()
#7  0x0000000000441ac5 in  ()
#8  0x00007f4f7f96a010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f4f7f1e562f in QHeaderView::sectionCountChanged(int, int) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f4f7f1e92d6 in QHeaderView::initializeSections(int, int) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007f4f7f1eb2fd in QHeaderView::initializeSections() () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007f4f7f1ef172 in QHeaderView::setModel(QAbstractItemModel*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007f4f7f22243f in QTreeView::setModel(QAbstractItemModel*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00000000004410cb in  ()
#15 0x0000000000447363 in  ()
#16 0x00000000004be111 in  ()
#17 0x00000000004bf94b in  ()
#18 0x00007f4f80bfcf3b in  () at /usr/lib/libkdeui.so.5
#19 0x00007f4f80bfcfed in  () at /usr/lib/libkdeui.so.5
#20 0x00007f4f80bfd243 in  () at /usr/lib/libkdeui.so.5
#21 0x00007f4f7fce2fc5 in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#22 0x00007f4f7fce45ab in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#23 0x00007f4f7fce523d in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#24 0x00007f4f7fce543b in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#25 0x00007f4f7f96fdb1 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f4f7eca178f in QApplication::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007f4f7ec9bfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f4f7eca2f16 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007f4f80bf564a in KApplication::notify(QObject*, QEvent*) () at /usr/lib/libkdeui.so.5
#30 0x00007f4f7f95590d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007f4f7f9593c6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f4f7f98613e in  () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f4f7a7a1197 in g_main_context_dispatch (context=0xa21000) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#34 0x00007f4f7a7a1197 in g_main_context_dispatch (context=context@entry=0xa21000) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#35 0x00007f4f7a7a13f0 in g_main_context_iterate (context=context@entry=0xa21000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#36 0x00007f4f7a7a149c in g_main_context_iteration (context=0xa21000, may_block=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#37 0x00007f4f7f9862ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007f4f7ed49616 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007f4f7f95418f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f4f7f9544f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f4f7f17ea3c in QDialog::exec() () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007f4f80b5c2b2 in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () at /usr/lib/libkdeui.so.5
#43 0x00007f4f80b5c5c2 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () at /usr/lib/libkdeui.so.5
#44 0x00007f4f80b5e387 in KMessageBox::questionYesNoCancelWId(unsigned long, QString const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib/libkdeui.so.5
#45 0x00007f4f80b5e67a in KMessageBox::questionYesNoCancel(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib/libkdeui.so.5
#46 0x00000000004bd401 in  ()
#47 0x00000000004be1e6 in  ()
#48 0x00000000004bf94b in  ()
#49 0x00007f4f80bfcf3b in  () at /usr/lib/libkdeui.so.5
#50 0x00007f4f80bfcfed in  () at /usr/lib/libkdeui.so.5
#51 0x00007f4f80bfd243 in  () at /usr/lib/libkdeui.so.5
#52 0x00007f4f7fce2fc5 in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#53 0x00007f4f7fce451c in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#54 0x00007f4f7fce523d in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#55 0x00007f4f7fce543b in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#56 0x00007f4f7f96fdb1 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#57 0x00007f4f7eca178f in QApplication::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#58 0x00007f4f7ec9bfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#59 0x00007f4f7eca2f16 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#60 0x00007f4f80bf564a in KApplication::notify(QObject*, QEvent*) () at /usr/lib/libkdeui.so.5
#61 0x00007f4f7f95590d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#62 0x00007f4f7f9593c6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#63 0x00007f4f7f98613e in  () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#64 0x00007f4f7a7a1197 in g_main_context_dispatch (context=0xa21000) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#65 0x00007f4f7a7a1197 in g_main_context_dispatch (context=context@entry=0xa21000) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#66 0x00007f4f7a7a13f0 in g_main_context_iterate (context=context@entry=0xa21000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#67 0x00007f4f7a7a149c in g_main_context_iteration (context=0xa21000, may_block=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#68 0x00007f4f7f9862ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#69 0x00007f4f7ed49616 in  () at /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#70 0x00007f4f7f95418f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#71 0x00007f4f7f9544f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#72 0x00007f4f7f95a4b9 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#73 0x0000000000428c2f in  ()
#74 0x00007f4f7de8c830 in __libc_start_main (main=0x427c90, argc=6, argv=0x7ffe1d13a688, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe1d13a678) at ../csu/libc-start.c:291
#75 0x00000000004298f9 in _start ()

Reported using DrKonqi
Comment 1 Alexander Markevich 2017-08-16 08:28:05 UTC
Created attachment 107305 [details]
metalink - XML file
Comment 2 Christoph Feck 2017-09-06 18:45:28 UTC

*** This bug has been marked as a duplicate of bug 332191 ***