AdguardTeam / AdguardTeam/AdguardForWindows

Adguard.exe crash on shutdown OS

Đang mở
#6,164 6 bình luận 0 reaction 1 người được giao Được giao cho @adbuker Xem trên GitHub
Bug Priority: P3 Version: AdGuard v8.0.4
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
887
Fork
84
Merge trung bình
27 phút
Pull request đã merge (30 ngày)
2

Mô tả

### Please answer the following questions for yourself before submitting an issue

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard version

8.1.0 nightly 1 (5654)

### Browser version

Firefox 140.14.0

### OS version

Windows 11 24H2 Build 26100.9168

### Traffic filtering

- [x] yes, I do

### Ad Blocking

AdGuard Base filter

### Which DNS server do you use?

System default DNS

### DNS protocol

None

### Issue Details

This error occur sporadic, or the error shown so quickly, that you may not notice, because Windows is in shutdown process.
I have tested 8.1.0 nightly 1 (5654) here, but it also occurs on Stable 8.0.5560.0
In this recording, Windows even waits for Adguard to close, sometimes Windows won't wait:

https://github.com/user-attachments/assets/bf182bc4-b03f-40c1-bc3d-055524cf4f53

When check event viewer, I could find the following errors:

```
Anwendung: Adguard.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.ObjectDisposedException
bei System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
bei System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
bei System.Threading.WaitHandle.WaitOne(System.TimeSpan, Boolean)
bei System.Threading.WaitHandle.WaitOne(System.TimeSpan)
bei ihj7ffXsAmFjcqGjaFlY.FvxDrVDJrZp(System.Object, System.TimeSpan, ihj7ffXsAmFjcqGjaFlY)
bei Adguard.Commons.Utils.PollingThread.vEcDi0pX5AE()
bei System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
bei System.Threading.ThreadHelper.ThreadStart()
```

but also once:

```
Fehlerhafter Anwendungsname: Adguard.exe, Version: 8.0.5602.2, Zeitstempel: 0x6a873257
Fehlerhafter Modulname: KERNELBASE.dll, Version: 10.0.26100.9168, Zeitstempel: 0xef4c9cab
Ausnahmecode: 0xe0434352
Fehleroffset: 0x00000000000c187a
Fehlerhafte Prozess-ID: 0x1F2C
Fehlerhafte Anwendungsstartzeit: 0x1DD360A29C5B6AF
Fehlerhafter Anwendungspfad: C:\Program Files\AdGuard\Adguard.exe
Fehlerhafter Modulpfad: C:\WINDOWS\System32\KERNELBASE.dll
Berichts-ID: 78b15640-8bf4-421f-832f-b106b9fafc1a
Vollständiger Name des fehlerhaften Pakets:
Fehlerhafte paketbezogene Anwendungs-ID:
```

Screenshot-1:

Image


Screenshot-2:

Image


Steps to reproduce:
1. Install AdGuard
2. Shutdown Windows

### Expected Behavior

no error

### Actual Behavior

error

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.