Commit Graph

57 Commits

Author SHA1 Message Date
L. David Baron
36c4f35f17 Bug 914253 patch 10 - Revert inadvertent change from previous commit. No review. DONTBUILD 2014-08-06 19:23:54 -07:00
L. David Baron
ed8153c8a4 Bug 914253 patch 9 - Implement CRC checking for .gnu_debuglink section. No review.
This is needed to avoid regressions relative to the perl version because
the perl version failed, due to a missing /, to properly examine two of
the paths, one of which often yields the same filename as the original
file (but whose CRC will fail).

I've tested that this CRC calculation succeeds in cases where it should
succeed.

The observed CRC check failures (so far) on my Ubuntu 14.04 system are
the following links:
  /lib/x86_64-linux-gnu/libc.so.6 -> /lib/x86_64-linux-gnu/libc-2.19.so
  /lib/x86_64-linux-gnu/libpthread.so.0 -> /lib/x86_64-linux-gnu/libpthread-2.19.so
  /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 -> /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.23
  /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 -> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.23
which succeed on a later possibility in /usr/lib/debug/.  But optimizing
to check f != file before checking the CRC wouldn't help because of the
naming differences due to symlinks, so I didn't bother.  If we ever want
to optimize away the time doing the CRC checks for these failures, we
could do so by checking if the files are the same path *after* resolving
symlinks.

DONTBUILD
2014-08-06 19:21:44 -07:00
L. David Baron
920133fd9a Bug 914253 patch 8 - Ignore useless results from addr2line and keep what we had before, like fix-linux-stack.pl does. No review.
DONTBUILD
2014-08-06 19:21:43 -07:00
L. David Baron
1615e2590a Bug 914253 patch 7 - Remove some debugging code and the remnants of the old address adjustment code. No review.
DONTBUILD
2014-08-06 19:21:43 -07:00
L. David Baron
b4e78a31c1 Bug 914253 patch 6 - Linux stacks are lowercase hexidecimal (although this was temporarily not true due to bug 939610, which is probably when mccr8 started fix_linux_stack.py). No review. 2014-08-06 15:52:49 -07:00
L. David Baron
d2dbb63199 Bug 914253 patch 5 - Implement caching of addr2line results, like bug 812070 did for fix-linux-stack.pl. No review. 2014-08-06 15:52:49 -07:00
L. David Baron
440baa15fc Bug 914253 patch 4 - Implement address adjustment for fix_linux_stack.py. No review. 2014-08-06 15:52:48 -07:00
L. David Baron
bb8ac84c74 Bug 914253 patch 3 - Implement separate debug info for fix_linux_stack.py, including the addition of support for .note.gnu.build-id sections that fix-linux-stack.pl did not support. No review. 2014-08-06 15:52:48 -07:00
L. David Baron
2d404fab34 Bug 914253 patch 2 - Pull opening comment from fix-linux-stack.pl. No review. 2014-08-06 15:52:48 -07:00
Andrew McCreight
3e8075f6c1 Bug 914253 patch 1 - Initial version of fix_linux_stack.py, based on slightly old version of fix_macosx_stack.py. No review.
--HG--
rename : tools/rb/fix_macosx_stack.py => tools/rb/fix_linux_stack.py
2014-08-06 15:52:48 -07:00
L. David Baron
2b5d6b3cfb Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.

The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.

--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
L. David Baron
ecdbd3fa68 Back out changeset 72c0c955cf53 (no bug) now that bug 939610 is fixed. 2014-02-24 15:27:53 -08:00
L. David Baron
01dadebce0 Make fix-linux-stack handle addresses with lowercase hexidecimal, since that seems to be the thing these days. No bug.
(mrbkap, I, and ehoogeveen have all seen lowercase lately.)
2014-02-17 20:07:45 -08:00
Andrew McCreight
a24c170753 Bug 967215 - Fix fix_macosx_stack.py. r=njn DONTBUILD 2014-02-06 11:31:49 -08:00
Andrew McCreight
af8993b4cb Bug 550335 - fix_macosx_stack for 64-bit. r=ted 2012-05-25 09:07:24 -07:00
Ted Mielczarek
3c3453db11 bug 751673 - fix Windows assertion stacks. r=dbaron
--HG--
extra : rebase_source : b74882bb3914afaa44341088b9f737c909e88f65
2013-03-11 14:21:53 -04:00
Nicholas Nethercote
5dc0b8dea8 Bug 819833 (part 3) - Fix fix_macosx_stack.py.
--HG--
extra : rebase_source : edf2b21b1061c5b1aa31d071e24099ab8072d3f5
2012-12-10 21:24:55 -08:00
Nicholas Nethercote
3b897d976a Bug 819833 (part 2) - Remove fix-macosx-stack.pl because it's unused. r=ted.
--HG--
extra : rebase_source : 66c605bd2086b1a014fa361f7725536c135cdeb7
2012-12-10 21:19:18 -08:00
Nicholas Nethercote
32cd80aa69 Bug 812070 (part 2) - Speed up fix-linux-stack.pl by adding a cache for previously queried addresses.
--HG--
extra : rebase_source : 286ff300d8ef36ff136d0a55bcef2dcf43845b04
2012-11-15 14:38:24 -08:00
Nicholas Nethercote
0a9b12ec8d Bug 812070 (part 1) - Merge %pipes and %address_adjustment in fix-linux-stack.pl.
--HG--
extra : rebase_source : db6a782a2e5df081d885b3eb72dcd19e7b196687
2012-11-15 14:38:21 -08:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Karl Tomlinson
eb1243ff38 b=647469 continue after crashes in addr2line r=dbaron
--HG--
extra : transplant_source : %3B%3D%1AX%09%D6N%5D%A2%3D%1F%23%2C%408%F7P%B46S
2011-05-02 08:33:16 +12:00
Benjamin Smedberg
e0d4b5721a Revert the accidental change to make-tree.pl from revision 116abfbc71e5 2010-07-15 10:40:17 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
774bb7e0e8 Free the component-location arrays at shutdown. 2010-06-25 17:27:10 -04:00
Karl Tomlinson
918b996817 temporarily dump some window state on mochitest time out to debug bug 569237 2010-06-23 11:14:24 +12:00
Jesse Ruderman
427777ed92 Bug 570287 - New stack fixer that uses breakpad symbol files. r=ted 2010-06-25 14:47:19 -07:00
Jesse Ruderman
f0d9ba9782 Revert d39bed41e215, because pty doesn't do the right thing when the process exits, creating a race condition
--HG--
extra : rebase_source : 8643b1ea88d52e76f93e66158373f479f41ccdd7
2010-06-08 20:55:43 -07:00
Karl Tomlinson
7e84937701 revert b8ddc4e35f65 to remove temporary logging 2010-06-24 15:59:10 +12:00
Jesse Ruderman
7be016503b Try to fix 10.6 debug perma-orange that results from fix_macosx_stack.py not dealing with atos's complaint about lack of symbols 2010-04-20 17:19:20 -07:00
Jesse Ruderman
009850e168 Fix bug 550388: avoid regexp perf issues in the stack fixer. r=dbaron 2010-03-20 23:08:47 -07:00
Jesse Ruderman
8dd58baaf8 Bug 539516 - Switch automation.py to use the new python stack fixer. r=ted
--HG--
rename : tools/rb/fix-macosx-stack.py => tools/rb/fix_macosx_stack.py
2010-02-21 13:03:20 -08:00
<Ms2ger@gmail.com>
b7aab23acf Bug 539274: Tab cleanup in aisle tools/rb/find-leakers.pl r=bsmedberg 2010-02-20 08:58:06 -05:00
Jesse Ruderman
f904d8b6bd Make fix-macosx-stack.py faster by caching atos processes, which requires tricking atos into giving us unbuffered output. (Bug 429963, r=dbaron) 2010-01-13 11:43:13 -08:00
Benjamin Smedberg
5b4cf2e3f8 Bug 538388 - Make find-leakers.pl work with the output of XPCOM_MEM_ALLOC_LOG as it dose with XPCOM_MEM_REFCNT_LOG, r=dbaron 2010-01-07 15:14:27 -05:00
L. David Baron
f60ea30cfa Fix typos. (Bug 429963) 2010-01-07 13:56:09 -05:00
L. David Baron
2911df5cdd Actually get the c++filt invocation right. (Bug 429963) 2010-01-07 13:52:51 -05:00
L. David Baron
7d76205a54 Add a very slow (to work around what's probably an I/O buffering issue) version of fix-macosx-stack in python that uses atos (and should thus work on 10.5). (Bug 429963) 2010-01-07 13:31:53 -05:00
L. David Baron
86b1e0bafb Remove buffering of test output by making stack fixers not buffer their standard output. (Bug 510014) 2009-08-12 15:20:52 -07:00
Mark Banner
00608927a5 Bug 471950 Improve bloatdiff.pl error handling - improve tinderbox integration, and do not error when two logs have the same bloat data. r=nthomas,dbaron 2009-02-17 08:44:51 +00:00
Serge Gautherie
8265c6bd3e Bug 449150 – In <find-leakers.pl>, fix code nits and add output sorting
(Av1) <find-leakers.pl>
2008-08-05 04:05:50 +02:00
Ben Hearsum
199532adb1 bug 422296: tools needed for debug+leak tests on mozilla-central - bloatdiff.pl + leaktest.py.in runner script. r=tmielczarek, patch=me 2008-05-13 17:17:33 -04:00
dbaron@dbaron.org
56baacb4df Deal with padding inside .gnu_debuglink section being non-null. Not part of build. 2008-05-05 14:51:11 -07:00
dbaron@dbaron.org
e84bf8599b Use better name. 2008-03-02 23:26:21 -08:00
dbaron@dbaron.org
1d0030f9c2 Add a simple variant of make-tree to filter refcount logs for a single object. Not part of the build. 2008-03-02 23:24:55 -08:00
dbaron@dbaron.org
9a4248ca82 Initial underscore for symbols is not only public symbols, and we can remove it for C++ too if we pass the right option to c++filt. 2007-08-16 23:26:09 -07:00
dbaron@dbaron.org
69a73cb48f Trim extra underscores. 2007-08-13 22:06:05 -07:00
dbaron@dbaron.org
fcaa1f9920 Use vmaddr for __TEXT section, not first section, so that we get correct results for the binary. 2007-08-13 21:44:33 -07:00
dbaron@dbaron.org
251fd2061d Don't ignore exported symbols. 2007-08-13 21:35:29 -07:00