Deluge crash:File "twisted/internet/defer.py", line 149, in maybeDeferred

General support for problems installing or using Deluge
Post Reply
cocokola
Member
Member
Posts: 11
Joined: Fri Feb 23, 2018 11:12 pm

Deluge crash:File "twisted/internet/defer.py", line 149, in maybeDeferred

Post by cocokola »

I've googled this to death.. need help.

Deluge keeps Crashing after 5-10 minutes.

Deluge 1.3.15
libtorrent 1.0.11.0
Win pro 7 ( 6.1.7601) running on hyper-V VM under Windows 10 host
IE 11.0.9600.18920
Chrome 64.0.3282.167 64-bit

Media storage is on physical host

Stand alone GUI client frequently crashes, after 5-15 minutes. torrents continue to download, webUI 'disconnects' meaning I have to select connect. During this time, 3rd party systems like sonarr is unable to communicate until I click connect and enter the password

3a) how do I fix this crash? I tried repairing .net 4.x , installed Python 2.7.13 64-bit. Python shows at command prompt:
"C:\Users\<userid>>python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32"

I tried unchecking the preference to use legacy GUI, but then both the gui and download engine crashed.

I repaired the deluge install. What else?

I will upload logs next. Apparently they were overwritten, so I have to capture a new crash..
Last edited by cocokola on Sun Feb 25, 2018 8:56 pm, edited 1 time in total.
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Deluge crashes on Windows VM

Post by Shryp »

There is a memory leak in one of the libraries deluge uses on Windows. How much memory do you have allocated to the VM? Watch the memory usage in the task manager and see if it is crashing when it runs out of memory.
cocokola
Member
Member
Posts: 11
Joined: Fri Feb 23, 2018 11:12 pm

Re: Deluge crashes on Windows VM

Post by cocokola »

I saw those posts claiming to be a memory leak;however, I'm tracing using perfmon act in not seeing an increase in memory. I have 16 gig assigned, with the ability to grow it up to 32gig. The system shows over 4 gig available, so that's not the issue.

I ran a similar setup for weeks with no issue, albeit win 10 on physical.

So the app is unusable. If memory serves, I had a similar issue in the past, and I think it may had something to do with changing the webui password from default..?

Come on, there has so be something to look at.
Here is error log:
Unhandled error in Deferred:

Traceback (most recent call last):
File "twisted/internet/_glibbase.py", line 384, in simulate
File "twisted/internet/base.py", line 631, in iterate
File "twisted/internet/base.py", line 825, in runUntilCurrent
File "twisted/internet/task.py", line 239, in __call__
--- <exception caught here> ---
File "twisted/internet/defer.py", line 149, in maybeDeferred
File "deluge\ui\gtkui\mainwindow.py", line 291, in update
File "deluge\ui\client.py", line 504, in __call__
File "deluge\ui\client.py", line 308, in call
exceptions.AttributeError: 'NoneType' object has no attribute 'send_request'
cocokola
Member
Member
Posts: 11
Joined: Fri Feb 23, 2018 11:12 pm

Re: Deluge crash:File "twisted/internet/defer.py", line 149, in maybeDeferred

Post by cocokola »

I posted this under windows as well, but not sure if that is appropriate..

Am I just on my own?
cocokola
Member
Member
Posts: 11
Joined: Fri Feb 23, 2018 11:12 pm

Re: Deluge crash:File "twisted/internet/defer.py", line 149, in maybeDeferred

Post by cocokola »

Spoke too soon. It just took longer to crash this time.. :(

"VM had 1 GB for free space, I extended it to have more room and so far the issue has resolved. Might want to note this fix."
cocokola
Member
Member
Posts: 11
Joined: Fri Feb 23, 2018 11:12 pm

Re: Deluge crash:File "twisted/internet/defer.py", line 149, in maybeDeferred

Post by cocokola »

still broke. what do I do to investigate further?
Post Reply