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

pysha3 fails with obscure internal error #67297

Closed
tinLoaf mannequin opened this issue Dec 24, 2014 · 4 comments
Closed

pysha3 fails with obscure internal error #67297

tinLoaf mannequin opened this issue Dec 24, 2014 · 4 comments
Labels
extension-modules C modules in the Modules dir interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@tinLoaf
Copy link
Mannequin

tinLoaf mannequin commented Dec 24, 2014

BPO 23108
Nosy @benjaminp, @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-12-24.15:30:48.849>
created_at = <Date 2014-12-24.10:56:54.352>
labels = ['extension-modules', 'interpreter-core', 'type-crash']
title = 'pysha3 fails with obscure internal error'
updated_at = <Date 2014-12-24.15:30:48.837>
user = 'https://bugs.python.org/tinLoaf'

bugs.python.org fields:

activity = <Date 2014-12-24.15:30:48.837>
actor = 'r.david.murray'
assignee = 'none'
closed = True
closed_date = <Date 2014-12-24.15:30:48.849>
closer = 'r.david.murray'
components = ['Extension Modules', 'Interpreter Core']
creation = <Date 2014-12-24.10:56:54.352>
creator = 'tinLoaf'
dependencies = []
files = []
hgrepos = []
issue_num = 23108
keywords = []
message_count = 4.0
messages = ['233075', '233077', '233078', '233080']
nosy_count = 3.0
nosy_names = ['benjamin.peterson', 'r.david.murray', 'tinLoaf']
pr_nums = []
priority = 'normal'
resolution = 'third party'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue23108'
versions = ['Python 3.3']

@tinLoaf
Copy link
Mannequin Author

tinLoaf mannequin commented Dec 24, 2014

Hi!

Since there is no separate bug tracker for pysha3 (and it is being discussed in some other bug on this tracker), I figured that this is the right place to file this bug. I hope I'm right.

I'm trying to import pysha3, and it fails with the error

"undefined symbol: _PyUnicode_CheckConsistency"

(full backtrace here: http://pastebin.com/ueXDAwu6 )

I can't find anything useful about this error using Google etc.

I'm using Python 3.3.5 on a current Gentoo Linux. I'm running in a virtualenv, so there should not be too much getting in the way. I basically have Django and pysha3 installed.

Full output of 'pip freeze': http://pastebin.com/Z7DF96Z0
Full output of 'python -v': http://pastebin.com/1HeSJJ8p

@tinLoaf tinLoaf mannequin added extension-modules C modules in the Modules dir interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels Dec 24, 2014
@benjaminp
Copy link
Contributor

pysha3 has been compiled against a debug build of Python and you are running an non-debug one.

@tinLoaf
Copy link
Mannequin Author

tinLoaf mannequin commented Dec 24, 2014

D'Oh. Thanks for the hint. So, is it on purpose that there is some piece of software that's only working on debug builds installable via pip? There was no warning whatsoever when I installed pysha3 via pip..

@tinLoaf tinLoaf mannequin reopened this Dec 24, 2014
@bitdancer
Copy link
Member

I doubt that it is on purpose, but it is not a CPython bug. You have one bug in pysha3 (a third party product) and one possible bug (I don't know enough to know if it is one) in pip, which has its own tracker (we track *ensurepip* bugs here, but not pip bugs).

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

2 participants