Folks,
The GZipStream class in .NET is throwing an exception during an OS
unseal/power up (first boot experience). The .NET system is fully up as
other apps seem to run fine.
Our code works fine when testing it on a PC that is already up.
After googling we found some people having similar issues when using
SQLServer ... but we are not using it.
Has anyone seen this?
-jeff
.........
I think we could use some advice/analysis from Microsoft on this stack
trace, which is showing an exception from the GZipStream implementation. I
have Googled this and only found issues with people apparently misusing
SQLServer, nothing relating to compression/decompression. This occurs
occasionally during an OS unseal/power up:
......................Module: System.Runtime.Remoting.Proxies.RealProxy
Exception 1: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: System
Site: Void CreateTable()
*** Stack Trace ***
Server stack trace:
at System.IO.Compression.HuffmanTree.CreateTable()
at System.IO.Compression.HuffmanTree..ctor(Byte[] codeLengths)
at System.IO.Compression.Inflater.DecodeDynamicBlockH eader()
at System.IO.Compression.Inflater.Decode()
at System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset,
Int32 length)
at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset,
Int32 count)
at System.IO.Compression.GZipStream.Read(Byte[] array, Int32 offset,
Int32 count) 4 3432
You'll have to be more specific. What is the GZipStream instance attempting
to do? When exactly does the application start? What is the exception?
--
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
"Arnie" <je*****************@msn.comwrote in message
news:8E**********************************@microsof t.com...
Folks,
The GZipStream class in .NET is throwing an exception during an OS
unseal/power up (first boot experience). The .NET system is fully up as
other apps seem to run fine.
Our code works fine when testing it on a PC that is already up.
After googling we found some people having similar issues when using
SQLServer ... but we are not using it.
Has anyone seen this?
-jeff
........
I think we could use some advice/analysis from Microsoft on this stack
trace, which is showing an exception from the GZipStream implementation.
I have Googled this and only found issues with people apparently misusing
SQLServer, nothing relating to compression/decompression. This occurs
occasionally during an OS unseal/power up:
.....................Module: System.Runtime.Remoting.Proxies.RealProxy
Exception 1: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: System
Site: Void CreateTable()
*** Stack Trace ***
Server stack trace:
at System.IO.Compression.HuffmanTree.CreateTable()
at System.IO.Compression.HuffmanTree..ctor(Byte[] codeLengths)
at System.IO.Compression.Inflater.DecodeDynamicBlockH eader()
at System.IO.Compression.Inflater.Decode()
at System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset,
Int32 length)
at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset,
Int32 count)
at System.IO.Compression.GZipStream.Read(Byte[] array, Int32 offset,
Int32 count)
See the exception at the end of the thread.
"Index was outside the bounds of the array" ...
It is doing a simple unzip of a compressed file/data.
It works fine when running on a PC ... it is failing during the "unseal"
phase of the first boot experience (when a customer gets their new PC and
turns it on the first time ... we run a few things).
I'm assuming this is more of a system question than a .NET question but
wanted to try here anyways.
-jeff
"Kevin Spencer" <un**********@nothinks.comwrote in message
news:OF**************@TK2MSFTNGP02.phx.gbl...
You'll have to be more specific. What is the GZipStream instance
attempting to do? When exactly does the application start? What is the
exception?
--
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
"Arnie" <je*****************@msn.comwrote in message
news:8E**********************************@microsof t.com...
>Folks, The GZipStream class in .NET is throwing an exception during an OS unseal/power up (first boot experience). The .NET system is fully up as other apps seem to run fine. Our code works fine when testing it on a PC that is already up. After googling we found some people having similar issues when using SQLServer ... but we are not using it. Has anyone seen this? -jeff
........
I think we could use some advice/analysis from Microsoft on this stack trace, which is showing an exception from the GZipStream implementation. I have Googled this and only found issues with people apparently misusing SQLServer, nothing relating to compression/decompression. This occurs occasionally during an OS unseal/power up: .....................Module: System.Runtime.Remoting.Proxies.RealProxy Exception 1: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: System
Site: Void CreateTable()
*** Stack Trace *** Server stack trace:
at System.IO.Compression.HuffmanTree.CreateTable()
at System.IO.Compression.HuffmanTree..ctor(Byte[] codeLengths)
at System.IO.Compression.Inflater.DecodeDynamicBlockH eader()
at System.IO.Compression.Inflater.Decode()
at System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset, Int32 length)
at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.Compression.GZipStream.Read(Byte[] array, Int32 offset, Int32 count)
Arnie wrote:
See the exception at the end of the thread.
"Index was outside the bounds of the array" ...
It is doing a simple unzip of a compressed file/data.
Are you sure it can access that file? Might there be an issue with
permissions not having yet been set during the "unseal" phase?
It works fine when running on a PC ... it is failing during the
"unseal" phase of the first boot experience (when a customer gets
their new PC and turns it on the first time ... we run a few things).
I'm assuming this is more of a system question than a .NET question
but wanted to try here anyways.
You could try SharpZipLib instead http://www.icsharpcode.net/OpenSource/SharpZipLib/
Andrew
Thanks for the ideas Andrew. We'll check on the permissions.
Here is a bit more details in case it triggers something for the group.
What is the GZipStream instance attempting to do?
> as shown in the stack trace, we are attempting to read compressed data using GZipStream from a SecureStorage stream that was written using GZipStream:
at System.IO.Compression.GZipStream.Read(Byte[] array, Int32 offset,
Int32 count)
When exactly does the application start?
>"This occurs occasionally during an OS unseal/power up"; the Agilent License service is started automatically by SCM.
What is the exception?"
>as shown in the stack trace: "Exception 1: System.IndexOutOfRangeException"
It should be sufficient for Microsoft to see that we are simply calling
System.IO.Compression.GZipStream.Read().
"Andrew Morton" <ak*@in-press.co.uk.invalidwrote in message
news:uM**************@TK2MSFTNGP04.phx.gbl...
Arnie wrote:
>See the exception at the end of the thread.
"Index was outside the bounds of the array" ...
It is doing a simple unzip of a compressed file/data.
Are you sure it can access that file? Might there be an issue with
permissions not having yet been set during the "unseal" phase?
>It works fine when running on a PC ... it is failing during the "unseal" phase of the first boot experience (when a customer gets their new PC and turns it on the first time ... we run a few things).
I'm assuming this is more of a system question than a .NET question but wanted to try here anyways.
You could try SharpZipLib instead http://www.icsharpcode.net/OpenSource/SharpZipLib/
Andrew This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kevin Yu |
last post by:
is it a bad programming design to throw exception in the try block then
catch it??
|
by: Craig Buchanan |
last post by:
when i try to open a file that has been compressed with GZipStream (source
from microsoft's 101 Samples for Visual Studio 2005), i get an "invalid
archive" message from winzip, zipgenius and xp's...
|
by: hakan.thornqvist |
last post by:
I am using GZipStream for compression, and the size and contents of
the compressed byte array differs from time to time, using the same
source.
byte uncompressed =...
|
by: sedwick |
last post by:
I'm using .NET 2.0.50727 in VS 2005 Pro, ENU Service Pack 1 (KB926601). I've been experimenting with the System.IO.Compression classes GZipStream and DeflateStream, and I found it interesting to...
|
by: pierreuk |
last post by:
Hi All,
I have been looking at the best way of doing this but can't find a solution that doesn't involve using bytes array.
Basically I want to wrap a XmlTextWriter in a GZipStream so I produce...
|
by: =?Utf-8?B?QkRSaWNoYXJkc29u?= |
last post by:
Hi,
I have been using the new GZipStream classes, and have been experiencing
problems when attemping to decompress files, which from experience, seem to
be failing when the original file size...
|
by: DR |
last post by:
Why is its substantialy slower to load 50GB of gzipped file (20GB gzipped
file) then loading 50GB unzipped data? im using
System.IO.Compression.GZipStream and its not maxing out the cpu while...
|
by: DR |
last post by:
Why is its substantialy slower to load 50GB of gzipped file (20GB gzipped
file) then loading 50GB unzipped data? im using
System.IO.Compression.GZipStream and its not maxing out the cpu while...
|
by: =?Utf-8?B?TWFydGluIE1hZHJlemE=?= |
last post by:
Hi,
i've got problems with CryptoStream and GZipStream. Someone tried that? Or
got any idea why this wont work?
i tried every combination, first i used CryptoStream, after that GZipStream.
Or...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |