Closed glockjt closed 6 years ago
I'm experiencing crashes as well while running npm install
for a medium/large app.
OS and Hyper versions the same as above with no plugins either.
Right before the crash, the npm
process shot up to 127% CPU in Activity Monitor.
From the crash report:
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Let me know if I can provide any more information to help, it's consistently crashing.
Same issue here. I am on Hyper 1.4.2 and MacOS 10.12.6 as well. I do have some custom CSS in my hyper.js file.
This is now just crashing randomly without any heavy processing.
rm -rf directory/
is consistently crashing hyper for me since the upgrade as well.
Without writing what crashes, how it crashes and steps to reproduce with OS version, i will remove your "+1" comments. They do not help us in any way shape or form.Ā @Sly777 @revelt @ouchxp
Hyper crashes literally randomly, with or without any operation.
OS: macOS Sierra 10.12.6
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00004147ab46bec0
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
I have installed two plugins with default settings
plugins: [
'hyper-snazzy',
'hyper-search',
],
This happens only after I upgrade to 1.4.2
I am having similar issues, where Hyper 1.4.2 crashes when I run yarn
, attempt to delete a large directory (e.g. /node_modules
), etc. I did not experience these issues with Hyper 1.3.3.
plugins: [
'hypercwd',
'hyper-firenokai'
],
Same here on Hyper.app 1.4.2 when docker-compose up
is left running.
plugins: ['hyper-material-box']
@cd-rum and others: Please: Only fully qualified feedback like @thegreatsunra's one.
Seems to be a Mac specific issue
Same thing for me. Got some crash when I run "npm install" on some projects.
@kevinrambaud please read my comment: Only fully qualified feedback please.
We just published v1.4.3 Electron was updated and I hope that it will fix this crash issue.
Can you try to reproduce after updating Hyper?
Updated to v1.4.3 and issues appear to be resolved. Running smoothly! Thanks
UPDATE: Hyper is crashing for me again when doing intensive tasks such as running multiple Node servers and doing yarn install
1.4.3 is still crashing for me when trying to run any process for more than a few seconds. 1.3.3 is working great. If you need any more info please let me know š
["hyperline", "hypercwd", "hyper-snazzy"]
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for ā
cursorShape: 'BLOCK',
// set to true for blinking cursor
cursorBlink: false,
// color of the text
foregroundColor: '#fff',
// terminal background color
backgroundColor: '#000',
// border color (window, tabs)
borderColor: '#333',
// custom css to embed in the main window
css: '',
// custom css to embed in the terminal window
termCSS: '',
// set to `true` (without backticks) if you're using a Linux setup that doesn't show native menus
// default: `false` on Linux, `true` on Windows (ignored on macOS)
showHamburgerMenu: '',
// set to `false` if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` on windows and Linux (ignored on macOS)
showWindowControls: '',
// custom padding (css format, i.e.: `top right bottom left`)
padding: '12px 14px',
// the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object
colors: {
black: '#000000',
red: '#ff0000',
green: '#33ff00',
yellow: '#ffff00',
blue: '#0066ff',
magenta: '#cc00ff',
cyan: '#00ffff',
white: '#d0d0d0',
lightBlack: '#808080',
lightRed: '#ff0000',
lightGreen: '#33ff00',
lightYellow: '#ffff00',
lightBlue: '#0066ff',
lightMagenta: '#cc00ff',
lightCyan: '#00ffff',
lightWhite: '#ffffff'
},
pokemon: 'random', // Define your favorite pokemon theme!
pokemonSyntax: 'dark', // Define the color of the terminal tabs!
unibody: 'true', // Define the color of the Hyper window header!
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
// make sure to use a full path if the binary name doesn't work
// (e.g `C:\\Windows\\System32\\bash.exe` instead of just `bash.exe`)
// if you're using powershell, make sure to remove the `--login` below
shell: '',
// for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used
shellArgs: ['--login'],
// for environment variables
env: {},
// set to false for no bell
bell: 'SOUND',
// if true, selected text will automatically be copied to the clipboard
copyOnSelect: false
// if true, on right click selected text will be copied or pasted if no
// selection is present (true by default on Windows)
// quickEdit: true
// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',
// for advanced config flags please refer to https://hyper.is/#cfg
},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
// `hyperpower`
// `@company/project`
// `project#1.0.1`
plugins: ["hyperline", "hypercwd", "hyper-snazzy"],
// in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here
// to load it and avoid it being `npm install`ed
localPlugins: []
};
@mattlewis92 try without plugins, especially hyperline (it runs a lot of commands in the background, and has been a problem for others)
Disabling hyperline
seems to have done the trick, thanks for the tip @albinekb š
Hyper v1.4.3 is crashing when doing npm i
on a project with a few many dependencies.
here's the dependency list:
"dependencies": {
"angular": "^1.6.4",
"angular-data-grid": "^1.0.0",
"angular-ui-router": "^1.0.3",
"babel-polyfill": "^6.23.0",
"es6-shim": "^0.35.3",
"font-awesome": "^4.7.0",
"jquery": "^3.2.1",
"jquery-ui": "^1.12.1",
"ng-notify": "^0.7.1",
"reflect-metadata": "^0.1.2",
"rxjs": "^5.0.0-beta.6",
"zone.js": "^0.6.26"
},
"devDependencies": {
"autoprefixer": "^7.1.1",
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-preset-env": "^1.5.1",
"body-parser": "^1.17.2",
"bootstrap-loader": "^2.1.0",
"bootstrap-sass": "^3.3.7",
"compression-webpack-plugin": "^0.4.0",
"css-loader": "^0.28.3",
"exports-loader": "^0.6.4",
"express": "^4.15.3",
"extract-text-webpack-plugin": "^2.1.2",
"file-loader": "^0.11.1",
"html-loader": "^0.4.5",
"html-webpack-plugin": "^2.28.0",
"image-webpack-loader": "^3.3.1",
"imports-loader": "^0.7.1",
"node-sass": "^4.5.3",
"request-promise": "^4.2.1",
"resolve-url-loader": "^2.0.2",
"rimraf": "^2.6.1",
"sass-loader": "^6.0.5",
"sendgrid": "^5.1.1",
"style-loader": "^0.18.1",
"url-loader": "^0.5.8",
"webpack": "^2.6.1",
"webpack-dev-middleware": "^1.10.2",
"webpack-dev-server": "^2.4.5",
"webpack-hot-middleware": "^2.18.0"
}
edit
I did what @albinekb suggested and disabled hyperline
and seems to not be crashing anymore š
Still crash with 1.4.3
for me, during a yarn install
.
I only have the hyper-dracula
plugin installed.
@johhansantana I can't reproduce event with your package list. Can you add your hyper config?
sure thing
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for ā
cursorShape: 'BLOCK',
// color of the text
foregroundColor: '#fff',
// terminal background color
// backgroundColor: 'rgba(2, 40, 50, 0.5)',
backgroundColor: 'rgba(0, 43, 54, 0.5)',
// border color (window, tabs)
borderColor: '#333',
// custom css to embed in the main window
css: '',
// custom css to embed in the terminal window
termCSS: '',
// set to `true` if you're using a Linux set up
// that doesn't shows native menus
// default: `false` on Linux, `true` on Windows (ignored on macOS)
showHamburgerMenu: '',
// set to `false` if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` on windows and Linux (ignored on macOS)
showWindowControls: '',
// custom padding (css format, i.e.: `top right bottom left`)
padding: '12px 14px',
// the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object
colors: {
black: '#000000',
red: '#ff0000',
green: '#33ff00',
yellow: '#ffff00',
blue: '#0066ff',
magenta: '#cc00ff',
cyan: '#00ffff',
white: '#d0d0d0',
lightBlack: '#808080',
lightRed: '#ff0000',
lightGreen: '#33ff00',
lightYellow: '#ffff00',
lightBlue: '#0066ff',
lightMagenta: '#cc00ff',
lightCyan: '#00ffff',
lightWhite: '#ffffff'
},
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
shell: '',
// for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used
shellArgs: ['--login'],
// for environment variables
env: {},
// set to false for no bell
bell: 'SOUND',
// if true, selected text will automatically be copied to the clipboard
copyOnSelect: false,
// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',
// for advanced config flags please refer to https://hyper.is/#cfg
visor: {
hotkey: 'Control+F12',
position: 'full', // or left, right, bottom
//width: 100%, // Optional, defaults to half of viewable area for horizontal positions, 100% for vertical
//height: 100% // Optional, defaults to half of viewable are a for vertical positions, 100% for horizontal
},
},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
// `hyperpower`
// `@company/project`
// `project#1.0.1`
// plugins: ["hyperline", "hyper-blink", "hypercwd", "hyperterm-visor"],
plugins: [],
// in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here
// to load it and avoid it being `npm install`ed
localPlugins: []
};
it also crashed when installing ant design
alone
@chabou Thank you! Hyper.js 1.4.3 seems to have done the trick for me; so far Hyper is no longer crashing on macOS 10.12.6 when I run an intensive task.
Here's the command I'm running in an attempt to recreate the issue:
# this works fine for me in Hyper.js 1.4.3
# at the vue-cli prompts simply press [return] for each one to accept the default values
npm install -g vue-cli && vue init simulatedgreg/electron-vue my-project && cd my-project && yarn && rm -Rf node_modules
This command assumes:
In this environment:
'hypercwd', 'hyper-firenokai'
1.4.3 still crashing for me on macOS 10.12.6. Especially when running tasks like npm install
or yarn install
Plugins:
hyperterm-atom-dark (1.1.2),
hyperterm-tabs (1.3.5),
hypercwd (1.1.0)
Still happening for me as well, 1.4.3 on macOS 10.12.6. Most often happens if I have ongoing processes (for example, a gulp
watch task) in two tabs, but it's happened when I've had only one session open for a while.
Here's my config: https://github.com/tylersticka/dotfiles/blob/master/home/.hyper.js
Can't reproduce...
I used @johhansantana package.json
and hyper config and run:
while [ /bin/true ]; do rm -Rf node_modules; npm i; done
for 30mn... No crash š
It usually doesn't happen in < 30 minutes. For example (this just happened), I had a gulp watch
task running in Hyper just now and after ~ 90 minutes, it crashed.
@tylersticka yes but @johhansantana's case seemed reproductible under 30mn, but maybe I'm wrong
I clicked "show details" this time, putting those into this gist so it doesn't dominate the thread: https://gist.github.com/tylersticka/0958e7958a5e53828d3980cdff23e7b6
+1 mac Sierra 10.12.6 Log: https://jpst.it/14nrN
I am having similar issues, where Hyper 1.4.3 crashes when I clone a repo with git clone
or when running npm install
. I did not experience these issues with any previous versions.
OS version and name: macOS 10.12.6 (16G29) Hyper.app version: 1.4.3 Link of a Gist with the contents of your .hyper.js: my .hyper.js config Hyper plugins installed (and their versions):
Same here, 1.4.3 crashes when running pod install
on an iOS project with many dependencies.
My only plugins are 'hyperterm-close-on-left' and 'hyper-seti'.
Mac/1.4.3 always crashes when doing yarn install && yarn bootstrap
for https://github.com/cloudflare/cf-ui. I guess it can't handle intense processes?
Same here, 1.4.3 crashes during npm install
.
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00006f23cbfbbec0
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
We just released v1.4.4 with a potential fix for this crash issue. Please confirm/infirm this š
@chabou just updated and ran yarn
got the crash objc_msgSend() selector name: _fastCStringContents
note: it didn't crash the second time i tried
I was having same _fastCStringContents crashes when running yarn, and 1.4.4 appears to fix.
@johnryan Try removing all plugins, then restart your system, and try to reproduce again (I use something like react-native init hypercrash && cd hypercrash && yarn
). When I initially upgraded to 1.4.4, I was still getting a lot of crashes, but after putting my system into a clean state (restart everything, no plugins, etc...) I'm completely unable to reproduce anymore. So I think 1.4.4 did fix the issue. (I'm on macOS 10.12.6 btw)
Been running various tasks for ~ 2 hours and no crash so far. I didn't do anything but update the app normally, plugins and stuff are as they were.
I'll keep you posted if things take a sour turn. Thanks to the dev team for progress made so far, using a different Terminal app for a few days really made me miss Hyper. š
@jd20 i haven't been able to reproduce since I restarted but i'll keep an eye out
I am still getting crashes when yarn install
for bigger projects. (v1.4.4)
I have not experienced a crash since the update, but I am not using any projects that rely on yarn
. Mentioning that in case it helps narrow down remaining issues.
@tajo have you restart your system like explain by @jd20?
Still crashing for me, on yarn install
. I'll try restarting again, and report back if I encounter this again.
Had a good couple of days but a crash happened this morning. This was after running a large gulp
command, quitting it, and starting another one.
Please try our last v1.4.6 release. It could fix this issue definitely š¤
We think the issue might have to do with monitoring the fs for file changes to the config, and we deployed a small refactor accordingly. Please let us know if it helps!
We had a confirmation on twitter by @tylersticka but we need more to consider this issue fixed š
Confirmed here. I could reliably get Hyper to crash every time I ran npm i
with a project Iām working on. That crashing is gone in 1.4.6.
Thanks guys. I am going to report back at the end of this week after a few days of testing it.
No more crashes since v1.4.6. I've tested on multiple projects, with all commands that used to make Hyper crash and now I have no issues.
So far it looks great. No crash since 1.4.6. Thanks guys! Hyper is awesome.
Closing this now that we have lots of reports that the issue is gone š If you experience this again, write here and we'll assess if it's the same issue or not.
Issue
When I run docker using
docker-compose up <app name>
hyper crashes. It never happened until I updated to 1.4.0 and it happened still with 1.4.1 and still with 1.4.2.