[Python-bugs-list] [ python-Bugs-546078 ] IDLE calltips cause application error
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 22 Apr 2002 10:41:56 -0700
Bugs item #546078, was opened at 2002-04-19 07:38
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=546078&group_id=5470
Category: IDLE
Group: None
Status: Open
Resolution: None
>Priority: 3
Submitted By: Duncan Booth (duncanb)
>Assigned to: Tim Peters (tim_one)
Summary: IDLE calltips cause application error
Initial Comment:
I can reproduce this bug on Python 2.2 and Python 2.1
on different Windows 2000 machines.
Start a copy of IDLE.
At the interactive prompt type the following
interactive session:
>>> s = "%"*3000
>>> def f(p=s): pass
>>> f(
Instead of showing a calltip window with the arguments
for f, idle dies with an application error dialog:
idle: pythonw.exe - Application Error
The instruction at "0x1000a01f" referenced memory
at "0x00000000". The memory could not be "read".
This happens whenever the calltip string gets too long
(somewhere between 2500 and 3000 characters).
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-04-22 13:41
Message:
Logged In: YES
user_id=6380
I just tried this with Python 2.2.1 and cannot reproduce it
either, but then I'm on Win98 and don't have easy access to
Win2K. If this really is Win2K specific, TIm is our only
hope, so I've assigned to him. (Tim, all I need at this
point is to see whether you can reproduce this on Win2k.)
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2002-04-21 11:33
Message:
Logged In: YES
user_id=33168
I couldn't replicate this bug...well, not exactly.
On Linux (redhat 7.2), I tried the example and there was no
problem. I increased 3000 to 30,000 and still no problem.
I then changed % to * and my X server crashed!
So I think the problem you are seeing is Windows specific,
but there may be a Tk problem also.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=546078&group_id=5470