[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 128567] New: [PATCH]: crash due to uncaught exception while
From: Jonas Widarsson <jonas () widarsson ! com>
Date: 2006-06-03 13:51:47
Message-ID: 20060603155144.128567.jonas () widarsson ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=128567
Summary: [PATCH]: crash due to uncaught exception while trying to
resolve missing files at startup.
Product: ktorrent
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: joris.guisson gmail com
ReportedBy: jonas widarsson com
Version: svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent \
(using KDE KDE 3.5.3) Installed from: Compiled From Sources
I sometimes chose to dowload torrents to a USB-disk.
When it is not connected, ktorrent obvoiusly can't work with them.
Ktorrent throws an Error from fileops.cpp that unwinds the whole application if the \
path is unaccessible, regardless of what I select in that dialog that comes up in \
KTorrentCore::aboutToBeStarted():
"Several data files of the torrent \"%1\" are missing, do you want to recreate them, \
or do you want to not download them ?"
So here's a patch to catch that exception. I don't know if it makes things worse. \
Probably there should be more actions taken to inform ktorrent that those torrents \
are put to sleep for a sensible time.
This patch doesn't do that at all. I just caught the exception without doing anything \
beyond that.
I don't know right now if there's any particular freeze going on for ktorrent.
And, also, this is my first code contribution to the KDE project.
Please be strict and tell me to fix things if I did anything wrong.
Will attach patch in a minute.
URL: svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent
Revision: 547745
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic