sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Reason why Sketchup 8 may crash

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    29 Posts 7 Posters 2.9k Views 7 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.
    • thomthomT Offline
      thomthom
      last edited by

      I've had the same problem - the registry settings for SketchUp's toolbars had become extremely bloated with more entries than what was actually used. And it multiplied as I used the Save and Restore function.

      I also had to clean out the registry keys.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        Is there a way to identify which registry entry belongs to which toolbar? I just had a look at the registry on my computer here at work. It shows ToolbarsUser-Bar0 through ToolbarsUser-Bar55 and then ToolbarsUserCustom-Bar0 through ToolbarsUserCustom-Bar53. There seem to be only 43 toolbars in the list under View>Toolbars so I think some of these registry entries probably aren't needed.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          It's a real pain trying to untangle the registry mess. In your case ~10 entries you suspect might not be used - don't worry. Not worth the hassle. The problem appear when you find houndreds or thousands - as that slows down SU.

          In my case it wasn't just the loading time, but general performance of SU that got affected.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            So I wonder what's different between your installation and mine. Is it an operating system thing or could it be somehow caused by a script?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @dave r said:

              So I wonder what's different between your installation and mine. Is it an operating system thing or could it be somehow caused by a script?

              It could be several causes. In my case I think it's related to script loading errors - and since I can easily get such errors while developing it is one of the causes which I ran into.
              I think Jim has found some other triggers.

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

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

                I know it could be made as a reg or cmd file but currently I manually export the Sketchup HCU registry entry and make a copy of that reg file.
                Then I edit the copy with Notepad++ to remove all of the Toolbar entries - which are in a 'block'.
                I then delete the original registry entry and reload the edited reg file that no longer has any toolbar entries.
                When Sketchup first restarts all toolbars are removed and need resetting / saving...
                The original exported version is my insurance policy in case I mess up...
                Sketchup then loads so much faster after the cleanup as it's hundreds of toolbar entries lighter !
                Whenever you save the toolbar settings it seems to duplicate a set... Sketchup should purge its toolbar registry entries but it doesn't... 😒

                TIG

                1 Reply Last reply Reply Quote 0
                • kachuppK Offline
                  kachupp
                  last edited by

                  @dave r said:

                  Is there a way to identify which registry entry belongs to which toolbar? I just had a look at the registry on my computer here at work. It shows ToolbarsUser-Bar0 through ToolbarsUser-Bar55 and then ToolbarsUserCustom-Bar0 through ToolbarsUserCustom-Bar53. There seem to be only 43 toolbars in the list under View>Toolbars so I think some of these registry entries probably aren't needed.

                  Key HKCU\Software\Google\Sketchup8\ToolBarsUserCustom-Summary\Bars
                  same goes for the ToolbarsUser-Bar#

                  1 Reply Last reply Reply Quote 0
                  • kachuppK Offline
                    kachupp
                    last edited by

                    @kachupp said:

                    😎 4nt batch script to fix

                    do r=0 to 2000
                    if %@regexist[HKCU\Software\Google\Sketchup8\ToolbarsUser-Bar%r] == 1 set _C=%@regdelkey[HKCU\Software\Google\Sketchup8\ToolbarsUser-Bar%r]
                    if %@regexist[HKCU\Software\Google\Sketchup8\ToolbarsUserCustom-Bar%r] == 1 set _C=%@regdelkey[HKCU\Software\Google\Sketchup8\ToolbarsUserCustom-Bar%r]
                    enddo

                    if statements are ONELiners

                    I know ya'll are ruby fans but the above 4nt/tcmd batch script removes all ToolBars-User/Custom registry keys
                    "if key exist then del registry key"
                    It has the effect of returning the GUI to Day 1 standard getting started toolbars

                    1 Reply Last reply Reply Quote 0
                    • Dave RD Offline
                      Dave R
                      last edited by

                      @kachupp said:

                      @dave r said:

                      Is there a way to identify which registry entry belongs to which toolbar? I just had a look at the registry on my computer here at work. It shows ToolbarsUser-Bar0 through ToolbarsUser-Bar55 and then ToolbarsUserCustom-Bar0 through ToolbarsUserCustom-Bar53. There seem to be only 43 toolbars in the list under View>Toolbars so I think some of these registry entries probably aren't needed.

                      Key HKCU\Software\Google\Sketchup8\ToolBarsUserCustom-Summary\Bars
                      same goes for the ToolbarsUser-Bar#

                      That doesn't appear to list which toolbars are given what number which is what I was asking for.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • kachuppK Offline
                        kachupp
                        last edited by

                        @dave r said:

                        @kachupp said:

                        @dave r said:

                        Is there a way to identify which registry entry belongs to which toolbar? I just had a look at the registry on my computer here at work. It shows ToolbarsUser-Bar0 through ToolbarsUser-Bar55 and then ToolbarsUserCustom-Bar0 through ToolbarsUserCustom-Bar53. There seem to be only 43 toolbars in the list under View>Toolbars so I think some of these registry entries probably aren't needed.

                        Key HKCU\Software\Google\Sketchup8\ToolBarsUserCustom-Summary\Bars
                        same goes for the ToolbarsUser-Bar#

                        That doesn't appear to list which toolbars are given what number which is what I was asking for.

                        What it tells you is the number REG_DWORD HEX (DECIMAL) the number of valid toolbars so if your registry tells you
                        you have 55 then you have 55 if its says 55 but 45 is the highest number of ToolBarsUser/Custom-Bar# entries then
                        the last ten are invalid .. They will be empty if its truely invalid

                        1 Reply Last reply Reply Quote 0
                        • kachuppK Offline
                          kachupp
                          last edited by

                          SUReset.CMD

                          REG EXPORT HKCU\Software\Google UPDATE.REG
                          REG DELETE HKCU\Software\Google /va /f
                          : Create Backup Restore Google Sketchup8 to DayOne
                          🎉

                          1 Reply Last reply Reply Quote 0
                          • kachuppK Offline
                            kachupp
                            last edited by

                            @kachupp said:

                            SUReset.CMD

                            REG EXPORT HKCU\Software\Google UPDATE.REG
                            REG DELETE HKCU\Software\Google /va /f
                            : Create Backup Restore Google Sketchup8 to DayOne
                            🎉

                            Has any one CONFIRMED this works ? other than my self 😲

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

                              The problem with all of ths Registry hacking is that it brings us full circle back to where we were BEFORE Google 'fixed' the toolbar issue. Pre v8 you simply has a cmd script that backed up the full SUp v8 registry entry which had the toolbars set as you wanted. When everything went wrong you ran another cmd file that erased and immediately replaced the Registry entry with the 'good' one...

                              Surely the fixed v8 code needs to keep proper track of the changes it's making to the Registry and purge the redundant parts - we should NOT be having to do this ourselves - otherwise it's not much of an improvement 😒

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • kachuppK Offline
                                kachupp
                                last edited by

                                @tig said:

                                Surely the fixed v8 code needs to keep proper track of the changes it's making to the Registry and purge the redundant parts - we should NOT be having to do this ourselves - otherwise it's not much of an improvement 😒

                                I disagree because of the registry hack; The problems don’t exist when the dodgy registry entries don’t exist. DayOne!
                                Which makes me think it’s an introduced problem ala plug-ins. They “Google” didn’t think for one minute it couldn’t be abused. 😐

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  @kachupp said:

                                  @tig said:

                                  Surely the fixed v8 code needs to keep proper track of the changes it's making to the Registry and purge the redundant parts - we should NOT be having to do this ourselves - otherwise it's not much of an improvement 😒

                                  I disagree because of the registry hack; The problems don’t exist when the dodgy registry entries don’t exist. DayOne!
                                  Which makes me think it’s an introduced problem ala plug-ins. They “Google” didn’t think for one minute it couldn’t be abused. 😐

                                  It seems that plugin loading errors might throws things out of state.
                                  I think Jim maybe found something in regard to enabling/disabling extensions.

                                  Thomas Thomassen — SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    KottonKing
                                    last edited by

                                    I am having serious issues with Skethcup crashing. Last night I had a total of 23 crashes. Of all versions of Sketchup, version 8 is by far the most buggy. I can do some of the same things in an older version and no crashes... My crashes usually occur while using Sketchy Physics. It gets extremely frustrating while in the middle of making a model and BAM!!! Crash!

                                    I make very complex Sketchy Physics models using all kinds of joints and literaly hundreds of grouped objects. I do understand that having such complex models broadens the way for more and more crashes and more often. But as I said I have made similar models in older versions of Sketchup and Physics with little to no crashes.

                                    1 Reply Last reply Reply Quote 0
                                    • kachuppK Offline
                                      kachupp
                                      last edited by

                                      I have a new Batch file (BTM 4nt/tcc only) solution.

                                      : # Programmatically simplified description of what the batch file does.
                                      : #
                                      : # add default loop variable or user specified
                                      : # make sure variable is numeric if not display error and quit
                                      : #
                                      : # display task
                                      : #
                                      : # start loop
                                      : # hit anykey to cancel loop and batch file.
                                      : #
                                      : # if the registry key exist .and. the registry entry does not have the required key BarID
                                      : # delete the registry entry (per :ToolBar_Label)
                                      : #
                                      : # show loop counter
                                      : # loop
                                      : # endloop
                                      : #
                                      : # display valid #COUNT entries
                                      : # clean up environment
                                      : # end batch file.

                                      Extract and open the batch file in any text editor. Read the notes!


                                      Advanced Batch file

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

                                        @kachupp

                                        This tool requires a not inexpensive 3rd-party add-on to Windows to be usable...
                                        Can't it be done in a normal cmd/bat format ?

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • kachuppK Offline
                                          kachupp
                                          last edited by

                                          @tig said:

                                          @kachupp

                                          This tool requires a not inexpensive 3rd-party add-on to Windows to be usable...
                                          Can't it be done in a normal cmd/bat format ?

                                          Hi TIG .. The functions I used in the script are available in the FREE TCC/LE "light" version
                                          @isdigit[] .. @regexist[] .. @regdelkey[] ..@regquery[]

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

                                            OK.

                                            That's not so bad.
                                            Might have been a good idea to explain that in the original post though 😒
                                            AND it's limited to 'home use'...

                                            TIG

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

                                            Advertisement