question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stopping the server/packager causes kernel panic

See original GitHub issue

Description

  1. I connected my Android device to my Macbook Pro with USB
  2. I ran yarn run android in a terminal
  3. I played around with my app and everything worked fine
  4. When I hit ctrl+c in the terminal running the server/packager my Macbook Pro gets a kernel panic and reboots

Expected Behavior

I expected the server/packager to simply stop running and allow me to do other things with the terminal (and not have my laptop get a fatal error, would be nice).

Observed Behavior

Within a second a kernel panic happens.

Environment

  • npm ls react-native-scripts: 1.6.0
  • npm ls react-native: 0.49.5
  • npm ls expo: 22.0.0
  • node -v: 8.7.0
  • npm -v: 5.5.1
  • yarn --version: 1.2.1
  • watchman version: command not found (I’m not using it)

Also specify:

  1. Operating system: MacOS 10.12.6
  2. Phone/emulator/simulator & version: Huawei Honor 8 Lite, Android 7.0

Reproducible Demo

It’s not really possible with this issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
danieldunderfeltcommented, Dec 25, 2017

Well, you’re not alone. I have also experienced this, just now most recently when cancelling the exp start command. I have also experienced it with the adb, so if Expo uses that it may have something to do with it.

I am running a hackintosh so I may not have the most stable environment, but if it happens to others then it’s not the hackintosh’s fault.

0reactions
danieldunderfeltcommented, Jan 20, 2018

@brentvatne Sorry, I had the hackintosh, not the original issue author! The fact that this happens for both of us would suggest that it is not a hackintosh problem.

Anyway, I suspect the issue is with the Android adb, not with Expo itself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stopping the server/packager causes kernel panic #462
Description. I connected my Android device to my Macbook Pro with USB; I ran yarn run android in a terminal; I played around...
Read more >
If your Mac restarts and a message appears - Apple Support
The most likely cause is faulty software. A kernel panic can also be caused by damaged or incompatible hardware, including external devices attached...
Read more >
Mac keeps restarting: how to fix a kernel panic - Setapp
If your Mac goes back to normal and stops restarting, you've found it. Peripheral devices and accessories can indeed cause kernel panic.
Read more >
What is a Kernel Panic on Mac and How to Fix it? - MacPaw
It's worse when Kernel Panic happens regularly, especially if your Mac crashes right on startup. It might be a sign of damaged hardware,...
Read more >
What to do in case of a Linux kernel panic | Enable Sysadmin
The first thing to do after seeing a kernel panic error is not to panic ,because now you are aware of the image...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found