Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#129 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python
領域
backend

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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 

主要語言
Python
星號
84
分支
41
平均合併
6 天 12 小時
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Changaco/python-libarchive-c 的其他 Issue

查看 Changaco/python-libarchive-c 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。