Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#129 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reproducing the crash with the attached DocuCentre-V_C2263_C2265_x64.zip and the provided Python snippet using libarchive.file_reader. The report does not identify a project file or test to inspect, so first determine whether the crash is specific to the RAR file or its contents. Done means identifying the cause and documenting or fixing the crash so scanning the file no longer terminates Python.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 

Lingua principale
Python
Stelle
84
Fork
41
Merge medio
6g 12h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Changaco/python-libarchive-c

Tutte le issue di Changaco/python-libarchive-c

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.