Showing posts with label bug report. Show all posts
Showing posts with label bug report. Show all posts

Wednesday, December 4, 2013

Fixing Adobe Master Collection CS4 on Windows 7 64bit...again

I am cleaning up and have decided to try again to get some more of CS4 working.  As a background, I purchased CS4 some time ago, then updated to Windows 7 64bit Enterprise and re-installed CS4.  At that point the pain began.  Most of the Adobe tools crashed on startup... the ones that reported an error often pointed at one of the plug-ins.  My conclusion is that many of the plug-ins do not like the 64bit architecture and were probably compiled for 32bit.  Rocket Science....  

Generally, I have been using this process:

1) Start the Application from the Master Collection... crash. (Sometime with an error message)
2) Cut the Plug-in directory from the application directory and past it somewhere else.
3) Re-start the application (often now works)...
4) Re-introduce the plug-ins bit by bit to eliminate the ones that cause a crash (often a number of them).


The result being that I have most of the basic functionality of the tools but without some of the plugins.  This is not ideal, as I paid a lot of cash for the whole toolkit... but its what I have to work with until some mythical upgrade in the future.

I had considered doing a clean uninstall, running the Adobe Cleanup tool and trying a new install but the chance of it bouncing and having to go through the mad drama I had last time has too high a cost to bare.

For instance, below is my debug of Photoshop.

Adobe Photoshop CS4 Extended 64bit

Plug-ins
 - Panels  (works)
- Measurements (works)
- Import-Export (works)
- Image Stacks (works)
- Filters (Works)
- File Formats (Works)
- Extensions (Broken)
----- FastCore.8BX (Works)
----- MMXCore.8BX (Works)
----- MultiProcessor Support.8BX (Works)
----- ScriptingSuport.8li ( BROKEN )
- Effects (Works)
- Automate (Works)
- ADM (Works)
- 3D Engines (Works)

 The scripting plug-in has been the cause of crashes on a number of other products and tends to be my first suspect in everything else.

A funny thing just happened.

On the Help Menu for Photoshop 64bit there was no "Update" option.  Then after opening the "System Info" item  and closing that dialog... suddenly the Update option appeared.

Photoshop has been weird on the 11.0.2 update.  It constantly wants to download and install the update but the update will not stick.  Photoshop always shows version 11.0.1.  When I manually downloaded and installed the update,(11.0.2) it claims that its already installed.  Running Update from the help menu just does it all again and seems to silently fail the update.

But when I run the Update option from the Now working Photoshop CS4 64bit.  There is a new patch waiting in addition to the usual 11.0.2 patches for the 32bit and 64bit versions of photoshop.  This patch seems to have installed and worked.. however 11.0.2 is still pending. 

There are some comments on the adobe forum about fixing this problem with the Cleaning tool but its such a huge risk that it may trash my whole installation that I am just not ready to do it.  I have tried updating Adobe Updater and that did nothing.  I think the patch is just silently failing. 

Adobe After Effects CS4

Same problem as above:
- Plug-ins
---- (I forget which sub-folder)
--- Scripting.AEX (Broken)

Friday, June 7, 2013

Visual Studio Update fixed flickering bug

Today I happened to start Visual Studio 2012 for an indirect reason and it told me there was an update for NuGet availible.  I let the update install... and then restarted and....   the horrible flickering and endless instability were gone.  

This behaviour has been paralysing my use of Visual Stuido for months.  I guess I can finally get back to the job I have had on hold... once I finish all the others that have filled the vacumme. 

Whoot!

(So, in hind sight... I guess its been the best part of 18 months since I have been able to make meaningful progress on that job due to all the f@#% ups with Visual Studio, Win7/8 and the features that were missing and finally showed up in service pack 1.  While my disgust knows no end... I have been using a bunch of other developement tools recently and know just how polished VS really is... despite some of its crippling flaws)  What a frustrating life we get to lead....

Thursday, April 11, 2013

Ugly Error Message from Outlook.com

I remember when C++ Template Compiler Errors were ugly.  Have a look at the following that just spewed from an MS mail server.

Is this really the kind of thing you want to spit to the client side??? Seriously?


Microsoft.Exchange.Clients.Security.LiveTransientHRESULTException: LiveId authentication code has returned error 0x80049234 PP_E_RPS_REASON_POST_TICKET_TIMEWINDOW_EXPIRED, indicating that there's a temporary problem with the remote server. Please check the Application event log for detailed information and retry the operation later. ---> System.Runtime.InteropServices.COMException (0x80049234): Post ticket time window expired. Ticket could be reposted. at Microsoft.Passport.RPS.Native.IRPSHttpAuth.AuthenticateRawHttp(String siteName, String httpVerb, String path, String QS, String httpVersion, Boolean bHTTPs, String httpHeaders, String httpBody, Object pAuthResultsBag) at Microsoft.Passport.RPS.RPSHttpAuth.Authenticate(String siteName, HttpRequest request, RPSPropBag propBag) at Microsoft.Exchange.Clients.Security.LiveIdAuthentication.Authenticate(HttpContext httpContext, String siteName, String& puid, String& orgIdPuid, String& cid, String& membername, UInt32& issueTime, String& responseHeaders, RPSTicket& rpsTicket, Boolean& hasAcceptedAccrual, UInt32& rpsAuthState) --- End of inner exception stack trace --- at Microsoft.Exchange.Clients.Security.LiveIdErrorHandler.ThrowRPSException(COMException e) at Microsoft.Exchange.Clients.Security.LiveIdAuthentication.Authenticate(HttpContext httpContext, String siteName, String& puid, String& orgIdPuid, String& cid, String& membername, UInt32& issueTime, String& responseHeaders, RPSTicket& rpsTicket, Boolean& hasAcceptedAccrual, UInt32& rpsAuthState) at Microsoft.Exchange.Clients.Security.LiveIdAuthenticationModule.OnAuthenticateRequest(Object source, EventArgs e)

Tuesday, March 26, 2013

Acrobat 9 Pro bug


I have been processing a bunch of scanned pdf's and running the OCR tool on them.  Since I had a pile to do, I created a "Advanced > Document Processing > Batch Processing > Batch Sequence" script in Acrobat to auotmate the process. Problem is, its results are bizare.

If I run the commands manually, I get a nice result. (OCR Text Plus smallish ~2MB file size)
If I run the commands by batch, I get a weird result (OCR Text Plust origional file size)  With the same options and the save options to reduce the files size turned on.

Also, If I run the OCR command manually, and then run the batch command on the same file, it detects the existing OCR text.  However, if I run the batch command first, then run the OCR command manually on the same file, it does not detect existing OCR text and seems to completely re-do the whole file (and do a much better job).

WTF?

The is with Acrobat 9 Pro.



 

Thursday, March 14, 2013

Floppy Disk attack on Zombie BIOS...

You know those sureal moments when something from the past comes back to life... wanders around and tries to eat your brain? 

I have had two of those in the past couple of days.  One was people from the past contacting me and having mid-life crisies... the other was a computer needing a floppy disk to fix a corrupt bios.

Talk about a blast from the past.  Even finding a functioning USB floppy drive is hard enough... then I had to scrounge for a floppy disk in working order.

But so far to no avail.  The machine is still in a loop of death ( it was working... ok-ish before I tried to flash the bios... but had obvious problems) So I am considering either canabalising it for parts or just dropping it down the stairs a couple of times....

I am still blown away that a floppy drive is the manufacturers fallback position... even for a machine that was never supplied with one.  It does make sense as BIOS basic features were carved in stone a few decades ago....

Whoa!....

Later.

Anyway, this machine looks like its bricked.

It powers up, with a normal HP boot screen... but the F9,F10 & F12 options do not work.  Then it quickly flicks to a black screen with the message:

"Your BIOS failed to complete update..... blah blah"  again with the F10 option mentioned at the bottom.  Again F10 does not work.

Then after a couple of seconds it reboots. Rince - repeat.

I have read my way across the net and tried all the recomended BIOS recovery procedures involving USB sticks, old bios images, win+b button combinations and have not found anything that has worked..(obviously)

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=3356620&prodTypeId=321957&prodSeriesId=3356620&objectID=c02693833

 It's interesting that when I run a BIOS recovery using the USB Floppy, you can hear it seek and start to read... but it still reboots on the same schedule. This suggests that the USB drivers, FAT driver and the disk driver are getting loaded... but something choaks or is corrupt and it reboots.

To me it sounds like the boot region of the bios has been corrupted and its just not able to set up enough of a rudimentary system to be able to reload the new BIOS image from the disk.  Keep in mind that the BIOS image that is supplied for flashing, is not the "whole" of the code in the BIOS eprom.  There are some other regions that are not always replaced when you "flash" the bios.  If these get corrupted...well the ability to repair them gets increasingly low-level.

From reading between the lines and looking at the discussion on the MyDigitalLife boards about BIOS mods... I think there is no reasonable way to replace this code without desoldering the BIOS chip and reloading it with a working image dumped from another machine (Ignoring the serial number issue... which can be managed)

As this sounds like fun.... I have thought about it... but realistically... I just don't have the time.  I have about 8-10 laptops of the same model and some are in worse shape than this one... but boot happy... so I think its canabal time. 

Friday, February 15, 2013

Access RecordSource & Dynaset not showing records

Just had a weird moment in Access land.

I have two forms that have been in use for a couple of years, suddenly they will not display records as I expected them to.

I was setting the RecordSource property using an SQL string which was working a couple of hours ago.  But now they are not showing any of the records.  However, if I put the RecordType to Snapshot... tada... all the records show up as expected.

After reading some forums, I found the solution here

http://bytes.com/topic/access/answers/763599-form-does-not-show-records-dynaset-mode-only-snapshot


The thing that is bothering me the most, is how did this come to be a bug I am only just finding?  Have the properties been reset somehow?  Has a patch fixed something?  I swear it used to work as expected... now...weird.

Anyway, I have updated my codebase to explicitly set the DataEntry property to false when I am "reviewing" records and it seems to work fine.  I just have to figure out if my users have different ideas about "fine".


Tuesday, February 5, 2013

Access 2010 corrupt database "File not found"

I had the unplesant experience of a corrupt database yesterday.  After doing some work, suddenly everthing started generating a "File not Found" error.  Clicking buttons, using the ribbon bar, trying to run any macros.  My database was fucked.

I tracked it back to a module that I had added... put a little bit of code in and then deleted earlier.  When I closed and opened the database the module still showed up in the tree in the VBA editor, but seemed to be "Empty" as every time I tried to open it... it flicked up the "File not found" error.  All the other modules worked as normal.


Anyway,  after trying to delete it, over-write it, modify its name etc... I gave up and created a new database, imported everything from the old one and got moving. The steps are:

NOTE. Make a list of the "References" in the VBA editor for your database at this point. (See below for more details to avoid getting screwed when you close the corrupt database. Just write them on a piece of paper or something low tech. They cannot be exported.)

1) Create a new database
2) In the new database go to "External Data" > Access
3) Select "Import tables, Queries, forms, reports, macros, and modules into the current database.  Select the old database file using the browse button and then click the OK button.
4) You will get a mega select dialog where you can select all the objects you want to import.  Generally you will want to use the "Select All" button on each of the tabs to make sure you get "Everything" from your old database.  Make sure you do not have the "Corrupt" item selected... if you are not sure what is corrupt... take it in a couple of bites and test the new database between bites.

5) Once the import has finished and you save the new database, you may still need to "Wire up" a couple of things in the new database. (Go to File > Options > Current Database) The things I had to setup were:

Application Options Section
* Application Title
* Application Icon
* Display Form

Ribbon and Toolbar Options
* Ribbon Name

These are just the options for my "Development" database. I turn off the navigation pane and the Default ribbon before I deploy the database to the users.

Hope this helps someone.


In the Visual Basic Editor, I has to recreate all the References. I had to open the old database and make a list of everthing and then manually add the references to the new database.

Unfortunatly, when I came to try to re-open the old database it was now throwing a much larger error

"The database cannot be opened because the VBA project contained in it cannot be read. The database can be opened only if the VBA project is first deleted. Deleting the VBA project removes all code from modules, forms and reports. You should back up your database before attempting to open the database and delete the VBA project. To create a backup copy, click Cancel and then make a backup copy of your database. To open the database and delete the VBA project without creating a backup copy, click OK."  mmmm shit!

Well after making a backup...  I opened the Database and deleted the VBA project and found that the references had gone with it..... fuckcicle!

I tried going back to one of the production copies but they have been compiled and the VBA project will not show the references.... fucked again.

Don't bother trying to decompile a previous version either:
http://stackoverflow.com/questions/3266542/ms-access-how-to-decompile-and-recompile

When I try this it gives me the error message "The VBA project in the datbase is corrupt".  Basically when it was compiled, it was stripped of all the symbols etc and they cannot be re-created.

Fucked again.

So my options are to "discover" the references that I need by trial and error.  I remember I had about 8-10 references, so it should not be tooooo hard.  I think the calendar control was the worst to find.

Where you have used early binding in your VBA you can discover missing references simply by running Debug > Compile Database.  This will highlight any types that you are using that have not been defined.  You can then search the net for which object library contains that type and references it correctly.




Bugger... just have to test everything in the damn database again.






Thursday, January 31, 2013

E-Prime 2 Context Logging Bug

Just found another weird issue with E-Prime 2.

The help file (and logic dictates) that if you call c.Log,  the context object should log the variables in that Level to the data file.

However, not only have I figured out how to not get that to work... I have figured out how to get a perfectly good TextDisplay object to not log keystrokes as it should.

The interesting thing is that the information is being correctly logged to the E-Recovery text file that E-prime generates but is not being converted to the .edat2 file.  I do not yet understand why.


Ok, the situation is this; I have in the SessionProc set up a loop using a couple of in-line script objects and a Label object to loop through some movie files and capture responses to them.  A bit hackish.

I have run the E-Recovery file through E-Recover and it gave me a hint that a "Complete Record" is surrounded by a "logframe start" and a "logframe end" tags in the text file.  Makes sense.

My problem is that there are 20-odd logframe start and logframe end tag pairs and it only seems to convert the first one.


Edit:

Ok, as usual there are a couple of "undocumented" features that you need to do to get this working.

You need to call the c.PushNewFrame before your objects and c.PopFrame after the objects have run to get the correct logging levels to appear and be processed by E-Recover.

For instance


c.PushNewFrame

'manually manipulate the objects using script files

c.Log
c.PopFrame

'Loop until exit


Easy once you know the solution.



Friday, January 25, 2013

E-Prime 2 RESP hidden characters. Bug or Gotcha?

I have just wasted some time tracking down a weird bug/feature/gotcha in E-Prime 2.

For example the code below is trying to detect a press of the space bar.

Debug.Print "Response is " & GetResponse.RESP

if GetResponse.RESP = "SPACE" then
    Debug.Print "Space bar pressed"
else

    Debug.Print "Something else pressed"
End if


In the debug window you can see:

Response is SPACE
Something else pressed

Why is this so? 

Because the Debug output window HIDES SOME CHARACTERS OF THE OUTPUT. 

The actual RESP text is "{SPACE}", but the Debug window silently cleans it up to "SPACE" which means that any text comparison you do based on the information you have from the Debug window will be wrong.

If you want to test this try:

Debug.Print "Length of RESP is " & Len(GetResponse.RESP)
Debug.Print "Response is " & GetResponse.RESP

You will see that the length of the string is two characters longer than the string that is output. I.e

Length of RESP is 7
Response is SPACE

Is this a bug, feature or gotcha? You decide.  Really depends how much of your valuable time you waste trying to figure it out.

How I have missed being able to set breakpoints or inspect the stack or any basic debugging tools in Eprime....

Friday, May 11, 2012

Download pain from Microsoft

I have spent the past two days trying to get a copy of the DirectX SDK from Microsoft in some form.  There is nothing else to do except call it broken.

After multiple restarts, alternate mechanisms, web searches, bitching in forums and twiddling with settings, I am throwing in the fucking towel.

I firmly think this is to do with some catastrophic weirdness in the CDN network.  Becasue after testing it in various ways, there seems to be a partial cache of whatever I have downloaded somewhere in the system... as it picks up from that same point, no matter what machine I start the download on.

Honestly, its been flakey as hell.  After the initial rush, it usually settles down at about 10-20kBs per second.  Which I could deal with as thats the sort of speed I get for everything at home, however the downloads just die.  They don't say they die... but they still quit and the browser thinks its fine.  The file is incomplete so it doesnt work.  The download is finished, so it can't be re-started.  More time wasted.

Should I try a download manager with a restart capacity?  Should I just get it as a torrent somewhere?

I have used the web installer to get the Windows SDK but because it has stopped and started so many times and fails silently ( while claiming to have finished) I just do not trust what its downloaded.

Just to be bloody minded, I have re-started the SDK download.... and watched it jump past the first 100 odd meg then drop down to a seady ~29kBs.  Not shoddy but not what I expected.

I am comming to the conclusion that either Microsoft has decided to throtle the shit out of their network, or something flakey is happening in their caching system.

If you look over the MS forums, there are repeated incidents of this kind of problem being reported with little seeming response.


Sep 2011
http://social.msdn.microsoft.com/Forums/en-US/msdnfeedback/thread/5ddfd202-1057-43f1-aef6-3e44243d7c1d


http://social.msdn.microsoft.com/Forums/en/msdnfeedback/thread/dacd34dd-bd5f-47c7-bd6c-352f61520f25


All the addresses I trace resolve back to Akamai servers in Sydney with virtually a hard link to aarnet which should give me a multi-megabit link straight through.  But I am still seeing a few kilobits per second.

Damit... just had another attempt drop out in Firefox.  Now there is only one DL manager session running.  All my hopes are pinned on it.


Monday, February 20, 2012

Menustrip disapears in Visual Basic

Fiddling with the resources in a project with a menustrip seems to cause the designer to re-write the XXX.Designer.vb file and drop some key lines from Menustrips ( I have also found references to toolstrip and status strips doing the same thing Here  and  Here and Here .

The problem is that the designer drops the lines that add the menustrip to the form and the sub-items to the menu strip.  I have hand corrected this... but it seems to recur.  (I'm using VS2010 at the moment but the above comments go back to VS2005... so it could be some shared code between the versions)

So on friday the missing line was

Me.TheMenuStrip.Items.AddRange({Me.FileToolStripMenuItem,....blah blah more top level items here})


Now I have lost the above line as well as all the lines on the drop down menus.  So the whole hierarchy has to be rebuilt by hand.

For example

 Me.FileToolStripMenuItem.DropDownItems.AddRange({Me.NewToolStripMenuItem, Me.LoadToolStripMenuItem, ... blah blah more drop down items})

My guess is that the designer will trash all my work at some point in the near future... so I need to find a fix.  Either completely re-create all this and hope it sticks,  turn the designer off or hand code the whole menu structure in a file outside the designers control ... other???


Yet another Pain Point that I don't need.

Wednesday, February 1, 2012

Adobe Photoshop CS4 has stopped working

"Adobe Photoshop CS4 has stopped working"

What a  fun and useless error message.  I've just finished installing CS4 Master collection on Win 7 64bit and photoshop is DOA. I have tracked the problem to a bad plug-in.

C:\Program Files (x86)\Adobe\Adobe Photoshop CS4\Plug-ins\Extensions\ScriptingSupport.8li.

I simply removed that plug-in from the directory (after much experimenting) and tada! working photoshop. Now to look for updates.


Then....

"Adobe has detected that the application Adobe Illustrator CS4 has unexpectedly quit." with a little popup about ScriptingSupport.aip.

Remove that plug-in and restart....

Now its "ScriptsMenu.aip" and "Services.aip" that its having trouble with but the program seems to be mostly functional.   Remove them aswell.

Now Illustrator loads without errors... stranger.


Then

"Adobe InDesign CS4 has stopped working".... pattern anyone?

Tried moving various bits from InDesign and I can't isolate the problem.

Moving on....


Acrobat works fine.

"After Effects error: Crash occured while invoking plug-in "Scripting"."  Tada!

If I remove the "Scripting.AEX"... After Effects loads and works. 

Contribute is still choaking on a missing serial number.... fix that later.

Bridge is playing dead.

Device Central seems fine.

"Adobe had detected that the application Adobe Encore has unexpectedly quit.".... really??? Ya think?
No obvious error messages and removing the plug-in's does not help... will try more later.

Extension Manager works.

Fireworks CS4 seems good.

Flash CS4 works fine.

Media Encoder CS4 seems fine.

On Location CS4 seems fine.

Premier Pro CS4 seems fine.

Soundbooth is choaking on a missing serial number. Fix that later.

Pixel Bender and Reader seem fine.

What a mess....


The next day

Run a whole bunch of updates via the auto updater. Just about everything seems to have received an update. ...

Acrobat 9.5.0 - Working
After Effects 9.0.3 - Crash while invoking plug-in 'Scripting".  A few more messages then the final creash report dialog.
Bridge ??? - ???
Contribute 5.0 - Working bar serial number
Device Central 2.0  - Working
Dreamweaver 10.0 build 4117 - Seems fine
Encore  -  Crash straight to crash report dialog.
Extension Manager - Seems fine.
Fireworks 10.0.3.011 - Seems fine.
Flash 10.0.2 - Seems fine.
Illustrator 14.0.0 - Loaded Fine (But useless as its missing tool panels) until I added the scripting plugin's back.  Then crash to crash report dialog.
InDesign 6.0.6 - ...has stopped working. Not even a crash report dialog....
Media Encoder 4.2.0.006 - Seems Fine.
OnLocation 4.0.3.003 - Seems Fine
Photoshop 11.0.2 - Broken again. Not even a crash report dialog.
Premier Pro 4.2.1 - Seems Fine.
SoundBooth 2.0.1 - (No serial still ) Seems fine.
Reader 10 - Seems fine.

Check for More Updates....
Says there were 6 updates pending...

Extension manager, Some common updates, Photoshop camera raw, Device central, Version Cue server... must have been something else I missed. 
Not much of use it would seem...

After Effects 9.0.3  - still crashes when invoking "Scripting" plugin.
Encore - Still crashes completely.
Illustrator - (With the scripting plugins still added ) still crashes. So I have removed them and it seems stable.
InDesign - still crashes to death.
Photoshop - Still crashes to death. (However if I remove the ScriptingSupport.8li plugin ... it works!)

I can live without AfterEffects, Encore and InDesign... but I would rather get what has been paid for...

Indepth fiddling

Indesign is loading all the pluging successfully but is crashing at "Initialising Panels".  Which seems to be where it start trying to "Use" the plug-ins.  So perhaps the coders for InDesign have just delayed the Initialisation step away from the load step... unlike the other dev teams.  Same crash problem just delayed in the setup.  My thesis is still that its a bad plugin.

Nope... remove all plugins and it still crashes at "Starting up Panels".... damit.

Pull out Process Monitor...

The last issue before it choaks to death is InDesign tries to create a file in a write protected directory.
"C:\Program Files (x86)\Adobe\Adobe InDesign CS4\ExtendScriptResources\extendscript-en_GB.dat"

The file does not exist and the directory is write protected....

Remove the write protection.... what do you know... I can't.... after trying much stupidity... I copied another of the data files ( the en_US.dat) and renamed it and it now is not failing in ProcMon. (This missing file is probably a bug for Adobe to fix but it does not seem like its the cause of this crash.

The final line in ProcMon before the thread exits is querying a Quicktime file QuickTime.qts which works.... interestingly when I filter for quicktime in the path, there is a missing dll called QuickTimeGlue.dll. It should be in the InDesign directory.??? Not sure if this is significant. Quick copy and paste from one of the other Adobe products and.... still dead on arrival.

Incompatable with DisplayFusion?   Nope.

Lots of Buffer Overflows reported.  Seems to be making a mess looking at some security files....
Couple of Buffer Too Small's... nasty.

All manner of issues in the ProcMon trace but mostly its just noise... nothing obvious to track down.  Just evidence of lazy programming.

Dead end?

Time to crack open the debugger....  crash is happening in ntdll.dll which is a system file. 

Im getting an unhandled exception at 0x773415de in ntdll.dll.  Its just incrementing a register by 4. Probably walking a data structure or overflowing a buffer....

Ok, after a very long pile of Unhandled exceptions..... I got bored.  This is a mess that I just cannot gracefully fix. 

On to other problems. 





Friday, January 20, 2012

On the Oracle SCN flaw

http://www.infoworld.com/d/security/fundamental-oracle-flaw-revealed-184163-0?page=0,5

This is an interesting problem with some complicated solutions.  Since the problem really is unpredictable growth in a very large number with cross infection between critical systems... then there seems to be some fairly straight forward solutions.

The first is what Oracle have done, which is to patch and innoculate recent versions.  Another would be to raise the ceiling of the soft limit... again they have done that.... another would be to expand the hard limit by adding a second number as a multiplier which would allow the hardlimit clock to roll over and turn the SCN into a much larger number.... this reduces the possibility of hitting the hard limit while remediation is made.

The last solution would be to remove the hard synchronisation requirement between databases in large interconnected data centers and instead simply have a synchronisation table for each connected database.  This way there is a stupidity buffer between the instances SCN ( which it only increments ) and the SCN of any other instance.  If the two DB's need to keep in step, then they keep a step difference in a table and do some math as needed.  This way the only thing that increments a db's SCN is the actual transactions that are happening in that db. 

So even if one db is poisoned with a large SCN or during the patching older systems get in a tangle with low soft ceilings then there is no propogation of SCN's through the interconnects. Its just table data that a dba can get in and edit to correct. Then reconnect the sane db's and get on with the buziness.

These interconnect SCN offsets will probably have to be tracked in the logs and reconciled where needed, the point is to stop it being a hard requirement and allow the dba's to set and correct as they need.

The biggest problem is just how fundamental this part of the architecture is. Any changes will take a massive amount of testing and care on Oracles part. 

Monday, January 16, 2012

Weird win7 system reserved partition bug

Had a new workstation delivered today.  Started familiarising myself with it and poking around as I am inclined to do. I found that the system partition was about half the hard disk and the rest was missing.  So opened up disk manager and found that the partition layout was:

39MB OEM partition
233GB "System Reserved" partition (no drive letter)
232GB Active Partition mapped to C: drive.

Being curious and wanting the space back, I mapped a drive letter onto the system reserved partition and had a poke around.... turns out there was nothing in there except an altirus cfg file.

I had a google about and the system reserved partition for win7 enterprise should only be 100MB by default... (unless hackery was involved) so I'm a bit baffled by how this has happened.  The IT staff who built the machine did not create this layout intentionally so something weird seems to have happened during the partitioning step in the installer.

My next job is to either fix it or live with it... I don't really want to have the machine re-imaged... and I like seperation of system and data so its actually quite fine for me.  The only element that's making trouble is the stupid hidden boot files in the partition root.  I don't want them floating around in a partition I am actually using for data.

Weirdness....


Ok, the solution was to shrink the 233GB partition down to a reasonable size (300MB rather than 100MB as recommended in some article I read somewhere)  then use GPartEd to move the C partion into the empty space and then extend the C partition to use the new space. (Seems that someone thinks one mega partition is prefereable to multiple partitions on the new workstation image)