The most common method for corrupting compressed files is to inadvertently do an ASCII-mode FTP transfer, which causes a many-to-one trashing of CR and/or LF characters.
Obviously, there is information loss, and the best way to fix this problem is to transfer again, in FTP binary mode.
However, if the original is lost, and it's importa...
I have a large number of files in a .tar.gz archive. Checking the file type with the command
file SMS.tar.gz
gives the response
gzip compressed data - deflate method , max compression
When I try to extract the archive with gunzip, after a delay I receive the message
gunzip: SMS.tar.gz: unexpected end of file
Is there any way to...
I have been maintaining the git mirror of the watir project. Some time a couple weeks ago, we had someone ready to submit their first git-based patch. Unfortunately, we ran into some issues regarding line endings (CRLF vs. LF, etc.) because of the multi-platform nature of the project.
I tried what I could to set the autocrlf option (t...
I'm encountering a very strange problem concerning what appears to be a corrupt index of some kind. Not corrupt in the sense that dbcc checkdb will pick it up, but corrupt in the sense that it has rows that it shouldn't have.
I have two tables, TableA and TableB. For the purposes of my application, some rows are considered functionally ...
hello,
i'm looking at a core from a process running in Unix.
Usually I can work my around and root into the backtrace to try identify a memory issue.
In this case, I'm not sure how to proceed.
Firstly the backtrace only gives 3 frames where I would expect alot more.
For those frames, all the function parameters presented appears to co...
I am attempting to create a permutation, and I receive this strange error when I finish my problem:
Stack around the variable "temp" was corrupted
the segment of the variable is within a nested for loop:
for(int i = 0 ; i < str_length ; i++)
{
for(int j = 0 ; j < str_length ; j++)
{
char temp[1];
temp[1] = text[i];
text[i] =...
My mind was wandering today on the topic of function pointers, and I came up with the following scenario in my head:
__stdcall int function (int)
{
return 0;
}
int main()
{
(*(int(*)(char*,char*))function)("thought", "experiment");
return 0;
}
AFAIK this code would corrupt the stack, so what types of issues could I be loo...
I just managed to corrupt contents of my Eclipse .metadata directory. Starting up with eclipse -clean did not work out. Deleting .metadata and then importing all projects, plugins and setting does not sound too interesting. I ended up moving .metadata/.plugins/org.eclipse.core.resources/ elsewhere and reimporting my projects only.
Are t...
I tried to create a jar file from a java project, which uses some external jars. I created a lib folder and put all the jars I need there.
I run the project in eclipse by adding all the jars in the lib folder to the Build Path and it works ok.
When I try to create the jar with ant from build.xml, it seems ok, no error is shown.
When I...
I have a function that builds a collection of user objects from the database:
public static function GetUsersByGroup($instanceID, $groupID)
{
$col = null;
if($groupID != null)
{
$col = UserGroup::GetCollection("User" ,_DB_GET_ALL_INSTANCE_USERGROUP_MEMBERS,array ($instanceID, $groupID));
}
els...
I'm running Debian on VMWare Player on an XP SP3 host.
I'm using VMWare's folder share. I'm running jetty on Debian, and editing files in Windows.
I have the following stange behavior:
Jetty is running
I edit a javascript file (that's being served by jetty) in a editor in Windows, and hit save.
I reload the webpage in a browser, an...
Hi
I am having a weird problem with variable values. This is the code (it is part of a class method):
MyAppDelegate *pDelegate = [[UIApplication sharedApplication] delegate];
SomeDictionaryData *appData = [pDelegate.theData retain];
NSLog(@"my instance var: %@",cardIndex); // outputs "my instance var: 4"
NSDictionary *currentCard = [...
hi all
I have created a sample report using Crystal report 8.5 and vb6.0
Every thing goes normal till I try to export the report to Pdf format by its export icon.
As soon as I do that, the report texts are damaged and nothing could be readable.
How to fix it?
Thank you
...
on some computers, when a client opens the specific html page, part of the vbscript code on the client side gets trashed with hyphens. i saw that the vbscript code on that page was composed of one huge code section enclosed in script start and end tags.
i decided to fragment it to small sections, and it seemed better, but when i fragmene...
basically trying to remove corrupt, prematurely ending jpeg files from a collection. i figured if the end of file marker was absent then that meant the image is truncated and therefore i would consider it invalid for my purposes.
is this method of checking sound? if so any ideas of how i could implement this in php?
cheers
...
I'm using CVSNT. I added a Microsoft 2007 docx file "as text" to the repository. After committing and before updating I tried to open the file again but was unable to. It said it was corrupt.
I tried using the office word doc recovery and that was unable to recover the document.
From what I understand I should've added the word doc a...
Hi,
What could cause WireShark to show (example) 'xxxxxxxxxxx' on the sending machine, and then show 'xxxxxxxxxii' on the receiving machine? Note that it's not WireShark showing wrong data, the data is actually corrupted when it arrives, causing our TCP/IP protocol to get out of sync.
This is not the real data sent, but this is the pa...
I have a MFC class derived from CStdioFile declared as follows
// Datafile.h
class CDataFile : public CStdioFile
{
public:
CDataFile(void);
~CDataFile(void);
int OpenFile(LPCWSTR FileName);
}
After my OpenFile function is called the FileName variable is being corrupted.
int CDataFile::OpenFile(LPCWSTR FileName)
{
m_OpenFl...
I'm using jasperreports 3.5.3 for generating a large (but simple) report. Only a table with strings.
When I list a big enough selection the generated file is corrupt. Excel alerts the user and some data is corrupted. But if I filter the data to show some rows including the offending one it's generated normally.
Does someone have experi...
Hi all, i think ive managed to corrupt one of mercurial repositories, is there anyway to recover the damage? the message i get when attempting to update the repo to my default branch is:
PS C:\wco\projects\ims\code> hg up -C default
abort: data/Trunk/application/models/priority_model.php.i@83dbdfb60981: no match found!
when i run hg v...