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, running "strace" on the compiled program shows that it is trying to allocate 128GiB of memory, although the UML has a few GB of total virtual memory, and of course fails: ... mmap(NULL, 137438953472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) brk(0x2000ac6000) = 0xaee000 mmap(NULL, 137439088640, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x4051c56000 munmap(0x4051c56000, 37396480) = 0 munmap(0x4058000000, 29712384) = 0 mprotect(0x4054000000, 135168, PROT_READ|PROT_WRITE) = 0 mmap(NULL, 137438953472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) ... A request to MatLab support was closed with the statement: I investigated further into this, but we could not get MATLAB to run on the virtualized kernel provided by UML. [...] MathWorks does not test or design the MATLAB products for use with virtual operating systems, thus virtual operating systems are not supported for use with the MATLAB products. However, while this is unsupported, there may be other virtual environments where MATLAB does work. The latest version of the MatLab Compiler runtime that I've tried is v715 (from MatLab R2011a); up to that version there is apparently no way of running compiled MatLab programs in a UML virtual machine. A big "thank you!" to Richard Weinberger for all his help in investigating this issue off-line. Best regards, Riccardo ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user