Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

CRITICAL OFF-by-32-KiB-BUG | Eric | LZMA2 (Users)

posted by DOS386, 10.04.2013, 12:00

(quoting Eric Auer):

> I just had an idea ... what if a pointer or counter is updated in a
> non- atomic way where some block count or the upper N bits could get
> updated concurrently while multi-threading, somehow skipping 32 k of data?

yeah ... I still suspect HX threading ... one is already confirmed: BUG

> I don't know all the details. LZMA2 is supposed to be better for
> multithreaded compression. Not sure about decompression

My archives causing the BUG were all created with 4.65 and LZMA1.

LZMA2 AFAIK should prevent excessive expansion on poorly compressible or incompressible data, apart from quad-core support not available in DOS anyway.

> When it run under DOS it's limited but under XP it can reach >2GB and maybe
> 4GB (on NTFS)

I got 21 GiB under EDR-DOS on FAT :-) Anyway, I suspect that under XP the thread/interrupt hazard might NOT be able to occur the same way as it does in DOS.

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 314 users online (0 registered, 314 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum