Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2023
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. $ drmemory.exe -light -- SYCL-ray-tracing.exe
  2. ~~Dr.M~~ Dr. Memory version 2.6.0
  3. ~~Dr.M~~ Running "SYCL-ray-tracing.exe"
  4. ~~Dr.M~~ Using system call file F:\Programmes\DrMemory\drmemory\logs\symcache\syscalls_x64.txt
  5. [1280x720]: 64 samples
  6.  
  7. ~~Dr.M~~
  8. ~~Dr.M~~ Error #1: INVALID HEAP ARGUMENT to free 0x0000021580b20ec0
  9. ~~Dr.M~~ # 0 replace_free [D:\a\drmemory\drmemory\common\alloc_replace.c:2710]
  10. ~~Dr.M~~ # 1 sycl6.dll!sycl::_V1::handler::~handler +0x2d9 (0x00007ffc4d09d4ca <sycl6.dll+0x21d4ca>)
  11. ~~Dr.M~~ # 2 sycl6.dll!sycl::_V1::queue::ext_codeplay_supports_fusion +0x32b (0x00007ffc4d09cebc <sycl6.dll+0x21cebc>)
  12. ~~Dr.M~~ # 3 sycl6.dll!sycl::_V1::queue::submit_impl +0x4e (0x00007ffc4d09c5ff <sycl6.dll+0x21c5ff>)
  13. ~~Dr.M~~ # 4 main [...\main.cpp:54]
  14. ~~Dr.M~~ Note: @0:00:09.798 in thread 24768
  15. ~~Dr.M~~ Note: refers to -32 byte(s) beyond last valid byte in prior malloc
  16. ~~Dr.M~~ Note: prev lower malloc: 0x0000021580b20ec0-0x0000021580b20ee0
  17. <Application ...SYCL-ray-tracing-vs-windows\x64\Release\SYCL-ray-tracing.exe (25116). Dr. Memory internal crash at PC 0x00000000710864e1. Please report this at http://drmemory.org/issues along with the results of running '-debug -dr_debug'. Program aborted.
  18. 0xc0000005 0x00000000 0x00000000710864e1 0x00000000710864e1 0x0000000000000001 0x0000000000000000
  19. Base: 0x0000000071000000
  20. Registers: eax=0x0000000000000075 ebx=0x000000000000001f ecx=0x0000000071120cb0 edx=0x0000000000000001
  21. esi=0x0000000000000000 edi=0x00000215ee8adb50 esp=0x00000215edc51b60 ebp=0x00000215edc51bf9
  22. r8 =0x0000000000000000 r9 =0x0000000000000000 r10=0x0000000000000002 r11=0x00000215edc51b20
  23. r12=0x0000000000000000 r13=0x0000000000000000 r14=0x0000000000000000 r15=0x0000000000000000
  24. eflags=0x0000021500010246
  25. 2.6.0-0-(Sep 21 2023 17:38:58) WinVer=105;Rel=2009;Build=22621;Edition=Core
  26. -no_dynamic_options -disasm_mask 8 -logdir 'F:\Programmes\DrMemory\drmemory\logs\dynamorio' -client_lib 'F:\Programmes\DrMemory\bin64\release\drmemorylib.dll;0;`-light` -logdir `F:\Programmes\DrMemory\drmemory\logs` -symcache_dir `F:\Programmes\DrMemory\drmemory\logs\symcache` -lib_blocklist_default `C:\Windows*.d??,C:\P
  27. 0x00000215edc51bf9 0x0000000000000000>
  28. ~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff
  29.  
  30. //////////////////////////////////////////////////////////////////////////////////////////
  31. //////////////////////////////////////////////////////////////////////////////////////////
  32. //////////////////////////////////////////////////////////////////////////////////////////
  33. Note:
  34. The 'Error #1: INVALID HEAP ARGUMENT to free 0x0000021580b20ec0' doesn't seem to be related to the problem. It seems like it comes from the SYCL implementation.
  35.  
  36. main.cpp:54 is this line:
  37. queue.submit([&](sycl::handler& handler) {
  38.  
  39. When commenting the call to parallel_for() (main.cpp:67):
  40. handler.parallel_for(coordinates_indices, render_kernel);
  41.  
  42. The Error #1 is gone.
  43.  
  44. But, when replacing
  45. handler.parallel_for(coordinates_indices, render_kernel);
  46.  
  47. by
  48.  
  49. handler.parallel_for(coordinates_indices, [](const sycl::nd_item<2>& coordinates) {
  50. });
  51.  
  52. which is an empty kernel call, the Error #1 is back. So this is why I assume
  53. that Error #1 is unrelated to the problem because it's there even when none on my
  54. kernel code is executed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement