HXSecurity / DongTai-agent-java

Java Agent is a Java application probe of DongTai IAST, which collects method invocation data during runtime of Java application by dynamic hooks.
https://dongtai.io
Apache License 2.0
681 stars 191 forks source link

attach模式启动 #147

Closed kxjhcs closed 2 years ago

kxjhcs commented 2 years ago

Preflight Checklist

Version

1.0.4

Installation Type

Other (specify below)

Service Name

DongTai-Core

Describe the details of the bug and the steps to reproduce it

attach模式启动

Additional Information

https://github.com/alibaba/arthas/commit/53a544c61f84a82a91111cad81e3d08985dbce79?diff=split https://github.com/alibaba/arthas/issues/675

Logs

class=org.springframework.boot.sql.init.dependency.DatabaseInitializationDependencyConfigurer$$Lambda$290/142555199\njava.lang.VerifyError\r
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)\r
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)\r
at com.secnium.iast.core.enhance.IastClassFileTransformer.retransform(IastClassFileTransformer.java:241)\r
at com.secnium.iast.core.enhance.IastClassFileTransformer.init(IastClassFileTransformer.java:65)\r
at com.secnium.iast.core.engines.impl.TransformEngine.start(TransformEngine.java:31)\r
at com.secnium.iast.core.AgentEngine.run(AgentEngine.java:98)\r
at com.secnium.iast.core.AgentEngine.install(AgentEngine.java:58)\r
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r
at java.lang.reflect.Method.invoke(Method.java:498)\r
at com.secnium.iast.agent.manager.EngineManager.install(EngineManager.java:177)\r
at com.secnium.iast.agent.monitor.MonitorDaemonThread.startEngine(MonitorDaemonThread.java:47)\r
at com.secnium.iast.agent.monitor.MonitorDaemonThread.run(MonitorDaemonThread.java:26)\r
at java.lang.Thread.run(Thread.java:748)\n
exexute commented 2 years ago

thanks for commit

exexute commented 2 years ago

fixed in v1.3.1