-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error python #32
Comments
Hi @AYMENJD, thanks for the bug report. What operating system are your using? Can you share the application that crashed? |
Hey, thanks for reply.
Ubuntu 18.04 LTS 16 ram 8 cpu.
Unfortunately no. Its telegram bot but high loaded with 400 update per second.
And every update will be served in dedicated thread using pool.submit(). The update will be shared between 60+ loaded plugins. These plugins will access to a global variables that contains an important objects like: telegram/database connection object. And as i can see its hard to reproduce the fatal error. Only |
Thanks for the information. The If I understand correctly, the Does the application use other Python C API extensions? What do plugins mean in this context? (Other Python packages or are these plugins something to do with the |
My bot is on production mode so will this effect the bot ?
Yes, i use this wrapper: tdjson.py
In my code i don't use any C API extension but my plugins use other pip packages and may these packages use that. |
Also before 3 hours the program also crashed with error: |
It will crash and print debug information instead of printing |
It prints this. |
Looks like pycld2 crashes in upstream CPython 3.9 too with assertions enabled (debug build), so that's the first problem -- a bug in pycld2. I've filed an issue on the pycld2 github: aboSamoor/pycld2#50. Until it's fixed upstream, you can try using a patched version of pycld2:
|
Thanks!! the |
I have a question. for example on
but if i do |
You can't copy the python binary into a different python installation. You can't mix the "nogil" Python with the CPython standard library. The "nogil" Python has changes to the standard library and it won't work with the standard library from other python installations. |
Got it TnX for ur time. |
Hi yesterday i compile
nogil python
version and i found an unexpected behavior.On startup my application prints
and then after some minutes my app crashed with error:
The text was updated successfully, but these errors were encountered: