Thursday, June 22, 2017

AutoBeanUtils.getAutoBean/ShimHandler.maybeWrap is causing JVM crash

We are suspecting that a notorious payload might be causing this crash. Yes, the JVM crashes after this exception. Following exception is picked up from the crash log: 


Environment: 

GWT 2.8.0

JDK 180_102

Jboss EAP 7

Re dhat Enterprise Linux OS

 

Stack: [0x00007f867d742000,0x00007f867d843000],  sp=0x00007f867d840ab0,  free space=1018k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

J 31252 C2 com.google.web.bindery.autobean.shared.AutoBeanUtils.getAutoBean(Ljava/lang/Object;)Lcom/google/web/bindery/autobean/shared/AutoBean; (21 bytes) @ 0x00007f8b00782b0c [0x00007f8b00782880+0x28c]

J 37685 C2 com.google.web.bindery.autobean.vm.impl.ShimHandler.maybeWrap(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; (103 bytes) @ 0x00007f8affd3f9ac [0x00007f8affd3f960+0x4c]

J 35743 C2 com.google.web.bindery.autobean.vm.impl.ShimHandler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; (221 bytes) @ 0x00007f8b01706ed8 [0x00007f8b01706940+0x598]

J 37720 C2 com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$MapCoder.encode(Lcom/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl$EncodeState;Ljava/lang/Object;)V (360 bytes) @ 0x00007f8affd49ee0 [0x00007f8affd49920+0x5c0]

J 37750 C2 com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.encodeProperty(Ljava/lang/String;Ljava/lang/Object;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)V (93 bytes) @ 0x00007f8b01e45b58 [0x00007f8b01e455c0+0x598]

J 39466 C2 com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.visitReferenceProperty(Ljava/lang/String;Lcom/google/web/bindery/autobean/shared/AutoBean;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)Z (18 bytes) @ 0x00007f8affaa6da8 [0x00007f8affaa6d40+0x68]

J 35602 C2 com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor;Lcom/google/web/bindery/autobean/shared/impl/AbstractAutoBean$OneShotContext;)V (448 bytes) @ 0x00007f8aff2050cc [0x00007f8aff204600+0xacc]

J 42352 C2 com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$CollectionCoder.encode(Lcom/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl$EncodeState;Ljava/lang/Object;)V (109 bytes) @ 0x00007f8b02af44c0 [0x00007f8b02af4080+0x440]

J 37750 C2 com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.encodeProperty(Ljava/lang/String;Ljava/lang/Object;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)V (93 bytes) @ 0x00007f8b01e45b58 [0x00007f8b01e455c0+0x598]

J 39466 C2 com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$PropertyGetter.visitReferenceProperty(Ljava/lang/String;Lcom/google/web/bindery/autobean/shared/AutoBean;Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor$PropertyContext;)Z (18 bytes) @ 0x00007f8affaa6da8 [0x00007f8affaa6d40+0x68]

J 35602 C2 com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(Lcom/google/web/bindery/autobean/shared/AutoBeanVisitor;Lcom/google/web/bindery/autobean/shared/impl/AbstractAutoBean$OneShotContext;)V (448 bytes) @ 0x00007f8aff204fb4 [0x00007f8aff204600+0x9b4]

J 39707 C2 com.google.web.bindery.autobean.shared.AutoBeanCodex.encode(Lcom/google/web/bindery/autobean/shared/AutoBean;)Lcom/google/web/bindery/autobean/shared/Splittable; (40 bytes) @ 0x00007f8b021fa89c [0x00007f8b021fa000+0x89c]

J 55999 C2 com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V (315 bytes) @ 0x00007f8b03a890c4 [0x00007f8b03a884e0+0xbe4]

J 47925 C2 javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V (251 bytes) @ 0x00007f8b01c2a6e0 [0x00007f8b01c2a3e0+0x300]

J 47728 C2 javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V (125 bytes) @ 0x00007f8affc45e54 [0x00007f8affc45a40+0x414]

J 47946 C2 io.undertow.servlet.handlers.ServletHandler.handleRequest(Lio/undertow/server/HttpServerExchange;)V (334 bytes) @ 0x00007f8b01c41adc [0x00007f8b01c417e0+0x2fc]

 


Any pointers that will help us investigate this issue will be really appreciated. 


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment