Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Vista becomes hysterical!

Vista becomes hysterical!

Scheduled Pinned Locked Moved The Lounge
helpquestion
30 Posts 15 Posters 0 Views 1 Watching
  • 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.
  • I Ian Shlasko

    Well, not to defend Vista, but remember that Chrome runs each tab in a separate process, to make sure that one plugin or applet can't take the whole browser down. Maybe just one tab crashed.

    Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

    S Offline
    S Offline
    Single Step Debugger
    wrote on last edited by
    #3

    I know this, that’s way I mentioned that all of the tabs was okay.

    The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

    D J 2 Replies Last reply
    0
    • S Single Step Debugger

      Yesterday evening I was browsing internet using Chrome. I was opened several tabs enjoying some nice turboprop airplanes pictures when suddenly the Vista’s crash window shows up. You know – this one which reads something like: “The Google Chrome application is not responding and need to be shut down…do you want to restart the program?…” or something similar. So I closed the error prompt and…continue with browsing the current page without any problems! The Chrome doesn’t crashed, there was no crashed tabs…everything was just okay! So I’m puzzled WTF was that? Either Vista for some reasons needs to fake Chrome crashes or there is the following source code somewhere inside the last updates:

      private void CHandleWithCompetitors::Hook CurrentBrowser(LPDISPATCH *browserRef)
      {
      If(GetCurrentBrowser(browserRef) == GOOGLE_FUCKING_CHROME)
      {
      If(!BrowserTryCrash(browserRef))
      {
      throw CInternalEx(“BrowserUncrashableExseption”);
      }
      }
      }

      The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

      B Offline
      B Offline
      Brian W King
      wrote on last edited by
      #4

      If it involves a Microsoft product in any way, it MUST be a conspiracy! (Good Lord, {groan})

      1 1 Reply Last reply
      0
      • B Brian W King

        If it involves a Microsoft product in any way, it MUST be a conspiracy! (Good Lord, {groan})

        1 Offline
        1 Offline
        1 21 Gigawatts
        wrote on last edited by
        #5

        Brian W King wrote:

        it MUST be a conspiracy!

        And you didn't know this?? My god man, where have you been? Everyone knows that Bill Gates is the devil[^].

        "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

        A B 2 Replies Last reply
        0
        • S Single Step Debugger

          Yesterday evening I was browsing internet using Chrome. I was opened several tabs enjoying some nice turboprop airplanes pictures when suddenly the Vista’s crash window shows up. You know – this one which reads something like: “The Google Chrome application is not responding and need to be shut down…do you want to restart the program?…” or something similar. So I closed the error prompt and…continue with browsing the current page without any problems! The Chrome doesn’t crashed, there was no crashed tabs…everything was just okay! So I’m puzzled WTF was that? Either Vista for some reasons needs to fake Chrome crashes or there is the following source code somewhere inside the last updates:

          private void CHandleWithCompetitors::Hook CurrentBrowser(LPDISPATCH *browserRef)
          {
          If(GetCurrentBrowser(browserRef) == GOOGLE_FUCKING_CHROME)
          {
          If(!BrowserTryCrash(browserRef))
          {
          throw CInternalEx(“BrowserUncrashableExseption”);
          }
          }
          }

          The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #6

          Deyan Georgiev wrote:

          “The Google Chrome application is not responding and need to be shut down…do you want to restart the program?…”

          This message appears when the application is not answering some important windows message, e.g., WM_PAINT. This often means that the main interface thread is not running the message loop, doing some lengthy process or just hung up (as in a deadlock).

          realJSOPR 1 Reply Last reply
          0
          • 1 1 21 Gigawatts

            Brian W King wrote:

            it MUST be a conspiracy!

            And you didn't know this?? My god man, where have you been? Everyone knows that Bill Gates is the devil[^].

            "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

            A Offline
            A Offline
            Adam Maras
            wrote on last edited by
            #7

            Rumor has it, if you play a Windows Vista disc backwards in an audio player, you'll hear satanic messages... ...that's nothing, though; if you play it forwards, it'll install Windows on your computer! :laugh:

            Adam Maras | Software Developer Microsoft Certified Professional Developer

            1 Reply Last reply
            0
            • S Single Step Debugger

              Yesterday evening I was browsing internet using Chrome. I was opened several tabs enjoying some nice turboprop airplanes pictures when suddenly the Vista’s crash window shows up. You know – this one which reads something like: “The Google Chrome application is not responding and need to be shut down…do you want to restart the program?…” or something similar. So I closed the error prompt and…continue with browsing the current page without any problems! The Chrome doesn’t crashed, there was no crashed tabs…everything was just okay! So I’m puzzled WTF was that? Either Vista for some reasons needs to fake Chrome crashes or there is the following source code somewhere inside the last updates:

              private void CHandleWithCompetitors::Hook CurrentBrowser(LPDISPATCH *browserRef)
              {
              If(GetCurrentBrowser(browserRef) == GOOGLE_FUCKING_CHROME)
              {
              If(!BrowserTryCrash(browserRef))
              {
              throw CInternalEx(“BrowserUncrashableExseption”);
              }
              }
              }

              The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

              I Offline
              I Offline
              Iain Clarke Warrior Programmer
              wrote on last edited by
              #8

              Deyan Georgiev wrote:

              GOOGLE_*******_CHROME

              Fixed that for you. I don;t care about my kid sister (she's fictional), but I do care about My Mum. Think of the mothers!

              I have now moved to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[^]

              S 1 Reply Last reply
              0
              • S Single Step Debugger

                I know this, that’s way I mentioned that all of the tabs was okay.

                The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #9

                Does Chrome have a tab auto recovery feature?

                The European Way of War: Blow your own continent up. The American Way of War: Go over and help them.

                1 Reply Last reply
                0
                • D Daniel Turini

                  Deyan Georgiev wrote:

                  “The Google Chrome application is not responding and need to be shut down…do you want to restart the program?…”

                  This message appears when the application is not answering some important windows message, e.g., WM_PAINT. This often means that the main interface thread is not running the message loop, doing some lengthy process or just hung up (as in a deadlock).

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #10

                  Daniel Turini wrote:

                  This message appears when the application is not answering some important windows message, e.g., WM_PAINT.

                  Technically, task manager sends out a message (and it's NOT wm_paint) every 5 seconds to every running process. Each process is given 5 seconds to respond to that message. If it doesn't respond in the allotted time frame, task Manager marks the task as "Not Responding". Vista itself probably uses some other timing metrics that dictate when to assume a given process has "crashed" (probably some time after task manager marks the process as "not responding").

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  R 1 Reply Last reply
                  0
                  • S Single Step Debugger

                    I know this, that’s way I mentioned that all of the tabs was okay.

                    The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                    J Offline
                    J Offline
                    Judah Gabriel Himango
                    wrote on last edited by
                    #11

                    Browser plugins run in separate processes, too. My bet is that Flash or some other plugin crashed. You didn't notice it because it was used for an ad or something small on a page.

                    Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                    S M 2 Replies Last reply
                    0
                    • S Single Step Debugger

                      Yesterday evening I was browsing internet using Chrome. I was opened several tabs enjoying some nice turboprop airplanes pictures when suddenly the Vista’s crash window shows up. You know – this one which reads something like: “The Google Chrome application is not responding and need to be shut down…do you want to restart the program?…” or something similar. So I closed the error prompt and…continue with browsing the current page without any problems! The Chrome doesn’t crashed, there was no crashed tabs…everything was just okay! So I’m puzzled WTF was that? Either Vista for some reasons needs to fake Chrome crashes or there is the following source code somewhere inside the last updates:

                      private void CHandleWithCompetitors::Hook CurrentBrowser(LPDISPATCH *browserRef)
                      {
                      If(GetCurrentBrowser(browserRef) == GOOGLE_FUCKING_CHROME)
                      {
                      If(!BrowserTryCrash(browserRef))
                      {
                      throw CInternalEx(“BrowserUncrashableExseption”);
                      }
                      }
                      }

                      The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                      J Offline
                      J Offline
                      Judah Gabriel Himango
                      wrote on last edited by
                      #12

                      My psychic debugging skills tell me a plugin on one of the webpages crashed -- remember, Chrome runs plugins like Flash and Silverlight and Java in their own process. I bet a plugin process crashed (I've seen this many times with both Flash and Silverlight in Chrome), and since the plugin process is named "chrome.exe", Vista reported Chrome as having crashed, even though the main Chrome process was running and even though all the pages were still up.

                      Deyan Georgiev wrote:

                      If(GetCurrentBrowser(browserRef) == GOOGLE_FUCKING_CHROME)

                      Kind of hard to do, considering Chrome wasn't around when Vista was released.

                      Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                      S 1 Reply Last reply
                      0
                      • 1 1 21 Gigawatts

                        Brian W King wrote:

                        it MUST be a conspiracy!

                        And you didn't know this?? My god man, where have you been? Everyone knows that Bill Gates is the devil[^].

                        "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

                        B Offline
                        B Offline
                        Brian W King
                        wrote on last edited by
                        #13

                        lol! I like that site. Must be Bill is not the anti-christ anyways as Win95 is dead and the world didn't end. Oh, well. I also love how religious oriented people (aka wackos :wtf: ) will make any apocolyptic biblical passage fit anything they hate. Got to give them credit for imagination anyways. They get a zero for predictions in my book though as the world is going to end at least once a year. :doh:

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          Daniel Turini wrote:

                          This message appears when the application is not answering some important windows message, e.g., WM_PAINT.

                          Technically, task manager sends out a message (and it's NOT wm_paint) every 5 seconds to every running process. Each process is given 5 seconds to respond to that message. If it doesn't respond in the allotted time frame, task Manager marks the task as "Not Responding". Vista itself probably uses some other timing metrics that dictate when to assume a given process has "crashed" (probably some time after task manager marks the process as "not responding").

                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                          R Offline
                          R Offline
                          Rajesh R Subramanian
                          wrote on last edited by
                          #14

                          John Simmons / outlaw programmer wrote:

                          Technically, task manager sends out a message (and it's NOT wm_paint) every 5 seconds to every running process.

                          Well, there's no such thing. Task manager does not send any message to all applications every 5 seconds or so. Technically, it is impossible to send a "message" to every process because messages can only be sent to those processes who own a Window (a window handle of process XYZ is required to send a message to XYZ process -- the process must have a message pump which will process the message you send). There are several process that do not have a window. An application will be sent messages (several - may be a few hundreds, even for a trivial thing) in order to show the mouse cursor hovered over it, the window itself being moved, another window dragged above it, the portions of window that needs to be repainted, the non-client area needing repainting, etc. When a window does not respond to such messages repeatedly (hundreds or thousands of time), the process (actually the UI thread) responsible for processing those messages sent to the window is decided to be "hung". Then, depending on the options set by the user, windows either decides to kill the process or wait for it to possibly resume, or restart. Again, this mechanism applies to those processes with a message pump. There are other ways to decide if a process without a window is hung (dead lock detection, to name one).

                          It is a crappy thing, but it's life -^ Carlo Pallini

                          S 1 Reply Last reply
                          0
                          • S Single Step Debugger

                            Yesterday evening I was browsing internet using Chrome. I was opened several tabs enjoying some nice turboprop airplanes pictures when suddenly the Vista’s crash window shows up. You know – this one which reads something like: “The Google Chrome application is not responding and need to be shut down…do you want to restart the program?…” or something similar. So I closed the error prompt and…continue with browsing the current page without any problems! The Chrome doesn’t crashed, there was no crashed tabs…everything was just okay! So I’m puzzled WTF was that? Either Vista for some reasons needs to fake Chrome crashes or there is the following source code somewhere inside the last updates:

                            private void CHandleWithCompetitors::Hook CurrentBrowser(LPDISPATCH *browserRef)
                            {
                            If(GetCurrentBrowser(browserRef) == GOOGLE_FUCKING_CHROME)
                            {
                            If(!BrowserTryCrash(browserRef))
                            {
                            throw CInternalEx(“BrowserUncrashableExseption”);
                            }
                            }
                            }

                            The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                            R Offline
                            R Offline
                            Rajesh R Subramanian
                            wrote on last edited by
                            #15

                            What I don't understand is - Why is Vista hysterical if some random application crashes? Hey, my car does not start. It must be because of Vista. :rolleyes:

                            It is a crappy thing, but it's life -^ Carlo Pallini

                            S 1 Reply Last reply
                            0
                            • J Judah Gabriel Himango

                              Browser plugins run in separate processes, too. My bet is that Flash or some other plugin crashed. You didn't notice it because it was used for an ad or something small on a page.

                              Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                              S Offline
                              S Offline
                              Single Step Debugger
                              wrote on last edited by
                              #16

                              Yes – this sounds very reasonable! In the moment of the crash I had opened a page heavily loaded with flash.

                              The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                              1 Reply Last reply
                              0
                              • I Iain Clarke Warrior Programmer

                                Deyan Georgiev wrote:

                                GOOGLE_*******_CHROME

                                Fixed that for you. I don;t care about my kid sister (she's fictional), but I do care about My Mum. Think of the mothers!

                                I have now moved to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[^]

                                S Offline
                                S Offline
                                Single Step Debugger
                                wrote on last edited by
                                #17

                                I’m pretty sure that your mom doesn’t horrifying from this word. The fact of your existence is a perfect evidence for this.

                                The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                                1 Reply Last reply
                                0
                                • R Rajesh R Subramanian

                                  What I don't understand is - Why is Vista hysterical if some random application crashes? Hey, my car does not start. It must be because of Vista. :rolleyes:

                                  It is a crappy thing, but it's life -^ Carlo Pallini

                                  S Offline
                                  S Offline
                                  Single Step Debugger
                                  wrote on last edited by
                                  #18

                                  Because there was no crash? Anyway, read the Judah explanation above, it makes a perfect sense.

                                  The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                                  R 1 Reply Last reply
                                  0
                                  • R Rajesh R Subramanian

                                    John Simmons / outlaw programmer wrote:

                                    Technically, task manager sends out a message (and it's NOT wm_paint) every 5 seconds to every running process.

                                    Well, there's no such thing. Task manager does not send any message to all applications every 5 seconds or so. Technically, it is impossible to send a "message" to every process because messages can only be sent to those processes who own a Window (a window handle of process XYZ is required to send a message to XYZ process -- the process must have a message pump which will process the message you send). There are several process that do not have a window. An application will be sent messages (several - may be a few hundreds, even for a trivial thing) in order to show the mouse cursor hovered over it, the window itself being moved, another window dragged above it, the portions of window that needs to be repainted, the non-client area needing repainting, etc. When a window does not respond to such messages repeatedly (hundreds or thousands of time), the process (actually the UI thread) responsible for processing those messages sent to the window is decided to be "hung". Then, depending on the options set by the user, windows either decides to kill the process or wait for it to possibly resume, or restart. Again, this mechanism applies to those processes with a message pump. There are other ways to decide if a process without a window is hung (dead lock detection, to name one).

                                    It is a crappy thing, but it's life -^ Carlo Pallini

                                    S Offline
                                    S Offline
                                    Shog9 0
                                    wrote on last edited by
                                    #19

                                    Well... you're less wrong. The documentation is pretty specific on what Windows considers an unresponsive program though:

                                    IsHungAppWindow():

                                    An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds.

                                    R 1 Reply Last reply
                                    0
                                    • S Single Step Debugger

                                      Because there was no crash? Anyway, read the Judah explanation above, it makes a perfect sense.

                                      The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                                      R Offline
                                      R Offline
                                      Rajesh R Subramanian
                                      wrote on last edited by
                                      #20

                                      I read that already and that's still not Vista's fault. Chrome uses some kind of an unusual design (with several processes and multiple threads in each process - I don't like it). When the parent process (or the *main* UI thread) is unresponsive, Windows ought to report it as a dead application.

                                      It is a crappy thing, but it's life -^ Carlo Pallini

                                      1 Reply Last reply
                                      0
                                      • J Judah Gabriel Himango

                                        My psychic debugging skills tell me a plugin on one of the webpages crashed -- remember, Chrome runs plugins like Flash and Silverlight and Java in their own process. I bet a plugin process crashed (I've seen this many times with both Flash and Silverlight in Chrome), and since the plugin process is named "chrome.exe", Vista reported Chrome as having crashed, even though the main Chrome process was running and even though all the pages were still up.

                                        Deyan Georgiev wrote:

                                        If(GetCurrentBrowser(browserRef) == GOOGLE_FUCKING_CHROME)

                                        Kind of hard to do, considering Chrome wasn't around when Vista was released.

                                        Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                                        S Offline
                                        S Offline
                                        Shog9 0
                                        wrote on last edited by
                                        #21

                                        Judah Himango wrote:

                                        Kind of hard to do, considering Chrome wasn't around when Vista was released.

                                        SP2 was released just to give Chrome feature parity with IE8! :rolleyes: Seriously though, your explanation makes good sense. +5

                                        1 Reply Last reply
                                        0
                                        • S Shog9 0

                                          Well... you're less wrong. The documentation is pretty specific on what Windows considers an unresponsive program though:

                                          IsHungAppWindow():

                                          An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds.

                                          R Offline
                                          R Offline
                                          Rajesh R Subramanian
                                          wrote on last edited by
                                          #22

                                          My response was specific to his statement - "Task manager sends a message to every running process, every 5 seconds" (I had quoted it as well). And I said there's no such thing. The API you linked to comes into picture, only if you are talking about a "Window" (NOT a process - or rather processes that have window(s)). Note that the API is taking in a handle to a window, and not a handle to a process. And when does the window stops responding: hasn't retrieved several messages from the message loop, hasn't peeked to check for messages, etc.,. - Which is essentially what I said in my previous post. What about those processes that have no window?! This API is irrelevant in such cases and therefore cannot be applied for all running processes. Also, this has nothing to do with Task manager sending any message to any process. Added: BTW, I hadn't known that the default timeout for applications to peek for arrival of new messages in the loop were 5 seconds. Thanks, I know it now. :)

                                          It is a crappy thing, but it's life -^ Carlo Pallini

                                          modified on Wednesday, July 29, 2009 12:08 PM

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups