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

Segmentation violation with Matlab R2006b / IPP 5.1.1

kavermeer
Beginner
223 Views
Hi,

I've been encountering various problems with Matlab and IPP on Linux. Somehow, when calling IPP routines from Matlab, something gets corrupted. Sometimes Matlab just crashes, but even if it doesn't, it cannot exit gracefully. It doesn't happen with all IPP functions, but the filters/convolutions result in these problems (ippiFilter* and ippiConv*).

When I stop Matlab and restart it, I get a screen which may point you experts into the right direction. The most important part is:

Operating System: Linux 2.6.18koen #1 SMP Mon Oct 23 12:14:46 CEST 2006 i686
GNU C Library: 2.3.6 stable
Processor ID: x86 Family 15 Model 4 Stepping 7, GenuineIntel
Virtual Machine: Java 1.5.0_08 with Sun Microsystems Inc. Java HotSpot Client VM mixed mode, sharing
Default Charset: UTF-8

Register State:
eax = 00000000 ebx = 0000036c
ecx = 000003da edx = 0000000b
esi = b5a1f100 edi = b75d6ff4
ebp = a9c3d39c esp = a9c3d384
eip = b7f68410 flg = 00000206

Stack Trace:
[0] 0xb7f68410(11, 0, 0, 0x454710ef)
[1] libguide.so:0xb5a0d12f(0xb5a1f100, 0xa9c3d490 ", 0xa9c3d490 ", 0xa9c3d490 ")
[2] libpthread.so.0:0xb75cd240(0xa9c3dbb0, 0, 0, 0)

Just to see which numbers are reproducible, I did it again, resulting in:

Register State:
eax = 00000000 ebx = 000003e0
ecx = 0000052f edx = 0000000b
esi = b5a7e100 edi = b7635ff4
ebp = aa13e39c esp = aa13e384
eip = b7fc7410 flg = 00000202

Stack Trace:
[0] 0xb7fc7410(11, 0, 0, 0x45471318)
[1] libguide.so:0xb5a6c12f(0xb5a7e100, 0xaa13e490 ", 0xaa13e490 ", 0xaa13e490 ")
[2] libpthread.so.0:0xb762c240(0xaa13ebb0, 0, 0, 0)

With small images, it sometimes seems to work OK. For now, I think I'll stop using these routines, because I've spend way too much time on this already. If someone has got some great idea how to solve this, please let me know!

Thanks!

Koen
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
223 Views

Hi Koen,

thank you a lot for providing us with that detailed information, it definetely should help in uderstanding the reasons. I also recommend you to submit your issue report to both Intel Premier Support and Matlab support. At least for Intel side, it will give you opportunity to be informed about investigation results.

Regards,
Vladimir

0 Kudos
Reply