Skip to content

bug in reception_flow.cc  #214

@wowaser

Description

@wowaser

Hello,

I have encountered a read access violation while re-initializing my object that holds the uvgrtp functionality. Here's my debugger view:
image

As you can see handlers has been invalidated. I suspect that some other thread calls reception_flow::clear_stream_from_flow which erases from packet_handlers, thus invalidating the pointer. There is no mutex protecting from such occurrence, only a check if (handlers != nullptr), but there is no protection from invalidation after that check.

Unfortunately I don't have a reliable way to reproduce this issue. Hopefully the info I provided is enough :)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions