Crash immediately upon starting the program (WSL Ubuntu 18.04)
Opened this issue · 1 comments
armak commented
Information:
- version: ytop 0.6.2
uname -a
: Linux Ada 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux- Windows Terminal, Version: 1.0.1401.0
- Ubuntu 18.04 running in WSL(1) under Windows 10 1903
Immediate crash on starting the program. Downloaded and compiled through cargo.
Output:
Backtrace omitted. Run with RUST_BACKTRACE=1 to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
called `Result::unwrap()` on an `Err` value: MissingData { path: "/proc/meminfo", contents: "MemTotal: 33472064 kB\nMemFree: 15949896 kB\nBuffers: 34032 kB\nCached: 188576 kB\nSwapCached: 0 kB\nActive: 167556 kB\nInactive: 157876 kB\nActive(anon): 103104 kB\nInactive(anon): 17440 kB\nActive(file): 64452 kB\nInactive(file): 140436 kB\nUnevictable: 0 kB\nMlocked: 0 kB\nSwapTotal: 33554432 kB\nSwapFree: 33037272 kB\nDirty: 0 kB\nWriteback: 0 kB\nAnonPages: 102824 kB\nMapped: 71404 kB\nShmem: 17720 kB\nSlab: 13868 kB\nSReclaimable: 6744 kB\nSUnreclaim: 7124 kB\nKernelStack: 2848 kB\nPageTables: 2524 kB\nNFS_Unstable: 0 kB\nBounce: 0 kB\nWritebackTmp: 0 kB\nCommitLimit: 515524 kB\nCommitted_AS: 3450064 kB\nVmallocTotal: 122880 kB\nVmallocUsed: 21296 kB\nVmallocChunk: 66044 kB\nHardwareCorrupted: 0 kB\nAnonHugePages: 2048 kB\nHugePages_Total: 0\nHugePages_Free: 0\nHugePages_Rsvd: 0\nHugePages_Surp: 0\nHugepagesize: 2048 kB\nDirectMap4k: 12280 kB\nDirectMap4M: 897024 kB\n" }
in src/libcore/result.rs, line 1188
thread: main
cjbassi commented
Similar issue to #41, and I've opened an issue in rust-psutil for it here: rust-psutil/rust-psutil#76