Manjaro Crashes with Matlab

Hello everyone,

I’m a new Manjaro User. I currently have an issue with Manjaro and Matlab. I want to use Matlab and after a while my system randomly freezes. At first I didn’t know what causes the issue but i realized it happend if I had Matlab opened with some figuers. The System will not respond on any keyboard input, the only thing i can do is to hard reset my computer. Do someone know why this issue happen? I already reinstalled the complete OS but nothing changes.

I use Matlab R2020b Update 2

System Info:

OS: Manjaro Linux x86_64
Kernel: 5.8.18-1-MANJARO
Shell: zsh 5.8
DE: GNOME 3.38.1
CPU: Intel i5-6600K (4) @ 3.900GHz
GPU: Intel HD Graphics 530
GPU: NVIDIA GeForce GTX 980
Memory: 5432MiB / 15873MiB

:+1: Welcome to Manjaro! :+1:

Please read this:

and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU you have, without you having to type it every single time… :wink:

Hello Fabby,

thank you for your response :blush:. Here is the terminal output of the command.

System:
  Kernel: 5.8.18-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=903cd087-1917-478c-aab8-403d6cb1b9a4 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: GNOME 3.38.1 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.38.2 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: ASUSTeK model: Z170-P D3 v: Rev X.0x serial: <filter> 
  UEFI: American Megatrends v: 0403 date: 08/19/2015 
Battery:
  ID-1: hidpp_battery_0 charge: N/A condition: N/A volts: 4.1/N/A 
  model: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A 
  serial: <filter> status: Discharging 
Memory:
  RAM: total: 15.50 GiB used: 2.36 GiB (15.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-6600K bits: 64 type: MCP 
  arch: Skylake-S family: 6 model-id: 5E (94) stepping: 3 microcode: E2 
  L2 cache: 6144 KiB bogomips: 28009 
  Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est f16c 
  flexpriority flush_l1d fma fpu fsgsbase fxsr hle ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good rtm sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT disabled 
Graphics:
  Device-1: Intel HD Graphics 530 vendor: ASUSTeK driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:1912 
  Device-2: NVIDIA GM204 [GeForce GTX 980] vendor: CardExpert driver: nvidia 
  v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:13c0 
  Display: x11 server: X.org 1.20.9 compositor: gnome-shell driver: nvidia 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: GeForce GTX 980/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 
  direct render: Yes 
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a170 
  Device-2: NVIDIA GM204 High Definition Audio vendor: CardExpert 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fbb 
  Device-3: SteelSeries ApS Arctis 7 wireless adapter type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-1:2 chip ID: 1038:1260 
  Device-4: Yamaha Steinberg CI1 type: USB driver: snd-usb-audio 
  bus ID: 1-10:9 chip ID: 0499:1501 
  Device-5: Native Instruments Maschine MK3 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-6.3.2:10 
  chip ID: 17cc:1600 serial: <filter> 
  Sound Server: ALSA v: k5.8.18-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus ID: 04:00.0 
  chip ID: 10ec:8168 
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: SteelSeries ApS Arctis 7 wireless adapter type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-1:2 chip ID: 1038:1260 
  WAN IP: <filter> 
Drives:
  Local Storage: total: 1.15 TiB used: 64.74 GiB (5.5%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 1B6Q scheme: GPT 
  ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-08M2NA0 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: 1A01 scheme: MBR 
  ID-3: /dev/sdc type: USB vendor: Generic model: Flash Disk size: 14.84 GiB 
  block size: physical: 512 B logical: 512 B serial: <filter> rev: 8.07 
  scheme: MBR 
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SH-224DB rev: SB01 
  dev-links: cdrom 
  Features: speed: 48 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / raw size: 134.38 GiB size: 131.26 GiB (97.68%) 
  used: 60.11 GiB (45.8%) fs: ext4 dev: /dev/sdb5 label: N/A 
  uuid: 903cd087-1917-478c-aab8-403d6cb1b9a4 
  ID-2: /boot/efi raw size: 100.0 MiB size: 96.0 MiB (96.00%) 
  used: 31.6 MiB (32.9%) fs: vfat dev: /dev/sda2 label: N/A uuid: C2D3-1584 
  ID-3: /run/media/stefanm/ESD-USB raw size: 14.84 GiB 
  size: 14.83 GiB (99.89%) used: 4.59 GiB (31.0%) fs: vfat dev: /dev/sdc1 
  label: ESD-USB uuid: B0F5-4F8B 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  ID-1: /dev/sda1 size: 529.0 MiB fs: ntfs label: Wiederherstellung 
  uuid: 640CCEA50CCE721A 
  ID-2: /dev/sda3 size: 16.0 MiB fs: <superuser/root required> label: N/A 
  uuid: N/A 
  ID-3: /dev/sda4 size: 232.25 GiB fs: ntfs label: N/A uuid: F8C2D918C2D8DC46 
  ID-4: /dev/sdb1 size: 785.03 GiB fs: ntfs label: N/A uuid: 209CA32F9CA2FF02 
  ID-5: /dev/sdb2 size: 11.18 GiB fs: swap label: N/A 
  uuid: 4195517f-ec43-462f-a231-868d1da87a92 
  ID-6: /dev/sdb3 size: 954.0 MiB fs: vfat label: N/A uuid: D783-E114 
  ID-7: /dev/sdb4 size: 1 KiB fs: <superuser/root required> label: N/A 
  uuid: N/A 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Device-1: 1-1:2 info: SteelSeries ApS Arctis 7 wireless adapter 
  type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 6 
  rev: 1.1 speed: 12 Mb/s chip ID: 1038:1260 
  Device-2: 1-2:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  chip ID: 046d:c52b 
  Hub: 1-6:4 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  chip ID: 05e3:0610 
  Device-1: 1-6.2:6 info: Alcor Micro Flash Drive type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s 
  chip ID: 058f:6387 serial: <filter> 
  Hub: 1-6.3:8 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  chip ID: 05e3:0610 
  Device-1: 1-6.3.2:10 info: Native Instruments Maschine MK3 type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 7 rev: 2.0 
  speed: 480 Mb/s chip ID: 17cc:1600 serial: <filter> 
  Device-2: 1-7:5 info: Logitech USB Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  chip ID: 046d:c539 
  Device-3: 1-8:7 info: Logitech Gaming Keyboard G810 type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  chip ID: 046d:c337 serial: <filter> 
  Device-4: 1-10:9 info: Yamaha Steinberg CI1 type: <vendor specific> 
  driver: snd-usb-audio interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  chip ID: 0499:1501 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 10 rev: 3.0 speed: 5 Gb/s 
  chip ID: 1d6b:0003 
  Hub: 2-6:2 info: Genesys Logic Hub ports: 4 rev: 3.1 speed: 5 Gb/s 
  chip ID: 05e3:0612 
  Hub: 2-6.3:3 info: Genesys Logic Hub ports: 4 rev: 3.1 speed: 5 Gb/s 
  chip ID: 05e3:0612 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 37 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
Info:
  Processes: 209 Uptime: 41m Init: systemd v: 246 Compilers: gcc: 10.2.0 
  Packages: 1365 pacman: 1334 lib: 366 flatpak: 27 snap: 4 Shell: Zsh v: 5.8 
  running in: gnome-terminal inxi: 3.1.08 

I hope this will help to analyze the problem.

Kernel 5.8 is EOL: upgrade to 5.9 or 5.4 LTS

No swap means that if your memory is full, the system freezes as the Kernel OOM killer cannot swap anything. Create a swap file SQRT(RAM) <= swap <= 2*RAM if that would be the case.

Running a watch --interval=3 "free --human" is imperative to see if that’s the problem.

1 Like

This steps can help you.

For further troubleshooting please search archwiki/matlab.

2 Likes