You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2024/01/03 05:51:15 UTC
[I] ByteStringBuilder can stackoverflow when call addAll with LinearSeq [incubator-pekko]
He-Pin opened a new issue, #900:
URL: https://github.com/apache/incubator-pekko/issues/900
```scala
ByteString.newBuilder.addAll(List[Byte]('a'))
```
results:
```scala
java.lang.StackOverflowError
at org.apache.pekko.util.ByteStringBuilder.addAll(ByteString.scala:1082)
at scala.collection.mutable.Growable.$plus$plus$eq(Growable.scala:69)
at scala.collection.mutable.Growable.$plus$plus$eq$(Growable.scala:69)
at org.apache.pekko.util.ByteStringBuilder.addAll(ByteString.scala:1193)
at org.apache.pekko.util.ByteStringBuilder.addAll(ByteString.scala:1082)
at scala.collection.mutable.Growable.$plus$plus$eq(Growable.scala:69)
at scala.collection.mutable.Growable.$plus$plus$eq$(Growable.scala:69)
at org.apache.pekko.util.ByteStringBuilder.addAll(ByteString.scala:1193)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] ByteStringBuilder can stackoverflow when call addAll with LinearSeq [incubator-pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #900:
URL: https://github.com/apache/incubator-pekko/issues/900#issuecomment-1876937515
Until we get a new Pekko 1.0.3 release out, the workaround is to use `++=` instead of `addAll`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] ByteStringBuilder can stackoverflow when call addAll with LinearSeq [incubator-pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #900:
URL: https://github.com/apache/incubator-pekko/issues/900#issuecomment-1876002864
@He-Pin @mdedetrich I have a possible fix in https://github.com/apache/incubator-pekko/pull/903
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] ByteStringBuilder can stackoverflow when call addAll with LinearSeq [incubator-pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning closed issue #900: ByteStringBuilder can stackoverflow when call addAll with LinearSeq
URL: https://github.com/apache/incubator-pekko/issues/900
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org