question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lamar 3.0.3 fails in multi threaded scenario

See original GitHub issue

If a class has a dependency on IEnumerable<IFoo> and you register several IFoo implementations, Lamar fails in a multi threaded scenario. You can get different problems:

  • NULL is passed in the list of IFoos
  • Incorrect number of IFoos is supplied

The problem seems only to occur with version 3.0.3. In previous versions I did not experience the problem.

Here’s a sample project to reproduce the issue: Sample.zip

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
jbogardcommented, Sep 11, 2019

Yeah don’t put this one on me lol I’m trying to keep things simpler by relying less on exotic features.

On Tue, Sep 10, 2019 at 5:50 PM Jeremy D. Miller notifications@github.com wrote:

Sigh, okay. MediatR has historically been a huge PITA for me supporting containers and I generally refuse to help support folks who get tangled up in it

Sorry, but I don’t have enough bandwidth to fight with this one this week.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/JasperFx/lamar/issues/157?email_source=notifications&email_token=AAAZQMTXL7F5QGZUKHIPHKDQJAQDBA5CNFSM4HLC6KJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6MXGTQ#issuecomment-530150222, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAZQMWJL7GRINQP3DHH76DQJAQDBANCNFSM4HLC6KJQ .

1reaction
jeremydmillercommented, Sep 13, 2019

I HAVE A FIX FOR THIS IN A LOCAL BRANCH!!!

This is finally getting taken care of in Lamar v3.1 out in the next 3-4 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weird problem using JUnit in multi-thread environment
I meet a weired problem when using JUnit in multi-thread environment. The following code should fail, but it actually pass in eclipse.
Read more >
Untitled
Adriamycin structure, Single core cable vs multi core cable, Magdalena vachova ... Telecharger rap, She is my world tumblr, Quotes about failed engagements, ......
Read more >
Untitled
Borrar musica repetida pcp, Centre forward riddim mp3, Multi i rezi mario minecraft skin, Ping i25 driver best price, Buenos aires napoli clementino...
Read more >
Common Multithreading Mistakes
Another common problem seen in multithreaded programs is 'trying to join a detached thread'. Sometimes a thread is detached from the main ...
Read more >
xVASynth v3 - SKVA Synth at Skyrim Special Edition Nexus
New lore-friendly voiced reactions to the player being undressed, using xVASynth, unused lines and splicing. ... 1. ESL, Fully voiced perfect healer, main...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found