Skip to content

Instantly share code, notes, and snippets.

View jdm's full-sized avatar

Josh Matthews jdm

View GitHub Profile
* thread #20, name = 'WRRenderBackend#0', stop reason = EXC_BAD_ACCESS (code=2, address=0x700003b38f48)
* frame #0: 0x0000000103aabf9e servo`_rjem_mallocx [inlined] je_tsd_wrapper_get(init=true) at tsd.h:688
frame #1: 0x0000000103aabf9b servo`_rjem_mallocx [inlined] je_tsd_get(init=true) at tsd.h:688
frame #2: 0x0000000103aabf8c servo`_rjem_mallocx [inlined] je_tsd_fetch_impl(init=true) at tsd.h:693
frame #3: 0x0000000103aabf7d servo`_rjem_mallocx [inlined] je_tsd_fetch at tsd.h:718
frame #4: 0x0000000103aabf7d servo`_rjem_mallocx [inlined] imallocx_body(size=52, flags=0, tsdn=0x0000700003b39248, usize=0x0000700003b39238, slow_path=false) at jemalloc.c:2246
frame #5: 0x0000000103aab8d7 servo`_rjem_mallocx(size=52, flags=0) at jemalloc.c:2286
frame #6: 0x0000000103aa4a87 servo`_$LT$servo_allocator..platform..Allocator$u20$as$u20$core..alloc..GlobalAlloc$GT$::alloc::hf48c6205784d26c8(self=0x0000000106ed47b0, layout=Layout @ 0x0000700003b3b128) at lib.rs:67
frame #7: 0x0000000103aa4
@jdm
jdm / tombstone
Last active September 23, 2020 03:21
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:8.1.0/OSM1.180201.012/4613442:userdebug/dev-keys'
Revision: '0'
ABI: 'x86'
pid: 25942, tid: 25964, name: m.mozilla.servo >>> com.mozilla.servo <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xc338e6f8
eax c338e420 ebx c338e3a8 ecx 0000002a edx 0000002a
esi c338e268 edi c338e340
xcs 00000023 xds 0000002b xes 0000002b xfs 0000006b xss 0000002b
eip c338e6f8 ebp d083a97c esp c338e340 flags 00210296
{
"servo-linux-cross1": {
"admin": "Jack Moffitt <[email protected]>\n",
"builders": {
"android": [
10477,
10476,
10472,
10471,
10469,
@jdm
jdm / gist:781b6ea46fc1863f444e05204d7d7e24
Last active January 24, 2018 14:40
Interesting Servo contributions
(1087, ' changesets affected by ', 657, ' distinct bugs')
('files changed ', 2250)
('dom/base/nsGlobalWindow.cpp', 36, set(['caab3921e4c2', 'ebe86d0f658a', '24c808f933e5', '747121b2bb50', 'bc02fa8b7849', '209cc2fb7608', 'd67c4fd50c16', 'df8e7a4b86cf', '29d3d5041e09', 'c3813fbb1c9a', '2a7e710043b6', 'a3903f835a81', 'fb8e4cdf2346', 'fbe66466ad9e', '55ec124fcdbb', '3b73bf339093', '204665ad4a24', '82f14cddfb38', '3ef46d8ff19e', 'e2f76393d2d0', '5326871f6961', '4d962ac45aee', '1ac35ad29f03', '72961f73cb4a', 'adba768607dc', '5461dd604fcf', '35314cd05df3', 'a2b13e2f75ec', '7de93c31c0f2', '7ec7752867ac', '56185630acb5', '21c623600606', '133ec7304f22', '78d2fbf52588', '5399738f71c0', 'b67b9a6a65fa']))
('content/base/src/nsDocument.cpp', 34, set(['d2bd5990a2fb', 'bab2083815b7', 'cdcee21f6141', 'edcc53a65a0b', '5b77d71ed927', '2e8648d72189', 'f8b310dfed11', '697f5c9e6ec1', 'a3a9c3d4f7c6', '8e9ed01b8a50', 'f3210a94c24f', '42c53ac5c6ad', 'fce062922614', '0af1ffafa95d', '5326871f6961', '669715ceed7a', 'f9288409f219', 'd68a
(view as text)
env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig ./mach build --release
in dir /Users/servo/buildbot/slave/mac-rel-wpt1/build (timeout 1200 secs)
watching logfiles {}
argv: ['env', 'PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig', './mach', 'build', '--release']
environment:
BUILD_MACHINE=<buildbot.process.properties.Property instance at 0x7fcef4792d88>
CARGO_HOME=/Users/servo/.cargo
CCACHE=/usr/local/bin/ccache
@jdm
jdm / 1.diff
Last active December 4, 2017 23:25
# HG changeset patch
# User Josh Matthews <[email protected]>
# Parent 40a14ca1cf04499f398e4cb8ba359b39eae4e216
diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp
--- a/dom/base/nsDocument.cpp
+++ b/dom/base/nsDocument.cpp
@@ -1593,24 +1593,43 @@ nsIDocument::nsIDocument()
mInSyncOperationCount(0),
mBlockDOMContentLoaded(0),
▶ CRASH [expected PASS] /css/css-flexbox/flexbox_flex-N-0-0-unitless.html
│ VMware, Inc.
│ softpipe
│ 3.3 (Core Profile) Mesa 17.3.0-devel
│ called `Result::unwrap()` on an `Err` value: Io(Error { repr: Os { code: 104, message: "Connection reset by peer" } }) (thread main, at /checkout/src/libcore/result.rs:906)
│ stack backtrace:
│ 0: 0x7fee093f2edc - backtrace::backtrace::trace::h3049d3b23f5565ad
│ 1: 0x7fee093f2f12 - backtrace::capture::Backtrace::new::h48230b597774155d
│ 2: 0x7fee0915ebe5 - servo::main::{{closure}}::h43eab36cac0b21e2
@jdm
jdm / gist:017e2e5a6534a835e81d7fcb465f4389
Last active December 5, 2017 17:48
gecko measurements
Importance of missing features:
* disable Gecko DOM APIs that Servo doesn't support, see performance/visual effect on TP6 sites
* disable Gecko layout features that Servo doesn't support, see performance/visual effect on TP6 sites
JS/DOM architecture:
* measure time spent in cycle collector (doesn't exist in Servo)
* measure memory usage difference between eager and lazy reflector strategy
- single page HTML spec
- start with HTML parser nodes (nsHtml5TreeOperation::Append)
- use save & measure, then measure & diff from about:memory, look at explicit/window-objects in content process
$ tools/android - update sdk --no-ui --all --filter platform-tools
Installing Archives:
Preparing to install archives
Downloading Android SDK Platform-tools, revision 26.0.2
Download finished with wrong checksum. Expected 685bb47f28db4c739b1815be3155af1974929ea6, got 161ca26461d4caec6cbbef513891fcd04a4fcf52.
Done. Nothing was installed.