Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
stripping debug info + windows
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tp  
View profile  
 More options Oct 10 2012, 10:18 am
From: tp <lete...@gmail.com>
Date: Wed, 10 Oct 2012 07:18:26 -0700 (PDT)
Local: Wed, Oct 10 2012 10:18 am
Subject: stripping debug info + windows

Hi,

Thanks for the great lib, it has helped me debug several crashes already.

One thing related to windows is still unclear to me - is it possible to
have a minidump produced by a "release binary" (no debug symbols) of my app
produce a usable stack trace ? So far, I have only been able to get usable
stack traces using windows debug build of the app.

On mac+linux I run strip on the binaries after generating the symbols and a
proper stack trace can be generated. How can this be handled on windows?

Thanks in advance,
teemu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ted Mielczarek  
View profile  
 More options Oct 10 2012, 10:29 am
From: Ted Mielczarek <t...@mielczarek.org>
Date: Wed, 10 Oct 2012 10:29:14 -0400
Local: Wed, Oct 10 2012 10:29 am
Subject: Re: stripping debug info + windows

On Wed, Oct 10, 2012 at 10:18 AM, tp <lete...@gmail.com> wrote:
> Hi,

> Thanks for the great lib, it has helped me debug several crashes already.

> One thing related to windows is still unclear to me - is it possible to have
> a minidump produced by a "release binary" (no debug symbols) of my app
> produce a usable stack trace ? So far, I have only been able to get usable
> stack traces using windows debug build of the app.

> On mac+linux I run strip on the binaries after generating the symbols and a
> proper stack trace can be generated. How can this be handled on windows?

Hi Teemu,

Generally what you need to do is run the dump_syms tool
(src/tools/windows/dump_syms in the Breakpad tree, or
src/tools/windows/binaries/dump_syms.exe for a pre-built binary) on
each PDB file from your application. This will produce output on
stdout in Breakpad's symbol file format[1]. We don't have good
documentation for this process on Windows currently, but the Linux
documentation[2] is virtually the same process and should show you
what you need to do to dump the symbols and get them used in minidump
processing.

Regards,
-Ted

1. http://code.google.com/p/google-breakpad/wiki/SymbolFiles
2. http://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tp  
View profile  
 More options Oct 10 2012, 3:03 pm
From: tp <lete...@gmail.com>
Date: Wed, 10 Oct 2012 12:03:03 -0700 (PDT)
Local: Wed, Oct 10 2012 3:03 pm
Subject: Re: stripping debug info + windows

Hi,

I have read the documentation and actually we already have the whole symbol
generation automated and working. We're using CMake and the only
problematic build was windows build with "Release" build type; the symbol
generation was failing due to missing PDB files, as those are not generated
for CMake's "Release" build type. I worked around this by using CMake's
"RelWithDebInfo" build type for release windows builds (it compiles with
optimizations enabled and generates PDBs), and now we finally get proper
stack traces for all platforms. And no longer need to distribute large and
non-optimized windows binaries to crash reporting working. Thanks again.

teemu

keskiviikko, 10. lokakuuta 2012 17.29.18 UTC+3 Ted Mielczarek kirjoitti:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Dawson  
View profile  
 More options Dec 7 2012, 1:44 pm
From: Bruce Dawson <bruce.daw...@gmail.com>
Date: Fri, 7 Dec 2012 10:44:18 -0800 (PST)
Local: Fri, Dec 7 2012 1:44 pm
Subject: Re: stripping debug info + windows

That's unfortunate that CMake's release builds default to not generating
symbols. IMHO there is no excuse for not always generating (and archiving)
symbols. If done correctly the symbol generation on Windows should not
affect the generated code at all. The .exe and .dll files should get 50-100
bytes larger due to the debug link that is inserted, but the actual code
bytes should be unchanged. It's worth verifying this since some
release-with-symbols configurations will forget to specify /opt:ref and
/opt:icf which makes builds with symbols a lot larger, since for some
reason the /DEBUG linker switch disables /opt:ref and /opt:icf.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »