Extraction failed data error

BlueStacks ошибка установки Ошибка при установке BlueStacks. Эмулятор BlueStacks является самым известным эмулятором андроид устройства. Хотелось бы поговорить о самых известных ошибках при его установке. Кроме того, узнаем, что означают эти ошибки. Найдем способы по их устранению. Ошибка PROGRAM_DATA_ZIP_EXTRACT_FAILED. «К сожалению, не удалось установить BlueStacks. BlueStacks обнаружил ошибку во время выгрузки некоторых файлов». Из […]

Содержание

  1. BlueStacks ошибка установки
  2. Ошибка PROGRAM_DATA_ZIP_EXTRACT_FAILED.
  3. Error FAILED_TO_CREATE_VMCONFIG
  4. Код GL_UNSUPPORTED
  5. Ошибка BlueStacks VTS_DISABLED
  6. Заключение
  7. 7-Zip Discussion
  8. A free file archiver for extremely high compression
  9. Forums
  10. To Igor : Sometimes extraction fails with SZ_ERROR_DATA
  11. Error when extracting failed records from data insight scorecard
  12. Ошибка в данных CRC как исправить
  13. Что такое CRC
  14. Особенности возникновения ошибки
  15. Ошибка в данных CRC — проблемы с жёстким диском
  16. Как исправить ошибку CRC — альтернативные варианты
  17. Заключение

BlueStacks ошибка установки

Ошибка при установке BlueStacks. Эмулятор BlueStacks является самым известным эмулятором андроид устройства. Хотелось бы поговорить о самых известных ошибках при его установке. Кроме того, узнаем, что означают эти ошибки. Найдем способы по их устранению.

«К сожалению, не удалось установить BlueStacks. BlueStacks обнаружил ошибку во время выгрузки некоторых файлов». Из кода ошибки PROGRAM_DATA_ZIP_EXTRACT_FAILED ясно, что проблема в распаковке архива. Скачанный и распаковываемый ZIP-архив поврежден. Архив скачался битый, с ошибкой.

Поврежденный ZIP-архив установки BlueStacks

Почему не срабатывает датчик приближения в телефоне? Как решить проблему? Читать

В данном случае необходимо:

  • удалить все уже установленные файлы эмулятора с вашего пк;
  • скачать установочный exe-файл сначала;
  • установить вновь скачанный install.

Что делать? В процессе обновления BlueStack произошел сбой. Читать

Error FAILED_TO_CREATE_VMCONFIG

В переводе на русский, этот код означает ОШИБКА_В_СОЗДАНИИ_ВИРТУАЛЬНОЙМОДЕЛИКОНФИГУРАЦИИ. Другими словами, произошла ошибка в автоматической настройке эмулятора.

Ошибка установки конфигураций BlueStacks

  • попробуйте удалить предустановленный файлы эмулятора BlueStacks;
  • перезагрузите пк;
  • установите сначала.

Brawl Stars код как получить много денег и алмазов? Читать

Код GL_UNSUPPORTED

«Ваш компьютер не удовлетворяет минимальным системным требованиям. Ваши видеокарта или драйверы к ней не поддерживают BlueStacks».

Ошибка GL_UNSUPPORTED при установке BlueStacks

  • проверьте новые обновления драйверов для вашей видеокарты;
  • обновите системные требования вашего ПК. (купите новый, либо обновите видеокарту, подходящую к вашей материнской карте);

Код GL_НЕПОДДЕРЖИВАЕТСЯ. Что такое GL? GL = OpenGL. Это открытая графическая библиотека. Она определяет независимый от языка программирования кросс-платформенный программный интерфейс. Он нужен для написания приложений, использующих двумерную и трёхмерную компьютерную графику.

  • попробуйте скачать и установить новый OpenGL.

Прохождение 12 замков часть 2 игра. Секреты и коды в игре. Читать

Ошибка BlueStacks VTS_DISABLED

Похоже у вас отключена технология виртуализации (VT).

Почему вылетает Instagram при запуске? Белый экран в приложении Instagram. Читать

  • войдите в BIOS в момент загрузки компьютера;
  • ищите строку виртуализация;
  • с disable нажмите enable

Куда и как вводить коды в игре Клуб Романтики? Читать

Заключение

Эти ошибки решаются просто и логично. Сама система BlueStacks хорошо информирует пользователя в всплывающих сообщениях с кодом ошибки. Надеемся вы успешно решите вашу проблему с установкой эмулятора. Нашли новую ошибку при установке? Обязательно делитесь ею в комментариях под этой статьей. Нам важно, что вы с нами!

Источник

7-Zip Discussion

A free file archiver for extremely high compression

Forums

I am using 7z ANSI C decoder for extracting LZMA2 compressed on android devices. It seems to be working fine . However I am getting couple of cases wherein extraction is failing with SZ_ERROR_DATA error. Now I don’t have access to these devices so can’t really debug the code. I wanted to know in what scenarios we can get this error since the same set of compressed files are deployed on all android devices and barring these few instance extraction is successful in general

What compressed / uncompressed size of files?
Do you use same buffer sizes and same calls to lzma2 decoding functions?

I will have to check which files out of my set are failing for the size .. but none would be more than 25 MB uncompressed . By buffer sizes do you mean the buffer passed to SzArEx_Extract ? The code is pretty much same what we have in sdk in 7zMain.C

Write more details about 7z archive.
7z l a.7z
7z l a.7z -slt
How many solid blocks do you have?
What compression method in each solid block?
How do you create these archives (what exact command)?

What version of LZMA SDK?

Here are the details

1) I use 7z for compressing in 2 ways. Firstly I compress individual files . These files range from 5 MB to 25 MB . Using this batch command
For /R %PATH% %%G IN (.) do if not %%

xG==.7z (
zz.exe a -m0=lzma2 -t7z %%G.7z %%G
del %%G
)
)
From what I looked at failure logs , it is failing for one of these individual compressed files

2) I also use sold block compression but only on 1 folder with this command
7z.exe a -m0=lzma2 -t7z -ms8m %PATH%res.7z %PATH%res. THis leads to 5 solid blocks for my folder.
I don’t think I am seeing SZ_ERROR_DATA failure here.
3) I am using LZMA SDK 9.2 but 7z.exe I am using the latest I believe ( need to double check this )

Please let me know in case you need more info .

1) I don’t remember that there was such BUG in 9.20. But maybe it’s better to use latest version of LZMA SDK.
2) If you know about any exact error file inside 7z archive, call for that archive:
7z l a.7z -slt
for that archive and try to think why «bad» file is unusual.

Hmm.. Thanks Igor . The thing is that I have seem only 2 instances of this .. rest thousands of other instances have worked fine .. so will probably have to add more diagnostic logs to debug this ..

Igor , we have a local repro of the problem. SZ_ERROR_DATA is returned for one binary only .. Even for that binary ARM version of android if working fine. Decompression is failing only for x86 version of android. Will update you from what point in the code SZ_ERROR_DATA is returned

Failure is happening in SzDecodeLzma2 code . in 9.2 SDK . In below code snipped

After call to Lzma2Dec_DecodeToDic ELzmaStatus is coming out to LZMA_STATUS_NEEDS_MORE_INPUT ..

This is happening only for one particular binary . Any pointers how to look into the issue .

Do you have that problem for any call on x86 device?
Or only for some devices?

You can add some printf logs (with all variables in loop) to find exact point of error.

Are there error for lzma sdk 15.10 code?

Its not for any call .. As I mentioned decompression of only 1 file is failing . As of now we have tried on 3 x86 device and its failing on all of them.
I have not tried SDK 15 .. Also this seems to be an intermittent issue . After couple of version of our binary this issue went away .. But in previous version this is 100% repro . So this can happen any time .
Do you want me to debug Lzma2Dec_DecodeToDic ? That is the function which is returning status as LZMA_STATUS_NEEDS_MORE_INPUT causing SzDecodeLzma2 to return SZ_ERROR_DATA

Also if inside SzDecodeLzma2 function instead of returning SZ_ERROR_DATA I return SZ_OK the file is extracted correctly byte by byte ..

So for some binary you have 100% of error on any x86 android device?
And you don’t have error on arm device.
Do you have problem on Windows code for that binary?

  • Do you want me to debug Lzma2Dec_DecodeToDic ?

At first we need some log for variables before / after call of Lzma2Dec_DecodeToDic.

You can send me that binary or attach file here.
So I can check it in Windows.

Yes that’s correct. I will compile the same code for windows & see if problem exist or not. Will update you on this .. I need to check if I can share the binary on public forum or not.

Its happening on windows as well . I printed the following before & after call to DecodeToDic

I have attached file for success & failure case for same binary . Success is for arm binary & failure is for x86 binary .

I saw that in failure case in the end state.decoder.dicPos was equal to state.decoder.dicBufSize which was the size of uncompressed binary but status is coming out as LZMA_STATUS_NEEDS_MORE_INPUT .
For success case status is getting reported as LZMA_STATUS_FINISHED_WITH_MARK

Please let me know in case you need more information

1) Why state.decoder.dicBufSize is different in these cases, if it’s same file?

7z l a.7z -slt > list.txt

snd show information here.

3) you can send me email message with archive file.

Its not the same file . The failure file is binary compiled for x86 android platform and success is for binary compiled for arm android platform

Output of above command for both failure & success case

7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09

Scanning the drive for archives:
1 file, 1720467 bytes (1681 KiB)

Listing archive: C:work7zx86a.7z


Path = C:work7zx86a.7z
Type = 7z
Physical Size = 1720467
Headers Size = 146
Method = LZMA2:23
Solid = —
Blocks = 1

Path = a.so
Size = 6921460
Packed Size = 1720321
Modified = 2015-11-07 22:01:01
Attributes = A
CRC = F2D5340A
Encrypted = —
Method = LZMA2:23
Block = 0

7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09

Scanning the drive for archives:
1 file, 1609852 bytes (1573 KiB)

Listing archive: C:work7zarma.7z


Path = C:work7zarma.7z
Type = 7z
Physical Size = 1609852
Headers Size = 146
Method = LZMA2:6m
Solid = —
Blocks = 1

Path = a.so
Size = 5053180
Packed Size = 1609706
Modified = 2015-11-07 22:02:56
Attributes = A
CRC = 3848A454
Encrypted = —
Method = LZMA2:6m
Block = 0

I still need to check if I can share the binary with you as its a source code binary . Will be able to update you by tomorrow/day after that for this.. Till then I can debug here with the pointers you are providing

Источник

We are dealing with a rather odd issue. We recently implemented Information Steward — Data Insight for Customer and Vendor. We have a series of rules created for each domain and a scorecard for each. Here is what we are seeing. When we drill into one of the domains (Vendor or Customer) and show the data score, during certain instances, no data will pull back. The screen will clock. There are specific variables that cause the symptom.

Scenario 1): View/extract data from Key Data Domain — Scorecard from IS URL directly. If I attempt to export data in any manner launching from the fully qualified URL.

Scenario 2): View/Extract data from key data domain — scorecard using scorecard specific URL. We generate scorecard specific URL’s so that we can branch out links internally via portal, sharepoint, etc. The URL looks like:

The steps in scenario 2 is basically selecting a rule that has failed data, clicking view failed data and export. Here is where we see the clocking. It will not return.

Then this screen will hang and will require to click the x to close. Then the below screen displays.

Only things of note is that we are using single sign on via active directory. And the scenario two uses verbatim the URL that is generated out of IS.

Источник

Ошибка в данных CRC как исправить

Некоторые пользователи при загрузке (или установке) файлов с каких-либо источников могут столкнуться с ошибкой CRC, проявляющей себя сообщением «Ошибка в данных (CRC)». Данная проблема обычно возникает в ситуации, когда система фиксирует несовпадение контрольных данных загружаемого файла, вследствие чего возникает сообщение об ошибке в данных CRC. В этой статье я расскажу, что это за ошибка, при каких условиях она возникает, а также поясню как её исправить.

Что такое CRC

Прежде чем начать описывать, что делать в ситуации, когда появляется ошибка CRC, следует пояснить, что такое «CRC».

Как известно, CRC (Cycle Redundancy Check – в переводе «циклическая избыточная проверка») являет собой алгоритм создания и проверки «контрольной суммы файла». Последняя используется в слежении за целостностью передаваемых данных с целью профилактики их повреждения или потери.

Данный алгоритм на основе циклического кода вычисляет контрольную сумму файла и добавляет её к телу самого файла. При загрузке (копировании) данного файла система, обладая алгоритмом вычисления контрольной суммы, проверяет правильность полученных данных, и при возникновении нестыковок выдаёт сообщение об ошибке CRC (data error — cycle redundancy check ).

Алгоритм CRC был изобретён в далёком 1961 году, пережил несколько качественных улучшений, и ныне является универсальным средством для проверки целостности получаемых данных.

Особенности возникновения ошибки

Что же до причин возникновения данной дисфункции, то конкретные причины ошибки CRC могут быть следующими:

  • Потеря или повреждение какого-либо из пакетов сетевых данных при их передаче;
  • Потеря или повреждение данных на жёстком диске (к примеру, из-за плохих секторов);
  • Физическое повреждение оптического диска с информацией (CD, DVD и др.);
  • Нарушение целостности системного реестра;
  • Случайный сбой при инсталляции программы;
  • Неверная конфигурация файлов и так далее.

Для отображения кода CRC существует такая программа как HashTab, которая, после своей установки, в свойствах самого файла (кликаем правой клавишей мыши на файле, затем выбираем «Свойства) отображает значения контрольных сумм данного файла.

Ошибка в данных CRC — проблемы с жёстким диском

Итак, как исправить ошибку CRC? Поскольку она регулярно случается из-за проблем к доступу жёсткого диска, то рекомендую выполнить следующее:

Действие 1. Восстановите потерянные данные на жёстком диске. Если данная проблема возникла при попытке получения доступа к какому-либо файлу на жёстком диске, тогда стоит использовать различные программы для восстановления потерянных данных. В частности, можно попробовать в деле такие программные продукты как Power Data Recovery или BadCopy Pro, предназначенные именно для рассматриваемых мной задач.

К примеру, чтобы воспользоваться Power Data Recovery, необходимо скачать и установить приложение, в меню выбрать «Damaged Partition Recovery», и осуществить полное сканирование (Full Scan). Если потерянные данные удастся восстановить, тогда, первым делом, нужно будет скопировать их на надёжный и безопасный носитель.

Действие 2. Альтернативным вариантом восстановления доступа к данным на винчестере является использование системной утилиты проверки диска.

  1. Зайдите в Проводник, кликните правой клавишей мыши на проблемном диске (например, С:), в появившемся меню выберите «Свойства».
  2. Перейдите на вкладку «Сервис», кликните на «Выполнить проверку», поставьте галочки напротив двух опций проверки диска, нажмите на «Ок», а затем перезагрузите компьютер.
  3. После перезагрузки система автоматически задействует проверку целостности данных на жёстком диске, и попытается восстановить повреждённые сектора (может занять какое-то время).

Проверьте диск на наличие ошибок

Действие 3. Также можно запустить командную строку от имени администратора (нажать на кнопку «Пуск», в строке поиска написать cmd (не нажимая на ввод), кликнуть на появившийся вверху однотипный результат правой клавишей мыши, и выбрать «Запуск от имени администратора). В командной строке необходимо написать:

chkdsk c: /r /f — (вместо «с:» впишите имя другого проблемного диска при необходимости) затем нажать на ввод, и дождаться окончания проверки.

Как исправить ошибку CRC — альтернативные варианты

Кроме проблем с жёстким диском, ошибка CRC может возникать и по другим причинам. Потому чтобы пофиксить ошибку CRC сделайте следующее:

  • Скачайте торрент-файл из другого источника. Если вы скачали какой-либо файл с торрентов и получили ошибку CRC, тогда запустите торрент-клиент, удалите закачку с ошибкой, а потом и сами некорректно загруженные файлы на жёстком диске. Попробуйте поискать альтернативную закачку той же программы на торрент-трекере, возможно проблемная закачка была создана не совсем корректно, или файлы в ней были повреждены. В некоторых ситуациях не будет лишним и переустановить торрент-клиент, причина ошибки CRC может быть и в нём;
  • Если вы получили данную ошибку при попытке считывания данных с СД (ДВД) диска, тогда, для начала, необходимо аккуратно протереть поверхность диска мягкой тканью с целью удаления пыли или грязи на его поверхности, а затем попробовать считать его содержимое с помощью уже упомянутой программы BadCopyPro;
  • Если данная ошибка возникла при установке какой-либо игры, будет проще загрузить её образ ещё раз (или сами файлы программы) из другого источника с помощью проверенных программ уровня Download Master, возможно, это поможет избавиться от ошибки CRC.

Заключение

Если у вас возникла ошибка в данных CRC, то, прежде всего, определитесь с условиями, при которых возникла данная ошибка. Наиболее часто она возникает при попытке закачки и установки образов дисков (или самых программ) из сети. Эффективным средством в этом случае будет использование альтернативных ресурсов для закачки данных файлов, что, в большинстве случаев, помогает эффективно решить указанную проблему. Если же вы имеете дело с дисфункцией в работе жёсткого диска, тогда необходимо использовать программы уровня Power Data Recovery или BadCopyPro, способных помочь в восстановлении доступа к нужным вам файлам.

Источник

  • Remove From My Forums
  • Question

  • Hi! I am trying to install sql server 2014 express with advanced services and I am getting the error message «Extraction failed».  I have tried both versions 32bit and 64bit but the same results.  I am new user and I want to install sql
    server in order to practice what I study.  My laptop is pentium dual-core 2.20 GHz, RAM 4GB, system type 64bit, Windows 7 home edition.  I have been trying to fix this problem for hours, please help me.

    Thank you in advance.

    I have just tried and the sql server 2014 express with tools 64bit and I got the same error message.

    • Edited by

      Tuesday, April 7, 2015 8:29 PM

Answers

  • Again the same message «is not a valid win32 application»

    Hi christina250280,

    The error might occur when download file is corrupted, Please download SQL Server again.

    Instead of [RUN], choose [Save] and then run from your local hard drive. 
    Verify the size of the download before running the executable. 
    If this doesn’t work, clear the cache from your IE and download again.

    Thanks,
    Lydia Zhang


    Lydia Zhang
    TechNet Community Support

    • Proposed as answer by
      Lydia ZhangMicrosoft contingent staff
      Thursday, April 16, 2015 1:35 AM
    • Marked as answer by
      Lydia ZhangMicrosoft contingent staff
      Friday, April 17, 2015 9:30 AM

7-Zip

A free file archiver for extremely high compression

  • Summary

  • Files

  • Reviews

  • Support

  • Wiki

  • Tickets ▾

    • Support Requests
    • Patches
    • Bugs
    • Feature Requests
  • News

  • Discussion

Menu

To Igor : Sometimes extraction fails with SZ_ERROR_DATA


Created:

2015-11-01

Updated:

2018-02-27

  • 7z rocks

    I am using 7z ANSI C decoder for extracting LZMA2 compressed on android devices. It seems to be working fine . However I am getting couple of cases wherein extraction is failing with SZ_ERROR_DATA error. Now I don’t have access to these devices so can’t really debug the code. I wanted to know in what scenarios we can get this error since the same set of compressed files are deployed on all android devices and barring these few instance extraction is successful in general

  • Igor Pavlov

    What compressed / uncompressed size of files?
    Do you use same buffer sizes and same calls to lzma2 decoding functions?

  • 7z rocks

    I will have to check which files out of my set are failing for the size .. but none would be more than 25 MB uncompressed … By buffer sizes do you mean the buffer passed to SzArEx_Extract ? The code is pretty much same what we have in sdk in 7zMain.C

  • Igor Pavlov

    Write more details about 7z archive.
    7z l a.7z
    7z l a.7z -slt
    How many solid blocks do you have?
    What compression method in each solid block?
    How do you create these archives (what exact command)?

    What version of LZMA SDK?

  • 7z rocks

    Here are the details

    1) I use 7z for compressing in 2 ways. Firstly I compress individual files . These files range from 5 MB to 25 MB . Using this batch command
    For /R %PATH% %%G IN (.) do if not %%~xG==.7z (
    zz.exe a -m0=lzma2 -t7z %%G.7z %%G
    del %%G
    )
    )
    From what I looked at failure logs , it is failing for one of these individual compressed files

    2) I also use sold block compression but only on 1 folder with this command
    7z.exe a -m0=lzma2 -t7z -ms8m %PATH%res.7z %PATH%res. THis leads to 5 solid blocks for my folder.
    I don’t think I am seeing SZ_ERROR_DATA failure here.
    3) I am using LZMA SDK 9.2 but 7z.exe I am using the latest I believe ( need to double check this )

    Please let me know in case you need more info .

  • Igor Pavlov

    1) I don’t remember that there was such BUG in 9.20. But maybe it’s better to use latest version of LZMA SDK.
    2) If you know about any exact error file inside 7z archive, call for that archive:
    7z l a.7z -slt
    for that archive and try to think why «bad» file is unusual.

     

    Last edit: Igor Pavlov 2015-11-02

  • 7z rocks

    Hmm.. Thanks Igor … The thing is that I have seem only 2 instances of this .. rest thousands of other instances have worked fine .. so will probably have to add more diagnostic logs to debug this ..

  • 7z rocks

    Igor , we have a local repro of the problem… SZ_ERROR_DATA is returned for one binary only .. Even for that binary ARM version of android if working fine… Decompression is failing only for x86 version of android. Will update you from what point in the code SZ_ERROR_DATA is returned

  • 7z rocks

    Failure is happening in SzDecodeLzma2 code … in 9.2 SDK … In below code snipped

    After call to Lzma2Dec_DecodeToDic ELzmaStatus is coming out to LZMA_STATUS_NEEDS_MORE_INPUT ..

    This is happening only for one particular binary … Any pointers how to look into the issue …

      res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
      lookahead -= inProcessed;
      inSize -= inProcessed;
      if (res != SZ_OK)
        break;
      if (state.decoder.dicPos == state.decoder.dicBufSize || (inProcessed == 0 && dicPos == state.decoder.dicPos))
      {
        if (state.decoder.dicBufSize != outSize || lookahead != 0 ||
            (status != LZMA_STATUS_FINISHED_WITH_MARK))
          res = SZ_ERROR_DATA;  ======> Error returned from here
        break;
      }
    
  • Igor Pavlov

    Do you have that problem for any call on x86 device?
    Or only for some devices?

    You can add some printf logs (with all variables in loop) to find exact point of error.

    Are there error for lzma sdk 15.10 code?

  • 7z rocks

    Its not for any call .. As I mentioned decompression of only 1 file is failing … As of now we have tried on 3 x86 device and its failing on all of them…
    I have not tried SDK 15 .. Also this seems to be an intermittent issue …. After couple of version of our binary this issue went away .. But in previous version this is 100% repro . So this can happen any time …
    Do you want me to debug Lzma2Dec_DecodeToDic ? That is the function which is returning status as LZMA_STATUS_NEEDS_MORE_INPUT causing SzDecodeLzma2 to return SZ_ERROR_DATA

    Also if inside SzDecodeLzma2 function instead of returning SZ_ERROR_DATA I return SZ_OK the file is extracted correctly byte by byte ..

  • Igor Pavlov

    So for some binary you have 100% of error on any x86 android device?
    And you don’t have error on arm device.
    Do you have problem on Windows code for that binary?

    • Do you want me to debug Lzma2Dec_DecodeToDic ?

    At first we need some log for variables before / after call of Lzma2Dec_DecodeToDic.

    You can send me that binary or attach file here.
    So I can check it in Windows.

  • 7z rocks

    Yes that’s correct… I will compile the same code for windows & see if problem exist or not. Will update you on this .. I need to check if I can share the binary on public forum or not.

  • 7z rocks

    Its happening on windows as well . I printed the following before & after call to DecodeToDic

      fprintf(f, "Before call to Lzma2Dec_DecodeToDic inProcessed = %lu state.decoder.dicPos = %lu state.decoder.dicBufSize = %lu status = %dn",inProcessed,state.decoder.dicPos,state.decoder.dicBufSize,status);
      res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
      fprintf(f, "After call to Lzma2Dec_DecodeToDic inProcessed = %lu state.decoder.dicPos = %lu state.decoder.dicBufSize = %lu status = %dnn", inProcessed, state.decoder.dicPos, state.decoder.dicBufSize, status);
    

    I have attached file for success & failure case for same binary . Success is for arm binary & failure is for x86 binary …

    I saw that in failure case in the end state.decoder.dicPos was equal to state.decoder.dicBufSize which was the size of uncompressed binary but status is coming out as LZMA_STATUS_NEEDS_MORE_INPUT …
    For success case status is getting reported as LZMA_STATUS_FINISHED_WITH_MARK

    Please let me know in case you need more information

  • Igor Pavlov

    1) Why state.decoder.dicBufSize is different in these cases, if it’s same file?

    2) Call

    7z l a.7z -slt > list.txt

    snd show information here.

    3) you can send me email message with archive file.

  • 7z rocks

    Its not the same file … The failure file is binary compiled for x86 android platform and success is for binary compiled for arm android platform

    Output of above command for both failure & success case

    FAILURE CASE

    7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09

    Scanning the drive for archives:
    1 file, 1720467 bytes (1681 KiB)

    Listing archive: C:work7zx86a.7z


    Path = C:work7zx86a.7z
    Type = 7z
    Physical Size = 1720467
    Headers Size = 146
    Method = LZMA2:23
    Solid = —
    Blocks = 1


    Path = a.so
    Size = 6921460
    Packed Size = 1720321
    Modified = 2015-11-07 22:01:01
    Attributes = A
    CRC = F2D5340A
    Encrypted = —
    Method = LZMA2:23
    Block = 0

    SUCCESS CASE

    7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09

    Scanning the drive for archives:
    1 file, 1609852 bytes (1573 KiB)

    Listing archive: C:work7zarma.7z


    Path = C:work7zarma.7z
    Type = 7z
    Physical Size = 1609852
    Headers Size = 146
    Method = LZMA2:6m
    Solid = —
    Blocks = 1


    Path = a.so
    Size = 5053180
    Packed Size = 1609706
    Modified = 2015-11-07 22:02:56
    Attributes = A
    CRC = 3848A454
    Encrypted = —
    Method = LZMA2:6m
    Block = 0

    I still need to check if I can share the binary with you as its a source code binary … Will be able to update you by tomorrow/day after that for this.. Till then I can debug here with the pointers you are providing

  • Igor Pavlov

    Ok.
    So the problem is not x86 executable (unpacker).
    The problem is some archive that contains some x86 executable.

    Try lzma sdk 15.10 beta.
    1) There is 7zdec.exe there. Try to use that executable to unpack your 7z archive.
    2) Try to compile your source code with lzma sdk 15.10 and check it

  • 7z rocks

    Ok… I will try sdk 15 and update you with the result

  • 7z rocks

    No luck .. Tried with 7zDec.exe as part of http://www.7-zip.org/a/lzma1511.7z … Fails with same issue

    ERROR #1

    With main application 7z.exe the extraction is successful but fails with 7zDec.exe

     

    Last edit: 7z rocks 2015-11-15

  • 7z rocks

    With main application 7z.exe the extraction is successful but fails with 7zDec.exe

  • Igor Pavlov

    I’ve found bug.
    It works incorrectly with probability about 1/16384.
    So you can expect about one error per 16384 solid blocks.

    It decompresses all data, but last block byte (END_OF_STREAM marker) is in next input buffer block. So decoder thinks that something is wrong.

    I’ll release fixed code in near days.
    Don’t debug that case anymore.
    Just wait for fixed version.

    Thanks for report!!!

  • 7z rocks

    Cool…. Thanks for the quick investigation Igor.. If needed you can share the fix to me for validation before release. I guess you will be releasing the fix for both 9.2 & 15.11 sdk since I am using the older sdk ?

  • Igor Pavlov

    Fixed code for 7zDec.c
    SzDecodeLzma2()

        {
          SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos;
          ELzmaStatus status;
          res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status);
          lookahead -= inProcessed;
          inSize -= inProcessed;
          if (res != SZ_OK)
            break;
    
          if (status == LZMA_STATUS_FINISHED_WITH_MARK)
          {
            if (outSize != state.decoder.dicPos || inSize != 0)
              res = SZ_ERROR_DATA;
            break;
          }
    
          if (inProcessed == 0 && dicPos == state.decoder.dicPos)
          {
            res = SZ_ERROR_DATA;
            break;
          }
    
          res = inStream->Skip((void *)inStream, inProcessed);
          if (res != SZ_OK)
            break;
        }
    
  • 7z rocks

    This works .. Thanks for quick turnaround ..

  • 7z rocks

    Hi Igor , unfortunately the problem has not yet gone… We are still seeing instances of SZ_ERROR_DATA from customer devices ( some , not all of them ) . So there could be some other hidden bug as well. Last time we had a local repro so it was helpful. Currently I do not have a local repro or any helpful logs.

    Do you think of any way we can debug this ? May be add some more logging and wait for next set of failures ? In that case what are possible locations to add logs?


Log in to post a comment.

Понравилась статья? Поделить с друзьями:
  • Extract error writing to file libcef dll
  • Extract error writing to file ccc2 amd драйвера
  • Extract error writing to file atiumd6a dll
  • Extract error writing to file atioglxx dll
  • Extract error writing to file atio6axx dll