Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 11:40

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: Quickbms bug
PostPosted: 26 Nov 2010 05:19 

Joined: 27 Feb 2009 04:03
Posts: 11
There appears to be a bug in gzip decompression using quickbms.
i can extract a few files at a time like this but when i extract multiple gzlip archives using one script the program runs out of memory but if i start 1/2 way through the same file it extracts those files that it failed at at first.


Top
 Profile  
 
 
 Post subject: Re: Quickbms bug
PostPosted: 26 Nov 2010 19:14 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
inserted in the "todo", I have not yet checked it but if you have seen the problem I'm sure it's there :)


Top
 Profile  
 
 Post subject: Re: Quickbms bug
PostPosted: 12 Dec 2010 23:47 

Joined: 27 Feb 2009 04:03
Posts: 11
Here is a sample for you to see.
http://www.sendspace.com/file/mpb4fz
I had to make quickbms export .gz files otherwise i would get random memory errors.


Top
 Profile  
 
 Post subject: Re: Quickbms bug
PostPosted: 13 Dec 2010 12:05 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
ah thanx I just forgot to ask for a sample because I had problems to replicate it :)


Top
 Profile  
 
 Post subject: Re: Quickbms bug
PostPosted: 13 Dec 2010 12:11 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
uhmm I have used the virtua_fighter_5.bms script on my website but I had no problems during the extraction.
I have even used it in loop ("for goto 0 ... next") but it still continues to use only 50 megabytes of RAM in total.

do you have a way to replicate the problem you see?


Top
 Profile  
 
 Post subject: Re: Quickbms bug
PostPosted: 13 Dec 2010 21:48 

Joined: 27 Feb 2009 04:03
Posts: 11
I did not know you made a script i will try it on some files i had problems with. Why do you need to set the endian little for gzip?
I did not set it to little in my script i had made and i was able to extract all the files but only about 1 - 3 per pass ill try to replicate it for you.


Top
 Profile  
 
 Post subject: Re: Quickbms bug
PostPosted: 14 Dec 2010 00:48 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I guess that one is the reason of the memory consuming you had.
in short the gzip files have the size of the original file set at their end and for reading it I used the function that takes care of the global endianess.
but in the next version I will remove it because this is the proof that even on big endian systems gzip maintains the little endian size at the end


Top
 Profile  
 
 Post subject: Re: Quickbms bug
PostPosted: 14 Dec 2010 02:18 

Joined: 27 Feb 2009 04:03
Posts: 11
Al that explains a lot i understand what was happening now. Well I would keep that in mind for your tool in the future but now i can just wait for the new version. Thanks again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: