[Python-bugs-list] [ python-Bugs-811844 ] readline+no threads = core dump

SourceForge.net noreply at sourceforge.net
Wed Sep 24 12:17:12 EDT 2003


Bugs item #811844, was opened at 2003-09-24 16:46
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=811844&group_id=5470

Category: Threads
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: TEd Drain (teddrain)
Assigned to: Nobody/Anonymous (nobody)
Summary: readline+no threads = core dump

Initial Comment:
Build 2.3 or 2.3.1 on linux with the following

configure command:



./configure --enable-shared --without-threads



Try running the rlcompleter example.  If you hit TAB

with completions enabled, you'll get a core dump after

you hit return on that line.  Works fine if I build

with threads enabled.  



This is a major problem for me since we have to deliver

our software on machines that do not support pthreads

(hpux 10.2 for example).



~: uname -a

Linux XXXX 2.4.9-21 #1 Thu Jan 17 14:16:30 EST 2002

i686 unknown



~/builds-gcc2: python

Python 2.3.1 (#1, Sep 24 2003, 08:13:26)

[GCC 2.95.3 20010315 (release)] on linux2

Type "help", "copyright", "credits" or "license" for

more information.

>>> import readline, rlcompleter

>>> readline.parse_and_bind("tab: complete")

>>> readline.par<TAB> se_and_bind()

Fatal Python error: PyThreadState_Get: no current thread

Abort (core dumped)



----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2003-09-24 17:17

Message:
Logged In: YES 
user_id=6656

i see this too.



oops.  hopefully easy to fix...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=811844&group_id=5470



More information about the Python-bugs-list mailing list