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

Assert failure in signal handling #42866

Closed
doomtr666 mannequin opened this issue Feb 4, 2006 · 2 comments
Closed

Assert failure in signal handling #42866

doomtr666 mannequin opened this issue Feb 4, 2006 · 2 comments

Comments

@doomtr666
Copy link
Mannequin

doomtr666 mannequin commented Feb 4, 2006

BPO 1424017

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 2006-02-05.06:31:02.000>
created_at = <Date 2006-02-04.12:50:26.000>
labels = ['OS-windows']
title = 'Assert failure in signal handling'
updated_at = <Date 2006-02-05.06:31:02.000>
user = 'https://bugs.python.org/doomtr666'

bugs.python.org fields:

activity = <Date 2006-02-05.06:31:02.000>
actor = 'nnorwitz'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2006-02-04.12:50:26.000>
creator = 'doomtr666'
dependencies = []
files = []
hgrepos = []
issue_num = 1424017
keywords = []
message_count = 2.0
messages = ['27420', '27421']
nosy_count = 2.0
nosy_names = ['nnorwitz', 'doomtr666']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1424017'
versions = ['Python 2.4']

@doomtr666
Copy link
Mannequin Author

doomtr666 mannequin commented Feb 4, 2006

With Visual Studio 2005 while compiling in debug mode.
Assert faillure occurs line 1657 in pythonrun.c.

New 2005 debug runtime raise an assert while using
unsupported signals.

Proposed patch :

#else
PyOS_sighandler_t handler;

// handler = signal(sig, SIG_IGN);
handler = SIG_ERR;

if (handler != SIG_ERR)
	signal(sig, handler);
return handler;

#endif

if under visual studio 2005 debug runtime

@doomtr666 doomtr666 mannequin closed this as completed Feb 4, 2006
@doomtr666 doomtr666 mannequin added the OS-windows label Feb 4, 2006
@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Feb 5, 2006

Logged In: YES
user_id=33168

Python 2.5 fixes this problem, however, the fix was not
backported to 2.4.

See patch 1350409 also bpo-1167262 and bpo-1311784.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants