Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6632 Discussions

Access violation with ippiHoughProbLine_8u32f_C1R

short__brian
Beginner
859 Views

ippiHoughProbLine_8u32f_C1R causes a C5 exception (read) on this specific image.  If I flip the image the routine works fine.  I've attached repro information.

 

System configuration:

Version of IPP is: ippIP AVX-512F/CD/BW/DQ/VL (k0) 2021.3 (r0x0ee262de) 2021.3.0.249717470
Windows Version 21H1 (OS Build 19043.1237)
Processor Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz 2.59 GHz
Installed RAM 32.0 GB (31.7 GB usable)

 

Thanks

0 Kudos
5 Replies
NoorjahanSk_Intel
Moderator
822 Views

Hi,

Thanks for reaching out to us

 

We have tried running the source code using command prompt(Make sure that oneAPI environment is initialized by using setvars.bat file) with oneAPI version 2021.3 on windows10 by making the following changes:

>> image.Load(L"crash_sample.bmp"); to image.Load("*.bmp");

we observed that it doesn't throw any exceptions/errors. Please find the below screenshot regarding the output through the command line

 

command used: 

icl/icx /EHsc IPPHoughProbeLine.cpp

 

Could you please try running your code on the command prompt and do let us know if the issue still persists.

 

 

Thanks & Regards

Noorjahan.

 

short__brian
Beginner
788 Views

Thanks for you quick response.  I've called this routine with thousands of images just certain images cause this issue and I've provided 1.

I ran the program provided from a command line with the oneAPI setvars called.

Here are 2 calls one with crash_sample.bmp and one with crash_sample_y_flip.bmp.

short__brian_1-1632841520989.png

I've modified the code to show results and time taken for each image.  With the image that crashes for me it still does just silently at command line and notice no output is returned.  Also you can see it is caught via eventvwr.exe 

short__brian_2-1632841672765.png

I've attached the updated source file.  I didn't follow your load change to the ATL image class it doesn't compile as is because using unicode and addded the L"*.bmp" failed to load any image.

 

Through the debugger this is the exception  in ippcvk0.dll

short__brian_3-1632841859137.png

 

 

 

 

 

NoorjahanSk_Intel
Moderator
708 Views

Hi,

We are working on your issue. We will get back to you soon.

Meanwhile could you please provide us the below details

The compiler used to compile your source code

VS version


Thanks & Regards

Noorjahan.


short__brian
Beginner
702 Views

Thanks.  The version of Visual Studio 2019 16.9.6.

Abhinav_S_Intel
Moderator
553 Views

Hi Brian,

We confirm the issue on IPP side. We will provide a fix with the next release of IPP. We will notify you once the release is available for download.

-
Abhinav

Reply