Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Bug in ippsPhase_64fc

Eyal_L_
Beginner
700 Views

I have found a bug in ippsPhase_64fc,

where should I report it?

0 Kudos
7 Replies
Zhen_Z_Intel
Employee
700 Views

Dear Customer:

You could report the problem here. Could you tell me what's version of IPP you are using, how about your system environment & what kind of error (error message) you are facing? and could you also provide a test case if possible that we could reproduce. Thanks.

Best regards,
Fiona

0 Kudos
Eyal_L_
Beginner
700 Views

This is the code that crashes on Ipp version 2017.0.098

#include <ipp.h>

char data[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x7F};

void crash() {

  Ipp64f phases[11];

  ippsPhase_64fc((Ipp64fc*) data, phases, 11); // change to 12 and it doesn't crash
}


int main() {
  crash();
  return 0;
}

0 Kudos
Igor_A_Intel
Employee
700 Views

Hi Eyal,

Could you be more specific - please add 2 more lines of code and provide an output, please:

    const IppLibraryVersion* lib;

    lib = ippsGetLibVersion();

 

printf("major = %d\n",lib->major);

printf("minor = %d\n",lib->minor);

printf("majorBuild = %d\n",lib->majorBuild);

printf("build = %d\n",lib->build);

printf("targetCpu = %s\n",lib->targetCpu);

printf("Name = %s\n", lib->Name);

printf("Version = %s\n", lib->Version);

printf("BuildDate = %s\n", lib->BuildDate);

 
I've tried your example on Win32 and don't see any issues - so I need OS, arch, static or dynamic linking, mt or st, etc. - this all info will be clear from the ippsGetLibVersion()
 
regards, Igor 

 

 

 

 

0 Kudos
Eyal_L_
Beginner
700 Views

It is linux 64bit

The output is:

major = 2017
minor = 0
majorBuild = 0
build = 52494
targetCpu = y8
Name = ippSP SSE4.2 (y8)
Version = 2017.0.0 (r52494)
BuildDate = Jul 16 2016

0 Kudos
Eyal_L_
Beginner
700 Views

dynamic linking

0 Kudos
Zhen_Z_Intel
Employee
700 Views

Dear customer,

I could reproduce your problem by using g++ compiler, but no error with icc compiler. We will investigate on it. Thanks.

Best regards,
Fiona 

0 Kudos
Zhen_Z_Intel
Employee
700 Views

Hi Eyal,

Thanks for posting bugs of IPP. We will fix this problem in new release. 

Best regards,
Fiona

0 Kudos
Reply