Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

SIGSEGV calling mkl_dcoomm()

Elliott__Tavis
Beginner
127 Views

We have small matrices we're attempting to multiply, and sometimes it crashes.  Not every time, and when it works the results appear to be correct.  

#  SIGSEGV (0xb) at pc=0x00007f39486428ec, pid=15934, tid=0x00007f3934a26700
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x00007f3bd40bc000
 Problematic frame:
# C  [libmkl_mc3.so+0xcc08ec]  mkl_dft_mc3_gather_d_d+0xcc

Arguments to the function:

A is 18x24
B is 18x28
C is 24x28

transa: T
matdescra: "G  F  "
m:18 
n:28 
k:24 
nnz:119 
alpha: 1
beta: 0
ldb: 18 
ldc: 24 

Are we calling the function incorrectly somehow?  It appears like every time it crashes the process is attempting to read 32 bytes past the end of B's allocated space.  Our theory is that it "works" when that memory is part of the process address space and crashes when it's not. 
0 Kudos
1 Reply
Gennady_F_Intel
Moderator
127 Views

At the first glance everything look correct. Could you give the example of this problem to check/debug problem on our side with the latest versions of MKL? 

 

Reply