Page 2 of 2

Re: New features in SVN

Posted: Sat Nov 17, 2007 7:56 am
by MoJo
I have rev. 2220, and Deluge still crashes upon closing ... one thing I have noticed is that I don't encounter the Deluge stalled crash anymore, well atleast for now. But the reason for that could be that after 40 minutes or so I close Deluge anyways, so I don't have data on Deluge running like overnight and right now I'm more concerned with the why it crashes upon closing ... it's like it is waiting for something to happen before it closes. Maybe in Deluge a destructor is waiting for a parameter to be returned that isn't being sent? Or stalls in closing a plugin? I tested with all plugins turned off it still happens to become unresponsive when shutting down. In terminal I see the last step it does before becoming unresponsive is the following:

Code: Select all

mojo@Bluebox:~/.config/deluge$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin TorrentCreator
Initialising plugin BlocklistImport
Initialising plugin TorrentFiles
Initialising plugin TorrentPeers
Initialising plugin DesiredRatio
Initialising plugin Locations
Initialising plugin SimpleRSS
Initialising plugin WebSeed
Initialising plugin WebUi
Initialising plugin NetworkGraph
Initialising plugin TorrentNotification
Initialising plugin MoveTorrent
Initialising plugin EventLogging
Initialising plugin Scheduler
Initialising plugin SpeedLimiter
Initialising plugin ExtraStats
Initialising plugin FlexRSS
Initialising plugin TorrentSearch
Initialising plugin NetworkHealth
Applying preferences
Starting DHT...
Showing window
Pickling state...
Stopping DHT...
Saving fastresume data...
Saving uploaded memory...
Quitting the core...
core: removing torrents...
core: removing settings...
core: shutting down session...
core shut down.
Hypothetically if the Core is shutdown before the GUI, wouldn't it crash ... is there a way of Shutting down the GUI before the internals?

Re: New features in SVN

Posted: Sun Nov 18, 2007 10:48 am
by MoJo
Happy to report that Deluge rev. 2247 closes the GUI ... but one tiny issue. It doesn't actually close, as it remains running in the System Processes thread. I still have to kill it, before restarting it again :( . But there is some progress as atleast now the GUI closes and disappears, unfortunately it is going halfway as now the process is still running in the background.

Re: New features in SVN

Posted: Sun Nov 18, 2007 7:28 pm
by SpawN
I will try it and i will tel you how it's works

[size=0]Image[/size]

Re: New features in SVN

Posted: Tue Nov 20, 2007 1:37 am
by johnnyg
just trying latest SVN: no longer hangs on exit :D.

however it seems everytime I start deluge I have to re-enable the blocklist plugin. all other plugins are fine.

is this done on purpose?

Re: New features in SVN

Posted: Tue Nov 20, 2007 2:00 am
by markybob
johnnyg wrote:just trying latest SVN: no longer hangs on exit :D.

however it seems everytime I start deluge I have to re-enable the blocklist plugin. all other plugins are fine.

is this done on purpose?
not on purpose. i just fixed it in 2270

Re: New features in SVN

Posted: Tue Nov 20, 2007 3:28 am
by MoJo
Revision 2270 is perfect as the Closing bug seems to be squashed ... it works and imediately closes when the close function is triggered.

Re: New features in SVN

Posted: Tue Nov 20, 2007 1:09 pm
by johnnyg
markybob wrote:
johnnyg wrote:just trying latest SVN: no longer hangs on exit :D.

however it seems everytime I start deluge I have to re-enable the blocklist plugin. all other plugins are fine.

is this done on purpose?
not on purpose. i just fixed it in 2270
hehe, yeah I figured as much but though it might've been causing issues on startup and hence why you would disable it.

edit: just tried latest revision, works great!