Matlab R2017b crashes on Ubuntu 16.04 when performing certain operations

1 次查看(过去 30 天)
I have a very weird problem I discovered doing some signal processing with Matlab 2017b on Ubuntu 16.04. I was running a bit of Savitzky-Golay filtering on a very manageable vector (<1000 elements), and Matlab went completely unresponsive. The GUI displayed "Busy..." as if it were actually processing a command, but the terminal in background showed this message:
java.lang.UnsatisfiedLinkError: no nativeservices in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at com.mathworks.services.Prefs.<clinit>(Prefs.java:188)
at com.mathworks.fatalexit.SendReportPanel.<init>(SendReportPanel.java:61)
at com.mathworks.fatalexit.FatalExitFrame.<init>(FatalExitFrame.java:198)
at com.mathworks.fatalexit.FatalExitFrame$13.run(FatalExitFrame.java:905)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: com.mathworks.services.Prefs.nativeGetPreferencesDirectory()Ljava/lang/String;
at com.mathworks.services.Prefs.nativeGetPreferencesDirectory(Native Method)
at com.mathworks.services.Prefs.getPropertyDirectory(Prefs.java:229)
at com.mathworks.services.Prefs.load(Prefs.java:302)
at com.mathworks.services.Prefs.<clinit>(Prefs.java:195)
at com.mathworks.fatalexit.SendReportPanel.<init>(SendReportPanel.java:61)
at com.mathworks.fatalexit.FatalExitFrame.<init>(FatalExitFrame.java:198)
at com.mathworks.fatalexit.FatalExitFrame$13.run(FatalExitFrame.java:905)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
After few moments of waiting (around 1 minute, which should be more than enough considered I'm running on an i7 processor and with more than 30 gigs of RAM) I had to kill the process because it was completely frozen.
I have no idea what to do with it and why this happens only when performing certain operations. Any ideas would be very appreciated!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by