- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We're experiencing segmentation fault randomly in ippsVLCCountBits_16s32s with IPP 6.1.6 as below:
(gdb) bt
#0 0x00007f52beeec38f in y8_ippsVLCCountBits_16s32s () from ./libDSPMP3.so
#1 0x00007f52beeabad1 in mp3enc_quantChooseTableLong () from ./libDSPMP3.so
#2 0x00007f52beeabd0f in mp3enc_quantCalcBitsLong () from ./libDSPMP3.so
#3 0x00007f52beeabfd8 in mp3enc_quantCalcBits () from ./libDSPMP3.so
#4 0x00007f52bee8bc6f in mp3encQuantization () from ./libDSPMP3.so
#5 0x00007f52bee8390b in mp3encGetFrame () from ./libDSPMP3.so
#6 0x00007f52bee81c6a in UMC::MP3Encoder::GetFrame () from ./libDSPMP3.so
Here are the media data parameters passed to :GetFrame ():
(gdb) p InMediaData
$17 = {
<> = {<No data fields>},
members of UMC::AudioData:
m_info = {
<UMC::StreamInfo> = {<No data fields>},
members of UMC::sAudioStreamInfo:
channels = 2,
sample_frequency = 32000,
bitrate = 0,
bitPerSample = 16,
duration = 0,
stream_type = UMC::PCM_AUDIO,
stream_subtype = UMC::UNDEF_AUDIO_SUBTYPE,
channel_mask = 0,
streamPID = 0,
is_protected = false,
header = 0
}
}
(gdb) p OutMediaData
$18 = {
<> = {<No data fields>},
members of UMC::AudioData:
m_info = {
<UMC::StreamInfo> = {<No data fields>},
members of UMC::sAudioStreamInfo:
channels = 0,
sample_frequency = 0,
bitrate = 0,
bitPerSample = 0,
duration = 0,
stream_type = UMC::UNDEF_AUDIO,
stream_subtype = UMC::UNDEF_AUDIO_SUBTYPE,
channel_mask = 0,
streamPID = 0,
is_protected = false,
header = 0
}
}
What could cause the seg fault?
Thanks,
Shifeng
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shifeng,
You may have known that the function ippsVLCCountBits was deprecated and was removed in current IPP 9.0 version.
I checked the latest issue bug reports regarding the function was in IPP 7.0 beta version, not sure if it is same bug, anyway, is it possible for you to try later version or try the latest version IPP 9.0, which provide one legacy library?
Please see the details in https://software.intel.com/en-us/articles/intel-ipp-legacy-libraries. ;
Best Regards,
Ying H.
Intel IPP Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ying,
Thanks for the information. Our application is built based on the UMC sample code. Does IPP 9.0 still support the UMC sample code?
Regards,
Shifeng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shifeng,
UMC sample was deprecated too since 8.0. So IPP 9.0 don't support UMC. But in order to keep the original version work, IPP 9.0 provide seperated package: legacy package, you can build the UMC smaple based on the legacy package (need some modification as different file name, for example, ippvc90legacy.h
to ippvc.h etc
).
Or the last IPP UMC sample is in IPP 8.0 , you may go https://registrationcenter.intel.com/ to get the IPP 8.0 package and samples.
Best Regards,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ying,
Thanks a lot! We will consider the approach.
Regards,
Shifeng
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page