GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Possible Thread Safety Issue in Merge · Issue #1885 · ReactiveX/RxJava

Possible Thread Safety Issue in Merge #1885

New issue
Copy link
New issue
Copy link
Closed
Closed
Possible Thread Safety Issue in Merge#1885
Copy link
Labels
Bug
Milestone
1.0.x

Description

@benjchristensen
benjchristensen
opened on Nov 15, 2014
Issue body actions

As per discussion in #1866 (comment) there may be a thread-safety issue in merge:

I don't fully understand the OperatorMerge, but it contains a lot of mutable variables and synchronized blocks and I'm not sure but I found some anomalies in:

https://github.com/ReactiveX/RxJava/blob/1.x/src/main/java/rx/internal/operators/OperatorMerge.java#L505

It synchronizes on the MergeProducer's this but reads the MergeSubscriber's wip field which generally is accessed through the MergeSubscriber's this. Same seems to be true for the scalarValueQueue.

Activity

  1. benjchristensen
    added
    Bug
    on Nov 15, 2014
  2. benjchristensen
    added this to the 1.0.x milestone on Nov 15, 2014
  3. akarnokd commented on Jan 21, 2015

    @akarnokd
    akarnokd
    on Jan 21, 2015
    Member
    More actions

    I think this issue has been fixed.

  4. akarnokd
    closed this as completedon Jan 21, 2015
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

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      • 1.0.x

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.