Closed
Bug 476518
Opened 15 years ago
Closed 15 years ago
Sunbird debug symbols for crash reports seem to be missing
Categories
(Calendar :: Build Config, defect)
Calendar
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ssitter, Assigned: gozer)
Details
Attachments
(3 files)
1.67 KB,
patch
|
Details | Diff | Splinter Review | |
2.76 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
1.38 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
Today I experienced some crashes when shutting down Thunderbird and Sunbird. I submitted crash reports for both applications. The Thunderbird ones contain a useful stacktrace: http://crash-stats.mozilla.com/report/index/f0e5021c-ce60-4c10-80a4-2719a2090202 http://crash-stats.mozilla.com/report/index/02bc8c17-11f3-4dea-860e-0bda82090202 The Sunbird ones not: http://crash-stats.mozilla.com/report/index/dbbc3e1a-9ac1-452f-8b31-58e702090202 http://crash-stats.mozilla.com/report/index/9c772afc-85f3-422e-a246-c420c2090202 Looking at http://crash-stats.mozilla.com/ there are more Sunbird crash reports for the last day but none seems to contain useful information either. Is there a possibility to check if the debug symbols for crash reports are correctly uploaded to the crash server?
Assignee | ||
Comment 1•15 years ago
|
||
Hrm, looks like the current buildbot configuration has the symbol generation disabled for nightly Sunbird. I can turn them on and see what happens.
Assignee | ||
Comment 2•15 years ago
|
||
This is the required buildbot config change to get debug symbols generated and uploaded for Sunbird.
Assignee | ||
Comment 3•15 years ago
|
||
Note that if we are turning this on, it would be a great opportunity to consider switching the Macs over to the new debug symbol generation (stabs) away from the buggy (dwarf-2).
Comment 4•15 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090201 Calendar/1.0pre bp-d976c843-cf78-43f9-8971-798a32090202 I see symbols for libxpcom_core.so but not for the top and bottom of the stack where Breakpad only reports "sunbird-bin@" plus some hex addresses
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4) > > I see symbols for libxpcom_core.so but not for the top and bottom of the stack That's probably because luckly, a libxpcom_core.so with the same checksum was built as a result of a Thunderbird build, and crash-stats looks up symbols infomrmation by library checksum. I've just enabled buildsymbols generation for the Linux and Windows Sunbird nightly builds. pushing to http://hg.mozilla.org/build/buildbot-configs searching for changes changeset: 720:339b2e8b3b74 tag: tip user: Philippe M. Chiasson <gozer@mozillamessaging.com> date: Mon Feb 02 22:09:37 2009 -0500 summary: Bug 476518. Enable nightly buildsymbols for Sunbird Linux+Windows. r=me For Mac, I'd prefer if we could agree on the dwarf/stubs debugging symbol change before enabling them.
Reporter | ||
Comment 6•15 years ago
|
||
(In reply to comment #5) > For Mac, I'd prefer if we could agree on the dwarf/stubs debugging symbol > symbol change before enabling them. Sunbird already seems to use stabs: https://hg.mozilla.org/build/buildbot-configs/file/339b2e8b3b74/thunderbird/macosx/mozconfig-sunbird#l20
Assignee | ||
Comment 7•15 years ago
|
||
that's because I got them reversed. stabs is the old way, dwarf-2 is the new way, see : https://hg.mozilla.org/build/buildbot-configs/file/339b2e8b3b74/thunderbird/macosx/mozconfig Oh, and it's stabs, not stubs, jeez. Sorry about the confusion.
Comment 8•15 years ago
|
||
So what is needed to enable dwarf-2 ? I'm all for it.
Assignee | ||
Comment 9•15 years ago
|
||
This is all that's needed, the rest of the build tools know how to adapt. Thunderbird has switched over to it a while back, and it's great. Works 100% of the time and is much, much easier on CPU
Assignee | ||
Comment 10•15 years ago
|
||
Once calendar switched over, we can get rid of a slow, painfull `find . [...]` to delete leftovers files from stabs builds.
Assignee | ||
Comment 11•15 years ago
|
||
Note, worked fine for Linux and Win32 yesterday night: <http://symbols.mozilla.org/sunbird/sunbird-1.0pre-Linux-20090203050314-symbols.txt> <http://symbols.mozilla.org/sunbird/sunbird-1.0pre-WINNT-20090203035902-symbols.txt>
Assignee | ||
Comment 12•15 years ago
|
||
Thanks to Standard8's ever watchful eyes, I did forget to mention that this requires the latest version of Apple's XCode 2.5
Updated•15 years ago
|
Attachment #360318 -
Flags: review+
Comment 13•15 years ago
|
||
Comment on attachment 360317 [details] [diff] [review] [checked in] Enable dwarf-2 buildsymbols for Calendar on OSX >+<<<<<<< local >+BRANCHES['comm-central-sunbird']['platforms']['macosx']['upload_symbols'] = True >+======= > BRANCHES['comm-central-sunbird']['platforms']['macosx']['upload_symbols'] = False >+>>>>>>> other This looks like a misguided merge? r=philipp with comments considered.
Attachment #360317 -
Flags: review+
Assignee | ||
Comment 14•15 years ago
|
||
(In reply to comment #12) > Thanks to Standard8's ever watchful eyes, I did forget to mention that this > requires the latest version of Apple's XCode 2.5 The upgrade to XCode 2.5 was painless, and worked just fine for me. I could easily upgrade cb-xserve03 (downloaded xcode 2.5 to it already)
Assignee | ||
Comment 15•15 years ago
|
||
upgraded cb-xserve03 to XCode 2.5, restarted build slave
Assignee | ||
Comment 16•15 years ago
|
||
Comment on attachment 360317 [details] [diff] [review] [checked in] Enable dwarf-2 buildsymbols for Calendar on OSX comparing with ssh://hg.mozilla.org/build/buildbot-configs searching for changes changeset: 722:9e0527a80b00 tag: tip user: Philippe M. Chiasson <gozer@mozillamessaging.com> date: Tue Feb 03 14:32:48 2009 -0500 summary: Bug 360317. Switch calendar osx builds to -gdwarf-2 for buildsymbols. r=philipp
Attachment #360317 -
Attachment description: Enable dwarf-2 buildsymbols for Calendar on OSX → [checked in] Enable dwarf-2 buildsymbols for Calendar on OSX
Assignee | ||
Comment 17•15 years ago
|
||
Grr, apologies, referenced the wrong bug ## in the hg log message
Assignee | ||
Comment 18•15 years ago
|
||
Last night's Mac nightlies compiled with -gdwarf-2 without problems, so all that's left is to enable the buildsymbols step. Pushed that last remaining change. changeset: 723:a79a8147cd59 tag: tip user: Philippe M. Chiasson <gozer@mozillamessaging.com> date: Wed Feb 04 09:57:47 2009 -0500 summary: Bug 476518. Enable buildsymbols generation on Sunbird/Mac. r=me
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Assignee: nobody → gozer
You need to log in
before you can comment on or make changes to this bug.
Description
•