MATLAB Absturzsystem (Gentoo Linux)

826
uvsvdu

Lassen Sie mich zunächst sagen, dass ich bei MATLAB und Linux noch relativ neu bin. Vielleicht fehlt mir etwas offensichtliches. In diesem Fall haben Sie bitte etwas Geduld.

Ich wurde gebeten, bei einem Modellierungsprojekt in meiner Mathematikabteilung mitzuhelfen, also habe ich den gesamten Code heruntergeladen, matlab auf meinem Computer installiert und nach dem Durchspringen einiger Blöcke (musste eine Bibliothek namens "glu" installieren) das Skript selbst läuft tatsächlich. Es kommt zu einem Punkt, an dem ich glaube, dass er versucht, eine Zeichnung zu rendern, bei der das System abstürzt. Ich kann mit ctrl-alt-F (irgendetwas) nicht auf andere ttys zugreifen. Nach einiger Zeit bekomme ich oben rechts einen blinkenden Cursor. noch immer nichts zu tun, Strg-Alt-Löschen, nichts. Also halte ich den Netzschalter gedrückt und fahre den Computer herunter.

Ich habe die Crash-Dumps gefunden, und einige davon sind nur leer, einige haben Informationen, hier ist "matlab_crash_dump.4121-1":

------------------------------------------------------------------------ Assertion detected at Sun Sep 18 17:13:44 2016 ------------------------------------------------------------------------  Configuration: Crash Decoding : Disabled Crash Mode : continue (default) Current Graphics Driver: Intel Open Source Technology Center Mesa DRI Intel(R) Sandybridge Mobile Version 3.0 Mesa 11.0.6 Current Visual : 0x47 (class 4, depth 24) Default Encoding : UTF-8 GNU C Library : 2.22 stable Host Name : q Java Crash Report : /home/d/hs_error_pid4121.log Java Log : /home/d/java.log.4121 MATLAB Architecture : glnxa64 MATLAB Root : /usr/local/MATLAB/R2016a MATLAB Version : 9.0.0.341360 (R2016a) OpenGL : hardware Operating System : Linux 4.4.6-gentoo #6 SMP Sun Sep 18 16:32:36 MDT 2016 x86_64 Processor ID : x86 Family 6 Model 42 Stepping 7, GenuineIntel Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : The X.Org Foundation (11704000), display :0  Fault Count: 1   Assertion in void ::mwJavaAbort() at javainit.cpp line 1389: Fatal Java Exception. See Java Crash Report for details.  Register State (captured): RAX = 00007f22a75e21e0 RBX = 00007f2329790878 RCX = 0000000000000000 RDX = 00007f2329770c20 RSP = 00007f22a75e2100 RBP = 00007f22a75e24c0 RSI = 00007f23295273b8 RDI = 00007f22a75e2110  R8 = 0000000000000000 R9 = 00007f230ec258e0 R10 = 0000000000000000 R11 = 000000000000000f R12 = 00007f230ec251bb R13 = 00007f230ec258e0 R14 = 00007f23297807e8 R15 = 00007f22a75e2d30  RIP = 00007f232949459e EFL = 00007f232fa03500  CS = f0b8 FS = 2939 GS = 7f23  Stack Trace (captured): [ 0] 0x00007f232949459e /usr/local/MATLAB/R2016a/bin/glnxa64/libmwfl.so+01082782 _ZN2fl4diag5linux6x86_6412context_base12capture_dataEv+00000030 [ 1] 0x00007f2329490541 /usr/local/MATLAB/R2016a/bin/glnxa64/libmwfl.so+01066305 [ 2] 0x00007f2329491bd0 /usr/local/MATLAB/R2016a/bin/glnxa64/libmwfl.so+01072080 [ 3] 0x00007f2329491c42 /usr/local/MATLAB/R2016a/bin/glnxa64/libmwfl.so+01072194 [ 4] 0x00007f230ebe675a /usr/local/MATLAB/R2016a/bin/glnxa64/libmwjmi.so+01099610 [ 5] 0x00007f230d8298bb /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+08513723 [ 6] 0x00007f230d6599f2 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06613490 [ 7] 0x00007f21f308ac02 /usr/local/MATLAB/R2016a/bin/glnxa64/libnativewindow_x11.so+00011266 NativewindowCommon_FatalError+00000268 [ 8] 0x00007f21f308b95a /usr/local/MATLAB/R2016a/bin/glnxa64/libnativewindow_x11.so+00014682 [ 9] 0x00007f232275edde /usr/lib64/libX11.so.6+00282078 _XIOError+00000078 [ 10] 0x00007f232275cebb /usr/lib64/libX11.so.6+00274107 _XReply+00001019 [ 11] 0x00007f2322743cb7 /usr/lib64/libX11.so.6+00171191 _XGetWindowAttributes+00000183 [ 12] 0x00007f2322743e31 /usr/lib64/libX11.so.6+00171569 XGetWindowAttributes+00000049 [ 13] 0x00007f22e16a3c44 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/xawt/libmawt.so+00109636 [ 14] 0x00007f22e19112f6 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/libawt.so+00209654 Java_sun_java2d_loops_Blit_Blit+00000534 [ 15] 0x00007f22fd012d98 <unknown-module>+00000000 [ 16] 0x00007f22fd006058 <unknown-module>+00000000 [ 17] 0x00007f22fd006058 <unknown-module>+00000000 [ 18] 0x00007f22fd006350 <unknown-module>+00000000 [ 19] 0x00007f22fd006350 <unknown-module>+00000000 [ 20] 0x00007f22fd0069fe <unknown-module>+00000000 [ 21] 0x00007f22fd0069fe <unknown-module>+00000000 [ 22] 0x00007f22fd006350 <unknown-module>+00000000 [ 23] 0x00007f22fd006350 <unknown-module>+00000000 [ 24] 0x00007f22fd006350 <unknown-module>+00000000 [ 25] 0x00007f22fd006706 <unknown-module>+00000000 [ 26] 0x00007f22fd006058 <unknown-module>+00000000 [ 27] 0x00007f22fd006058 <unknown-module>+00000000 [ 28] 0x00007f22fd006058 <unknown-module>+00000000 [ 29] 0x00007f22fd006058 <unknown-module>+00000000 [ 30] 0x00007f22fd006058 <unknown-module>+00000000 [ 31] 0x00007f22fd006058 <unknown-module>+00000000 [ 32] 0x00007f22fd006058 <unknown-module>+00000000 [ 33] 0x00007f22fd006058 <unknown-module>+00000000 [ 34] 0x00007f22fd006058 <unknown-module>+00000000 [ 35] 0x00007f22fd006058 <unknown-module>+00000000 [ 36] 0x00007f22fd006058 <unknown-module>+00000000 [ 37] 0x00007f22fd006058 <unknown-module>+00000000 [ 38] 0x00007f22fd006058 <unknown-module>+00000000 [ 39] 0x00007f22fd006058 <unknown-module>+00000000 [ 40] 0x00007f22fd006058 <unknown-module>+00000000 [ 41] 0x00007f22fd006706 <unknown-module>+00000000 [ 42] 0x00007f22fd006058 <unknown-module>+00000000 [ 43] 0x00007f22fd006058 <unknown-module>+00000000 [ 44] 0x00007f22fd006058 <unknown-module>+00000000 [ 45] 0x00007f22fd006058 <unknown-module>+00000000 [ 46] 0x00007f22fd006058 <unknown-module>+00000000 [ 47] 0x00007f22fd006058 <unknown-module>+00000000 [ 48] 0x00007f22fd006233 <unknown-module>+00000000 [ 49] 0x00007f22fd0004e7 <unknown-module>+00000000 [ 50] 0x00007f230d60a8f5 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06289653 [ 51] 0x00007f230d609358 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06284120 [ 52] 0x00007f230d68fc74 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06835316 JVM_DoPrivileged+00000676 [ 53] 0x00007f22fd012d98 <unknown-module>+00000000 [ 54] 0x00007f22fd006233 <unknown-module>+00000000 [ 55] 0x00007f22fd006233 <unknown-module>+00000000 [ 56] 0x00007f22fd0068e1 <unknown-module>+00000000 [ 57] 0x00007f22fd006233 <unknown-module>+00000000 [ 58] 0x00007f22fd0004e7 <unknown-module>+00000000 [ 59] 0x00007f230d60a8f5 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06289653 [ 60] 0x00007f230d609358 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06284120 [ 61] 0x00007f230d68fc74 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06835316 JVM_DoPrivileged+00000676 [ 62] 0x00007f22fd012d98 <unknown-module>+00000000 [ 63] 0x00007f22fd006233 <unknown-module>+00000000 [ 64] 0x00007f22fd0068e1 <unknown-module>+00000000 [ 65] 0x00007f22fd006058 <unknown-module>+00000000 [ 66] 0x00007f22fd006058 <unknown-module>+00000000 [ 67] 0x00007f22fd006058 <unknown-module>+00000000 [ 68] 0x00007f22fd006058 <unknown-module>+00000000 [ 69] 0x00007f22fd006058 <unknown-module>+00000000 [ 70] 0x00007f22fd006058 <unknown-module>+00000000 [ 71] 0x00007f22fd0004e7 <unknown-module>+00000000 [ 72] 0x00007f230d60a8f5 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06289653 [ 73] 0x00007f230d609358 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06284120 [ 74] 0x00007f230d609627 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06284839 [ 75] 0x00007f230d609747 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06285127 [ 76] 0x00007f230d6861d5 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06795733 [ 77] 0x00007f230d963bdf /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09800671 [ 78] 0x00007f230d963ce5 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09800933 [ 79] 0x00007f230d82a7f8 /usr/local/MATLAB/R2016a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+08517624 [ 80] 0x00007f232d73d494 /lib64/libpthread.so.0+00029844 [ 81] 0x00007f232d4825dd /lib64/libc.so.6+00955869 clone+00000109 [ 82] 0x0000000000000000 <unknown-module>+00000000   If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/  A technical support engineer might contact you with further information.  Thank you for your help. 

und hier ist das entsprechende "java.log.4121"

Operating System: Linux 4.4.6-gentoo #6 SMP Sun Sep 18 16:32:36 MDT 2016 x86_64 Processor ID: x86 Family 6 Model 42 Stepping 7, GenuineIntel Host Name: q FATAL ERROR in native method: Nativewindow X11 IOError: Display 0x7f230b054450 (:0): Resource temporarily unavailable at sun.java2d.loops.Blit.Blit(Native Method) at sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source) at sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source) at sun.java2d.pipe.DrawImage.copyImage(Unknown Source) at sun.java2d.pipe.DrawImage.copyImage(Unknown Source) at sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source) at sun.java2d.SunGraphics2D.copyImage(Unknown Source) at sun.java2d.SunGraphics2D.drawImage(Unknown Source) at sun.java2d.SunGraphics2D.drawImage(Unknown Source) at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.doPaintComponent(GLJPanel.java:2101) at com.jogamp.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:568) at com.mathworks.hg.peer.JavaSceneServerGLJPanel.paintComponent(JavaSceneServerGLJPanel.java:147) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) - locked <0x00000000e81d1210> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) - locked <0x00000000e81d1210> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.paint(Unknown Source) at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source) at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) at java.awt.Container.paint(Unknown Source) at java.awt.Window.paint(Unknown Source) at sun.awt.RepaintArea.paintComponent(Unknown Source) at sun.awt.X11.XRepaintArea.paintComponent(Unknown Source) at sun.awt.RepaintArea.paint(Unknown Source) at sun.awt.X11.XComponentPeer.handleEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 

An diesem Punkt bin ich ziemlich sicher, dass es ein Grafikproblem ist. Ich habe auch das Rendern von Opengl-Software versucht. Der Direktor des Projekts schlug vor, dass es ein Problem mit dem Kernel geben könnte, da er mein gesamtes System ausschaltet. An diesem Punkt möchte ich, dass ich in eine andere Umgebung wechsle, damit wir einfach weiterziehen können, obwohl ich es immer noch gerne wissen würde Was ist los mit Gentoo hier.

Eine Sache, über die ich nachgedacht habe, war, dass ich keine DE habe, nur eine WM mit Kacheln (super 3.5)

Hier arbeite ich mit:

Matlab2016a

Super 3.5

Gentoo-4.4.6

Intel 2760M

Quadro 2000M (ich glaube nicht, dass es das benutzt)

20 GB RAM

Zusammen mit den Standardtreibern für diese Teile

Lass es mich wissen, wenn du sonst noch etwas brauchst.

0
Dieses Problem wird wahrscheinlich durch Matlab verursacht, der versucht, die iGPU anstelle des Quadro 2000M zu verwenden. Ramhound vor 7 Jahren 0
Glauben Sie, dass das System den Quadro verwendet? Wie kann ich Matlab dazu auffordern, dies zu tun? Ich bin nicht wirklich sicher, aber ich denke, der Standard für das System ist die iGPU. Ich glaube nicht, wie ich das überprüfen soll. uvsvdu vor 7 Jahren 0
Ich glaube, Matlab tut etwas, mit dem die iGPU eigentlich nicht kompatibel ist. Ich kenne Linux nicht genug, um Ihnen zu sagen, wie man Matlab zwingt, stattdessen die Quadro-GPU zu verwenden. Ramhound vor 7 Jahren 0
Ich habe Matlab gerade angewiesen, sin (x) von 0 bis pi zu zeichnen, und das hat gut funktioniert. Ich frage mich, ob stattdessen etwas mit Java los ist. uvsvdu vor 7 Jahren 0
Ich bin nicht sicher, was das Plotten von 0 nach Pi beweist, iGPU ist für einige Dinge in Ordnung, das Skript, das nicht funktioniert, ist nicht so einfach, wie ich es versuche. Ramhound vor 7 Jahren 0
Oh alles klar. Wie gesagt, ich bin neu dazu :). Gibt es eine Möglichkeit zu testen, ob die iGPU, die damit nicht umgeht, die Sie kennen, sicher ist? Danke für Ihre Hilfe :) uvsvdu vor 7 Jahren 0

0 Antworten auf die Frage