Repository navigation
Closed
Labels
Description
I received these backtraces while loading https://newyorktimes.com:
Stack trace
stack backtrace:
0: 0x110b8cfae - __ZN9backtrace9backtrace5trace17h1031ecbd57e70b1aE
1: 0x110b8bf0c - __ZN72_$LT$backtrace..capture..Backtrace$u20$as$u20$core..default..Default$GT$7default17hd2735b19f50df4baE
2: 0x10ea3c560 - __ZN5servo21install_crash_handler7handler17h5983254e49d3dc15E
3: 0x7fffae9e2b39 - __sigtramp
4: 0x110b89ae8 - __ZN112_$LT$background_hang_monitor..sampler_mac..MacOsSampler$u20$as$u20$background_hang_monitor..sampler..Sampler$GT$25suspend_and_sample_thread17h9efe9ca9cfb5f555E
5: 0x110b83368 - __ZN23background_hang_monitor23background_hang_monitor27BackgroundHangMonitorWorker3run17h047341667e28d833E
6: 0x110b80397 - __ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h0fbad0ac2f51a49bE
7: 0x110b77f37 - __ZN3std9panicking3try7do_call17ha9b1c2b3d6b80215E.llvm.13158428631819150874
8: 0x11160303e - ___rust_maybe_catch_panic
9: 0x110b8a32b - __ZN50_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$8call_box17h1cdf58f3bd83d145E
10: 0x1116025eb - __ZN3std3sys4unix6thread6Thread3new12thread_start17ha7a33ee7c2fd74e3E
11: 0x7fffae9ec93a - __pthread_body
12: 0x7fffae9ec886 - __pthread_start
Stack trace
stack backtrace:
0: 0x110b8cfae - __ZN9backtrace9backtrace5trace17h1031ecbd57e70b1aE
1: 0x110b8bf0c - __ZN72_$LT$backtrace..capture..Backtrace$u20$as$u20$core..default..Default$GT$7default17hd2735b19f50df4baE
2: 0x10ea3c560 - __ZN5servo21install_crash_handler7handler17h5983254e49d3dc15E
3: 0x7fffae9e2b39 - __sigtramp
4: 0x10ea3c5d4 - __ZN5servo21install_crash_handler7handler17h5983254e49d3dc15E
5: 0x7fffae9e2b39 - __sigtramp
6: 0x110b89ae8 - __ZN112_$LT$background_hang_monitor..sampler_mac..MacOsSampler$u20$as$u20$background_hang_monitor..sampler..Sampler$GT$25suspend_and_sample_thread17h9efe9ca9cfb5f555E
7: 0x110b83368 - __ZN23background_hang_monitor23background_hang_monitor27BackgroundHangMonitorWorker3run17h047341667e28d833E
8: 0x110b80397 - __ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h0fbad0ac2f51a49bE
9: 0x110b77f37 - __ZN3std9panicking3try7do_call17ha9b1c2b3d6b80215E.llvm.13158428631819150874
10: 0x11160303e - ___rust_maybe_catch_panic
11: 0x110b8a32b - __ZN50_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$8call_box17h1cdf58f3bd83d145E
12: 0x1116025eb - __ZN3std3sys4unix6thread6Thread3new12thread_start17ha7a33ee7c2fd74e3E
13: 0x7fffae9ec93a - __pthread_body
14: 0x7fffae9ec886 - __pthread_start
They seem to show backtraces from the hang monitor thread, rather than the hanging thread.
Activity
jdm commentedon Jan 3, 2019
cc @gterzian
jdm commentedon Jan 3, 2019
On the other hand, that may actually be the result of the signal handler that tries to show backtraces of segfaults and other surprising failures:
servo/ports/servo/non_android_main.rs
Line 53 in f1dd31f
jdm commentedon Jan 3, 2019
Yep, this is a crash:
gterzian commentedon Jan 5, 2019
I'm getting a few permanent hangs(which occur when window is waiting for the result from reflow, I think)
servo/components/script/dom/window.rs
Line 1432 in 3ebd42c
and the sampling doesn't seem to crash in all cases.
This is with a build from
./mach build --release --with-frame-pointer@jdm do you get this crash each time you visit the page? What options did you pass to
buildandrun?jdm commentedon Jan 5, 2019
Mmm, I wasn't using a build with the frame pointer enabled. I wonder if that's causing the crash?
gterzian commentedon Jan 5, 2019
I tried a
./mach clean, followed by./mach build --release, and surprisingly it still produces a stacktrace in the hang profile, so it appears that the options is not necessary...I still can't seem to reproduce the same crash, although I am getting a different one on one occasion:
gterzian commentedon Jan 6, 2019
Ok, I reproduced the crash, it happened with a build without the
--with-frame-pointeroption, yet prior to the crash I also got a few valid hang reports, which would seem to show the crash doesn't relate to the frame pointer option, since in that case it should crash on each sampling, right?Auto merge of #22637 - gterzian:fix_mac_sampler, r=jdm
Auto merge of #22637 - gterzian:fix_mac_sampler, r=jdm