Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tk.quit leads to crash in python.exe #38899

Closed
dcbbcd mannequin opened this issue Jul 22, 2003 · 3 comments
Closed

Tk.quit leads to crash in python.exe #38899

dcbbcd mannequin opened this issue Jul 22, 2003 · 3 comments
Labels
topic-tkinter type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@dcbbcd
Copy link
Mannequin

dcbbcd mannequin commented Jul 22, 2003

BPO 775544

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:

assignee = None
closed_at = <Date 2009-06-29.20:46:44.172>
created_at = <Date 2003-07-22.09:34:44.000>
labels = ['expert-tkinter', 'type-crash']
title = 'Tk.quit leads to crash in python.exe'
updated_at = <Date 2009-06-29.20:46:44.171>
user = 'https://bugs.python.org/dcbbcd'

bugs.python.org fields:

activity = <Date 2009-06-29.20:46:44.171>
actor = 'gpolo'
assignee = 'none'
closed = True
closed_date = <Date 2009-06-29.20:46:44.172>
closer = 'gpolo'
components = ['Tkinter']
creation = <Date 2003-07-22.09:34:44.000>
creator = 'dcbbcd'
dependencies = []
files = []
hgrepos = []
issue_num = 775544
keywords = []
message_count = 3.0
messages = ['60359', '67864', '89876']
nosy_count = 3.0
nosy_names = ['dcbbcd', 'jimjjewett', 'gpolo']
pr_nums = []
priority = 'normal'
resolution = 'rejected'
stage = 'test needed'
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue775544'
versions = ['Python 2.6', 'Python 3.0']

@dcbbcd
Copy link
Mannequin Author

dcbbcd mannequin commented Jul 22, 2003

The following program reliably crashes python.exe (2.3
RC1) on Win XP - SP1:

import Tkinter
tk = Tkinter.Tk()
quit_btn = Tkinter.Button(tk, text='quit', 
                          #command=tk.quit)  # This crashes
                          command=tk.destroy)  # This works
       
quit_btn.pack()
Tkinter.mainloop()

The error message is something like (bad english
translation):
The instruction in "0x77f4b2ab" points to "0x00000028".
The memory can't be read.

@dcbbcd dcbbcd mannequin added topic-tkinter labels Jul 22, 2003
@benjaminp benjaminp added type-crash A hard crash of the interpreter, possibly with a core dump labels Jun 1, 2008
@jimjjewett
Copy link
Mannequin

jimjjewett mannequin commented Jun 9, 2008

Were you using IDLE at the time?

When I try this (Windows XP SP2), the button and its window do not go away
(which is arguably a bug), but it does not crash.

If I then try to close the window using the little X (from the window
manager),

(1)  A qb started from the command-line interface exits, as it should.
(2)  A qb started from within IDLE becomes non-responsive, and Windows 

asks whether or not I want to continue shutting it down.

@gpolo
Copy link
Mannequin

gpolo mannequin commented Jun 29, 2009

I've tried reproducing this on Windows XP using both Python 2.3.5 and
2.2.3 (and also some newer ones) and couldn't duplicate the issue. I
also tested the file attached on bpo-837234 and got nothing, changed it
a bit and still got nothing.

I can reproduce the IDLE freeze, but that is a different problem.

Closing this as rejected for lack of information.

@gpolo gpolo mannequin closed this as completed Jun 29, 2009
@gpolo gpolo mannequin closed this as completed Jun 29, 2009
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-tkinter type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

1 participant