Hi Ilya,

>From the backtrace, it looks like the error is due to the program not being 
>able to read from a temporary file "MS_outputids.bin" that is creates 
>initially. Can you check if it exists in the directory from where you ran the 
>program? Also, can you check if 5 *.dot files are present in the same 
>directory?

Thanks
Nisarg

________________________________
From: Dyninst-api <dyninst-api-boun...@cs.wisc.edu> on behalf of Ilya Zhukov 
<i.zhu...@fz-juelich.de>
Sent: Wednesday, May 6, 2020 7:16 AM
To: dyninst-api@cs.wisc.edu <dyninst-api@cs.wisc.edu>
Subject: [DynInst_API:] mutateLibcuda segfaults

Dear dyinst developers,

I'm testing your cuda_sync_analyze tool on our cluster for CUDA/10.1.105.

I installed dyinst and cuda_sync_analyze (cmake and make logs in attach)
successfully. But I get segmentation fault when I create fake CUDA library.

Here is a backtrace
> #0  0x00002b0a9658c4bc in fseek () from /usr/lib64/libc.so.6
> #1  0x00002b0a93b7eb29 in LaunchIdentifySync::PostProcessing 
> (this=this@entry=0x7fff1af88af0, allFound=...) at 
> /p/project/cslts/zhukov1/work/tools/dyninst/tools/cuda_sync_analyzer/src/LaunchIdentifySync.cpp:90
> #2  0x00002b0a93b7c00f in 
> CSA_FindSyncAddress(std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> >&) () at 
> /p/project/cslts/zhukov1/work/tools/dyninst/tools/cuda_sync_analyzer/src/FindCudaSync.cpp:34
> #3  0x00000000004021fb in main () at 
> /p/project/cslts/zhukov1/work/tools/dyninst/tools/cuda_sync_analyzer/src/main.cpp:15
> #4  0x00002b0a96537505 in __libc_start_main () from /usr/lib64/libc.so.6
> #5  0x000000000040253e in _start () at 
> /p/project/cslts/zhukov1/work/tools/dyninst/tools/cuda_sync_analyzer/src/main.cpp:38

Any help will be appreciated. If you need anything else let me know.

Best wishes,
Ilya
--
Ilya Zhukov
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49-2461-61-2054
Fax: +49-2461-61-2810
E-mail: i.zhu...@fz-juelich.de
WWW: http://www.fz-juelich.de/jsc
_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to