apache / pekko

Build highly concurrent, distributed, and resilient message-driven applications using Java/Scala
https://pekko.apache.org/
Apache License 2.0
1.12k stars 135 forks source link

Bug - Assertion failure caused by exception during pre-start #1384

Open pjfanning opened 6 days ago

pjfanning commented 6 days ago

Discussed in https://github.com/apache/pekko/discussions/1383

Originally posted by **sadekmunawar** July 2, 2024 Hi Pekko Team, Are there any plans to fix this bug in Pekko? https://discuss.lightbend.com/t/expected-behavior-when-child-actor-throws-an-exception-during-pre-start/10753 Thank you
pjfanning commented 6 days ago

Issue may relate to https://github.com/akka/akka/pull/27614. There is a reproduction test in https://discuss.lightbend.com/t/expected-behavior-when-child-actor-throws-an-exception-during-pre-start/10753/3

If anyone attempts a PR for this - please do not look at the Akka PR. Any Pekko PR will need to be a clean room fix implemented by the PR submitter. The test case in https://discuss.lightbend.com is probably ok to use but it may be worth asking the person who wrote it to give explicit permission for its use in Pekko.