[ python-Bugs-1621111 ] IDLE crashes on OS X 10.4 when "Preferences" selected

SourceForge.net noreply at sourceforge.net
Thu Apr 12 10:27:32 CEST 2007


Bugs item #1621111, was opened at 2006-12-23 13:03
Message generated for change (Comment added) made by mehum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1621111&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Macintosh
Group: Python 2.5
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Mick L (mehum)
Assigned to: Ronald Oussoren (ronaldoussoren)
Summary: IDLE crashes on OS X 10.4 when "Preferences" selected

Initial Comment:
When I select 'preferences' (on IDLE 1.2, Python 2.5)  or 'Configure IDLE' (IDLE 1.1.4, Python 2.4.4 and IDLE 1.0, Python 2.3.3), Python crashes as soon as the dialog box appears.

Terminal reports a "Segmentation fault" upon the crash.

My system is an iMac G5 with 1 GB ram running OS X v 10.4.8, Tcl/Tk 8.4.10, and seems otherwise stable.  

IDLE also appears stable until I select this option.

The Python crash log is attached.

Please, can anyone suggest what may be causing this problem?  Thank you.



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

>Comment By: Mick L (mehum)
Date: 2007-04-12 17:27

Message:
Logged In: YES 
user_id=1674554
Originator: YES

OK... I followed your advice Ronald (moved the Tcl and Tk frameworks out
of Library), and it worked!  IDLE no longer crashes! Thank you so much!

With the frameworks moved, it apparently reverts to Tcl/Tk 8.4.7

The only oddity is that there is a _very_ long delay (beachball) when
opening preferences / configure IDLE; but now that the font is legibly
large, I doubt I shall need to go back there.

Thank you again,
Kind regards, Mick L

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

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2007-04-12 05:24

Message:
Logged In: YES 
user_id=580910
Originator: NO

It seems to be caused by Tcl/Tk, I cannot reproduce this with the system
version of Tk

This is on 10.4.8/intel, with python 2.5.1rc1. I don't think the change in
python version fixes this issue.

Mick: could you please test what happens when you temporarily move
/Library/Frameworks/Tcl.framework and /Library/Frameworks/Tk.framework to
another folder.

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

Comment By: Raymond Hettinger (rhettinger)
Date: 2007-04-12 02:12

Message:
Logged In: YES 
user_id=80475
Originator: NO

Bumping up the priority so this doesn't get lost.  My guess is that IDLE
is tickling some problem with the TkInter bindings.

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

Comment By: François Scholder (f_scholder)
Date: 2007-02-03 06:55

Message:
Logged In: YES 
user_id=1609867
Originator: NO

Erratum:

A similar problem arises with WinXP when trying to configure IDLE via the
"Options>Configure IDLE..." menu.

Clicking on the 'Ok' or 'Apply' buttons of the dialog seemingly has no
effect. However when closing the window by clicking on either the window
close button (top right 'X') or the 'Cancel' button, several bahaviors
are
observed depending on how many times one has clicked on the 'Ok' and/or
---->'Apply'<---- buttons before:
- 0 clicks => expected behavior (dialog is closed, IDLE session is
resumed
and working fine)
- 1 or 2 clicks => dialog is closed but the IDLE shell behaves as a text
editor instead of an interpreter
- 3 or more clicks => IDLE crashes...

Note: I'm running Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC
v.1310 32 bit (Intel)] on win32 -> WinXP SP2

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

Comment By: François Scholder (f_scholder)
Date: 2007-02-03 06:48

Message:
Logged In: YES 
user_id=1609867
Originator: NO

A similar problem arises with WinXP when trying to configure IDLE via the
"Options>Configure IDLE..." menu.

Clicking on the 'Ok' or 'Apply' buttons of the dialog seemingly has no
effect. However when closing the window by clicking on either the window
close button (top right 'X') or the 'Cancel' button, several bahaviors are
observed depending on how many times one has clicked on the 'Ok' and/or
'Cancel' buttons before:
- 0 clicks => expected behavior (dialog is closed, IDLE session is resumed
and working fine)
- 1 or 2 clicks => dialog is closed but the IDLE shell behaves as a text
editor instead of an interpreter
- 3 or more clicks => IDLE crashes...

Note: I'm running Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC
v.1310 32 bit (Intel)] on win32 -> WinXP SP2

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

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


More information about the Python-bugs-list mailing list