I'm having trouble with SPM5 under Linux. I can successfully run SPM2
and SPM5 beta.
The SPM5 crash listings for MATLAB6.5 and MATLAB7.1 are as below for
these statements:
>> v = spm_vol('con_0003.img');
>> s = spm_slice_vol(v, spm_matrix([0 0 1]), v.dim(1:2), 0);
The Linux compiler is gcc version 3.2.3. This fails with or without Java.
Ideas or suggestions?
Kathy Pearson
------------------------------------------------------------------------
Segmentation violation detected at Fri Jan 13 14:51:59 2006
------------------------------------------------------------------------
Configuration:
Operating System: Linux 2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686
Window System: Sun Microsystems, Inc. (6610), display ned:0.0
Current Visual: 0x23 (class 4, depth 24)
Processor ID: x86 Family 15 Model 2 Stepping 7, GenuineIntel
Virtual Machine: Java is not enabled
Register State:
eax = 6ffffe34 ebx = 40015518
ecx = 4229c8f0 edx = c6040387
esi = c6040387 edi = 086f0370
ebp = bfff8f5c esp = bfff8e4c
eip = 400065ea flg = 00010286
Stack Trace:
[0] ld-linux.so.2:0x400065ea
(0x41ad7b50 "/ansir2/SPM5/spm_slice_vol.mexgl..", 0xffffffff, 0xbfff8fbc,
0x0853f4d0 "/ansir2/SPM5/spm_slice_vol.mexgl..")
[1] ld-linux.so.2:_dl_map_object~(2, 0, 0x80000002, 6) + 525 bytes
[2] libc.so.6:0x412072a6(0xbfff9390, 2, 0x41ad5f30, 0x4002ba86)
[3] ld-linux.so.2:_dl_catch_error~(0xbfff9390, 0x405f8cbc, 0xbfff95c8,
0x4056c321) + 118 bytes
[4] libc.so.6:_dl_open~(0x4122ecd8, 0xbfff9520, 0xbfff95d4, 0x40015518) +
114 bytes
[5] libdl.so.2:0x4107effb(0xbfff9520, 0, 0, 0)
[6] ld-linux.so.2:_dl_catch_error~(0xbfff9520, 0x4107f580, 0xbfff9518, 0)
+ 118 bytes
[7] libdl.so.2:0x4107f4b6
(0x41ad7b50 "/ansir2/SPM5/spm_slice_vol.mexgl..", 2, 0, 0x40024558)
[8] libdl.so.2:dlopen~(0x41ad7b50 "/ansir2/SPM5/spm_slice_vol.mexgl..",
2, 0xbfff9578, 0x4002453a) + 52 bytes
[9] libut.so:utLoadLibrary
(0x41ad7b50 "/ansir2/SPM5/spm_slice_vol.mexgl..", 0xbfff95d4, 0xbfff95a8,
0x4012013a) + 44 bytes
[10] libmex.so:mexLoadMexFile
(0x41ad7b50 "/ansir2/SPM5/spm_slice_vol.mexgl..",
0x41b44bd0 "spm_slice_vol", 0xbfff95d4, 0x405467ee) + 37 bytes
[11] libmwm_interpreter.so:inLoadMexFile(0x41c2e780, 0xffffffff, 1,
0x405468cd) + 87 bytes
[12] libmwm_interpreter.so:inExecMexFile(int, int, mxArray_tag **,
MATLAB_Function_tag *)(1, 4, 0xbfffac50, 0x41c2e780) + 122 bytes
[13] libmwm_interpreter.so:inExecFunction(1, 4, 0xbfffac50, 0x41c2e780) +
60 bytes
[14] libmwm_interpreter.so:inMMexExecute(599, 0x4222f508 "spm_slice_vol",
1, 4) + 594 bytes
[15] libmwm_interpreter.so:inMMex(char const *, int, int, int, int *, int
*)(0x4222f508 "spm_slice_vol", 599, 1, 0xfffffffc) + 125 bytes
[16] libmwm_interpreter.so:inInterp(inDebugCheck, int, int,
inPcodeNest_tag volatile *)(2, 0, 0, 0x41b3a418) + 4004 bytes
[17] libmwm_interpreter.so:inInterPcode(2, 0x405f8cbc, 0xbfffc2f8,
0x4052f167) + 294 bytes
[18] libmwm_interpreter.so:in_local_call_eval_function(int *,
_m_parser_interface *, _pcodeheader *, int *, mxArray_tag **, inDebugCheck)
(0, 0x4060e120, 0xbfffc598, 0xbfffc5ec) + 243 bytes
[19] libmwm_interpreter.so:inEvalStringWithIsVarFcn(0x086396c0 "s =
spm_slice_vol(v, spm_matrix(..", 57, 0, 0) + 854 bytes
[20] libmwm_interpreter.so:inEvalCmdNoEnd(0x086396c0 "s = spm_slice_vol
(v, spm_matrix(..", 139, 0xbfffc7c8, 0x080651ac) + 105 bytes
[21] matlab:mnParser(0x4122ecd8, 0xbfffe414, 0x080c5388, 0xbfffc8dc) +
908 bytes
[22] matlab:main(3, 0xbfffe404, 0xbfffe414, 0) + 2835 bytes
[23] libc.so.6:__libc_start_main~(0x08058230, 3, 0xbfffe404, 0x08055b64)
+ 218 bytes
------------------------------------------------------------------------
Segmentation violation detected at Fri Jan 13 14:54:50 2006
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.1.0.183 (R14) Service Pack 3
Operating System: Linux 2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686
Window System: Sun Microsystems, Inc. (6610), display ned:0.0
Current Visual: 0x23 (class 4, depth 24)
Processor ID: x86 Family 15 Model 2 Stepping 7, GenuineIntel
Virtual Machine: Java is not enabled
Default Charset: UTF-8
Register State:
eax = 6ffffe34 ebx = 40015518
ecx = 443dd8f0 edx = c6040387
esi = c6040387 edi = 086d7ab0
ebp = bfff77fc esp = bfff76ec
eip = 400065ea flg = 00210286
Stack Trace:
[0] ld-linux.so.2:0x400065ea
(0x0854983c "/ansir2/SPM5/spm_slice_vol.mexgl..", 0xffffffff, 0xbfff785c,
0x086d62c0 "/ansir2/SPM5/spm_slice_vol.mexgl..")
[1] ld-linux.so.2:_dl_map_object~(2, 0, 0x80000002, 0x417b800c) + 525
bytes
[2] libc.so.6:0x408f92a6(0xbfff7c30, 1, 0x439b2160, 0x439b2148)
[3] ld-linux.so.2:_dl_catch_error~(0xbfff7c30, 0x085a0020, 0, 0x4127e874)
+ 118 bytes
[4] libc.so.6:_dl_open~(0x40920cd8, 0xbfff7dc0, 0xbfff8e5c, 0x40015518) +
114 bytes
[5] libdl.so.2:0x40afcffb(0xbfff7dc0, 1626120, 0, 0x43117830)
[6] ld-linux.so.2:_dl_catch_error~(0xbfff7dc0, 0x40afd580, 0xbfff7e38, 0)
+ 118 bytes
[7] libdl.so.2:0x40afd4b6
(0x0854983c "/ansir2/SPM5/spm_slice_vol.mexgl..", 2, 0, 0x40046af9)
[8] libdl.so.2:dlopen~(0x0854983c "/ansir2/SPM5/spm_slice_vol.mexgl..",
2, 0xbfff7e08, 0x40084cde) + 52 bytes
|