Skip to content

Memory corruption when running RZ approximation compiler #923

@kartik-s

Description

@kartik-s

Note that this occurs without adding back this (monomorphize).

System Info

  • System Version: macOS 14.1.2 (23B92)
  • Kernel Version: Darwin 23.1.0
  • Chip: Apple M1 Pro
  • SBCL Version: 2.4.5 (installed from Homebrew)

Steps to reproduce

  1. make quilc-discrete
  2. make test-discrete
  3. echo 'PRAGMA TOLERANCE "1E-4"; RZ(0.01) 0' | ./quilc -Pm --isa 4Q-cliffordt
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x0 (pc=0x10316bb88)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
CORRUPTION WARNING in SBCL pid 59150 pthread 0x1dae05ec0:
Memory fault at 0x2f (pc=0x103003900)
The integrity of this image is possibly compromised.
fatal error encountered in SBCL pid 59150 pthread 0x1dae05ec0:
maximum interrupt nesting depth (8) exceeded

Bad frame pointer 0x2f [valid range=0x1035e0000..0x1037e0000]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions