This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Assert failure in signal handling
Type: Stage:
Components: Windows Versions: Python 2.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: doomtr666, nnorwitz
Priority: normal Keywords:

Created on 2006-02-04 12:50 by doomtr666, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27420 - (view) Author: doom (doomtr666) Date: 2006-02-04 12:50
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


msg27421 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-02-05 06:31
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 #1167262 and #1311784.
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42866
2006-02-04 12:50:26doomtr666create