python / cpython

The Python programming language
https://www.python.org
Other
62.76k stars 30.08k forks source link

IDLE crash on OS X 10.9 upon shut-down with many windows open #65538

Closed rhettinger closed 10 years ago

rhettinger commented 10 years ago
BPO 21339
Nosy @rhettinger, @terryjreedy, @ronaldoussoren, @ned-deily, @serhiy-storchaka
Superseder
  • bpo-21339: IDLE crash on OS X 10.9 upon shut-down with many windows open
  • 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: ```python assignee = None closed_at = created_at = labels = ['OS-mac', 'expert-IDLE', 'type-bug', 'expert-tkinter'] title = 'IDLE crash on OS X 10.9 upon shut-down with many windows open' updated_at = user = 'https://github.com/rhettinger' ``` bugs.python.org fields: ```python activity = actor = 'terry.reedy' assignee = 'none' closed = True closed_date = closer = 'terry.reedy' components = ['IDLE', 'macOS', 'Tkinter'] creation = creator = 'rhettinger' dependencies = [] files = [] hgrepos = [] issue_num = 21339 keywords = [] message_count = 4.0 messages = ['217105', '228263', '228268', '228276'] nosy_count = 5.0 nosy_names = ['rhettinger', 'terry.reedy', 'ronaldoussoren', 'ned.deily', 'serhiy.storchaka'] pr_nums = [] priority = 'normal' resolution = 'duplicate' stage = 'resolved' status = 'closed' superseder = '21339' type = 'behavior' url = 'https://bugs.python.org/issue21339' versions = ['Python 2.7'] ```

    rhettinger commented 10 years ago

    *** Internal Error: rpc.py:SocketIO.localcall()

    Object: gui_adapter Method: \<bound method GUIAdapter.interaction of \<idlelib.RemoteDebugger.GUIAdapter instance at 0x120e71f80>> Args: ('bug.py:1: \<module>()', 4350545536, None)

    Traceback (most recent call last):
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/rpc.py", line 188, in localcall
        ret = method(*args, **kwargs)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/RemoteDebugger.py", line 284, in interaction
        self.gui.interaction(message, frame, modified_info)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/Debugger.py", line 198, in interaction
        b.configure(state="disabled")
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1262, in configure
        return self._configure('configure', cnf, kw)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1253, in _configure
        self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
    TclError: invalid command name ".4846984656.4846982712.4846983792"
    terryjreedy commented 10 years ago

    Which tk? Did you ever activate Debugger in the session (known problem, see bpo-15347)? Can you reproduce this with a series of step you can post? How were you shutting down (I have had problems with 'Close Windows on a Windows Taskbar icon right-click menu)?

    ned-deily commented 10 years ago

    From the traceback, it does appear that the debugger was in use. Since there's not much else to go on here, I suggest closing this as a duplicate of bpo-15347.

    terryjreedy commented 10 years ago

    I added a note to bpo-21339 about the traceback here.