Bug 332191 - Kget crashes
Summary: Kget crashes
Status: REPORTED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: 18.08
Platform: Chakra Linux
: VHI crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords: drkonqi
: 337009 337220 343414 352556 376947 377288 383085 383584 386413 388189 401640 401799 457873 463476 463909 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-15 18:37 UTC by Richard Llom
Modified: 2023-01-06 20:18 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Llom 2014-03-15 18:37:57 UTC
Application: kget (2.12.2)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.12.6-1-CHAKRA x86_64
Distribution: "Chakra Linux"

-- Information about the crash:
- What I was doing when the application crashed:
After a restart Kget was asking to confirm a server authenticate. I hit cancel then Kget crashed. There were no active dl, but only finished downloads.

-- Backtrace:
Application: KGet (kget), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#5  0x000000000043de42 in TransfersView::populateHeaderActions (this=0x6d02d20) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/ui/transfersview.cpp:136
#6  0x000000000043e465 in TransfersView::qt_static_metacall (_o=0x6d02d20, _id=-1, _a=0x7f0351619638 <main_arena+24>, _c=<optimized out>) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/transfersview.moc:84
#7  0x00007f0352c4ae58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#8  0x00007f03524e2f9f in QHeaderView::sectionCountChanged(int, int) () from /usr/lib/libQtGui.so.4
#9  0x00007f03524e72f4 in QHeaderView::initializeSections(int, int) () from /usr/lib/libQtGui.so.4
#10 0x00007f03524e8e17 in QHeaderView::initializeSections() () from /usr/lib/libQtGui.so.4
#11 0x00007f03524ec843 in QHeaderView::setModel(QAbstractItemModel*) () from /usr/lib/libQtGui.so.4
#12 0x00007f035251d85e in QTreeView::setModel(QAbstractItemModel*) () from /usr/lib/libQtGui.so.4
#13 0x000000000043e59b in TransfersView::setModel (this=0x6d02d20, model=0x2323f80) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/ui/transfersview.cpp:71
#14 0x0000000000443493 in ViewsContainer::ViewsContainer (this=0x6d023d0, parent=<optimized out>) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/ui/viewscontainer.cpp:34
#15 0x00000000004aaa11 in MainWindow::MainWindow (this=0x6cfb260, showMainwindow=<optimized out>, startWithoutAnimation=<optimized out>, doTesting=<optimized out>, parent=0x0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/mainwindow.cpp:79
#16 0x00000000004abd02 in KGetApp::newInstance (this=0x7fff514d3e40) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/main.cpp:52
#17 0x00007f03551f8cbc in ?? () from /usr/lib/libkdeui.so.5
#18 0x00007f03551f8d45 in ?? () from /usr/lib/libkdeui.so.5
#19 0x00007f03551f8f63 in ?? () from /usr/lib/libkdeui.so.5
#20 0x00007f0352fc1106 in ?? () from /usr/lib/libQtDBus.so.4
#21 0x00007f0352fc225b in ?? () from /usr/lib/libQtDBus.so.4
#22 0x00007f0352fc2ca4 in ?? () from /usr/lib/libQtDBus.so.4
#23 0x00007f0352fc2d7b in ?? () from /usr/lib/libQtDBus.so.4
#24 0x00007f0352c4f1de in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007f0352007e43 in QApplication::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007f0352002e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007f0352009410 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f03551f1a5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f0352c372ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#30 0x00007f0352c3a33f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#31 0x00007f0352c64543 in ?? () from /usr/lib/libQtCore.so.4
#32 0x00007f034d048d66 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f034d0490b8 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f034d04915c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007f0352c63e05 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f035209f676 in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f0352c35f4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f0352c36245 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007f03347dd457 in KGetMetalink::MetalinkHttpParser::checkMetalinkHttp (this=0x2590d40) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/ui/metalinkcreator/metalinker.cpp:1365
#40 0x00007f03347c9e65 in MetalinkHttpParser (Url=..., this=0x2590d40) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/ui/metalinkcreator/metalinker.h:426
#41 MetalinkFactory::createTransfer (this=0x23b1af0, srcUrl=..., destUrl=..., parent=0x24d7110, scheduler=0x2313240, e=0x2465e40) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/transfer-plugins/metalink/metalinkfactory.cpp:39
#42 0x00007f035463631e in KGet::createTransfers (dataItems=...) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/core/kget.cpp:885
#43 0x00007f03546375db in KGet::addTransfers (elements=..., groupName=...) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/core/kget.cpp:278
#44 0x00007f035464eb17 in TransferGroup::load (this=0x24d7110, e=...) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/core/transfergroup.cpp:400
#45 0x00007f03546347b6 in KGet::load (filename=...) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/core/kget.cpp:550
#46 0x00000000004a991d in MainWindow::init (this=this@entry=0x22922e0) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/mainwindow.cpp:406
#47 0x00000000004aaadf in MainWindow::MainWindow (this=0x22922e0, showMainwindow=<optimized out>, startWithoutAnimation=<optimized out>, doTesting=<optimized out>, parent=0x0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/mainwindow.cpp:92
#48 0x00000000004abd02 in KGetApp::newInstance (this=0x7fff514d3e40) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/main.cpp:52
#49 0x00007f03551f8cbc in ?? () from /usr/lib/libkdeui.so.5
#50 0x00007f03551f8d45 in ?? () from /usr/lib/libkdeui.so.5
#51 0x00007f03551f8f63 in ?? () from /usr/lib/libkdeui.so.5
#52 0x00007f0352fc1106 in ?? () from /usr/lib/libQtDBus.so.4
#53 0x00007f0352fc21e9 in ?? () from /usr/lib/libQtDBus.so.4
#54 0x00007f0352fc2ca4 in ?? () from /usr/lib/libQtDBus.so.4
#55 0x00007f0352fc2d7b in ?? () from /usr/lib/libQtDBus.so.4
#56 0x00007f0352c4f1de in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#57 0x00007f0352007e43 in QApplication::event(QEvent*) () from /usr/lib/libQtGui.so.4
#58 0x00007f0352002e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#59 0x00007f0352009410 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#60 0x00007f03551f1a5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#61 0x00007f0352c372ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#62 0x00007f0352c3a33f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#63 0x00007f0352c64543 in ?? () from /usr/lib/libQtCore.so.4
#64 0x00007f034d048d66 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#65 0x00007f034d0490b8 in ?? () from /usr/lib/libglib-2.0.so.0
#66 0x00007f034d04915c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#67 0x00007f0352c63e05 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#68 0x00007f035209f676 in ?? () from /usr/lib/libQtGui.so.4
#69 0x00007f0352c35f4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#70 0x00007f0352c36245 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#71 0x00007f0352c3b35b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#72 0x000000000042896b in main (argc=3, argv=0x7fff514d3f88) at /chakra/desktop-unstable/kdenetwork-kget/src/kget-4.12.2/main.cpp:149

Reported using DrKonqi
Comment 1 Christoph Feck 2014-07-03 18:26:21 UTC
*** Bug 337009 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2014-07-08 14:35:33 UTC
*** Bug 337220 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2015-01-28 13:00:47 UTC
*** Bug 343414 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2017-01-13 18:05:02 UTC
*** Bug 352556 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2017-03-01 03:08:46 UTC
*** Bug 376947 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2017-03-09 12:42:38 UTC
*** Bug 377288 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2017-08-03 21:39:59 UTC
*** Bug 383085 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2017-08-23 01:25:47 UTC
*** Bug 383085 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2017-09-06 18:45:28 UTC
*** Bug 383584 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2017-11-09 19:46:36 UTC
*** Bug 386413 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2017-12-24 12:34:59 UTC
*** Bug 388189 has been marked as a duplicate of this bug. ***
Comment 12 Wolfgang Bauer 2018-12-03 18:38:37 UTC
*** Bug 401640 has been marked as a duplicate of this bug. ***
Comment 13 Wolfgang Bauer 2018-12-03 19:08:15 UTC
I'm not able to reproduce this crash, even though it apparently still can happen in the latest version.

Can somebody affected please try to rename the file ~/.local/share/kget/transfers.kgt and report back if it helps? (in earlier versions it would be ~/.kde(4)/share/apps/kget/transfers.kgt)

If yes, please attach the problematic file.
Thanks.
Comment 14 Wolfgang Bauer 2018-12-06 10:05:24 UTC
*** Bug 401799 has been marked as a duplicate of this bug. ***
Comment 15 Ghazy Abdallah 2018-12-06 12:04:56 UTC
I noticed something today, when I started KGet and got the KDE crash report dialog I clicked restart (to restart kget) Telegram (which was running minimized in system tray) windows appeared. I repeated that several times with the same result. after that I closed Telegram (eight click tray icon -> quit) and tried to start kget and it started normally.
Comment 16 Bug Janitor Service 2018-12-21 03:44:14 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 17 Bug Janitor Service 2019-01-05 03:44:29 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!
Comment 18 Wolfgang Bauer 2019-01-05 19:17:00 UTC
Sorry, it wasn't my intention to have this auto-closed... :-/

I still cannot reproduce it though.

Regarding comment#13: the crash happens when kget creates the entries to hide columns in the list header's right-click context menu.
So transfers.kgt shouldn't be relevant here.
It might be somehow related to ~/.config/kgetrc (or ~/.kde(4)/share/config/kgetrc) though, so it might be worth a try to delete/rename that one.

Judging from the backtrace, this crash must have been introduced by https://cgit.kde.org/kget.git/commit/?h=KDE/4.12&id=c6531c0334a7cab9d37cc921fb5792b4727b0611 (and it seems to fit that this originally has been reported against 4.12.2, which is the first version that includes that change).
Calling populateHeaderActions() more than once (which happens since that change) is not really great, as it allocates the actions on the heap and never frees them... (but that shouldn't cause a crash)
But just reverting that is probably not a good idea either, as it was a fix for another crash (bug#329957).

I'll have to think more about it, not being able to reproduce makes it hard to investigate what really goes wrong though...
Comment 19 Justin Zobel 2021-01-12 02:03:31 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 20 Bug Janitor Service 2021-01-27 04:33:14 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 21 Bug Janitor Service 2021-02-11 04:33:14 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!
Comment 22 Antonio Rojas 2022-12-27 15:24:41 UTC
*** Bug 463476 has been marked as a duplicate of this bug. ***
Comment 23 Nicolas Fella 2023-01-06 20:18:29 UTC
*** Bug 457873 has been marked as a duplicate of this bug. ***
Comment 24 Nicolas Fella 2023-01-06 20:18:41 UTC
*** Bug 463909 has been marked as a duplicate of this bug. ***