▲ 6 r/Blazor

How to Implement Cookie Authentication in Blazor Server-Side Rendering?

I am trying to Implement Cookie Authentication in Blazor Server-Side Rendering past few days, but I'm stuck.

My goal is: when user click the login button, after Authentication success i wand to store the cookie in browser.

The problem with Blazor SSR, the httpContext only available while the page begin pre-rendering. After the user click the login button the httpContext connection was already done, so i can't find the way to set the cookie via httpContext.

Here's what I've tried:

  • After user press the login button, i get the cookie from rest-api response header and i store the cookie in scoped service and i try to store the cookie in browser by get the cookie via that scoped DI service in when user navigate to home-page after authenticate complete and i planned to set the cookie via OnInitilized method using httpContext.Response.Append() method, however, this dosen't work because the scoped service was recreate when new httpContext connection was established, so the cookie not longer available inside the service.

It is Actually Possible to set the cookie when user press the login button in blazor service-side rendering? Or it is only Possible with Blazor WASM?

If there is any recommended patten to implement the cookie authenticate in blazor SSR. I'd really appreciate the explanation.

reddit.com
u/RedEye-Developers — 7 days ago
▲ 7 r/neovim

Harper LSP working with LUA file but not working with C# File.

LSP-Info

# `harper_ls`

- **cmd**: `harper-ls --stdio`
- **installed**: `/usr/bin/harper-ls`
- **enabled**: yes
- **filetypes**: `"lua"`, `"cs"`

## Client [id=3]

- **version**: `2.6.0`
- **name**: `harper-ls`
- **workspace**: `~/DevProjects/DigitalVault`
- **buffers**: `9`, `10`
- **server capabilities**:
  *  **textDocument/codeAction**: `true`
  *  **textDocument/didChange**: `true`
  *  **textDocument/didClose**: `true`
  *  **textDocument/didOpen**: `true`
  *  **textDocument/didSave**: `true`
  *  **workspace/executeCommand**:
    - `HarperRecordLint`
    - `HarperAddToUserDict`
    - `HarperAddToWSDict`
    - `HarperAddToFileDict`
    - `HarperOpen`
    - `HarperIgnoreLint`
- **dynamic capabilities**:
  *  **workspace/didChangeWatchedFiles**: `true`
- **settings**:
```lua
{
  ["harper-ls"] = {
    linters = {
      SentenceCapitalization = false,
      SpellCheck = true
    }
  }
}

I am trying to use Harper to check grammar and spelling in neovim.

Harper was working in lua file but not working with C# files, but in LSP-Info filetypes c# was showing still not working.

has anyone run in this issue before?

u/RedEye-Developers — 18 days ago
▲ 1 r/Blazor+1 crossposts

Why does RegisterPersistentService<UserSession>() cause DirectScopedResolvedFromRootException?

var builder = WebApplication.CreateBuilder(args);
var service = builder.Services;

service.AddHttpContextAccessor();
service.AddScoped<UserSession>();

service
    .AddRazorComponents()
    .RegisterPersistentService<UserSession>(Microsoft.AspNetCore.Components.Web.RenderMode.InteractiveWebAssembly)
    .AddInteractiveServerComponents()
    .AddInteractiveWebAssemblyComponents()
    .AddAuthenticationStateSerialization(options =>
    {
        options.SerializeAllClaims = true;
    });
public class UserSession
{
    [PersistentState] public bool IsAuthenticated { get; init; }
    [PersistentState] public Guid Id { get; init; }
    [PersistentState] public string Username { get; init; } = string.Empty;
    [PersistentState] public string Email { get; init; } = string.Empty;
    [CascadingParameter] public HttpContext? HttpContext { get; set; }
    
    public UserSession()
    {
        if(HttpContext == null) return;
        IsAuthenticated = HttpContext.User.Identity?.IsAuthenticated ?? false;
        if(!IsAuthenticated) return;
        
        Id = new Guid(HttpContext.User.Claims.FirstOrDefault(x => x.Type.Equals(ClaimTypes.NameIdentifier))?.Value ?? "");
        Username = HttpContext.User.Claims.FirstOrDefault(x => x.Type.Equals(ClaimTypes.Name))?.Value ?? string.Empty;
        Email = HttpContext.User.Claims.FirstOrDefault(x => x.Type.Equals(ClaimTypes.Email))?.Value ?? string.Empty;
    }
}
ManagedError: AggregateException_ctor_DefaultMessage (DirectScopedResolvedFromRootException, DigitalVault.Blazor.Client.Authentications.UserSession, scoped)

I follow this same official documentation to implement the Serialize state for services, but when i use RegisterPersistentService i get DirectScopedResolvedFromRootException error, has anyone encountered this issue?

u/RedEye-Developers — 19 days ago

Reported 50 Issues about JetBrains Rider, What about you? and what are you thinking about this much of issues in JetBrains Rider IDE?

u/RedEye-Developers — 22 days ago

Browser Scroll High GPU Usage Issue.

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.157                Driver Version: 390.157                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 610      Off  | 00000000:07:00.0 N/A |                  N/A |
| 40%   48C    P0    N/A /  N/A |    246MiB /  1982MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0                    Not Supported                                       |
+-----------------------------------------------------------------------------+

I Am Using Arch-Linux Minimal Desktop with I3WM, when i scroll in browser websites my GPU use was so high and scroll feels laggy, but i not have this issue in windows-10, win-10 brave browser it feel so smooth while scrolling in browser, it is possible to fix this issue?


Name	Version	Votes	Popularity?	Description	Maintainer	Last Updated
nvidia-390xx-dkms	390.157-22	62	0.66	NVIDIA drivers - module sources	jonathon	2026-05-02 21:19 (UTC)
opencl-nvidia-390xx	390.157-22	62	0.66	OpenCL implemention for NVIDIA	jonathon	2026-05-02 21:19 (UTC)
nvidia-390xx-utils	390.157-22	62	0.66	NVIDIA drivers utilities	jonathon	2026-05-02 21:19 (UTC)
lib32-opencl-nvidia-390xx	390.157-2	13	0.00	OpenCL implemention for NVIDIA (32-bit), 390xx legacy branch	jonathon	2023-02-12 22:43 (UTC)
lib32-nvidia-390xx-utils	390.157-2	13	0.00	NVIDIA drivers utilities (32-bit), 390xx legacy branch	jonathon	2023-02-12 22:43 (UTC)
nvidia-390xx-settings	390.157-1	23	0.00	Tool for configuring the NVIDIA graphics driver, 390xx legacy branch	jonathon	2022-12-13 23:14 (UTC)
libxnvctrl-390xx	390.157-1	23	0.00	NVIDIA NV-CONTROL X extension, 390xx legacy branch	jonathon	2022-12-13 23:14 (UTC)

i install all this driver btw.

glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 610/PCIe/SSE2
reddit.com
u/RedEye-Developers — 1 month ago

It is Possible to run Hyprland in Nvidia GT610 GPU?

Hi, i am now using x11 with i3wm, i like hyprland, but i have only Nvidia GT610 GPU, they have any possible way to run Hyprland on GT610?

reddit.com
u/RedEye-Developers — 1 month ago
▲ 0 r/Blazor

Blazor Failed to Mute Audio in Video Element.

    <video class="w-full h-full object-cover"
           autoplay loop muted>
        <source src="@SelectedFile.BlobUrl" type="video/mp4"/>
    </video>

Blazor in video element i am using muted attribute still the audio is playing and i try this muted]="'muted'" still the audio was playing, they have any options to fix this issue without using JSRuntime ?

SOLVED: oncanplay="this.muted=true"

reddit.com
u/RedEye-Developers — 1 month ago

Discord : NotSupportedError: The element has no supported sources.

hi, i am using arch-linux with i3wm, i install discord using yay pkg-manager, in that discord gif, mp4 and other users screen-share options all not working with error : (NotSupportedError: The element has no supported sources.) in terminal, after that i remove discord and i install discord_arch_electronAUR package, in that pkg gif all working good, but if i screen-share or see other users screen-share, the discord was crash immediately with a error of window.createDiscordStream is not a function, but web version discord all working good but in web version discord not have shortkey support to toggle mute and def, can i get any help to fix this issue ?

reddit.com
u/RedEye-Developers — 1 month ago
▲ 0 r/dotnet

Fastendpoint Multi Value Cookie Anti-forgery Endpoint Reject Request Issue.

public class CreateProductReviewEndpoint : Endpoint<CreateProductReviewRequestDto, CreateProductReviewResponseDto>
{
    public override void Configure()
    {
        Post("/products/{productId:guid}/reviews");
        AllowAnonymous();
        AllowFormData(urlEncoded: true);
        EnableAntiforgery();
    }
    
    public override Task HandleAsync(CreateProductReviewRequestDto req, CancellationToken ct)
    {
        Response = new CreateProductReviewResponseDto
        {
            UserId = DummyUser.UserId,
            Username = DummyUser.Username,
            ReviewId = Guid.NewGuid(),
            Rating = req.Rating,
            CreateAt = DateTimeOffset.Now,
            Command = req.Message
        };
        
        return Task.CompletedTask;
    }
}

i am using fastendpoint, in that i am using both persistence-cookie and anti-forgery-cookie, when i use both cookie and send request to anti-forgery auth endpoint, the endpoint was reject the request with status-code:400, can i get help to fix this issue ?

u/RedEye-Developers — 2 months ago
▲ 1 r/Blazor

Blazor DirectScopedResolvedFromRootException when using RegisterPersistentService, even though the scoped service isn't resolved from the root

blazor-client-size-project-error

ManagedError: AggregateException_ctor_DefaultMessage (DirectScopedResolvedFromRootException, DigitalVault.Blazor.Client.Managers.UserSessionStateService, scoped)
blazor-server-side-project

builder.Services.AddScoped<UserSessionStateService>();

// Add services to the container.
service
    .AddRazorComponents()
    .AddInteractiveServerComponents()
    .AddInteractiveWebAssemblyComponents()
    .RegisterPersistentService<UserSessionStateService>(RenderMode.InteractiveAuto);
blazor-client-side-project

var builder = WebAssemblyHostBuilder.CreateDefault(args);

builder.Services
    .AddClientServices()
    .AddShared();

builder.Logging.AddFilter("System.Net.Http.HttpClient", LogLevel.Warning);
await builder.Build().RunAsync();

i am trying to implement PersistentService for UserSessionStateService, i am accessing all the UserSessionStateService class via @inject in page components, still i am getting this DirectScopedResolvedFromRootException in blazor client side project.

can i get a help to resolve this issue.

reddit.com
u/RedEye-Developers — 2 months ago

linux i3wm fullscreen mode auto exit during popup window appear issue.

when i am working in fullscreen mode in i3wm in some softwares, if in the software new popup window appear, i3wm fullscreen mode was automatically exiting.

i am expecting something like, while work in fullscreen mode the softwares popup wand to show, at the sametime, the fullscreen mode also will not wand to be exit.

can i get help to fix this issue ?

reddit.com
u/RedEye-Developers — 2 months ago
▲ 3 r/Blazor

Why Blazor MainLayout OnInitialized method trigger twice in static-ssr and page not ?

class-name: MainLayout, render-mode: Static, is-interactive: False
class-name: Home, render-mode: Static, is-interactive: False
class-name: MainLayout, render-mode: Static, is-interactive: False

can someone explain me why dose the MainLayout component OnInitialized Method trigger twice in static-ssr and home page not ?

reddit.com
u/RedEye-Developers — 2 months ago
▲ 0 r/Blazor

Blazor Cookie was not save in browser.

var builder = WebApplication.CreateBuilder(args);
builder.Services
    .AddOpenApi()
    .AddAuthenticationCookie(validFor: TimeSpan.FromMinutes(10))
    .AddAuthorization()
    .AddAntiforgery(x =>
    {
        x.HeaderName = "dv-csrf-token";
        x.Cookie.Name = "DigitalValue-Antiforgery";
        x.Cookie.SameSite = SameSiteMode.None;
        x.Cookie.HttpOnly = false;
        x.Cookie.SecurePolicy = CookieSecurePolicy.SameAsRequest;
    })
    .AddCors(x =>
    {
        x.AddPolicy("AllowAll", policyBuilder =>
        {
            policyBuilder
                .WithOrigins("http://localhost:3000")
                .AllowAnyMethod()
                .AllowAnyHeader()
                .AllowCredentials();
        });
    })
    .AddFastEndpoints();

var app = builder.Build();
if (app.Environment.IsDevelopment())
{
    app.MapOpenApi();
}

app.UseCors("AllowAll");
app.UseHttpsRedirection();
app
    .UseAuthentication()
    .UseAuthorization()
    .UseAntiforgeryFE();

app.UseFastEndpoints(x =>
{
    x.Endpoints.RoutePrefix = "api";
    x.Endpoints.Configurator = definition =>
    {
        definition.PreProcessors(Order.Before, typeof(RequestLoggingPreProcessor<>));
        definition.PostProcessors(Order.After, typeof(ResponseLoggingPostProcessor<,>));
    };
});

app.Run();
private IServiceCollection AddRefit()
        {
            service.AddTransient<CookieDelegatingHandler>();
            
            var types = new[]
            {
                typeof(ICategoryApi),
                typeof(IProductApi),
                typeof(IFileApi),
                typeof(ITokenApi),
                typeof(IAuthenticationApi),
            };
                
            foreach (var type in types)
            {
                service.AddRefitClient(type)
                    .ConfigureHttpClient(x => x.BaseAddress = new Uri("http://localhost:5000/api"))
                    .AddHttpMessageHandler<CookieDelegatingHandler>();
            }
            
            return service;
        }
public class CookieDelegatingHandler : DelegatingHandler
{
    protected override HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken)
    {
        request.SetBrowserRequestCredentials(BrowserRequestCredentials.Include);
        return base.Send(request, cancellationToken);
    }
}

hi, i am trying to do cookie auth in blazor 'intractivityAutorender mode, the issue is i can able to see theset-cookie` header in api response but the cookie is not saving in browser, can i get help i this how to figure it out ?

u/RedEye-Developers — 2 months ago
▲ 0 r/dotnet

how many of them using neovim for dotnet development ?

i recently use lazyvim for dotnet development, i really like the neovim, the performance was awsm and without touching the mouse to do program in new neovim so good and customization was awsm, but is the issue, when i use neovim for dotnet development i try 2 type of LSP, first one is roslyn-language-server, in this LSP i miss lot of features from rider IDE, like nuget pkg manager, new create cs file auto implement namespace and class name like somemore stuffs so after that i use easydotnet LSP, in that i get rider IDE some features, but the issue is in that easydotnet LSP, it is showing required namespace all not used so it is saying to remove, and i done some code and it is say here have syndex error, namespace not found, like lot of wrong miss leading error are showing, but if i complete and run the project it is working good, it really neovim is good for dotnet developments ?

reddit.com
u/RedEye-Developers — 3 months ago

How to Setup Tailwind in Blazor InteractivityAuto Server and Client Project ?

i install tailwind using cli method but i am facing lot of issues like, taliwind some class not found, tailwind custom color working but default color not working like stufffs.

reddit.com
u/RedEye-Developers — 3 months ago

*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

APC_INDEX_MISMATCH (1)
This is a kernel internal error. The most common reason to see this
BugCheck is when a filesystem or a driver has a mismatched number of
calls to disable and re-enable APCs. The key data item is the
Thread->CombinedApcDisable field. This consists of two separate 16-bit
fields, the SpecialApcDisable and the KernelApcDisable. A negative value
of either indicates that a driver has disabled special or normal APCs
(respectively) without re-enabling them; a positive value indicates that
a driver has enabled special or normal APCs (respectively) too many times.
Arguments:
Arg1: 00007ffb2a8818c4, Address of system call function or worker routine
Arg2: 0000000000000000, Thread->ApcStateIndex
Arg3: 0000000000010000, (Thread->SpecialApcDisable << 16) | Thread->KernelApcDisable
Arg4: fffff50d0a34fb80, Call type (0 - system call, 1 - worker routine)

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


KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 1187

    Key  : Analysis.Elapsed.mSec
    Value: 1297

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 1

    Key  : Analysis.IO.Write.Mb
    Value: 0

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

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

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

    Key  : Analysis.Version.DbgEng
    Value: 10.0.29547.1002

    Key  : Analysis.Version.Description
    Value: 10.2602.27.2 amd64fre

    Key  : Analysis.Version.Ext
    Value: 1.2602.27.2

    Key  : Bugcheck.Code.LegacyAPI
    Value: 0x1

    Key  : Bugcheck.Code.TargetModel
    Value: 0x1

    Key  : Dump.Attributes.AsUlong
    Value: 0x8

    Key  : Dump.Attributes.KernelGeneratedTriageDump
    Value: 1

    Key  : Failure.Bucket
    Value: 0x1_SysCallNum_1044_nt!KiSystemServiceExitPico

    Key  : Failure.Hash
    Value: {d9b603ff-24bc-b3aa-c92e-a2d843c84218}

    Key  : WER.System.BIOSRevision
    Value: 5.17.0.0


BUGCHECK_CODE:  1

BUGCHECK_P1: 7ffb2a8818c4

BUGCHECK_P2: 0

BUGCHECK_P3: 10000

BUGCHECK_P4: fffff50d0a34fb80

FILE_IN_CAB:  050326-7218-01.dmp

DUMP_FILE_ATTRIBUTES: 0x8
  Kernel Generated Triage Dump

FAULTING_THREAD:  ffff8d83bea83080

BLACKBOXBSD: 1 (!blackboxbsd)


BLACKBOXNTFS: 1 (!blackboxntfs)


BLACKBOXPNP: 1 (!blackboxpnp)


BLACKBOXWINLOGON: 1 (!blackboxwinlogon) (!blackboxwinlogonnotify)


CUSTOMER_CRASH_COUNT:  1

PROCESS_NAME:  NVDisplay.Cont

STACK_TEXT:  
fffff50d`0a34f9b8 fffff806`3aa127a9     : 00000000`00000001 00007ffb`2a8818c4 00000000`00000000 00000000`00010000 : nt!KeBugCheckEx
fffff50d`0a34f9c0 fffff806`3aa1264d     : ffff8d83`bea83000 00000000`00000000 fffff50d`0a34fb80 00000000`ffffffff : nt!KiBugCheckDispatch+0x69
fffff50d`0a34fb00 00007ffb`2a8818c4     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceExitPico+0x361
000000eb`33dff828 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00007ffb`2a8818c4


SYMBOL_NAME:  nt!KiSystemServiceExitPico+361

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

IMAGE_VERSION:  10.0.19041.7181

STACK_COMMAND: .process /r /p 0xffff8d83cd2bd080; .thread /r /p 0xffff8d83bea83080 ; kb

BUCKET_ID_FUNC_OFFSET:  361

FAILURE_BUCKET_ID:  0x1_SysCallNum_1044_nt!KiSystemServiceExitPico

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {d9b603ff-24bc-b3aa-c92e-a2d843c84218}

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

NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\atlmfc.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\concurrency.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\cpp_rest.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\Kernel.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\ObjectiveC.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\stl.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\Usb4Kd.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\Windows.Data.Json.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\Windows.Devices.Geolocation.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\Windows.Devices.Sensors.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\Windows.Media.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\windows.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2603.20001.0_x64__8wekyb3d8bbwe\amd64\Visualizers\winrt.natvis'
ExtensionGallery settings after reading 'SOFTWARE\Microsoft\Debug Engine' registry:
ExtensionGallery ExtensionRepository: Implicit

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*

************* Preparing the environment for Debugger Extensions Gallery repositories **************
   ExtensionRepository : Implicit
   UseExperimentalFeatureForNugetShare : true
   AllowNugetExeUpdate : true
   NonInteractiveNuget : true
   AllowNugetMSCredentialProviderInstall : true
   AllowParallelInitializationOfLocalRepositories : true
   EnableRedirectToChakraJsProvider : false

   -- Configuring repositories
      ----> Repository : LocalInstalled, Enabled: true
      ----> Repository : UserExtensions, Enabled: true

>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.016 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 46

Microsoft (R) Windows Debugger Version 10.0.29547.1002 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Windows\Minidump\050226-7359-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available


************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
Windows 10 Kernel Version 19041 MP (12 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS
Kernel base = 0xfffff801`31c00000 PsLoadedModuleList = 0xfffff801`3282a8c0
Debug session time: Sat May  2 15:14:36.635 2026 (UTC + 5:30)
System Uptime: 0 days 3:07:45.261
Loading Kernel Symbols
...............................................................
................................................................
....................................................
Loading User Symbols
PEB is paged out (Peb.Ldr = 0000000c`dafef018).  Type ".hh dbgerr001" for details
Loading unloaded module list
.....
For analysis of this file, run !analyze -v
nt!KeBugCheckEx:
fffff801`31ffdef0 48894c2408      mov     qword ptr [rsp+8],rcx ss:0018:ffff9d05`a87819c0=0000000000000001
6: kd> !analyze -v
Loading Kernel Symbols
...............................................................
................................................................
....................................................
Loading User Symbols
PEB is paged out (Peb.Ldr = 0000000c`dafef018).  Type ".hh dbgerr001" for details
Loading unloaded module list
.....
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

APC_INDEX_MISMATCH (1)
This is a kernel internal error. The most common reason to see this
BugCheck is when a filesystem or a driver has a mismatched number of
calls to disable and re-enable APCs. The key data item is the
Thread->CombinedApcDisable field. This consists of two separate 16-bit
fields, the SpecialApcDisable and the KernelApcDisable. A negative value
of either indicates that a driver has disabled special or normal APCs
(respectively) without re-enabling them; a positive value indicates that
a driver has enabled special or normal APCs (respectively) too many times.
Arguments:
Arg1: 00007ffb1646d6d4, Address of system call function or worker routine
Arg2: 0000000000000000, Thread->ApcStateIndex
Arg3: 000000000000ffff, (Thread->SpecialApcDisable << 16) | Thread->KernelApcDisable
Arg4: ffff9d05a8781b80, Call type (0 - system call, 1 - worker routine)

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


KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 1187

    Key  : Analysis.Elapsed.mSec
    Value: 1249

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 1

    Key  : Analysis.IO.Write.Mb
    Value: 0

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

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

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

    Key  : Analysis.Version.DbgEng
    Value: 10.0.29547.1002

    Key  : Analysis.Version.Description
    Value: 10.2602.27.2 amd64fre

    Key  : Analysis.Version.Ext
    Value: 1.2602.27.2

    Key  : Bugcheck.Code.LegacyAPI
    Value: 0x1

    Key  : Bugcheck.Code.TargetModel
    Value: 0x1

    Key  : Dump.Attributes.AsUlong
    Value: 0x8

    Key  : Dump.Attributes.KernelGeneratedTriageDump
    Value: 1

    Key  : Failure.Bucket
    Value: 0x1_SysCallNum_4_nt!KiSystemServiceExitPico

    Key  : Failure.Hash
    Value: {52cd694c-15ec-48c3-924a-3539560711db}

    Key  : WER.System.BIOSRevision
    Value: 5.17.0.0


BUGCHECK_CODE:  1

BUGCHECK_P1: 7ffb1646d6d4

BUGCHECK_P2: 0

BUGCHECK_P3: ffff

BUGCHECK_P4: ffff9d05a8781b80

FILE_IN_CAB:  050226-7359-01.dmp

DUMP_FILE_ATTRIBUTES: 0x8
  Kernel Generated Triage Dump

FAULTING_THREAD:  ffffcc8adcdef300

BLACKBOXBSD: 1 (!blackboxbsd)


BLACKBOXNTFS: 1 (!blackboxntfs)


BLACKBOXWINLOGON: 1 (!blackboxwinlogon) (!blackboxwinlogonnotify)


CUSTOMER_CRASH_COUNT:  1

PROCESS_NAME:  JetBrains.DPA.

STACK_TEXT:  
ffff9d05`a87819b8 fffff801`320127a9     : 00000000`00000001 00007ffb`1646d6d4 00000000`00000000 00000000`0000ffff : nt!KeBugCheckEx
ffff9d05`a87819c0 fffff801`3201264d     : 00000000`00000000 00000000`0000000e ffff9d05`a8781b18 ffffffff`fffe7960 : nt!KiBugCheckDispatch+0x69
ffff9d05`a8781b00 00007ffb`1646d6d4     : 00007ffb`13ffb6ae 00000000`00000000 00007ffb`164714d4 00000000`00000000 : nt!KiSystemServiceExitPico+0x361
0000000c`dcaff7f8 00007ffb`13ffb6ae     : 00000000`00000000 00007ffb`164714d4 00000000`00000000 00000000`00000000 : 0x00007ffb`1646d6d4
0000000c`dcaff800 00000000`00000000     : 00007ffb`164714d4 00000000`00000000 00000000`00000000 00000000`00000102 : 0x00007ffb`13ffb6ae


SYMBOL_NAME:  nt!KiSystemServiceExitPico+361

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

IMAGE_VERSION:  10.0.19041.7181

STACK_COMMAND: .process /r /p 0xffffcc8adc26d340; .thread /r /p 0xffffcc8adcdef300 ; kb

BUCKET_ID_FUNC_OFFSET:  361

FAILURE_BUCKET_ID:  0x1_SysCallNum_4_nt!KiSystemServiceExitPico

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {52cd694c-15ec-48c3-924a-3539560711db}

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

Latest Win 10 19045.7184. All Drivers up-to-date.

hardware.
mobo : asus prime a520m-k
cpu : amd ryzen 5 3600
ram : g.skill ripjaw V 8*2 3200mhz
gpu : gtx 1650
reddit.com
u/RedEye-Developers — 4 months ago