[New-bugs-announce] [issue43616] random.shuffle() crashes with Unhandled exception

Rowan Sylvester-Bradley report at bugs.python.org
Wed Mar 24 10:16:11 EDT 2021


New submission from Rowan Sylvester-Bradley <rowan at sylvesterbradley.org>:

When I do 
  random.shuffle(questions_element) 
(questions_element is an element generated by lxml via the code
  questions_element = exams.find("questions") )
I get a crash:
Unhandled exception at 0x00007FFD7AE8EF89 (ntdll.dll) in python.exe: 0xC0000374: A heap has been corrupted (parameters: 0x00007FFD7AEF77F0).

Is there a way to work around this?

Thanks - Rowan

----------
messages: 389456
nosy: rowan.bradley
priority: normal
severity: normal
status: open
title: random.shuffle() crashes with Unhandled exception
type: crash
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43616>
_______________________________________


More information about the New-bugs-announce mailing list