btrfs icon indicating copy to clipboard operation
btrfs copied to clipboard

Frequent BSOD in btrfs!update_chunk_cache_tree+0x1c8

Open happyme531 opened this issue 3 years ago • 2 comments

6: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except.
Typically the address is just plain bad or it is pointing at freed memory.
Arguments:
Arg1: ffff9a070b007028, memory referenced.
Arg2: 0000000000000000, value 0 = read operation, 1 = write operation.
Arg3: fffff80336e75158, If non-zero, the instruction address which referenced the bad memory
	address.
Arg4: 0000000000000002, (reserved)

Debugging Details:
------------------


KEY_VALUES_STRING: 1

    Key  : AV.Type
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 3421

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 7990

    Key  : Analysis.Init.CPU.mSec
    Value: 12859

    Key  : Analysis.Init.Elapsed.mSec
    Value: 270406

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 113

    Key  : WER.OS.Branch
    Value: rs_prerelease

    Key  : WER.OS.Timestamp
    Value: 2021-12-10T14:18:00Z

    Key  : WER.OS.Version
    Value: 10.0.22523.1000


FILE_IN_CAB:  MEMORY.DMP

DUMP_FILE_ATTRIBUTES: 0x1800

BUGCHECK_CODE:  50

BUGCHECK_P1: ffff9a070b007028

BUGCHECK_P2: 0

BUGCHECK_P3: fffff80336e75158

BUGCHECK_P4: 2

READ_ADDRESS:  ffff9a070b007028 Paged pool

MM_INTERNAL_CODE:  2

IMAGE_NAME:  btrfs.sys

MODULE_NAME: btrfs

FAULTING_MODULE: fffff80336e30000 btrfs

PROCESS_NAME:  System

TRAP_FRAME:  ffffaf8a1ed406e0 -- (.trap 0xffffaf8a1ed406e0)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=ffffaf8a1ed408c0 rbx=0000000000000000 rcx=ffff9a070b007020
rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000000000
rip=fffff80336e75158 rsp=ffffaf8a1ed40870 rbp=ffffaf8a1ed408e9
 r8=0000000000000001  r9=0000000000000000 r10=fffff80331a65bf8
r11=ffffaf8a1ed40380 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei ng nz na pe nc
btrfs!RemoveHeadList+0x8 [inlined in btrfs!update_chunk_cache_tree+0x1c8]:
fffff803`36e75158 48394108        cmp     qword ptr [rcx+8],rax ds:ffff9a07`0b007028=????????????????
Resetting default scope

STACK_TEXT:  
ffffaf8a`1ed404b8 fffff803`3107eda8     : 00000000`00000050 ffff9a07`0b007028 00000000`00000000 ffffaf8a`1ed406e0 : nt!KeBugCheckEx
ffffaf8a`1ed404c0 fffff803`31024e03     : 00000000`0b0000ff 00000000`00000000 00000000`00001000 ffff9a07`0b007028 : nt!MiSystemFault+0xa08
ffffaf8a`1ed405c0 fffff803`3127afdd     : ffffe582`55984180 00000000`00000fff 00000000`0000013e ffff9a07`0b007010 : nt!MmAccessFault+0x163
ffffaf8a`1ed406e0 fffff803`36e75158     : ffffe582`55984180 ffffe582`55984180 00000000`0000013d 00000000`00000000 : nt!KiPageFault+0x35d
ffffaf8a`1ed40870 fffff803`36e75a5a     : ffffe582`55984180 ffffe582`4e3aad88 00000000`00000000 ffffe582`55985470 : btrfs!update_chunk_cache_tree+0x1c8 [Z:\home\hellas\wine\fs\btrfs\src\free-space.c @ 1904] 
ffffaf8a`1ed40950 fffff803`36e66b90     : 00000000`00000000 ffff9a07`0ae1d010 00000000`00000000 00000000`00000000 : btrfs!update_chunk_caches_tree+0x7a [Z:\home\hellas\wine\fs\btrfs\src\free-space.c @ 2129] 
ffffaf8a`1ed409a0 fffff803`36e665eb     : ffffe582`55984180 ffffe582`55985ec0 ffffe582`55984180 ffffe582`55984030 : btrfs!do_write2+0x530 [Z:\home\hellas\wine\fs\btrfs\src\flushthread.c @ 7619] 
ffffaf8a`1ed40a60 fffff803`36e65a3d     : ffffe582`55984180 ffffe582`55984180 ffffe582`55985ec0 ffffffff`ee1e5d00 : btrfs!do_write+0x2b [Z:\home\hellas\wine\fs\btrfs\src\flushthread.c @ 7777] 
ffffaf8a`1ed40aa0 fffff803`36e6b1fd     : ffffffff`ee1e5d00 ffffe582`55985ec0 ffffe582`55984000 ffffe582`4e934000 : btrfs!do_flush+0x3d [Z:\home\hellas\wine\fs\btrfs\src\flushthread.c @ 7800] 
ffffaf8a`1ed40ad0 fffff803`311580d5     : ffffe582`5592c0c0 00000000`00000080 fffff803`36e6b170 ffffe582`55984030 : btrfs!flush_thread+0x8d [Z:\home\hellas\wine\fs\btrfs\src\flushthread.c @ 7831] 
ffffaf8a`1ed40b10 fffff803`312703a4     : ffffb101`a9f9c180 ffffe582`5592c0c0 fffff803`31158050 48d04589`4878458b : nt!PspSystemThreadStartup+0x85
ffffaf8a`1ed40b40 00000000`00000000     : ffffaf8a`1ed41000 ffffaf8a`1ed3a000 00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x34


FAULTING_SOURCE_LINE:  Z:\home\hellas\wine\fs\btrfs\src\free-space.c

FAULTING_SOURCE_FILE:  Z:\home\hellas\wine\fs\btrfs\src\free-space.c

FAULTING_SOURCE_LINE_NUMBER:  1904

FAULTING_SOURCE_CODE:  
No source found for 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\km\wdm.h'


SYMBOL_NAME:  btrfs!update_chunk_cache_tree+1c8

STACK_COMMAND:  .cxr; .ecxr ; kb

BUCKET_ID_FUNC_OFFSET:  1c8

FAILURE_BUCKET_ID:  AV_R_(null)_btrfs!update_chunk_cache_tree

OS_VERSION:  10.0.22523.1000

BUILDLAB_STR:  rs_prerelease

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {8401f2ac-1939-91e2-c274-ae8a964fab35}

Followup:     MachineOwner
---------

Here is a minidump Here is a full memory dump. Hosted on my NAS, you need an ipv6 address to access EDIT: The port should be 8001 since 80/433 is banned by ISP.

happyme531 avatar Jan 27 '22 06:01 happyme531

Driver version: 1.7.9 Btrfs flags: compress=zstd,defaults,noatime

happyme531 avatar Jan 27 '22 06:01 happyme531

This problem still exists in version 1.8 (At least 2 occurence)
New minidump here

happyme531 avatar Mar 18 '22 10:03 happyme531

Closing old issues

maharmstone avatar Nov 30 '23 01:11 maharmstone