25 Replies Latest reply on Jul 15, 2013 11:48 AM by ShazronAbdullah

    EI app crashing

    joeyblowie123

      Running EI app v:1.0.436, on Windows 7 pro.

       

      The app is crashing at the end of my webapp load.   This configuration has worked well for a while, but started crashing recently (I cannot isolate any specific changes to code since it was last working).

       

      Is there a debug log, or other way that I can get more info on why it's crashing?

       

      Thanks!!!

        • 1. Re: EI app crashing
          Mark_Rausch Adobe Employee

          Right-click the Edge Inspect icon in Chrome and choose Options. There are logs of the communications between the Chrome extension and the desktop application there. Also look your user folder in Windows: /Users/<Username>/AppData/Roaming/Adobe/EdgeInspect/1.0/logs and see if there are any files in there.

           

          The best thing to do is clear out those logs, shut down the apps and get the crash to happen, then copy and paste the contents into a response here.

           

          Thanks,
          Mark

          • 2. Re: EI app crashing
            joeyblowie123 Level 1

            Thanks Mark,

            I've seen the log there 1000 times and still asked... Duh!

             

             

            Here's the log:

            {"received":"Wed Jul 10 2013 2:27:42 PM.545","payload":{"action":"preferences","options":{"subaction":"values","prefs":{"scree nshotfolder":"C:\\Users\\JB\\Documents\\Edge Inspect"}},"source_name":"COMPUTER","version":"1","source":"05227b69-cf8a-41c2-aec6-d78ae 1f19068"}}

            {"received":"Wed Jul 10 2013 2:27:42 PM.543","payload":{"action":"inventory","options":{"screenshots_dir":"C:\\Users\\JB\\Docu ments\\Edge Inspect","expired":"false","first_run":false,"subaction":"manager_info","port":7682,"host name":"COMPUTER","machinename":"COMPUTER","addresses":["192.168.44.99"],"build":"1.0.372.3 97978"},"source_name":"COMPUTER","version":"1","source":"05227b69-cf8a-41c2-aec6-d78ae1f19 068"}}

            {"    sent":"Wed Jul 10 2013 2:27:42 PM.509","payload":{"action":"preferences","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759" ,"options":{"subaction":"get"}}}

            {"    sent":"Wed Jul 10 2013 2:27:42 PM.507","payload":{"action":"inventory","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759"," options":{"subaction":"get_manager_info"}}}

            {"received":"Wed Jul 10 2013 2:27:36 PM.346","payload":{"action":"inventory","options":{"subaction":"resourcelist","resources" :[{"id":"B5286E4A-9362-4F1D-8251-B3D8D7009AEB","name":"JB’s 4s","status":"unknown"},{"id":"8ACB1C29-A6B9-4D83-8C3B-EEF68EFCF15D","name":"JB’s iPod","status":"unavailable"},{"id":"DA8D685E-F70C-435E-B5A1-168BD3DAC03D","name":"iPhone ","status":"unknown"},{"id":"CA4E61C4-4480-4F0D-A987-9DF805C23D42","name":"JB’s iPod","status":"unavailable"},{"id":"D93DD9C7-CEAF-49BC-B37A-C2277B07D1F9","name":"JB’s iPod","status":"unavailable"}]},"source_name":"COMPUTER","version":"1","source":"05227b69 -cf8a-41c2-aec6-d78ae1f19068"}}

            {"    sent":"Wed Jul 10 2013 2:27:36 PM.342","payload":{"action":"inventory","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759"," options":{"subaction":"listresources","type":"device"}}}

            {"received":"Wed Jul 10 2013 2:27:36 PM.341","payload":{"options":{"subaction":"resource_change"},"source":"05227b69-cf8a-41c2 -aec6-d78ae1f19068","action":"inventory"}}

            {"    sent":"Wed Jul 10 2013 2:26:58 PM.324","payload":{"action":"publish","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759","op tions":{"message":{"action":"full_screen","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759", "options":{"request_id":"de640203-f0be-46d9-acce-4142c2f2df3c"}},"destinations":[]}}}

            {"    sent":"Wed Jul 10 2013 2:26:58 PM.53","payload":{"action":"publish","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759","opt ions":{"message":{"action":"show_chrome","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759"," options":{"request_id":"1eb26000-b651-4cd1-82ad-54dc580fc5c0"}},"destinations":[]}}}

            {"    sent":"Wed Jul 10 2013 2:26:57 PM.622","payload":{"action":"publish","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759","op tions":{"message":{"action":"browser_navigate","source":"e32b15d4-16a8-49d1-ac2a-a096ca801 759","options":{"url":"http://192.168.44.99/","fullscreen":"true"}},"destinations":["D93DD9C7-CEAF-49BC-B37A-C227 7B07D1F9"]}}}

            {"received":"Wed Jul 10 2013 2:26:57 PM.616","payload":{"action":"inventory","options":{"subaction":"resourcelist","resources" :[{"id":"B5286E4A-9362-4F1D-8251-B3D8D7009AEB","name":"JB’s 4s","status":"unknown"},{"id":"8ACB1C29-A6B9-4D83-8C3B-EEF68EFCF15D","name":"JB’s iPod","status":"unavailable"},{"id":"DA8D685E-F70C-435E-B5A1-168BD3DAC03D","name":"iPhone ","status":"unknown"},{"id":"CA4E61C4-4480-4F0D-A987-9DF805C23D42","name":"JB’s iPod","status":"unavailable"},{"id":"D93DD9C7-CEAF-49BC-B37A-C2277B07D1F9","name":"JB’s iPod","status":"connected"}]},"source_name":"COMPUTER","version":"1","source":"05227b69-c f8a-41c2-aec6-d78ae1f19068"}}

            {"    sent":"Wed Jul 10 2013 2:26:55 PM.603","payload":{"action":"inventory","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759"," options":{"subaction":"listresources","type":"device"}}}

            {"received":"Wed Jul 10 2013 2:26:55 PM.603","payload":{"options":{"subaction":"resource_change"},"source":"05227b69-cf8a-41c2 -aec6-d78ae1f19068","action":"inventory"}}

            {"received":"Wed Jul 10 2013 2:26:55 PM.550","payload":{"action":"log_event","options":{"event_desc":"Remembered Conn Method (iOS)"},"source_name":"COMPUTER","version":"1","source":"05227b69-cf8a-41c2-aec6-d78ae1f1 9068"}}

            {"received":"Wed Jul 10 2013 2:26:41 PM.970","payload":{"action":"preferences","options":{"subaction":"values","prefs":{"scree nshotfolder":"C:\\Users\\JB\\Documents\\Edge Inspect"}},"source_name":"COMPUTER","version":"1","source":"05227b69-cf8a-41c2-aec6-d78ae 1f19068"}}

            {"received":"Wed Jul 10 2013 2:26:41 PM.968","payload":{"action":"inventory","options":{"screenshots_dir":"C:\\Users\\JB\\Docu ments\\Edge Inspect","expired":"false","first_run":false,"subaction":"manager_info","port":7682,"host name":"COMPUTER","machinename":"COMPUTER","addresses":["192.168.44.99"],"build":"1.0.372.3 97978"},"source_name":"COMPUTER","version":"1","source":"05227b69-cf8a-41c2-aec6-d78ae1f19 068"}}

            {"    sent":"Wed Jul 10 2013 2:26:41 PM.948","payload":{"action":"preferences","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759" ,"options":{"subaction":"get"}}}

            {"    sent":"Wed Jul 10 2013 2:26:41 PM.947","payload":{"action":"inventory","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759"," options":{"subaction":"get_manager_info"}}}

            {"received":"Wed Jul 10 2013 2:26:36 PM.627","payload":{"action":"preferences","options":{"subaction":"values","prefs":{"scree nshotfolder":"C:\\Users\\JB\\Documents\\Edge Inspect"}},"source_name":"COMPUTER","version":"1","source":"05227b69-cf8a-41c2-aec6-d78ae 1f19068"}}

            {"received":"Wed Jul 10 2013 2:26:36 PM.598","payload":{"action":"inventory","options":{"screenshots_dir":"C:\\Users\\JB\\Docu ments\\Edge Inspect","expired":"false","first_run":false,"subaction":"manager_info","port":7682,"host name":"COMPUTER","machinename":"COMPUTER","addresses":["192.168.44.99"],"build":"1.0.372.3 97978"},"source_name":"COMPUTER","version":"1","source":"05227b69-cf8a-41c2-aec6-d78ae1f19 068"}}

            {"    sent":"Wed Jul 10 2013 2:26:36 PM.36","payload":{"action":"preferences","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759", "options":{"subaction":"get"}}}

            {"    sent":"Wed Jul 10 2013 2:26:35 PM.985","payload":{"action":"inventory","source":"e32b15d4-16a8-49d1-ac2a-a096ca801759"," options":{"subaction":"get_manager_info"}}}

            • 3. Re: EI app crashing
              Mark_Rausch Adobe Employee

              Are there any log files in your users folder?

              • 4. Re: EI app crashing
                joeyblowie123 Level 1

                no logs in user folder.

                • 5. Re: EI app crashing
                  joeyblowie123 Level 1

                  Can you determine anything from these logs?

                  thanks!

                  • 6. Re: EI app crashing
                    Mark_Rausch Adobe Employee

                    Sorry I didn't respond earlier. We can't tell why it's crashing and haven't had other reports of this. It's specifically the desktop piece that's crashing, right? Do you get any messages from Windows when that happens?

                     

                    What devices are you connecting? Can you try connecting only a single device at a time and see if the crash is related to which device you have connected?

                     

                    Try this:

                    1. Uninstall the desktop application completely
                    2. Delete the Edge Inspect folder at /Users/<Username>/AppData/Roaming/Adobe/EdgeInspect
                    3. Then reinstall from http://html.adobe.com/edge/inspect/
                    4. Make sure that the Chrome extension is up to date
                    • 7. Re: EI app crashing
                      joeyblowie123 Level 1

                      Thanks Mark,

                      I reinstalled everything and the app does NOT crash on load anymore.   However, when I try to use weinre (either on the adobe server or my own server), it still crashes.  I was able to use both servers previously.  This is occuring on an iPhone 4s and a iPodTouch 5.

                       

                      I'll capture some logs

                      • 8. Re: EI app crashing
                        Mark_Rausch Adobe Employee

                        Which app is crashing when you're using weinre... the desktop app or the app on the phone?

                        • 9. Re: EI app crashing
                          joeyblowie123 Level 1

                          app on both mobile devices.

                          • 10. Re: EI app crashing
                            Mark_Rausch Adobe Employee

                            When you said you reinstalled everything, did you reinstall those mobile apps?

                            • 11. Re: EI app crashing
                              joeyblowie123 Level 1

                              yes, on both devices.

                              It crashes when I attempt to inspect the elements.... sometimes is crashes when I just leave it alone, but it's not predictable.

                              • 12. Re: EI app crashing
                                Mark_Rausch Adobe Employee

                                Does this happen only with the page you're building now or with all pages?

                                 

                                Can you try inspecting some public pages (e.g. Yahoo, Google, etc) and see if you get crashes on those too?

                                • 13. Re: EI app crashing
                                  joeyblowie123 Level 1

                                  Apparently only on my page

                                  • 14. Re: EI app crashing
                                    Mark_Rausch Adobe Employee

                                    Interesting. We've seen an issue that sounds like it might be similar to this in our Android app. A certain javascript command caused and exception in the WebView component.

                                     

                                    Is there any way you can send me the files necessary to run your page so we can try it ourselves here? My email is mrausch (at) adobe (dot) com

                                     

                                    Failing that, the only suggestion I can think of is to play the game of "does it still crash when I comment out this section of HTML/Javascript" and narrow down the problem area. If you can do that and narrow down the code to a repeatable case with a snippet of code you are able to send to us, we can look into it further here.

                                     

                                    If we had a case we could look at ourselves, it would really help.

                                    • 15. Re: EI app crashing
                                      joeyblowie123 Level 1

                                      See, and I was hoping that you'ld have the magic answer so I didn't have to play that game

                                       

                                      Unfortunately, I cannot send source, however, I will play the game and find the offending jscript.... stay tuned.

                                      • 16. Re: EI app crashing
                                        joeyblowie123 Level 1

                                        GAME OVER!   Here's the offending line of code:  This line simply transitions a div offscreen and exposes another. 

                                         

                                        $("#content").css({"transition-duration":'200ms', "transform": "translateX(-270px)"});

                                         

                                        It appears to be related to the transition.  I put an alert immediatly before and after, and I see both alerts, but the app crashes about 200ms after the second alert, even if it's not clicked.

                                         

                                        Here's the css:

                                        #content{

                                        background-color: #000000;

                                        position:absolute;

                                        top:0px;

                                        left:0px;

                                        width:320px;

                                        overflow:hidden;

                                        }

                                         

                                        Does this help?

                                        • 17. Re: EI app crashing
                                          joeyblowie123 Level 1

                                          and here's the log:

                                          {"received":"Fri Jul 12 2013 2:23:06 PM.651","payload":{"action":"inventory","options":{"subaction":"resourcelist","resources" :[{"id":"D93DD9C7-CEAF-49BC-B37A-C2277B07D1F9","name":"JB’s iPod","status":"unavailable"},{"id":"B5286E4A-9362-4F1D-8251-B3D8D7009AEB","name":"JB’s 4s","status":"unavailable"},{"id":"1622621C-E391-4A33-8962-AD5F2ED56798","name":"JB’s 4s","status":"unavailable"}]},"source_name":"COMPUTER","version":"1","source":"5ef4dc78-7 5b8-40b4-8e04-be1714bbb21d"}}

                                          {"    sent":"Fri Jul 12 2013 2:23:06 PM.646","payload":{"action":"inventory","source":"73e88d52-f90e-4efa-ae0b-5b75b1ba185e"," options":{"subaction":"listresources","type":"device"}}}

                                          {"received":"Fri Jul 12 2013 2:23:06 PM.645","payload":{"options":{"subaction":"resource_change"},"source":"5ef4dc78-75b8-40b4 -8e04-be1714bbb21d","action":"inventory"}}

                                          {"    sent":"Fri Jul 12 2013 2:22:31 PM.173","payload":{"action":"publish","source":"73e88d52-f90e-4efa-ae0b-5b75b1ba185e","op tions":{"message":{"action":"browser_navigate","source":"73e88d52-f90e-4efa-ae0b-5b75b1ba1 85e","options":{"url":"http://localhost/","fullscreen":"true"}},"destinations":[]}}}

                                           

                                          (No logs in appdata/user folder)

                                          • 18. Re: EI app crashing
                                            Mark_Rausch Adobe Employee

                                            That's a huge help, thanks. We'll try playing around with that and see if we can reproduce the problem here. It could be due to the fact that weinre has instrumented the html.

                                             

                                            Some follow-up questions:

                                            1. So if you pull that line out, there's no crash, correct?
                                            2. If you don't remote inspect the page, it doesn't crash either, is that right?
                                            3. Are you familiar enough with weinre to put the weinre js snippet into your page and see what happens when it runs in the native browser on the device?
                                            • 19. Re: EI app crashing
                                              joeyblowie123 Level 1

                                              more info:  I found this:  http://stackoverflow.com/questions/11993993/page-works-fine-in-chrome-firefox-and-ie-but-c auses-flashing-or-crash-on-ipad-s, and removed jQueryMobile, and it does NOT crash. 

                                               

                                              1) remove that line, or jQueryMobile, and it does not crash. 

                                              2) i shut down weinre, and it still crashes, so I'm assuming it's not related to wienre.

                                              3) I can try 3 if that is still needed, but any pointers would be appreciated.  

                                               

                                              also,

                                              I run CSS3 transistions simultaneously.  There are two that run together, but I tried swapping the order and it has no effect.  #content crashes, #create has not problem. 

                                               

                                              Here's the other call:  $("#create").css({"transition-duration":'200ms', "transform": "translateX(-270px)"});

                                              and CSS:

                                              #create{

                                              width:270px;

                                              position:absolute;

                                              top:0px;

                                              left:320px;

                                              -webkit-transform-style: preserve-3d;

                                               

                                              (and I tried taking the preserve-3d out, but this line didn't crash either way).

                                              • 20. Re: EI app crashing
                                                joeyblowie123 Level 1

                                                And here's more info that I just realized will probably take you guys off the hook, but any help would be greatly appreciated...:

                                                We also compile this code into a phonegap app, and it crashes in there, too.  Appears to be the same issue.

                                                • 21. Re: EI app crashing
                                                  Mark_Rausch Adobe Employee

                                                  This is all good info, thanks. I don't know what's going on, but I'll try to get some of the PhoneGap people to chime in here and our iOS guy is out, but should be back next week and he may be able to help out too.

                                                  • 22. Re: EI app crashing
                                                    joeyblowie123 Level 1

                                                    Thanks Mark! 

                                                    • 23. Re: EI app crashing
                                                      joeyblowie123 Level 1

                                                      Correction - crashing is still occuring as indicated above, even without JQM. 

                                                      • 24. Re: EI app crashing
                                                        joeyblowie123 Level 1

                                                        more info: 

                                                        The crashing occurs when performing a CSS translateX transistion on div container with multiple children div containers, or even with only 1 child.

                                                        <content>

                                                             <page1>

                                                             <page2>

                                                        </content>

                                                         

                                                        The following changes result in NO crash:

                                                        - Changing the CSS translateX function to jquery animate, or...

                                                        - Reducing the number of items on page1, or...

                                                        - using translateX directly on the child (page1) instead of the parent (content).

                                                         

                                                        Removing page2 had no effect. 

                                                        • 25. Re: EI app crashing
                                                          ShazronAbdullah Adobe Employee

                                                          Hi, I work on Apache Cordova / PhoneGap on iOS.

                                                           

                                                          If you have a crash log that would be great to isolate the issue. From experience, it usually is a WebKit crash. To isolate the problem, do not include phonegap.js/cordova.js and just run your code again to see if it crashes. If it does, it has nothing to do with PhoneGap/Cordova.