Skip to content

assertion failed errno == EINTR (EBADF) running blinkenlights -rt sectorlisp.bin on WSL #180

Description

@swolchok

I built blinkenlights from source using the default Ubuntu that WSL installed (which is focal). I built sectorlisp's friendly branch. When I run blinkenlights -rt sectorlisp.bin I see:

assertion failed
blink/blinkenlights.c:2351:1539 assertion failed: errno == EINTR (EBADF)
         PC 7ca3 mov $14,%ah b4 0e 55 cd 10 5d 3c 0d
         AX 0000000000000000  CX 0000000000008000  DX 0000000000000000  BX 0000000000000002
         SP 0000000000007ffa  BP 0000000000000000  SI 000000000000ffff  DI 0000000000008000
         R8 0000000000000000  R9 0000000000000000 R10 0000000000000000 R11 0000000000000000
        R12 0000000000000000 R13 0000000000000000 R14 0000000000000000 R15 0000000000000000
         FS 0000000000000000  GS 0000000000000000 OPS 26               FLG ..Z...
        sectorlisp.bin
        000000007c00 0000000000a3 PutChar
        <blink backtrace unavailable>
instructions_cached              = 26
instructions_decoded             = 26
jit_callocs                      = 130
jit_frees                        = 1
instructions_cached              = 26
instructions_decoded             = 26
jit_callocs                      = 130
jit_frees                        = 1
fish: '~/bin/blinkenlights -rt sectorl…' terminated by signal SIGABRT (Abort)

brainf**k.bin fails similarly but not on the same line:

assertion failed
blink/blinkenlights.c:2351:1588 assertion failed: errno == EINTR (EBADF)
         PC 7c08 stosb %al,(%di) aa 3c 5b 74 52 3c 5d 74
         AX 0000000000000000  CX 0000000000000000  DX 0000000000000080  BX 0000000000000000
         SP 0000000000006efe  BP 0000000000000000  SI 0000000000000000  DI 0000000000007e00
         R8 0000000000000000  R9 0000000000000000 R10 0000000000000000 R11 0000000000000000
        R12 0000000000000000 R13 0000000000000000 R14 0000000000000000 R15 0000000000000000
         FS 0000000000000000  GS 0000000000000000 OPS 5                FLG ..Z...
        brainfuck.bin
        000000000000 000000007c08 UNKNOWN
        <blink backtrace unavailable>
instructions_cached              = 5
instructions_decoded             = 5
jit_callocs                      = 130
jit_frees                        = 1
instructions_cached              = 5
instructions_decoded             = 5
jit_callocs                      = 130
jit_frees                        = 1
fish: '~/bin/blinkenlights -rt brainfu…' terminated by signal SIGABRT (Abort)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions