question

viren2703 avatar image
0 Votes"
viren2703 asked LeilaKong-MSFT answered

Find memory Leak through windbg (BSOD Dump file)

Hi Team,

just want to know if we can find memory leak through dump file. I am analyzing dump file and unable to get way to find memory Leak.
i am working on this
Bug Check 0x3B: SYSTEM_SERVICE_EXCEPTION

YSTEM_SERVICE_EXCEPTION (3b)
An exception happened while executing a system service routine.
Arguments:
Arg1: 00000000c0000005, Exception code that caused the bugcheck
Arg2: fffff9600010c190, Address of the instruction which caused the bugcheck
Arg3: ffffd0003cc0a770, Address of the context record for the exception that caused the bugcheck
Arg4: 0000000000000000, zero.


TACK_TEXT:
ffffd000`3cc0b190 fffff960`00109dfb : 00000000`00000001 00000000`00000000 fffff901`400c5010 ffffc000`00000000 : win32k!DrvCreateMDEV+0x110c
ffffd000`3cc0b2c0 fffff960`001096c4 : 00000000`00000000 00000000`00000001 ffffd000`3cc0b5d0 fffff801`f7b5ca7f : win32k!DrvInternalChangeDisplaySettings+0x64b
ffffd000`3cc0b530 fffff960`001151e3 : 00000000`00000000 00000000`00000000 00000000`00000002 00000000`00000000 : win32k!DrvChangeDisplaySettings+0xb84
ffffd000`3cc0b6f0 fffff960`0020ea3d : 00000000`00000000 00000000`00000000 00000000`00000009 ffffd000`3cc0bad0 : win32k!InitVideo+0x83
ffffd000`3cc0b790 fffff960`0020e683 : ffffd000`00000000 00000000`00000000 ffffd000`3cc0b960 fffff801`00000000 : win32k!RemoteConnect+0x375
ffffd000`3cc0b840 fffff801`f7b5f1a3 : ffffec01`57ddf880 000000d7`97e5f550 00000000`00000000 000000d7`97e5f680 : win32k!NtUserRemoteConnect+0x223
ffffd000`3cc0bb00 00007ffc`af312fda : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13
000000d7`97e5f508 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00007ffc`af312fda



windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Docs-4663 avatar image
0 Votes"
Docs-4663 answered Docs-4663 edited

This link may be useful:
https://docs.microsoft.com/en-us/dotnet/core/diagnostics/debug-memory-leak


.
.
.
.
.

Please remember to vote and to mark the replies as answers if they help.
.
.
.
.
.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

viren2703 avatar image
0 Votes"
viren2703 answered GaryNebbett commented

Thanks for sharing this article. is this article can use for BSOD dump analysis.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @viren2703,

I don't think that the reference is of much use to you - it just concerns memory leaks in a .NET application.

The phrase "memory Leak" in your problem description is probably also not helpful in garnering useful responses - there is nothing in the body of your message to indicate that a memory leak is the cause of the problem.

Interpreting a crash dump is not easy, and there is nothing that I can recommend that will help you,

Gary

0 Votes 0 ·
Docs-4663 avatar image
0 Votes"
Docs-4663 answered

If there are BSOD or unexpected shutdowns and restarts then run a log collector to collect files for troubleshooting.
Run V2 > post a share link into this thread:


https://www.windowsq.com/resources/v2-log-collector.8/
https://www.tenforums.com/bsod-crashes-debugging/2198-bsod-posting-instructions.html


.
.
.
.
.

Please remember to vote and to mark the replies as answers if they help.

.
.
.
.
.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @viren2703 ,

Just checking in to see if the information provided was helpful.
Please let us know if you would like further assistance.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.