You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test jni::class::class_tests::clone ... =================================================================
==7323==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7f2e0e2f6130 at pc 0x55b433012831 bp 0x7f2e4e6f2ec0 sp 0x7f2e4e6f2eb8
READ of size 8 at 0x7f2e0e2f6130 thread T30
#0 0x55b433012830 in rust_jni::jni::Object::clone::_$u7b$$u7b$closure$u7d$$u7d$::hafc4f8c7adf2f53a /build/src/jni/call_jni_method.rs:24:17
#1 0x55b432fb300c in rust_jni::jni::with_checked_exception::h907ed1f3eda544f7 /build/src/jni/mod.rs:1606:11
#2 0x55b432fb46b2 in rust_jni::jni::Object::clone::h3957f324b59d42fb /build/src/jni/mod.rs:1869:22
#3 0x55b432fba548 in rust_jni::jni::class::Class::clone::h145e30efbc8d2c77 /build/src/jni/generate_class.rs:252:17
#4 0x55b432da8643 in rust_jni::jni::class::class_tests::clone::h6191a089d90a6277 /build/src/jni/generate_class.rs:389:25
#5 0x55b432da0ea2 in rust_jni::jni::class::class_tests::clone::_$u7b$$u7b$closure$u7d$$u7d$::h86ad5419169fc36f /build/src/jni/generate_class.rs:379:19
Address 0x7f2e0e2f6130 is located in stack of thread T30 at offset 304 in frame
#0 0x55b432da0ecf in rust_jni::jni::class::class_tests::clone::h6191a089d90a6277 /build/src/jni/generate_class.rs:379
This frame has 9 object(s):
[32, 48) '' (line 379)
[64, 88) '_66' (line 389)
[128, 144) 'clone' (line 389)
[160, 176) 'object' (line 388)
[192, 240) 'env' (line 387)
[272, 288) 'vm' (line 386)
[304, 312) '_56' (line 382) <== Memory access at offset 304 is inside this variable
[336, 2200) '_50' (line 382)
[2336, 4200) 'raw_env' (line 382)
https://asan.saethlin.dev/ub?crate=rust-jni&version=0.1.0
The text was updated successfully, but these errors were encountered: