Hi,
I have just installed algencan version 2.3.7. I am installing the
Matlab interface on a linux machine, following the steps in the readme
file. When typing "make algencan-matlab", I get a file named
"algencan.mexa64".
When I type "algencanma", I get the following error:
------------------------------------------------------------------------
Segmentation violation detected at Thu Feb 23 18:12:02 2012
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.10.0.499 (R2010a)
MATLAB License: 161051
Operating System: Linux 2.6.32-5-amd64 #1 SMP Thu Nov 3 03:41:26 UTC
2011 x86_64
GNU C Library: 2.11.3 stable
Window System: Colin Harrison (60900031), display localhost:10.0
Current Visual: 0x22 (class 4, depth 24)
Processor ID: x86 Family 6 Model 12 Stepping 2, GenuineIntel
Virtual Machine: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java
HotSpot(TM) 64-Bit Server VM mixed mode
Default Encoding: UTF-8
Fault Count: 1
Register State:
rax = 0000000000000000 rbx = 00007f3fa4658c40
rcx = 0000000000000032 rdx = 00007f3f17a72c10
rbp = 00007f3fa4658260 rsi = 00007f3f5e973f72
rdi = 0000000004052ab4 rsp = 00007f3fa4658230
r8 = 000000000000002d r9 = 0101010101010101
r10 = 00007f3f9c45e140 r11 = 00007f3fb0a15706
r12 = 7cc6c13800007f3f r13 = 0000000000000032
r14 = 00007f3f5e973f40 r15 = 00007f3f5e973f72
rip = 00007f3fb2e8d03e flg = 0000000000010206
Stack Trace:
[0] libmx.so:mxgetstring_@@v7.3(0x7f3fae104518, 0x7f3fae103528,
0x500000000, 0x100000077) + 46 bytes
[1] algencan.mexa64:mexfunction_~(0x700000018, 0x03c8e4e0,
0x127f00000000, 0x04052b70) + 444 bytes
[2] libmex.so:mexRunMexFile(0x95dfe204, 0x04052ab0, 0x1800000000,
0x7f3fa4658c40) + 108 bytes
[3] libmex.so:Mfh_mex::runMexFileWithSignalProtection(int,
mxArray_tag**, int, mxArray_tag**)(0xffffffff, 0x7f3fb0a0d94c,
0x7f3fa46586b0, 0x7f3fa4658b00) + 137 bytes
[4] libmex.so:Mfh_mex::dispatch_file(int, mxArray_tag**, int,
mxArray_tag**)(0x04052ab0, 0x18a4658b90, 0x03af2150, 0x7f3fa46599c0) +
247 bytes
[5] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**,
int, mxArray_tag**)(0x700000018, 0x7f3f9cc9de1a "algencan",
0x7f3fb1e56300, 0x03c88f60) + 330 bytes
[6] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int,
int)(0x7f3fb1e540a8, 0x7f3fb2c16300, 0x7f3fb1ebd460, 0x7f3fb1ebd450) +
1066 bytes
[7] libmwm_interpreter.so:inCallFcnFromReference(0x7f3fa4658f00,
0x7f3fa4659078, 0x7f3fa4659070, 0x7f3fa46590f8) + 152 bytes
[8] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes,
inPcodeNest_tag volatile*, long*)(0x7f3fa4659658, 0x03ede4f0,
0x100000000, 0x100000000) + 2127 bytes
[9] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int,
opcodes, inPcodeNest_tag*, long*)(0x0390b6e0, 0x0390b6e0,
0x7f3fa4659430, 0x7f3fb19ca2b1) + 140 bytes
[10] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int,
opcodes, inPcodeNest_tag*, long*)(0x7f3fa4659620, 0x7f3fa465966c,
0xffffffff0000003f, 0xffffffff00000000) + 378 bytes
[11] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)
(0, 0x7f3fa4659900, 0, 0x7f3fa4659b50) + 688 bytes
[12] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int,
mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0x7f3fa4659b50, 0xa46599e0,
0x041b5ab0, 0x7f3fa465a810) + 1419 bytes
[13] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**,
int, mxArray_tag**)(0, 0, 0, 0) + 330 bytes
[14] libmwm_interpreter.so:inDispatchFromStack(int, char const*,
int, int)(1, 1, 0x7f3fb1ebd460, 0x7f3fb1ebd450) + 1066 bytes
[15] libmwm_interpreter.so:inCallFcnFromReference(0x7f3fa4659d30,
0x7f3fa4659ec8, 0x7f3fa4659ec0, 0x7f3fa4659f48) + 152 bytes
[16] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes,
inPcodeNest_tag volatile*, long*)(0x7f3fa465a4a8, 0x03955e90,
0x100000000, 0x100000000) + 2127 bytes
[17] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int,
int, opcodes, inPcodeNest_tag*, long*)(0x03acc870, 0x03acc870,
0x7f3fa465a280, 0x7f3fb19ca2b1) + 140 bytes
[18] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int,
opcodes, inPcodeNest_tag*, long*)(0x7f3fa465a470, 0x7f3fa465a4bc,
0xffffffff0000006f, 0xffffffff00000000) + 378 bytes
[19] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)
(80, 0x7f3fa465a750, 0, 0) + 688 bytes
[20] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int,
mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0, 32, 0x03955b80,
0x7f3fa465b850) + 1419 bytes
[21] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**,
int, mxArray_tag**)(0xa465a8b0, 0, 0x7f3fa465b5d0, 0x7f3fa465b420) +
330 bytes
[22] libmwm_interpreter.so:inEvalPcodeHeaderToWord(_memory_context*,
int, mxArray_tag**, _pcodeheader*, Mfh_mp*, unsigned int)
(0x7f3fa465a8d0, 0x7f3fa465aaa0, 0x7f3fa465b620, 0) + 170 bytes
[23]
libmwm_interpreter.so:in_local_call_script_function(_memory_context*,
_pcodeheader*, int, mxArray_tag**, unsigned int, bool)(0x7f3fad61f000
"uctType", 0x7f3fb09d92b8, 0x7f3fa465b528 "x/matlab/codetools/
+internal/+ma..", 0x7f3fa465b534 "etools/+internal/+ma") + 103 bytes
[24]
libmwm_interpreter.so:inEvalStringWithIsVarFcn(_memory_context*, char
const*, EvalType, int, mxArray_tag**, inDebugCheck, _pcodeheader*,
int*, bool (*)(void*, char const*), void*, bool, bool)(0, 0,
0x7f3fb1785620, 0) + 2610 bytes
[25] libmwm_interpreter.so:inEvalCmdWithLocalReturn(char const*,
int*, bool, bool, bool (*)(void*, char const*))(0x7f3fa465b630,
0x7f3f9d32f6e0 "algencanma\n", 0x7f3fa465b7f0, 0) + 149 bytes
[26] libmwbridge.so:evalCommandWithLongjmpSafety(char const*)
(0x7f3fa465b870, 0x7f3fa465b880, 0x7f3fa465b890, 0x7f3fa465b830) + 94
bytes
[27] libmwbridge.so:mnParser(0x023057d0, 0, 0x100000001, 0) + 389
bytes
[28] libmwmcr.so:mcrInstance::mnParser_on_interpreter_thread()(2,
0x7f3f807102a8, 0xf00000003, 0x7f3f9cdadbe0) + 41 bytes
[29] libmwmcr.so:boost::function0<void>::operator()()
const(0x7f3fa465ba00, 0x7f3fa465ba00, 0x7f3fa465b9c0, 0x7f3fb218d251)
+ 123 bytes
[30]
libmwmcr.so:mcr::runtime::InterpreterThread::Impl::NoResultInvocationRequest::run()
(0x7f3fa465ba00, 0x7f3f9cadf120, 0x7f3f9cdc4d00, 0x7f3f9cadf120) + 21
bytes
[31]
libmwmcr.so:mcr::runtime::InterpreterThread::Impl::invocation_request_handler(long)
(0x7f3fa465bac0, 0x7f3fa465ba00, 0x7f3fa465b820, 0x3000000020) + 33
bytes
[32] libmwuix.so:uix_DispatchOrProcess(_XEvent*, _XtAppStruct*, int,
bool)(0x7f3f9cdf4da8, 0x7f3f9cdf4da0, 0x7f3fa465bc00, 0x7f3fab8fc57a)
+ 361 bytes
[33] libmwuix.so:uix_ppeHook::pollingDuringFcn(bool)(0x7f3f9cdf4da0,
16, 0, 0) + 40 bytes
[34] libuij.so:sysq::during_F<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*>
std::for_each<__gnu_cxx::__normal_iterator<sysq::wsfcn_proxy<sysq::ws_ppeHook*>**,
std::vector<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*,
std::allocator<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*> > >,
sysq::during_F<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*>
>(__gnu_cxx::__normal_iterator<sysq::wsfcn_proxy<sysq::ws_ppeHook*>**,
std::vector<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*,
std::allocator<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*> > >,
__gnu_cxx::__normal_iterator<sysq::wsfcn_proxy<sysq::ws_ppeHook*>**,
std::vector<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*,
std::allocator<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*> > >,
sysq::during_F<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*>)(0x7f3f9cdf4da0,
0x7f3f9cdf4db0 "B/toolbo%", 0x7f3f9cdf4db0 "B/toolbo%", 0x7f3f9cdf4db0
"B/toolbo%") + 58 bytes
[35] libuij.so:sysq::during_F<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*>
sysq::ppe_for_each<sysq::during_F<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*>
>(sysq::during_F<sysq::wsfcn_proxy<sysq::ws_ppeHook*>*>)
(0x7f3fb0d04600 ", 0, 0x7f3fa465bd10, 0x02316130) + 134 bytes
[36] libuij.so:svWS_ProcessPendingEvents(int, int, bool)(16,
0x02304280, 0x02309ab0, 0x02309a10) + 508 bytes
[37]
libmwmcr.so:mcr::runtime::InterpreterThread::Impl::process_events(boost::shared_ptr<mcr::runtime::InterpreterThread::Impl>
const&)(0x02304298, 0x7f3fa465be50, 0x7f3fa465c700, 0) + 153 bytes
[38]
libmwmcr.so:mcr::runtime::InterpreterThread::Impl::run(boost::shared_ptr<mcr::runtime::InterpreterThread::Impl>
const&, mcr::runtime::InterpreterThread::Impl::init_context*)
(0x02309a10, 0x02309ab0, 0, 0) + 239 bytes
[39] libmwmcr.so:run_init_and_handle_events(void*)(0,
0x7f3fa465c700, 0, 0) + 59 bytes
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for
information
on debugging MEX-files.
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/ts/help_request_1.html
A technical support engineer might contact you with further
information.
Thank you for your help. MATLAB may attempt to recover, but even if
recovery appears successful,
we recommend that you save your workspace and restart MATLAB as soon
as possible.
Caught MathWorks::System::FatalException
[Please exit and restart MATLAB]>>
How to fix this?
Thanks!
Mallatrone