- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.7k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- Qiskit version: qiskit==2.2.1
- Python version: 3.14.0
- Operating system: MacOS
What is happening?
Compiling a circuit in Qiskit using Transpile() calls results in a malloc: Heap corruption detected error.
How can we reproduce the issue?
I think this error does not happen deterministically at all. I have found it once out of 1 million transpile() calls to complex quantum circuits. So it also happens rarely. But no single circuit or set of transpiler settings deterministically induces this error.
What should happen?
The code will crash, at the transpile() call with an error that looks like this:
python3(84162,0x1f53ce0c0) malloc: Heap corruption detected, free list is damaged at 0x600002d07fc0
*** Incorrect guard value: 162876951461043
python3(84162,0x1f53ce0c0) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort 
Any suggestions?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working