Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-07 Thread Любен
No, it's all done in the akka serializer thread. I am sure also for LZ4Java that it does not use any parallelism itself. On Tue, Mar 7, 2017 at 5:48 AM, Patrik Nordwall wrote: > Is Kryo (or the library) delegating to a different thread somehow? > > mån 6 mars 2017 kl. 22:13 skrev Любен : > >> Hi

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-06 Thread Patrik Nordwall
Is Kryo (or the library) delegating to a different thread somehow? mån 6 mars 2017 kl. 22:13 skrev Любен : > Hi, > > It's strange, I have put the LZ4 compression in the kryo serialization > extension. Actually I am relying on it in production (compiled from the > same source). The only difference

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-06 Thread Любен
Hi, It's strange, I have put the LZ4 compression in the kryo serialization extension. Actually I am relying on it in production (compiled from the same source). The only difference I see is that it's using the artery transport. Could it be that the source byte buffer is released earlier by artery,

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-06 Thread Konrad Malawski
Really? I was thing serialization would be needed for inter process communication. If you're in the same JVM then it's only inter-thread communication, so we don't serialize (unless you force that via config setting) Thanks, looking forward to a reproducer - most likely best to ping the kryo

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-05 Thread Dai Yinhua
Thank you guys. I would try to find out the reproduce procedure, and reported to github. On Saturday, 4 March 2017 00:09:21 UTC+8, Justin du coeur wrote: > > On Thu, Mar 2, 2017 at 8:55 PM, Dai Yinhua > wrote: > >> I am using AKKA 2.4.12 and kryo 0.5.2 with scala version 2.12 >> > > Hmm. Newer v

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-05 Thread Dai Yinhua
Konrad, Really? I was thing serialization would be needed for inter process communication. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://gro

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-03 Thread Justin du coeur
On Thu, Mar 2, 2017 at 8:55 PM, Dai Yinhua wrote: > I am using AKKA 2.4.12 and kryo 0.5.2 with scala version 2.12 > Hmm. Newer version of akka-kryo than I'm using -- I'm still on Scala 2.11, so I'm using akka-kryo 0.4.2. It's possible there has been a regression. I agree with Konrad that repor

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-03 Thread Justin du coeur
And the reason is doesn't blow up with post-serialization-transformations set to "off" is that it's the "lz4" that appears to be crashing, if I'm reading that stack trace right. On Fri, Mar 3, 2017 at 3:27 AM, Konrad Malawski < konrad.malaw...@typesafe.com> wrote: > The reason it does not blow up

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-03 Thread Konrad Malawski
The reason it does not blow up locally is because then you don't hit the serialiser :) On Fri, Mar 3, 2017 at 9:26 AM, Konrad Malawski < konrad.malaw...@typesafe.com> wrote: > This sounds like it would be better reported at https://github.com/romix/ > akka-kryo-serialization > best with a reprodu

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-03 Thread Konrad Malawski
This sounds like it would be better reported at https://github.com/romix/akka-kryo-serialization best with a reproducer so the maintainers there could try to figure it out. On Fri, Mar 3, 2017 at 8:44 AM, Dai Yinhua wrote: > A few updates. > > 1. The crash only happened when I run akka cluster i

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-02 Thread Dai Yinhua
A few updates. 1. The crash only happened when I run akka cluster in different nodes, i.e. cross node transportation. If I start akka cluster in one single server, it won't crash. 2. When I set post-serialization-transformations to "off"(previous is "lz4,aes"), the crash is gone even run in

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-02 Thread Dai Yinhua
Justin, I am using AKKA 2.4.12 and kryo 0.5.2 with scala version 2.12 On Thursday, 2 March 2017 21:35:10 UTC+8, Justin du coeur wrote: > > Actually, to be precise, it looks like the LZ4 decompression library is > crashing. IIRC, that's not actually part of Kryo, but is a separate module > that

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-02 Thread Justin du coeur
Actually, to be precise, it looks like the LZ4 decompression library is crashing. IIRC, that's not actually part of Kryo, but is a separate module that Romix' Kryo adapter is pulling in, to compress/decompress the Kryo-serialized data. What versions do you have specified in your sbt file? This e

Re: [akka-user] AKKA crashed using kryo serialization sometimes

2017-03-02 Thread Konrad Malawski
Hi there, Try to find out which message causes this. It indeed seems that kryo crashes. Try to create the issue in a reproducible way so we could figure out what's actually failing. -- Konrad `ktoso` Malawski Akka @ Lightbend On 2 March 2017 at 11:57:41,

[akka-user] AKKA crashed using kryo serialization sometimes

2017-03-02 Thread Dai Yinhua
Hi team, I encountered a jvm crash when akka try to process mailbox. Here is the stack, it seems that the issue happened on kryo? It doesn't always happen, I haven't get a reproduce pattern. Is that indicate an issue of kryo? Where can I start to investigate the issue? Thank you. j net.jpoun