Ubuntu 17.10 entire system freezes when JavaScript bundle builds to 100%
Environment
Environment: OS: Linux 4.13 Node: 9.7.1 Yarn: 1.5.1 npm: 5.6.0 Watchman: Not Found Xcode: N/A Android Studio: Not Found
Packages: (wanted => installed) expo: ^25.0.0 => 25.0.0 react: 16.2.0 => 16.2.0 react-native: https://github.com/expo/react-native/archive/sdk-25.0.0.tar.gz => 0.52.0
Steps to Reproduce
This happens about 8/10 times I try to run my project.
- Either running npm run start in terminal
- or running in xde client
- Wait for bundle to reach 100%
Expected Behavior
Project should load on my device right after.
Actual Behavior
Entire computer freezes and requires me to hold power button to restart. System logs show this when it happens:
Mar 5 04:18:05 YianniLemur org.gnome.Nautilus[1947]: Opened project at /home/yiannitzan/dev/restaurants \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\0
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
Link to project zip file: https://www.dropbox.com/s/d5leu2jerjd9izs/restaurants.zip?dl=0
cc @fson
This also occurred to me. Building JavaScript bundle and suddenly entire system freezes. Reproducible Demo
Environment:
OS: Linux 4.13
Node: 9.9.0
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
expo: ^25.0.0 => 25.0.0
react: 16.2.0 => 16.2.0
react-native: 0.52.0 => 0.52.0
I've encountered the same issue on Ubuntu 17.10 multiple times over the course of last 5-6 months. Building JavaScript bundle reaches 99% and suddenly the whole system freezes. Couldn't really find any relevant solution, but I've noticed that this only happens when Visual Studio Code and some node processes are running, still, no clue why having code and node processes closed helps the issue. Unfortunately I cannot provide a sample for reproducing the code. Here are my system specs:
OS: Linux 4.13 (x64)
Node: 9.9.0
npm: 5.6.0
yarn: 1.5.1
watchman: Not installed
Packages:
exp: 5.6.0 (the cli tool)
expo: ^25.0.0
react: 16.2.0
react-native: 0.52.0
Just wanted to add that I also have this issue. It seems to only happen when I'm tunnelling over lan, but I can't find any other relevant debugging evidence...
I have been having issues with watchman. It will start to read from the disk and freeze the entire system.
The last update in this issue was a long time ago, so I'm going to close this. Feel free to reopen if the problem is still occurring.