Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Crash / Entire window goes blank - in projects using IonicΒ #7262

Closed

Description

@boozedog

I'm running sprint 37 on Mac OS X 10.9.2 . The entire Brackets window goes blank eventually, and at that point I'm not able to even quit the application, must Force Quit in Finder.

Activity

  1. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    Switching back to sprint 36 in the meantime. Very weird!

  2. njx commented on Mar 20, 2014

    @njx

    Ack, that's terrible. Next time it happens, can you try (from Chrome) going to localhost:9234, click on the "Brackets" link if there is one, and see if there are any errors in the console?

  3. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    Sure I'll install 37 side-by-side with 36 and share what I find ...

  4. redmunds commented on Mar 20, 2014

    @redmunds
    Contributor

    @boozedog

    install 37 side-by-side with 36

    To do this, install Sprint 36, then make a copy of the entire Brackets install folder, then install Sprint 37 (which installs over Brackets folder).

  5. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    @redmunds sorry I don't quite follow. Right now I have Sprint 36 and Sprint 37 separately in my Applications folder (this is Mac OS X). Is that what I want?

  6. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    BTW just noticed some of my extensions were out of date. I've updated them, let's see if that solves it. Will post any failures here.

  7. redmunds commented on Mar 20, 2014

    @redmunds
    Contributor

    That's perfect. I missed that you were on Mac.

  8. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    OK this is weird. Screen went blank, then I went to http://localhost:9234/ in Chrome, and I get webpage not available?!

  9. redmunds commented on Mar 20, 2014

    @redmunds
    Contributor

    We've heard reports of this problem, although it's rare and it has been a while, but since it's so nasty we'd love to try to nail this down. Can you provide a set of reproducible steps that makes it happen every time? That would help us to track it down. Thanks.

  10. redmunds commented on Mar 20, 2014

    @redmunds
    Contributor

    Also, see if you can reproduce it with no extensions installed. You can use Debug > Reload Without Extensions to quickly run without extensions (and restarting Brackets returns to loading of extensions). If that eliminates problem, then try to isolate which extension is causing problem.

  11. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    Just crashed again. Had Chrome dev running at the time and it says "Inspected target has crashed. Once it reloads we will attach to it automatically."

    Will try with no ext.

    This is sprint 37.

  12. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    Yikes. Just crashed again, this time with extensions disabled. Chrome gave the same "Inspected target has crashed. Once it reloads we will attach to it automatically." msg.

    Still working on reproducible steps but right now it seems like

    1. Open Brackets
    2. Select a particular .js file
    3. Switch to browser and Google some stuff
    4. Come back to frozen, blank Brackets window.
  13. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    OK I'm getting it to crash pretty consistently. I'm thinking it's this particular javascript file I'm working in. Confirmed that there is no useful information coming up in the Chrome dev console.

    I'm gonna try to isolate if there's a particular part of the code in this file that's causing the problem.

  14. redmunds commented on Mar 20, 2014

    @redmunds
    Contributor

    What version of Chrome are you running? Switch to stable if you are running something else.

  15. boozedog commented on Mar 20, 2014

    @boozedog
    Author

    Version 33.0.1750.152 (stable).

    I do have Chromium installed as well ...

  16. 37 remaining items

  17. dangoor commented on May 6, 2014

    @dangoor
    Contributor

    This is now fixed in master by automatically ignoring the minified Ionic files.

  18. shafdog commented on May 6, 2014

    @shafdog

    I forgot to mention is that if you don't do the ionic build ios I wasn't readily able to repro the Brackets' black sreen hang. what that does is copy Ionic's problematic JS file to a directory under in Cordova-created XCode project. (ionic build ios appears to be just a shim around the standard cordova command line tool used to build an iOS PhoneGap project.) In other words, there are two copies in the directory tree, which may not be good for Tern, and I wasn't sure if that affected the fix for this.

    Since I normally don't use Ionic and the .jscodehints workaround above worked, this issue isn't a big deal to me.

    But since I've been following this wanted to at least add the detail since the fix (#7739) appears to be excluding file and wasn't sure which copy was going to be excluded. For the problematic ionic sample, I have the following files:

    find ./ionic-hints -name ionic.bundle.js
    ./ionic-hints/platforms/ios/build/emulator/HelloCordova.app/www/lib/ionic/js/ionic.bundle.js
    ./ionic-hints/platforms/ios/www/lib/ionic/js/ionic.bundle.js
    ./ionic-hints/www/lib/ionic/js/ionic.bundle.js
    

    In #7739 @JeffryBooher said "I was able to reproduce this eventually with the steps listed in the issue on Mac but the steps don't work on Windows.".

    Without a Mac and Xcode, there also would not be multiple copies of the same complex Ionic JS file within the project as well.

  19. JeffryBooher commented on May 6, 2014

    @JeffryBooher
    Contributor

    @shafdog good point. The problem I was running into on Windows was I couldn't get the ionic platform ios command to complete successfully. There was a problem with installing cordova ios that I don't fully understand.

  20. dangoor commented on May 6, 2014

    @dangoor
    Contributor

    @shafdog I'll need to re-test my fix. When I switched from regex to glob for the new preference, I inadvertently dropped ionic.bundle.js, only getting the .min.js files. Thanks for mentioning that. I'm going to reopen this bug in the meantime.

  21. reopened this on May 6, 2014
  22. dangoor commented on May 6, 2014

    @dangoor
    Contributor

    OK, I just retested with the code in master and the project works fine, so it appears that it was the minified files and not the bundle.js file that caused the issue.

  23. tomek-he-him commented on Jul 4, 2014

    @tomek-he-him

    In addition to widen/fine-uploader which I've mentioned before, I've just nailed down another library which causes this problem: crypto-js hosted on Google Code.

  24. redmunds commented on Jul 4, 2014

    @redmunds
    Contributor

    @tomekwi Thanks for the info. We made a change in Release 0.41 which should prevent Brackets from crashing -- have you tried it with 0.41?

  25. tomek-he-him commented on Jul 4, 2014

    @tomek-he-him

    Thank you. Next week I'll have an opportunity to test it, I'll let you know.

  26. gabe-cabral commented on Sep 24, 2014

    @gabe-cabral

    Same here for Firefox and Ubuntu...

  27. LucasBadico commented on Nov 19, 2016

    @LucasBadico

    Hey Guys, It is happening with me now.

    Release 1.8 build 1.8.0-17108 (alf_localization_release_1.8 3af64fa)
    build timestamp: Wed Nov 02 2016 04:47:30 GMT-0700

    Just today crash 5 times. I work from a mac, El captain OS. This start right after the atualization for 1.8

  28. standinga commented on Jan 24, 2017

    @standinga

    I have the same problem OSX 10.11.6, Ionic 2.1.18. Brackets 1.8.0-17108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions