Re: [uml-user] threads in x86_64 UML

2011-08-31 Thread Riccardo Murri
Hello, A final update on this old thread. Good news: thanks to Rick Amos of MathWorks support, this problem has finally been solved. It seems that the issue really lies in the threading mechanism/library used by MatLab compiled code. So the fix is to compile your MatLab code with the "-singleCo

Re: [uml-user] threads in x86_64 UML

2011-08-15 Thread Riccardo Murri
Hi, I'm resurrecting this old thread just to summarize the final outcome for people coming to it from archive searches. The "clone" stack trace has nothing to do with the real cause of the error: starting with version R2010b, the MatLab runtime fails instead with an "out of memory" error. Indeed

Re: [uml-user] threads in x86_64 UML

2011-06-24 Thread Riccardo Murri
Hi Richard, On Fri, Jun 24, 2011 at 9:07 AM, richard -rw- weinberger wrote: > On Thu, Jun 23, 2011 at 11:16 PM, Riccardo Murri > wrote: >> Being MatLab stuff, I'm afraid I cannot provide a full test case; this >> is the top of the stack as it gets dumped out after the crash: > > BTW: What exactl

Re: [uml-user] threads in x86_64 UML

2011-06-24 Thread richard -rw- weinberger
On Thu, Jun 23, 2011 at 11:16 PM, Riccardo Murri wrote: > Being MatLab stuff, I'm afraid I cannot provide a full test case; this > is the top of the stack as it gets dumped out after the crash: > BTW: What exactly are you doing with MatLab? I have access to various MatLab installations. With the

Re: [uml-user] threads in x86_64 UML

2011-06-23 Thread richard -rw- weinberger
Riccardo, On Thu, Jun 23, 2011 at 11:16 PM, Riccardo Murri wrote: > Being MatLab stuff, I'm afraid I cannot provide a full test case; this > is the top of the stack as it gets dumped out after the crash: > >    [...] >    [ 13] 0x452951c3 > /mnt/dev/uml/matlab/MATLAB/MATLAB_Compiler_Runti

Re: [uml-user] threads in x86_64 UML

2011-06-23 Thread Riccardo Murri
Hi Richard, On Thu, Jun 23, 2011 at 6:10 PM, richard -rw- weinberger wrote: > On Thu, Jun 23, 2011 at 5:38 PM, Riccardo Murri > wrote: >> I'm trying to run some MatLab compiled code in a x86_64 Debian squeeze UML; >> unfortunately, the code crashes and the backtrace indicates that the problem >

Re: [uml-user] threads in x86_64 UML

2011-06-23 Thread richard -rw- weinberger
On Thu, Jun 23, 2011 at 5:38 PM, Riccardo Murri wrote: > Hello, > > I'm trying to run some MatLab compiled code in a x86_64 Debian squeeze UML; > unfortunately, the code crashes and the backtrace indicates that the problem > is > due to a failing clone() call. > UML had some problems with thread

[uml-user] threads in x86_64 UML

2011-06-23 Thread Riccardo Murri
Hello, I'm trying to run some MatLab compiled code in a x86_64 Debian squeeze UML; unfortunately, the code crashes and the backtrace indicates that the problem is due to a failing clone() call. Googling the issue, I found hints that this might be because UML does not support NPTL, which is the th