Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations
Crash and Burn
An annoying bug that had one developer here tearing his hair out (our would have, had he any) - an ASCX user-control that has been working fine for a few weeks started to cause strange Visual Studio crashes or hangs.
The project compiles - and runs - fine, but if he opens the code in Visual Studio in Design mode (or in Code mode and then switches to Design), the Studio would crash when switching to Code view, or hang when saving.
 
We tried this on different machines, I tried erasing the code-behind file - no go
When I started going over the ASCX manually, in Notepad (it's a huge ASCX, with lots of different tables that get alternately shown or hidden) I finally spotted the problem - inside a small TD tag somewhere in the middle the text got corrupted - the Style tag had about 8000 spaces inserted between the opening quote mark and the first css attribute - a bit hard to see when you're working without word-wrap and you can't see the end of the line.
Erased it in Notepad and reopened it in VS - works like a charm.
 
I don't know who to blame for the text corruption - my guess would be Clearcase.
 
[Update: It seems there's a known bug that causes Visual Studio to corrupt files located in ClearCase views]
 
 

Published Friday, November 26, 2004 11:50 AM by AvnerK

Filed under:

Comments

# re: Crash and Burn@ Friday, November 26, 2004 7:01 AM

Why was I not amazed to hear ClearCase (or in fact, any other Rational tool) was involved?

Omer van Kloeten

# re: Crash and Burn@ Friday, November 26, 2004 7:04 AM

You have my sincere sympathies if you have to work with the nightmare that is clearcase.

Is there any chance you can point me at a web reference documenting this bug? I'd love to have yet another document to throw at my managers to convince them that we need to throw rational away :)

Geoff Appleby

# re: Crash and Burn@ Friday, November 26, 2004 9:23 AM

This is the hotfix we applied:
http://support.microsoft.com/default.aspx?scid=kb;en-us;875516&Product=vsnet

Hopefully it'll solve some problems, but it still won't fix their basic problem - that using ClearCase Remote Views is like programming with three broken fingers and a mild concussion. Having the code sit on a network share is bad enough, but if you don't go and explicitly change the output dir to a local drive, you'll have each build process take whole MINUTES. When you're used to quite change-compile-check loops, having to wait 45 seconds for a small C# project to build is a sure way to break your train of thought.

Check out some more known bugs here:
http://support.microsoft.com/search/default.aspx?query=clearcase&catalog=LCID%3D1033&pwt=false&title=false&kt=ALL&mdt=0&comm=1&ast=1&ast=2&ast=3&mode=a

Avner Kashtan

# re: Crash and Burn@ Friday, May 25, 2007 8:23 AM

<a href="extremedrawing.tripod.com/">adult comics</a>

Gdsffsd

# re: Crash and Burn@ Sunday, June 15, 2008 1:40 PM

But you are say, that this idead is bad?,

Oxvezybn

# re: Crash and Burn@ Tuesday, June 24, 2008 7:57 PM

Stop! Try to read this interested book:,

Kwpptgnv

Leave a Comment

(required) 
(required) 
(optional)
(required)