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 error is very
worrying, since I am highly dependent on that LZ4 library myself...

On Thu, Mar 2, 2017 at 5:59 AM, Konrad Malawski <
konrad.malaw...@lightbend.com> wrote:

> 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 <http://akka.io> @ Lightbend <http://lightbend.com>
>
> On 2 March 2017 at 11:57:41, Dai Yinhua (yhdai.2...@gmail.com) wrote:
>
> 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.jpountz.lz4.LZ4JNI.LZ4_decompress_fast([BLjava/nio/
> ByteBuffer;I[BLjava/nio/ByteBuffer;II)I+0
> j  net.jpountz.lz4.LZ4JNIFastDecompressor.decompress([BI[BII)I+22
> j  com.romix.akka.serialization.kryo.LZ4KryoCompressor.fromBinary([B)[B+61
> j  com.romix.akka.serialization.kryo.KryoTransformer.$anonfun$
> fromPipeLine$2(Lcom/romix/akka/serialization/kryo/Transformation;[B)[B+2
> j  com.romix.akka.serialization.kryo.KryoTransformer$$Lambda$
> 483.apply(Ljava/lang/Object;)Ljava/lang/Object;+8
> j  scala.Function1.$anonfun$andThen$1(Lscala/Function1;
> Lscala/Function1;Ljava/lang/Object;)Ljava/lang/Object;+8
> j  scala.Function1$$Lambda$481.apply(Ljava/lang/Object;)
> Ljava/lang/Object;+9
> j  com.romix.akka.serialization.kryo.KryoTransformer.fromBinary([B)[B+5
> j  com.romix.akka.serialization.kryo.KryoSerializer.
> fromBinary([BLscala/Option;)Ljava/lang/Object;+11
> J 7151 C1 akka.serialization.Serialization.deserializeByteArray([BLakka/
> serialization/Serializer;Ljava/lang/String;)Ljava/lang/Object; (355
> bytes) @ 0x00007f2e993b987c [0x00007f2e993b76c0+0x21bc]
> J 7860 C1 akka.serialization.Serialization.deserializeByteBuffer(Ljava/
> nio/ByteBuffer;ILjava/lang/String;)Ljava/lang/Object; (171 bytes) @
> 0x00007f2e9a4b24ec [0x00007f2e9a4b1200+0x12ec]
> J 7856 C1 akka.remote.artery.Deserializer$$anon$3.onPush()V (240 bytes) @
> 0x00007f2e9a4ac9a4 [0x00007f2e9a4ac320+0x684]
> J 7938 C2 akka.stream.impl.fusing.GraphInterpreter.execute(I)I (389
> bytes) @ 0x00007f2e9a4e7c78 [0x00007f2e9a4e7900+0x378]
> J 6523 C1 akka.stream.impl.fusing.GraphInterpreterShell.runBatch(I)I (208
> bytes) @ 0x00007f2e9a1e3674 [0x00007f2e9a1e3200+0x474]
> J 7098 C1 akka.stream.impl.fusing.GraphInterpreterShell.receive(
> Lakka/stream/impl/fusing/ActorGraphInterpreter$BoundaryEvent;I)I (909
> bytes) @ 0x00007f2e9a2b1fc4 [0x00007f2e9a2ae3c0+0x3c04]
> J 7100 C1 akka.stream.impl.fusing.ActorGraphInterpreter.akka$
> stream$impl$fusing$ActorGraphInterpreter$$processEvent(Lakka/stream/
> impl/fusing/ActorGraphInterpreter$BoundaryEvent;)V (170 bytes) @
> 0x00007f2e9916d314 [0x00007f2e9916cc40+0x6d4]
> J 6866 C1 akka.stream.impl.fusing.ActorGraphInterpreter$$
> anonfun$receive$1.applyOrElse(Ljava/lang/Object;Lscala/Function1;)Ljava/lang/Object;
> (309 bytes) @ 0x00007f2e9a28f8cc [0x00007f2e9a28f560+0x36c]
> J 6865 C1 akka.stream.impl.fusing.ActorGraphInterpreter.
> aroundReceive(Lscala/PartialFunction;Ljava/lang/Object;)V (7 bytes) @
> 0x00007f2e9a28bcac [0x00007f2e9a28b860+0x44c]
> J 6385 C1 akka.actor.ActorCell.invoke_aroundBody0(Lakka/actor/
> ActorCell;Lakka/dispatch/Envelope;Lorg/aspectj/lang/JoinPoint;)V (157
> bytes) @ 0x00007f2e99a6ff34 [0x00007f2e99a6f400+0xb34]
> J 6384 C1 
> akka.actor.ActorCell$AjcClosure1.run([Ljava/lang/Object;)Ljava/lang/Object;
> (28 bytes) @ 0x00007f2e99a71d24 [0x00007f2e99a719a0+0x384]
> J 6382 C1 
> akka.kamon.instrumentation.ActorMonitors$$anon$1$$Lambda$151.apply()Ljava/lang/Object;
> (8 bytes) @ 0x00007f2e99a72acc [0x00007f2e99a72820+0x2ac]
> J 5434 C1 kamon.trace.Tracer$.withContext(Lkamon/trace/
> TraceContext;Lscala/Function0;)Ljava/lang/Object; (50 bytes) @
> 0x00007f2e9a00a3c4 [0x00007f2e9a009cc0+0x704]
> J 6234 C1 akka.actor.ActorCell.invoke(Lakka/dispatch/Envelope;)V (64
> bytes) @ 0x00007f2e99194094 [0x00007f2e99192c20+0x1474]
> J 5660 C1 akka.dispatch.Mailbox.processMailbox(IJ)V (100 bytes) @
> 0x00007f2e997e003c [0x00007f2e997df980+0x6bc]
> J 5768 C1 akka.dispatch.Mailbox.run()V (65 bytes) @ 0x00007f2e991d6a64
> [0x00007f2e991d5cc0+0xda4]
> J 6273 C2 java.util.concurrent.ForkJoinPool$WorkQueue.
> runTask(Ljava/util/concurrent/ForkJoinTask;)V (86 bytes) @
> 0x00007f2e99b20984 [0x00007f2e99b1fe40+0xb44]
> j  java.util.concurrent.ForkJoinPool.runWorker(Ljava/
> util/concurrent/ForkJoinPool$WorkQueue;)V+35
> j  java.util.concurrent.ForkJoinWorkerThread.run()V+24
> v  ~StubRoutines::call_stub
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to