[Numpy-discussion] Segfault with dotblas on OS X 10.5.5/PPC (but not on Intel?)

David Warde-Farley dwf at cs.toronto.edu
Wed Nov 12 16:32:44 EST 2008


Hello folks,

I'm doing some rather big matrix products on a G5, and ran into this.  
Strangely on the same OS version on my Intel laptop, this isn't an  
issue. Available memory isn't the problem either, I don't think, this  
machine is pretty beefy.

I'm running the python.org 2.5.2 build of Python, and the latest SVN  
build of numpy (though the same thing happened with 1.1.0).

Here's the debug info that OS X gives me:

Process:         Python [84664]
Path:            /Library/Frameworks/Python.framework/Versions/2.5/ 
Resources/Python.app/Contents/MacOS/Python
Identifier:      Python
Version:         ??? (???)
Code Type:       PPC (Native)
Parent Process:  bash [79733]

Date/Time:       2008-11-12 16:21:39.983 -0500
OS Version:      Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000129f0ca0
Crashed Thread:  2

Thread 0:
0   libSystem.B.dylib             	0x9267ae4c __semwait_signal + 12
1   libBLAS.dylib                 	0x936fd58c ATL_join_tree + 28
2   libBLAS.dylib                 	0x936f21e8 ATL_dptgemm + 296
3   _dotblas.so                   	0x00fd67f0 dotblas_matrixproduct +  
5040 (_dotblas.c:751)
...
... <snip, snip, don't think most of this is relevant>

Thread 1:
0   libSystem.B.dylib             	0x926d8ae4 select$DARWIN_EXTSN + 12
1   com.tcltk.tcllibrary          	0x020e8de8 NotifierThreadProc + 448

Thread 2 Crashed:
0   libBLAS.dylib                 	0x93192d40 ATL_dgezero + 96
1   libBLAS.dylib                 	0x93301984 ATL_dNCmmIJK + 1684
2   libBLAS.dylib                 	0x932ffcb4 ATL_dgemm + 708
3   libBLAS.dylib                 	0x936f1dfc ATL_dptgemm0 + 108
4   libSystem.B.dylib             	0x926b6658 _pthread_start + 316

Thread 3:
0   libBLAS.dylib                 	0x931b9fa8  
ATL_dJIK0x0x0NN0x0x0_aX_bX + 2328
1   libBLAS.dylib                 	0x93302314 ATL_dNCmmJIK + 1652
2   libBLAS.dylib                 	0x932ffcb4 ATL_dgemm + 708
3   libBLAS.dylib                 	0x936f1dfc ATL_dptgemm0 + 108
4   libSystem.B.dylib             	0x926b6658 _pthread_start + 316

Thread 4:
0   libBLAS.dylib                 	0x93192d70 ATL_dgezero + 144
1   libBLAS.dylib                 	0x93302314 ATL_dNCmmJIK + 1652
2   libBLAS.dylib                 	0x932ffcb4 ATL_dgemm + 708
3   libBLAS.dylib                 	0x936f1dfc ATL_dptgemm0 + 108
4   libSystem.B.dylib             	0x926b6658 _pthread_start + 316

Thread 5:
0   libBLAS.dylib                 	0x93307440 ATL_drow2blkT_KB_a1 + 80
1   libBLAS.dylib                 	0x93307754 ATL_drow2blkT2_a1 + 324
2   libBLAS.dylib                 	0x93305928 ATL_dmmJIK + 2200
3   libBLAS.dylib                 	0x932ff2a8 ATLU_dusergemm + 104
4   libBLAS.dylib                 	0x932ffcb4 ATL_dgemm + 708
5   libBLAS.dylib                 	0x936f1dfc ATL_dptgemm0 + 108
6   libSystem.B.dylib             	0x926b6658 _pthread_start + 316




More information about the NumPy-Discussion mailing list