-
Notifications
You must be signed in to change notification settings - Fork 16
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
[BUG] TestCFrozendict::test_reversed <- test/common.py Fatal Python error: Aborted #82
Comments
Does the problem arise only with |
The problem arises only with |
If I run
|
Here is a gdb backtrace (with glibc-2.37):
|
Here is more verbose log from gdb: gdb-backtrace-full.txt |
Well, this stacktrace, together with the info about your py version, is enough. Maybe you want to put your long stacktraces on pastebin.com . The problem is simple: frozendict uses the internal
that fails, because frozendict in the C extension "inherits" only from Mapping, not from dict. This is by design, not an accident. I could rewrite the entire Why do you need |
In Gentoo users in general can choose to install python |
On the contrary, I suppose what you are searching for is to compile
|
Furthermore, Do you know a CI/CD tool for Github that uses assertions? How is your pipeline? |
I'd like to comment on the I tried to built the package with As for the image with assertion enabled, we're not using a specific one. The issue was discovered through our Gentoo tinderbox testing process, which you can learn more about here: https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/. I managed to reproduce the problem using a |
TL;DR I'll accept a PR, but no official support to
I doubt it. Sometimes I needed to debug the C Extension compiling the extension itself with asserts, not Python.
You have to compile the extension using a python without
In this case Someone can post a PR for this problem. It's not difficult. You have only to copy/paste the I leave the issue open, so it's more evident for users. |
This bug report is based on https://bugs.gentoo.org/910474
OS version:
Gentoo
Python3 version (python3 -V -V):
Python 3.10.12 (main, Jul 18 2023, 08:55:21) [GCC 13.1.1 20230527]
The Python-3.10 is compiled with
--with-assertions
configuration flag enabledSteps to reproduce:
Actual result (with the python stack trace if present) (full log is here):
Here is more verbose log from gdb: gdb-backtrace-full.txt
The text was updated successfully, but these errors were encountered: