Repository navigation
Upgrade to Electron v0.30.6 - #7877
Conversation
24cc15b to
a791809
Compare
|
Woot! I ran the branch on my ARM Chromebook, got the same errors you mention, but it did everything before then which is great, had trouble building #6877. |
|
I've been using this branch lightly this morning. Haven't had any issues so far. |
|
Started running into an issue. Here's what I did. Haven't tried to generalize or minimize the repro yet, but wanted to get this out there. Repro Steps
Expected: Atom closes the window but does not exit No matter how I close the window, Atom crashes. Crash logs are here: https://gist.github.com/lee-dohm/12798a98827934084766 |
Yeah that's the same type of crash I've been getting all along. I've tried safe mode which doesn't help. Might try soft-nuking the entire I haven't been able to track down the exact issue yet. Maybe @zcbenz has any idea based on the crash log? |
|
@zcbenz Thanks, I rebased the branch and yanked out the snapshot commits. The crash problem seems much harder to reproduce after the rebase. Whether coincidental or not, is unknown to me at this point. |
|
I'm having problems using Atom as a "Git Editor" using this branch; quitting the Atom instance spawned via e.g. |
ba082b0 to
ee09dc6
Compare
|
The (temporary) hack I added in 1982167, fixes the failing core specs. There are still failing package specs though ( |
|
@zcbenz Have you had a chance to investigate the crash? Also, has anything changed in Electron on OS X since v0.22.3 with regards to closing last window also exiting the application? Thanks 🙇 |
|
Compiling with Clang 3.4 seems to have resolved the compilation issues on Ubuntu 12.04.5 LTS. |
|
Thanks everyone for your patience. Onward and upward. 📈 |
|
Kudos guys! Can't wait for the next version to land so I can use Atom in VM again. Wonder if there's any performance gain as well upgrading Chrome? |
|
👏 👏 👏 👏 👏 👏 👏 👏 👏 👏 |
|
🎆 now I can change my default browser back to chrome 🙇 |
|
@despairblue is it working all right for you? It does not work in my VirtualBox instance. The previous versions were workable but lacked click-drag-select. My initial testing with this one does not show any difference; I still can't do it. |
|
@capouch I built directly from this branch today before it got merged, worked like a charm on Arch Linux in a VirtualBox. |
|
Fantastic!! Good job! |
|
woot 🎆 |
|
👏 🎬 🎬 🎬 🎬 🎬 🎬 🎬 🎬 |
|
Bump Atom to 1.1! worth it! |
|
@v3ss0n Hmm, does the update of Electron cause backwards-incompatible changes that justify a minor version bump? |
Because this just broke any native packages still on NAN 1.x. |
|
@despairblue it built just fine for me, but actually runs worse than the previous version. I am running it on Slackware 64-bit VirtualBox 4.3.28, Electron 0.32.0 is also installed on the machine so maybe that is causing the issues, but the mouse sprites are all over the place, and click-drag unchanged from earlier. Built this afternoon from the github master. |
|
Awesome work! It built just fine for me too. |
|
@marciobda have you tested that you can click-drag to select text in the VM environment? |
|
Yes. I was watching this thread specifically because that click-drag problem in VMs. |
|
As far as i Understand , this will break any packages using NaN 1.x right? So yes 1.1 is appropriate i think. |
|
@v3ss0n I think only Electron 0.31.0+ breaks NaN 1.x, which is why they settled at 0.30.6 for now. See #7877 (comment). |
|
Ah i c. |
|
I just updated to 1.0.11 and I still have the click-drag problem. Ubuntu 15.04 on VirtualBox. |
|
1.0.11 is still the old version. |
|
When is this going to be released? |
|
I am not sure but you can try building it yourself: https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md |
|
@marciobda what is your precise operating environment? It shouldn't matter that I have Electron 0.32.0 and a API v46 Chrome installed on the same VM? I'm running 64bit Slackware ("current" as of mid-August) on VirtualBox 4.3.28. It's actually worse now--the mouse sprite doesn't change properly as I navigate. Built from sources; the build itself went perfectly. |
|
I recommend making a new github issue or continuing issue #6306 for further discussion about this. While I used to have the same issue (I didn't get a chance to test from master yet), I am pretty sure the dev's who worked on things relevant to this specific pull request would prefer to keep things more organized. |
This is a continuation of #6877.
Blocking issues
Conclusion: Not viable in this PR since it requires bumping every single dependency to NAN 2.x.
CustomEventas type of object dispatched by command registryIssue details
Building with io.js v2.x is not supported
Resolution: Do not update npm. The version shipped with io.js is patched to work around the problems with node-gyp.
Any attempt to execute
script/buildwhen using io.js v2.x fails withCrash caused by invalid memory access during exit/closing window
Resolution: Solved in Electron v0.30.2.
Full crash log.
The problem is a bit tricky to reproduce, but when it occurs it happens when a window is closed or when exiting Atom, which leads me to believe the problem is related to storing state. Seems like the crash is caused by a
nullptrreference.8 failing spec assertions
Full output from
apm test. Summary of failing specs;command-registry-spec.coffee
Expected undefined to be HTMLNodeat command-registry-spec.coffee:212:16.Caused by https://code.google.com/p/chromium/issues/detail?id=495437.
package-manager-spec.coffee
All failures originate from
it triggers the activation event on all handlers registered during activation.Expected 0 to be 1.Expected 0 to be 1.Expected 0 to be 1.Expected 0 to be 2.Expected 0 to be 2.Expected 0 to be 1.pane-container-view-spec.coffee
Expected [ undefined ] to equal [ { 0 : HTMLNode, element : <getter>, activeItemModifiedChanged : Function, ...at pane-container-view-spec.coffee:60:21.In OS X closing all windows exits the application
Resolution: Side-effect of crashing problem. Resolved in Electron v0.30.2.
When running against atom-shell v0.22.3 Atom behaves as expected and leaves the application running even after all application windows have been closed. When running against Electron v0.30.0 however, after all windows have been closed the application exits.
Building on Linux (Ubuntu 12.04.5 LTS) is failing due to compilation errors
Resolution: Using GCC 4.7+, or Clang 3.0+. Also fixed in CI by ensuring the usage of Clang instead of GCC.
Attempts to build on Ubuntu 12.04.5 LTS (64-bit) fails while compiling npm modules, throwing errors similar to
The compilation failure is caused by the fact that GCC 4.7 or newer is required due to V8 using the template alias feature in C++, and that is not supported in GCC 4.6.3 which is the newest GCC (officially) available in Ubuntu 12.04.5 LTS.
Solution: Compile with Clang 3.4 on Ubuntu 12.04.5 LTS;
For Travis CI support, we should specify
compiler: clangin.travis.yml. (http://docs.travis-ci.com/user/languages/c/#Choosing-compilers-to-test-against)Failing settings-view specs
Resolution: Fixed bugs in settings-view [email protected].
apm builds incompatible native modules.
Resolution: Solved by apm v1.0.3.
When apm builds native modules they end up incompatible with Atom. See #7877 (comment) for more details.
Other potential problems
Currently it does not seem like it's possible to use this build of Atom as a Git editor; closing the spawned window does not result in the process exiting as expected it seems like, and thus leaves the Git terminal process waiting for the input sequence to end.Resolved by upgrading to Electron v0.30.2.This is possibly related to issue In OS X closing all windows exits the application.
Fixes #6335
Fixes #3826
Fixes #7502
Fixes #3636
Fixes #6243
Fixes #6306
Fixes #6219
Fixes #7811
Fixes #7374
Fixes #8309
Fixes #6513