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. What is my problem?

What is my problem?

Scheduled Pinned Locked Moved The Lounge
helpquestionannouncement
10 Posts 7 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.
  • J Offline
    J Offline
    jayart
    wrote on last edited by
    #1

    At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

    M M V R G 7 Replies Last reply
    0
    • J jayart

      At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

      M Offline
      M Offline
      Michel Godfroid
      wrote on last edited by
      #2

      It's called 'Mystic Debugging'. You'll be asked to join the cast of 'Heroes'

      1 Reply Last reply
      0
      • J jayart

        At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

        M Offline
        M Offline
        M dHatter
        wrote on last edited by
        #3

        Everything has bugs no matter how hard you work on it. Just write a code to restart your machine every 100 hours .... lmao ;)

        "I do not know with what weapons World War 3 will be fought, but World War 4 will be fought with sticks and stones." Einstein "Few things are harder to put up with than the annoyance of a good example." Mark Twain

        1 Reply Last reply
        0
        • J jayart

          At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

          M Offline
          M Offline
          Michel Godfroid
          wrote on last edited by
          #4

          Seriously, it happens to all of us, especially with problems that are not easily reproducible. If you have bugs that occur all the time, you just go in and fix them, re-start the bloody thing, and Bob's your uncle. What you do is not fixing bugs. You' are doing a number of changes at the same time, the combination of which eliminate the conditions that caused the bug in the first place. Very nice to keep the machines running, but the bug is probably still there, awaiting the right conditions to rear it's ugly head. You want to read up on Root Cause Analysis. A first step in definitively solving intermittent bugs is usually finding a way to reproduce it reliably. This can be pain-staking process. Once you can reproduce it reliably, you can usually instrument your system so that can you debug it, even with traces and dumps and whatnot before the bugs happens. All tools that you don't have available when the production crashes.

          modified on Thursday, April 29, 2010 6:45 AM

          J 1 Reply Last reply
          0
          • J jayart

            At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

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

            You must be very intuitive. :) I could be talking rubbish, but are you by any chance left-handed? Left handers are supposedly better at non-linear processing.

            Cheers, Vikram. (Got my troika of CCCs!)

            J 1 Reply Last reply
            0
            • J jayart

              At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

              R Offline
              R Offline
              Robert Surtees
              wrote on last edited by
              #6

              If it was some sort of memory corruption you probably didn't fix the bug, you just moved it somewhere else. tick tick tick...

              1 Reply Last reply
              0
              • M Michel Godfroid

                Seriously, it happens to all of us, especially with problems that are not easily reproducible. If you have bugs that occur all the time, you just go in and fix them, re-start the bloody thing, and Bob's your uncle. What you do is not fixing bugs. You' are doing a number of changes at the same time, the combination of which eliminate the conditions that caused the bug in the first place. Very nice to keep the machines running, but the bug is probably still there, awaiting the right conditions to rear it's ugly head. You want to read up on Root Cause Analysis. A first step in definitively solving intermittent bugs is usually finding a way to reproduce it reliably. This can be pain-staking process. Once you can reproduce it reliably, you can usually instrument your system so that can you debug it, even with traces and dumps and whatnot before the bugs happens. All tools that you don't have available when the production crashes.

                modified on Thursday, April 29, 2010 6:45 AM

                J Offline
                J Offline
                jayart
                wrote on last edited by
                #7

                Thanks. It is giving me more motivation to go for an indepth investigation. I have to say would be timeconsuming but will be worth it.

                1 Reply Last reply
                0
                • V Vikram A Punathambekar

                  You must be very intuitive. :) I could be talking rubbish, but are you by any chance left-handed? Left handers are supposedly better at non-linear processing.

                  Cheers, Vikram. (Got my troika of CCCs!)

                  J Offline
                  J Offline
                  jayart
                  wrote on last edited by
                  #8

                  LOL no I am not. You may be right. Most of the left-handers I know are generally more creative.

                  1 Reply Last reply
                  0
                  • J jayart

                    At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

                    G Offline
                    G Offline
                    GenJerDan
                    wrote on last edited by
                    #9

                    I once had to send in an official report after "fixing" a tracking problem at a satellite station. "Disconnected one of the blue wires." That was it. Our docs were such that we couldn't figure out what that particular blue wire was for or, for that matter, what the other hundred or so blue wires were for. But disconnecting that particular one did the trick. Not a shining moment, but fun nonetheless.

                    1 Reply Last reply
                    0
                    • J jayart

                      At work it so happens that I fix quite challenging problems(typical non reproducible bugs which occur every hundred hours) but I cannot make out which fix exactly worked. It has happened twice till now. If I undo my fixes bug is reproducible. So definitely there is a fix in my version. Although my manager is impressed but I struggle to explain him and peers what fixed the issue. Most of the times I do know what fix worked but there are some times when I really dont think there is a logical connection with the symptons and my fixes but it works. huh I am going mad.

                      N Offline
                      N Offline
                      NickPace
                      wrote on last edited by
                      #10

                      Just grin, tell them "PFM", and walk into the sunset. Works for me anyway. :)

                      -NP Never underestimate the creativity of the end-user.

                      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