unloggedio / unlogged-sdk

Unlogged SDK for recording JAVA code execution
https://unlogged.io
Apache License 2.0
165 stars 16 forks source link

Session Corrupt on agent connection #101

Open kartikeytewari-ul opened 1 month ago

kartikeytewari-ul commented 1 month ago

Describe the bug

When plugin starts a scan process, a session corrupt happens immediately.

Reproduction steps

N/A

Expected behavior

The session corrupt should not happen.

Stack Trace (raw)

[91, 123, 34, 99, 108, 97, 115, 115, 76, 111, 97, 100, 101, 114, 78, 97, 109, 101, 34, 58, 110, 117, 108, 108, 44, 34, 109, 111, 100, 117, 108, 101, 78, 97, 109, 101, 34, 58, 34, 106, 97, 118, 97, 46, 98, 97, 115, 101, 34, 44, 34, 109, 111, 100, 117, 108, 101, 86, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 55, 46, 48, 46, 49, 49, 34, 44, 34, 109, 101, 116, 104, 111, 100, 78, 97, 109, 101, 34, 58, 34, 97, 119, 97, 105, 116, 34, 44, 34, 102, 105, 108, 101, 78, 97, 109, 101, 34, 58, 34, 65, 98, 115, 116, 114, 97, 99, 116, 81, 117, 101, 117, 101, 100, 83, 121, 110, 99, 104, 114, 111, 110, 105, 122, 101, 114, 46, 106, 97, 118, 97, 34, 44, 34, 108, 105, 110, 101, 78, 117, 109, 98, 101, 114, 34, 58, 49, 54, 52, 48, 44, 34, 110, 97, 116, 105, 118, 101, 77, 101, 116, 104, 111, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 99, 108, 97, 115, 115, 78, 97, 109, 101, 34, 58, 34, 106, 97, 118, 97, 46, 117, 116, 105, 108, 46, 99, 111, 110, 99, 117, 114, 114, 101, 110, 116, 46, 108, 111, 99, 107, 115, 46, 65, 98, 115, 116, 114, 97, 99, 116, 81, 117, 101, 117, 101, 100, 83, 121, 110, 99, 104, 114, 111, 110, 105, 122, 101, 114, 36, 67, 111, 110, 100, 105, 116, 105, 111, 110, 79, 98, 106, 101, 99, 116, 34, 125, 44, 123, 34, 99, 108, 97, 115, 115, 76, 111, 97, 100, 101, 114, 78, 97, 109, 101, 34, 58, 110, 117, 108, 108, 44, 34, 109, 111, 100, 117, 108, 101, 78, 97, 109, 101, 34, 58, 34, 106, 97, 118, 97, 46, 98, 97, 115, 101, 34, 44, 34, 109, 111, 100, 117, 108, 101, 86, 101, 114, 115, 105, 111, 110, 34, 58, 34, 49, 55, 46, 48, 46, 49, 49, 34, 44, 34, 109, 101, 116, 104, 111, 100, 78, 97, 109, 101, 34, 58, 34, 116, 97, 107, 101, 34, 44, 34, 102, 105, 108, 101, 78, 97, 109, 101, 34, 58, 34, 65, 114, 114, 97, 121, 66, 108, 111, 99, 107, 105, 110, 103, 81, 117, 101, 117, 101, 46, 106, 97, 118, 97, 34, 44, 34, 108]

Stack Trace (encoded)

[{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"17.0.11","methodName":"await","fileName":"AbstractQueuedSynchronizer.java","lineNumber":1640,"nativeMethod":false,"className":"java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject"},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"17.0.11","methodName":"take","fileName":"ArrayBlockingQueue.java","l
kartikeytewari-ul commented 1 month ago

A possible stack trace:

This matches with the trace and with SESSION_CORRUPT message path.