Click here to Skip to main content
15,914,165 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: bug solving poll Pin
Dexterus22-Sep-13 22:32
Dexterus22-Sep-13 22:32 
GeneralRe: bug solving poll Pin
Per Söderlund23-Sep-13 0:44
Per Söderlund23-Sep-13 0:44 
GeneralRe: bug solving poll Pin
V.22-Sep-13 22:33
professionalV.22-Sep-13 22:33 
GeneralRe: bug solving poll Pin
grralph122-Sep-13 23:44
grralph122-Sep-13 23:44 
GeneralRe: bug solving poll Pin
Tom Deketelaere22-Sep-13 23:14
professionalTom Deketelaere22-Sep-13 23:14 
JokeRe: bug solving poll Pin
dan!sh 22-Sep-13 23:51
professional dan!sh 22-Sep-13 23:51 
GeneralRe: bug solving poll Pin
Brady Kelly23-Sep-13 0:02
Brady Kelly23-Sep-13 0:02 
GeneralRe: bug solving poll Pin
Gary R. Wheeler23-Sep-13 2:12
Gary R. Wheeler23-Sep-13 2:12 
I had a bug once that took over a year to find and correct. I never gave up on the problem, but I would leave it and come back to it, sometimes weeks later. This is the only time I was desperate enough to use a link map to figure out in release-compiled code where a crash was taking place (this was a native app).

There's always a critical piece of information to understanding the problem that you don't find out until the end. Once you find that bit, the problem's straightforward to fix.

In my case, my app would randomly crash at a couple customers' locations, approximately once a week. We make commercial ink-jet printing systems, and my app is the user interface for the machine. It turns out these customers were shutting down their press hardware, but leaving the controller computer powered up, with the UI sitting on a particular screen. Overnight this was okay, but over a weekend the crash seemed to happen more often. The critical piece of information was that the customers were leaving the app sitting at that screen for long periods. I could simulate this at my desk. Eventually, running the simulation speed very fast, I could cause the crash in a few minutes.

As it turns out, the app was leaking a GDI handle during a polling operation, and when the app finally reached the limit, it would crash.
Software Zen: delete this;

GeneralRe: bug solving poll Pin
Per Söderlund23-Sep-13 2:44
Per Söderlund23-Sep-13 2:44 
GeneralRe: bug solving poll Pin
Per Söderlund23-Sep-13 19:52
Per Söderlund23-Sep-13 19:52 
GeneralRe: bug solving poll Pin
Gary R. Wheeler24-Sep-13 7:12
Gary R. Wheeler24-Sep-13 7:12 
GeneralRe: bug solving poll Pin
jeron123-Sep-13 4:26
jeron123-Sep-13 4:26 
GeneralRe: bug solving poll Pin
H.Brydon23-Sep-13 4:43
professionalH.Brydon23-Sep-13 4:43 
GeneralRe: bug solving poll Pin
kmoorevs23-Sep-13 5:39
kmoorevs23-Sep-13 5:39 
GeneralRe: bug solving poll Pin
Member 419459323-Sep-13 17:02
Member 419459323-Sep-13 17:02 
GeneralRe: bug solving poll Pin
PIEBALDconsult23-Sep-13 18:06
mvePIEBALDconsult23-Sep-13 18:06 
GeneralA happy video to start your week Pin
_Maxxx_22-Sep-13 16:10
professional_Maxxx_22-Sep-13 16:10 
GeneralDownloading Windows Server 2012 R2 Standard... Pin
Brisingr Aerowing22-Sep-13 7:14
professionalBrisingr Aerowing22-Sep-13 7:14 
GeneralRe: Downloading Windows Server 2012 R2 Standard... Pin
Klaus-Werner Konrad22-Sep-13 7:34
Klaus-Werner Konrad22-Sep-13 7:34 
GeneralRe: Downloading Windows Server 2012 R2 Standard... PinPopular
devenv.exe22-Sep-13 7:52
professionaldevenv.exe22-Sep-13 7:52 
GeneralRe: Downloading Windows Server 2012 R2 Standard... Pin
User 5924122-Sep-13 17:34
User 5924122-Sep-13 17:34 
GeneralRe: Downloading Windows Server 2012 R2 Standard... Pin
Mark_Wallace22-Sep-13 19:56
Mark_Wallace22-Sep-13 19:56 
GeneralAs time moves on Pin
loctrice_22-Sep-13 5:25
loctrice_22-Sep-13 5:25 
GeneralRe: As time moves on Pin
LloydA11122-Sep-13 6:14
LloydA11122-Sep-13 6:14 
GeneralRe: As time moves on Pin
Brisingr Aerowing22-Sep-13 7:34
professionalBrisingr Aerowing22-Sep-13 7:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.