Skip to content
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

"Assertion `PyErr_ExceptionMatches(PyExc_OverflowError)' failed" if ethernet up #17797

Closed
twwn opened this issue Aug 13, 2024 · 1 comment
Closed
Labels

Comments

@twwn
Copy link

twwn commented Aug 13, 2024

What version of protobuf and what language are you using?
Version: v2.73 as shipped by ArchLinux
Language: Python

What operating system (Linux, Windows, ...) and version?
ArchLinux

What runtime / compiler are you using (e.g., python version or gcc version)
Python 3.12.5
Kernel 6.10.4-zen
rustcc (nightly)
clang 18.1.8 / gcc 14.2.1

What did you do?
Anki (git version) is my sole user of the library.

I just start it.

What did you expect to see
Program starts.

What did you see instead?
Some unrelated startup lines and then on the console:

python: python/convert.c:91: PyUpb_GetUint64: Assertion `PyErr_ExceptionMatches(PyExc_OverflowError)' failed.
IOT instruction (core dumped) anki

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).

This has been happening for maybe 2-3 months now. Previously it was fine.

But: This only occurs if my ethernet connection (Intel I225-V, module igc) is up.

If I rmmod igc, I can run Anki fine. Doesn't matter then if I modprobe the module again and bring the connection back up.

Often then I can close & start Anki a second time even with the interface up, but other times it fails again.

Dunno how to further debug.

@twwn twwn added the untriaged auto added to all issues by default when created. label Aug 13, 2024
@JasonLunn
Copy link
Contributor

Hi @twwn -

I recommend refiling this issue with Anki https://github.com/ankitects/anki

The protobuf library doesn't do any networking (higher level libraries like gRPC use protobuf to do serialization on bytes from the wire), so the symptom you're describing that goes away if your network connection is down doesn't seem like it can be fixed by protobuf. More likely it is anki is getting into trouble while it's using protobuf.

@JasonLunn JasonLunn removed the untriaged auto added to all issues by default when created. label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants