Skip to content

WINDOWS: REPL crash code 3221226356 when sp_free_port twice #1

@ReubenHill

Description

@ReubenHill

In a REPL calling sp_free_port twice on the same port causes a crash:

using LibSerialPort

Main> sp_ref = sp_get_port_by_name("COM4")
Ptr{LibSerialPort.SPPort} @0x000000000fff7090

Main> sp_free_port(sp_ref)

Main> sp_free_port(sp_ref)

REPL crashes with code 3221226356.

Occurs on branch WIN (see https://github.com/samuelpowell/LibSerialPort.jl/tree/win)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions