Comments (9)
After some testing I'm not sure about the reason of this issue. WSASend bla-bla only acquires with WinDbg, probably right in time of crash. Without WinDbg it just dies on recv or about it after some time.
from asyncoro.
gc.disable() doesn't fix the problem
from asyncoro.
I am not actually familiar with IOCP. The implementation is based on documentation of API (i.e., the only "experience" I have with IOCP is in implementing it for asyncoro). If you are familiar with it, please check/fix.
I didn't quite understand '_schedule' comment above. In the current master polling has been revamped and likely may affect how the error manifests.
Is it possible to use asyncoro's RCI and/or discoro instead of rpyc?
from asyncoro.
I am not actually familiar with IOCP. The implementation is based on documentation of API (i.e., the only "experience" I have with IOCP is in implementing it for asyncoro). If you are familiar with it, please check/fix.
Well, my even worse. I will try to figure out the problem, but for windows I don't know how to monitor memory issues properly.
I didn't quite understand '_schedule' comment above. In the current master polling has been revamped and likely may affect how the error manifests.
I tried asyncoro from pip
Is it possible to use asyncoro's RCI and/or discoro instead of rpyc?
Unfortunately no, because main project is already written using rpyc.
from asyncoro.
I started thread in pywin32 tracker (https://sourceforge.net/p/pywin32/bugs/744/), maybe somebody knows what to do
from asyncoro.
Please post here if there is any useful info regarding this. I am hoping to release asyncoro 4.4.0 tomorrow, unless there are any show stoppers (I have a few commits pending). Please test again with the release and see if you can reproduce this issue.
from asyncoro.
Same story with current master. Python interpreter dies in GC. I placed minimal working part of failed program here - https://gist.github.com/alxchk/482055c284dc3289f1b61b843908c2af
I have next setup with 100% reproduce:
- Windows 7/10
- rpyc_classic on Linux host
- asyncoroproxy-test.py runned on Windows host
- Firefox + Socks5 proxy walks via asyncoroproxy from Windows host
- Open several sites simultaneously (and youtube among them)
from asyncoro.
Can you try asyncoro without IOCP? If you comment import pywintypes
around line 920, or add raise Exception('')
in that block, asyncoro will use select poller instead of IOCP. select is not efficient, but will narrow down problem.
You can also try Python 3.5 / 3.6 with 32 or 64 bit versions to find which setup is causing this.
from asyncoro.
With select I cant get crash, but it sooooo sloooow. I'd better rewrite stuff with pyuv instead of using this backend :)
I can't check it with python3 right now - looks like a lot of stuff should be fixed to be compatible with python3 in my script
from asyncoro.
Related Issues (12)
- PyPI Installation HOT 6
- multiple threading HOT 3
- finish() method on a RCI does not work HOT 11
- AttributeError: '_AsyncNotifier' object has no attribute '_poller_name' on windows with pywin32 HOT 3
- Specify interface broadcast address while broadcasting message to discover peers HOT 3
- Random exception using disasyncoro since version 4.1 HOT 3
- Current master is broken HOT 2
- Invalid coroutine to resume with coro.sleep() call HOT 2
- When is an coroutine closed? How to determine the state of an coroutine? HOT 2
- Running simple async process in the background HOT 2
- AttributeError: 'NoneType' object has no attribute '_proceed_' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asyncoro.