New issue
Advanced search Search tips

Issue 806003 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 810464
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug

Blocking:
issue 735701



Sign in to add a comment

AllModes/TaskSchedulerSingleThreadTaskRunnerManagerCommonTest.ThreadNamesSet/1 crash flake on Fuchsia ARM64

Project Member Reported by w...@chromium.org, Jan 25 2018

Issue description

In build https://build.chromium.org/p/chromium.fyi/builders/Fuchsia%20ARM64/builds/4787 this test flaked with a crash in TaskTracker on a TaskScheduler thread:

[00161.700] 01197.01254> <== fatal exception: process base_unittests__exec[55124] thread TaskSchedulerSingleThreadBackgr[55491]
[00161.700] 01197.01254> <== fatal page fault, PC at 0xcb17fe05c038
[00161.701] 01197.01254>  x0      0xf6e52863add8 x1      0x5ebc99f08000 x2                   0 x3                   0
[00161.701] 01197.01254>  x4      0x562c2c977ba8 x5      0x5605d89e32c0 x6              0xffff x7             0x10000
[00161.701] 01197.01254>  x8                   0 x9                   0 x10     0x562c2c953dd8 x11     0x562c2c953dd8
[00161.701] 01197.01254>  x12                  0 x13                  0 x14                  0 x15                  0
[00161.701] 01197.01254>  x16     0xcb17fe289d98 x17     0xdd6ecbb70a60 x18                  0 x19     0xf6e52863ae70
[00161.702] 01197.01254>  x20     0x562c2c956800 x21     0x562c2c807398 x22     0xf6e52863af68 x23     0xf6e52863af70
[00161.702] 01197.01254>  x24                0x1 x25                  0 x26                0x1 x27                  0
[00161.702] 01197.01254>  x28     0xcb17fe05c4ac x29     0xf6e52863afc0 lr      0xcb17fe05c024 sp      0xf6e52863adc0
[00161.702] 01197.01254>  pc      0xcb17fe05c038 psr         0x80000000
[00161.702] 01197.01254>  far                  0 esr         0x92000004
[00161.702] 01197.01254> bottom of user stack:
[00161.705] 01197.01254> 0x0000f6e52863adc0: 00000000 00000000 00000000 00000000 |................|
[00161.706] 01197.01254> 0x0000f6e52863add0: 00000000 00000000 00000000 00000000 |................|
[00161.706] 01197.01254> 0x0000f6e52863ade0: fd5f2eb2 0000cb17 fd5a443c 0000cb17 |.._.....<DZ.....|
[00161.706] 01197.01254> 0x0000f6e52863adf0: 000000e8 00000000 fdda7704 0000cb17 |.........w......|
[00161.706] 01197.01254> 0x0000f6e52863ae00: 00000000 00000000 00000000 00000000 |................|
[00161.706] 01197.01254> 0x0000f6e52863ae10: 00000000 00000000 00000000 00000000 |................|
[00161.706] 01197.01254> 0x0000f6e52863ae20: 00000000 00000000 00000000 00000000 |................|
[00161.706] 01197.01254> 0x0000f6e52863ae30: 2c953b00 00000001 00000000 00000000 |.;.,............|
[00161.706] 01197.01254> 0x0000f6e52863ae40: 00000001 00000000 00000000 00000000 |................|
[00161.707] 01197.01254> 0x0000f6e52863ae50: 09a2b902 00000000 00000000 00000000 |................|
[00161.707] 01197.01254> 0x0000f6e52863ae60: 2c966e40 0000562c 2c807a01 0000562c |@n.,,V...z.,,V..|
[00161.707] 01197.01254> 0x0000f6e52863ae70: 00000000 00000000 fd5f2eb2 0000cb17 |.........._.....|
[00161.707] 01197.01254> 0x0000f6e52863ae80: fd5a443c 0000cb17 000000e8 00000000 |<DZ.............|
[00161.707] 01197.01254> 0x0000f6e52863ae90: fdda7704 0000cb17 00000000 00000000 |.w..............|
[00161.707] 01197.01254> 0x0000f6e52863aea0: 00000000 00000000 00000000 00000000 |................|
[00161.707] 01197.01254> 0x0000f6e52863aeb0: 00000000 00000000 00000000 00000000 |................|
[00161.707] 01197.01254> arch: aarch64
[00161.760] 01197.01254> dso: id=04961a87c88b0b7bb67e3a8658e9c9a9d618acdd base=0xe3b06687e000 name=liblaunchpad.so
[00161.760] 01197.01254> dso: id=f5ad5a763488b2efec63b5b234397c73db3ac501 base=0xdd6ecbb58000 name=libc.so
[00161.760] 01197.01254> dso: id=c0ea7a219142e42a753de575a133c47e104823d1 base=0xcb23a2ed5000 name=<vDSO>
[00161.760] 01197.01254> dso: id=a085ff4463ed4926 base=0xcb17fd588000 name=app:base_unittests__exec
[00161.760] 01197.01254> dso: id=0fda34aa62f90f35ac3761148df2c2e7d8a7c978 base=0x8d569cb8b000 name=libfdio.so
#01: base::internal::TaskTracker::RunNextTask(scoped_refptr<base::internal::Sequence>, base::internal::CanScheduleSequenceObserver*) at ??:?
#02: base::internal::SchedulerWorker::Thread::ThreadMain() at ??:?
#03: base::(anonymous namespace)::ThreadFunc(void*) at ??:?
#04: pc 0xdd6ecbb7094c sp 0xf6e52863afc0 (libc.so,0x1894c)
#05: pc 0xdd6ecbbe3098 sp 0xf6e52863afe0 (libc.so,0x8b098)
 

Comment 1 by w...@chromium.org, Jan 25 2018

We've had this flake a couple of times over the past ~week or so - I notice that https://chromium-review.googlesource.com/c/chromium/src/+/873377 changed the way in which TaskScheduler thread names are constructed, so potentially related?

Comment 2 by w...@chromium.org, Jan 25 2018

Cc: gab@chromium.org

Comment 3 by gab@chromium.org, Jan 28 2018

Labels: Needs-Feedback
Hmm, this seems to me like it's crashing calling some Callback (that's what TaskTracker::RunNextTask does but then it goes into undecipherable frames...)

TaskTracker::RunNextTask also touches TLS, so could be a reason to get into sys libraries... but without a better stack we can't do much here.

Comment 4 by w...@chromium.org, Feb 15 2018

Owner: ----
Status: Available (was: Assigned)

Comment 5 by w...@chromium.org, Feb 21 2018

Blocking: 735701

Comment 6 by gab@chromium.org, Feb 21 2018

Mergedinto: 810464
Owner: gab@chromium.org
Status: Duplicate (was: Available)

Sign in to add a comment