sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Sketchup Crash Webdialog

    Scheduled Pinned Locked Moved Developers' Forum
    17 Posts 5 Posters 979 Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Hooch
      last edited by

      Hi,

      I came across a problem with the use of webdialogs. by browsing on a website, sketchup is running into a bugsplat. This problem only occurs on Win 7 and IE 9 (mac wasn't tested). On other system configurations the problem couldn't be reproduced. The problem is not triggered by plugins, because the crash also happens if I simply create a webdialog in the Ruby console and no plugin is installed. Has anyone had a similar problem with webdialogs before? Is there a useful possibility to debug the webdialog? The bugsplat only said "access violation". (Also strange: sometimes the program stops and the bugsplat isn't created, maybe also "crashed")

      Greetings
      Alex

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        On PC the SketchUp webdialog always uses IE.
        Checks its Internet Options settings are not too 'strict' - e.g. it must allow javascript to run.
        What is your ruby code used to create the webdialog ?
        Does it crash immediately it's created, or when you specify content, or 'show' it etc ?

        Have you tried repairing the SketchUp [version?] installation ? ['Programs and Features' Control Panel...]

        TIG

        1 Reply Last reply Reply Quote 0
        • tt_suT Offline
          tt_su
          last edited by

          What SketchUp version? And is it only with IE9? Not IE10 or 11?
          Did you submit the bugsplats? If so, did you enter any details in the report we can use to look it up?

          1 Reply Last reply Reply Quote 0
          • H Offline
            Hooch
            last edited by

            @tig said:

            On PC the SketchUp webdialog always uses IE.

            I know ..

            @tig said:

            Checks its Internet Options settings are not too 'strict' - e.g. it must allow javascript to run.

            all okay, java script runs fine

            @tig said:

            What is your ruby code used to create the webdialog ?

            dlg = UI::WebDialog.new("Titel", true, "VS_REG", 739, 641, 150, 150, true); dlg.set_url "http://url" dlg.show

            @tig said:

            Does it crash immediately it's created, or when you specify content, or 'show' it etc ?

            it crashes randomly while browsing on the website .. (sometimes a few seconds, sometimes 1-2minutes)

            @tig said:

            Have you tried repairing the SketchUp [version?] installation ? ['Programs and Features' Control Panel...]

            It is Sketchup 2014 and it's a completly clean Win 7 installation with IE 9, we could reproduce it with two different computers

            @tt_su said:

            What SketchUp version? And is it only with IE9? Not IE10 or 11?

            2014.. we used a lot of test computers with different OS and IE .. only Win7 and IE9 caused a bug splat

            @tt_su said:

            Did you submit the bugsplats? If so, did you enter any details in the report we can use to look it up?

            up to now, I didn't, but I'll do it in the next minutes

            1 Reply Last reply Reply Quote 0
            • H Offline
              Hooch
              last edited by

              I've now sended a bugsplat with a short description and the link to this forum-topic

              I hope this will help to figure out the problem ..

              1 Reply Last reply Reply Quote 0
              • tt_suT Offline
                tt_su
                last edited by

                @hooch said:

                I've now sended a bugsplat with a short description and the link to this forum-topic

                What did the description include? What can I search for to find it?

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Hooch
                  last edited by

                  @tt_su said:

                  @hooch said:

                  I've now sended a bugsplat with a short description and the link to this forum-topic

                  What did the description include? What can I search for to find it?

                  "http://sketchucation.com/forums/viewtopic.php?f=180&t=58598" should be included, i've copied this link inside the description window

                  1 Reply Last reply Reply Quote 0
                  • tt_suT Offline
                    tt_su
                    last edited by

                    Hm. The crash happens when some memory is freed. I need to pass this over to the QA team to see if they can reproduce on a test machine.

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      I've been trying to reproduce this, and so far no luck. I'm on Win 7, IE 9, SU 2014. Running this from the ruby console:

                      dlg = UI::WebDialog.new("Titel", true, "VS_REG", 739, 641, 150, 150, true); dlg.set_url "http://github.com" dlg.show

                      Any other hints or ideas on how to reproduce it?

                      I have thing you could try to do, to see if it helps. Go to:

                      C:\Users<user>\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp

                      and delete the session.dat and the cookiejar.xml file. Probably best to save them though, so move them somewhere like your desktop to keep them safe. That way, if we determine it is something in one of those files, we will still have them around to look into.

                      Anyhow, try removing those files and then try your script again and see if it works.

                      Chris

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        Hooch
                        last edited by

                        @chris fullmer said:

                        I've been trying to reproduce this, and so far no luck. I'm on Win 7, IE 9, SU 2014. Running this from the ruby console:

                        dlg = UI::WebDialog.new("Titel", true, "VS_REG", 739, 641, 150, 150, true); dlg.set_url "http://github.com" dlg.show

                        Any other hints or ideas on how to reproduce it?

                        I have thing you could try to do, to see if it helps. Go to:

                        C:\Users<user>\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp

                        and delete the session.dat and the cookiejar.xml file. Probably best to save them though, so move them somewhere like your desktop to keep them safe. That way, if we determine it is something in one of those files, we will still have them around to look into.

                        Anyhow, try removing those files and then try your script again and see if it works.

                        Chris

                        I've sended you a private message with a link and login where you can (hopefully) reproduce the bugsplat. I think its a problem with the bunch of java script used on this side, but nevertheless should Sketchup not bugsplat ..

                        I've tried also to move the files away (session.dat wasn't there), but it didn't help.

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          As I understand it SketchUp v2014 makes a cookiejar.xml, while the session.dat file is made in SketchUp pre-v2014 ?

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            I <believe> I have seen the 2 files co-exist in the same folder at the same time. I believe you are correct that the cookiejar.xml is only for 2014. But I think 2014 might also make use of the session.dat. I'm not sure though, I should ask Tyler how that was implemented.

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by

                              @chris fullmer said:

                              I <believe> I have seen the 2 files co-exist in the same folder at the same time. I believe you are correct that the cookiejar.xml is only for 2014. But I think 2014 might also make use of the session.dat. I'm not sure though, I should ask Tyler how that was implemented.
                              I've never seen it πŸ˜• But that doesn't ensure it's never used πŸ˜’

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                Hooch
                                last edited by

                                Hi,

                                Chris, could you reproduce the bugsplat with the sended website in the private message? If you can't, than I also have a video showing the crash, but I think it's more helpful for you if you can reproduce it by yourself.

                                Greetings
                                Alex

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  Hooch
                                  last edited by

                                  Hey ho,

                                  are there any news for this topic? we could reproduce the error on IE 11 in the mean time .. i think there are some random java script errors on the website, but nevertheless this shouldn't cause SketchUp to a bug splat ..

                                  Greetings

                                  1 Reply Last reply Reply Quote 0
                                  • Chris FullmerC Offline
                                    Chris Fullmer
                                    last edited by

                                    Hi Hooch, I responded to your private message a few days ago. I was able to reproduce this, but I am unable to determine what the crash is. I'll log it in our system for an engineer to look at.

                                    Lately you've been tan, suspicious for the winter.
                                    All my Plugins I've written

                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      lionk
                                      last edited by

                                      the crash does exist.
                                      what is the solution?

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement