Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9092389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:50:02+00:00 2026-06-16T22:50:02+00:00

I have a 64bit application that runs as a service under Server 2003. When

  • 0

I have a 64bit application that runs as a service under Server 2003.

When I attach the VS Profiler or windbg I see lots of callstacks like the one below. I understand that processes spawned in the debugger (or profiler) use the debug heap etc… But this is not the case since this service is started by the OS and I am only attaching to it.

I do not understand why it is unwinding the stack. And the profiler shows that a measurable amount of time is spent doing that. Some more info:

• These are release bits built with vc9, running on Server 2003.

• System environment variable _NO_DEBUG_HEAP is set to 1.

• I am using Microsoft symbol servers.

Why is it capturing the stack trace? It seems it’s logging it.. but I can’t find where.

My objective is to verify that the app is really unwinding the stack and, if that is true, try to avoid it.

Any ideas?


Callstack

ntdll!RtlVirtualUnwind
ntdll!RtlpWalkFrameChain
ntdll!RtlCaptureStackBackTrace
ntdll!RtlpCaptureStackTraceForLogging
ntdll!RtlLogStackBackTrace
ntdll!RtlDebugAllocateHeap
ntdll!RtlAllocateHeapSlowly
ntdll!RtlAllocateHeap
MSVCR90!malloc
MSVCR90!operator new
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T22:50:04+00:00Added an answer on June 16, 2026 at 10:50 pm

    It’s possible that somebody has used gflags.exe to enable user stack trace capturing for this process or systemwide, or some other flag that requires tracking of CRT allocation operations.

    You should be able to check this possibility in the registry using the info here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a 64bit C#/.Net3.0 application that runs on a 64bit Windows server. From
I have a program that runs as 64 bit application under Windows. I want
I have an application that runs hosted under the w3wp.exe process. While debugging, I
I have the following scenario: - 64bit Windows Server 2008. - 32bit .NET application
I have a .NET application that runs on both x86 and x64. I'd like
We have a windows client application that makes web service calls. The web service
I have a 64bit application using ARC, that is serving up a distributed object.
I have an application that makes a web service call to get the URL
I have a C# console application that runs on a 64 bit Windows 2008
I have a processing based Java application that runs fine in Eclipse but the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.