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

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

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

Postby cocokola » Fri Feb 23, 2018 11:34 pm

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
Super Seeder
Super Seeder
Posts: 419
Joined: Mon Apr 20, 2015 10:20 pm
OS or Distro: Manjaro Linux

Re: Deluge crashes on Windows VM

Postby Shryp » Sat Feb 24, 2018 12:38 am

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
OS or Distro: Win10

Re: Deluge crashes on Windows VM

Postby cocokola » Sun Feb 25, 2018 5:35 pm

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
OS or Distro: Win10

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

Postby cocokola » Sun Feb 25, 2018 9:19 pm

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
OS or Distro: Win10

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

Postby cocokola » Tue Feb 27, 2018 5:10 pm

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
OS or Distro: Win10

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

Postby cocokola » Wed Feb 28, 2018 8:39 pm

still broke. what do I do to investigate further?


Return to “Support”

Who is online

Users browsing this forum: No registered users and 3 guests