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. Just got my first BSOD in Win Xp

Just got my first BSOD in Win Xp

Scheduled Pinned Locked Moved The Lounge
comdata-structuresquestion
28 Posts 14 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.
  • D Daniel Turini

    Sorry, but a Firefox extension could *NEVER* cause a BSOD by itself. It's just user-mode code, and can't corrupt kernel memory or do something else that could cause a BSOD...

    M Offline
    M Offline
    Member 96
    wrote on last edited by
    #19

    *never* is a pretty strong word, I would venture to say it is possible to write software that as a side effect causes a BSOD.


    "Hello, hello, what's all this shouting, we'll have no trouble here! This is a Local Shop for Local People, there's nothing for you here!" -Edward Tattsyrup

    D 1 Reply Last reply
    0
    • M Member 96

      *never* is a pretty strong word, I would venture to say it is possible to write software that as a side effect causes a BSOD.


      "Hello, hello, what's all this shouting, we'll have no trouble here! This is a Local Shop for Local People, there's nothing for you here!" -Edward Tattsyrup

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

      Could you please point me how to code something in userland that causes a BSOD? Besides bugs in privileged code or hardware problems, it's not possible for user code to induce a BSOD.

      J L 2 Replies Last reply
      0
      • P Paul Watson

        Was that reply meant for me? regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

        P Offline
        P Offline
        p daddy
        wrote on last edited by
        #21

        It was, purely because you mentioned Firefox and crashing in the same sentence - that SessionSaver plugin has saved me a load of grief in the past from FF crashes, so I thought I'd mention it. Cheers, Paul

        P 1 Reply Last reply
        0
        • D Daniel Turini

          Could you please point me how to code something in userland that causes a BSOD? Besides bugs in privileged code or hardware problems, it's not possible for user code to induce a BSOD.

          J Offline
          J Offline
          James R Twine
          wrote on last edited by
          #22

          I was going to mention the bug that was sent around a few years ago that involved the using printf with control characters (backspaces) that caused Windows to crash.  And this was a simple few-liner C/C++ application.    However, the "besides bugs" caveat is quite wide - it covers pretty much all possible scenarios...  One could easily argue that all crashes are due to bugs in privileged code. :)    Peace! -=- James


          If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
          Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
          DeleteFXPFiles & CheckFavorites (Please rate this post!)

          V 1 Reply Last reply
          0
          • P p daddy

            It was, purely because you mentioned Firefox and crashing in the same sentence - that SessionSaver plugin has saved me a load of grief in the past from FF crashes, so I thought I'd mention it. Cheers, Paul

            P Offline
            P Offline
            Paul Watson
            wrote on last edited by
            #23

            Indeed, it is a brilliant extension :) regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

            1 Reply Last reply
            0
            • J James R Twine

              I was going to mention the bug that was sent around a few years ago that involved the using printf with control characters (backspaces) that caused Windows to crash.  And this was a simple few-liner C/C++ application.    However, the "besides bugs" caveat is quite wide - it covers pretty much all possible scenarios...  One could easily argue that all crashes are due to bugs in privileged code. :)    Peace! -=- James


              If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
              Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
              DeleteFXPFiles & CheckFavorites (Please rate this post!)

              V Offline
              V Offline
              Vikram A Punathambekar
              wrote on last edited by
              #24

              James R. Twine wrote: I was going to mention the bug that was sent around a few years ago that involved the using printf with control characters (backspaces) that caused Windows to crash. And this was a simple few-liner C/C++ application. Any idea where I can get the code? :) Cheers, Vikram.


              http://www.geocities.com/vpunathambekar

              Google talk: binarybandit

              After all is said and done, much is said and little is done.

              J G 2 Replies Last reply
              0
              • V Vikram A Punathambekar

                James R. Twine wrote: I was going to mention the bug that was sent around a few years ago that involved the using printf with control characters (backspaces) that caused Windows to crash. And this was a simple few-liner C/C++ application. Any idea where I can get the code? :) Cheers, Vikram.


                http://www.geocities.com/vpunathambekar

                Google talk: binarybandit

                After all is said and done, much is said and little is done.

                J Offline
                J Offline
                James R Twine
                wrote on last edited by
                #25

                Google up "CSRSS Backspace bug" for more info.  An example that would crash NT4 and (some?) Win2K systems is/was:

                #include <stdio.h>
                int main(int iArgC, char *pArgV[] )
                {
                while( true )
                {
                for( int iLoop = 0; iLoop < 5; iLoop++ )
                {
                printf( "\t\t\b\b\b" );
                }
                }
                return( 0 );
                }

                Peace! -=- James


                If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                DeleteFXPFiles & CheckFavorites (Please rate this post!)

                1 Reply Last reply
                0
                • D Daniel Turini

                  Sorry, but a Firefox extension could *NEVER* cause a BSOD by itself. It's just user-mode code, and can't corrupt kernel memory or do something else that could cause a BSOD...

                  G Offline
                  G Offline
                  Glenn Dawson
                  wrote on last edited by
                  #26

                  No, but this could BSOD on Windows 2000: printf("CrashMe\t\t\b\b\b\b\b\b");

                  1 Reply Last reply
                  0
                  • V Vikram A Punathambekar

                    James R. Twine wrote: I was going to mention the bug that was sent around a few years ago that involved the using printf with control characters (backspaces) that caused Windows to crash. And this was a simple few-liner C/C++ application. Any idea where I can get the code? :) Cheers, Vikram.


                    http://www.geocities.com/vpunathambekar

                    Google talk: binarybandit

                    After all is said and done, much is said and little is done.

                    G Offline
                    G Offline
                    Glenn Dawson
                    wrote on last edited by
                    #27

                    printf("CrashMe\t\t\b\b\b\b\b\b");

                    1 Reply Last reply
                    0
                    • D Daniel Turini

                      Could you please point me how to code something in userland that causes a BSOD? Besides bugs in privileged code or hardware problems, it's not possible for user code to induce a BSOD.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #28

                      Correct, but there are holes in the IO manager and other kernel components. Nunc est bibendum

                      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