We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the CXX wrapper cause sanitizer error and segfault...
this is cause many unexpected behaviors until I enabled the address sanitizer.
Yes since I'm blocked on a production product
Linux
Cmake set(ONNXRUNTIME_DIR lib/onnxruntime) target_link_directories(qvision_core PUBLIC ${ONNXRUNTIME_DIR}/lib) target_link_libraries(qvision_core onnxruntime) target_include_directories(qvision_core PUBLIC ${ONNXRUNTIME_DIR}/include)
==63002==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x748e0e5fe848 at pc 0x748e3fefa47c bp 0x748df2df9920 sp 0x748df2df90c8 READ of size 4915200 at 0x748e0e5fe848 thread T12 #0 0x748e3fefa47b in memcpy /usr/src/debug/gcc/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:115 #1 0x748e3f498884 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x698884) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #2 0x748e3f49c504 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x69c504) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #3 0x748e3f43c9e0 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x63c9e0) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #4 0x748e3f6aacea (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x8aacea) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #5 0x748e3f6ab93a (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x8ab93a) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #6 0x748e3f6aba70 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x8aba70) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #7 0x748e3f97ce0c (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0xb7ce0c) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #8 0x748e3f99c5dd (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0xb9c5dd) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #9 0x748e3f0c5e8e (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x2c5e8e) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #10 0x748e3f0c6d9d (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x2c6d9d) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080) #11 0x748e3f031b00 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x231b00) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
N/A
13
The text was updated successfully, but these errors were encountered:
Could you please share more detailed repro steps? Where can we get the qvision_core?
Sorry, something went wrong.
pranavsharma
No branches or pull requests
Describe the issue
the CXX wrapper cause sanitizer error and segfault...
this is cause many unexpected behaviors until I enabled the address sanitizer.
Urgency
Yes since I'm blocked on a production product
Target platform
Linux
Build script
Cmake
set(ONNXRUNTIME_DIR lib/onnxruntime)
target_link_directories(qvision_core PUBLIC ${ONNXRUNTIME_DIR}/lib)
target_link_libraries(qvision_core onnxruntime)
target_include_directories(qvision_core PUBLIC ${ONNXRUNTIME_DIR}/include)
Error / output
==63002==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x748e0e5fe848 at pc 0x748e3fefa47c bp 0x748df2df9920 sp 0x748df2df90c8
READ of size 4915200 at 0x748e0e5fe848 thread T12
#0 0x748e3fefa47b in memcpy /usr/src/debug/gcc/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:115
#1 0x748e3f498884 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x698884) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#2 0x748e3f49c504 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x69c504) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#3 0x748e3f43c9e0 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x63c9e0) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#4 0x748e3f6aacea (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x8aacea) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#5 0x748e3f6ab93a (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x8ab93a) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#6 0x748e3f6aba70 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x8aba70) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#7 0x748e3f97ce0c (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0xb7ce0c) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#8 0x748e3f99c5dd (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0xb9c5dd) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#9 0x748e3f0c5e8e (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x2c5e8e) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#10 0x748e3f0c6d9d (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x2c6d9d) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
#11 0x748e3f031b00 (/home/DxUr/WORK/QVision/core/lib/onnxruntime/lib/libonnxruntime.so.1.17.1+0x231b00) (BuildId: 447ab91a6114db18ea788c5a7e9d57a54ebbd080)
Visual Studio Version
N/A
GCC / Compiler Version
13
The text was updated successfully, but these errors were encountered: