Skip to content

this script crash the python.exe when scan this rar file #129

Open
@kokutoukiritsugu

Description

@kokutoukiritsugu

libarchive version: libarchive-v3.7.4-amd64.zip

how can i debug?

code:

            with libarchive.file_reader(full_file_path) as archive0:
                for entry0 in archive0:
                    if entry0.isfile:
                        for block0 in entry0.get_blocks():
                            if sys.getsizeof(block0) > 21:
                                print(block0[12:21])
                                break
                            break

probelm rarfile inside this zip file:
DocuCentre-V_C2263_C2265_x64.zip

system crash log:

 Bucket 2093608594399129369 
  BucketType 4 
  EventName APPCRASH 
  Response 不可用 
  CabId 0 
  P1 python.exe 
  P2 3.11.9150.1013 
  P3 660bda91 
  P4 StackHash_7422 
  P5 10.0.22621.3733 
  P6 67ca8829 
  P7 c0000374 
  P8 PCH_45_FROM_ntdll+0x00000000000A0AF4 
  P9  
  P10  
  AttachedFiles \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.fd9c95aa-842e-40e1-9809-17aa62433b4e.tmp.dmp \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.f64fcd8b-70e5-4d92-8389-4d5686333ad9.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.3894e87e-716e-4ea0-ba13-742a08c6829d.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.3df81b0e-5ec3-4a90-9886-365789003f10.tmp.txt \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.553ce218-9fb0-4b1e-84f2-55d0c362396f.tmp.xml 
  StorePath \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_python.exe_f91ee663b92493eb1cee6e57e9fef915b1dbf84_ffcdfcec_c11947ae-68fd-4355-b92c-817a68cedc2f 
  AnalysisSymbol  
  Rechecking 0 
  ReportId 74223c17-844a-411d-bd77-d28386277ccc 
  ReportStatus 268435456 
  HashedBucket c68b74f1033b54516d0dfdec97dd6f19 
  CabGuid 0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions