Summary: | KTorrent crashes when trying to set a new location of a data file | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Martin Walch <walch.martin> |
Component: | libsolid-hal | Assignee: | Kevin Ottens <ervin> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | cfeck, joris.guisson, walch.martin |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Martin Walch
2010-11-17 02:48:33 UTC
Looks like a problem in kdelibs or Qt, reassigning to the kdelibs guys. Still there with KDE 4.5.4 and Qt 4.7.1. Tell me if you need a new backtrace. I just tried to get some more information and compiled kdelibs, solid, qt-dbus, qt-core, qt-gui, libktorrent and ktorrent with -O0. Now ktorrent is awfully slow, but I cannot trigger the crash anymore. Created attachment 54520 [details]
New crash information added by DrKonqi
ktorrent (4.0.4) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1
- What I was doing when the application crashed:
This is a new, slightly different backtrace, but the behaviour is virtually the same:
- All torrents were running when shutting down ktorrent the last time
- now I run ktorrent again
- a file has been moved and a dialog shows up immediately
- I select to chose a new location
-> crash
I have tried this with less torrents running and the crash does not happen then. But with about 1.100 torrent like now things go wrong.
-- Backtrace (Reduced):
#6 0x00007f63cf941c6a in KFileDialog::getExistingDirectory (startDir=..., parent=0x7fff3a349900, caption=...)
at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kfile/kfiledialog.cpp:642
#7 0x0000000000479cf9 in kt::MissingFilesDlg::selectNewPressed (this=0x7fff3a349900) at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4/ktorrent/dialogs/missingfilesdlg.cpp:105
#8 0x000000000047a2cc in kt::MissingFilesDlg::qt_metacall (this=0x7fff3a349900, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3a347c50)
at /var/tmp/portage/net-p2p/ktorrent-4.0.4/work/ktorrent-4.0.4_build/ktorrent/missingfilesdlg.moc:82
[...]
[...]
#11 0x00007f63cd9b99fc in QAbstractButton::clicked (this=0x7f63c0a57110, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206
#12 0x00007f63cd5ee76a in QAbstractButtonPrivate::emitClicked (this=0x7f63c0a57150) at widgets/qabstractbutton.cpp:546
Finally, I have found the source of the problem. I had some garbage files in ~/.kde4/share/config/session. Now ktorrent is working perfectly again. ... which doesn't mean it should crash. Looking at other "kdelibs" crashes caused by ktorrent, I still feel the bug is inside ktorrent, caused by running nested event loops. Upon closer look, it is a duplicate of the to many open files bug *** This bug has been marked as a duplicate of bug 251120 *** |