[issue39747] test_os debug assertion failure

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
stage:  -> resolved
status: pending -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39747] test_os debug assertion failure

2021-09-20 Thread Irit Katriel


Irit Katriel  added the comment:

If I understand Steve's comment it sounds like there's nothing we can do here. 
Shall we close it as not a bug?

--
nosy: +iritkatriel
resolution:  -> not a bug
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39747] test_os debug assertion failure

2020-02-25 Thread Steve Dower


Steve Dower  added the comment:

Well, you're running a debug build but building a release build (unless you 
missed the "-d" from the command line -- "-e" is the default now, BTW), so your 
build may be out of sync.

These assertion dialogs are supposed to be suppressed during the test suite, 
but only when run using "python.bat -m test test_os". If you're running the OS 
tests any other way, then you'll see these popups.

(I hope you used Ctrl+C in the dialog to copy the text, by the way. That's a 
lot to copy out by hand!)

---

FWIW, these are very good assertions for most programs. But most programs are 
not intentionally passing arbitrary values into system calls, so we have to 
suppress them for Python :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39747] test_os debug assertion failure

2020-02-24 Thread Ethan Smith


New submission from Ethan Smith :

With CPython master branch and build.bat -e -p x64, if I run test_os I get the 
following (in a messagebox transcribed here for ease of consumption).

Sorry if I am missing something. This means I am unable to run test_os to 
completion.

I am on Windows 10.0.19559.1000 x64 with CL 19.24.28315/Visual Studio 16.4.3

For test_bad_fd:
-
Debug Assertion Failed!

Program: C:\Users\ethanhs\cpython\PCbuild\amd64\python_d.exe
File: minkernel\crts\ucrt\src\appcrt\lowio\isatty.cpp
Line: 17

Expression: (fh >= 0 && (unsigned)fh < (unsigned)_nhandle)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
 ---

--
components: Windows
messages: 362624
nosy: Ethan Smith, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: test_os debug assertion failure
type: crash
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com