This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients
Date 2002-02-02.11:38:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=21627

That looks very much like a miscompilation. Notice that
initreadline is supposed to pass a first string of
"readline" to InitModule4; in the gdb backtrace, we see an
empty string. Likewise, the invalid address comes from the
methods argument to InitModule4, fetching ml_name. These are
all static strings, compiled into an array (namely,
readline.c:readline_methods).

So I really recommend to downgrade the compiler (or use the
Sun system compiler if you have it); if you are interested
in a work-around, here are two options:
- build readline statically into the Python interpreter. Do
so by uncommenting the readline line in Modules/Setup
(adding libraries as necessary)
- do not build the readline module at all; do so by adding
'readline' into setup.py:disabled_module_list.
History
Date User Action Args
2007-08-23 13:58:58adminlinkissue510868 messages
2007-08-23 13:58:58admincreate