WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
171582
ASSERT(mainThreadPthread) in isMainThread() fails.
https://bugs.webkit.org/show_bug.cgi?id=171582
Summary
ASSERT(mainThreadPthread) in isMainThread() fails.
Mark Lam
Reported
2017-05-02 17:30:51 PDT
This is manifest almost every time when running the (soon to be landed) MultithreadedMultiVMExecutionTest in testapi. JoePeck says the failed assertion is benign. I'll comment it out for now (with a FIXME) because it is getting in the way of landing a bug and test.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2017-05-02 17:42:22 PDT
(In reply to Mark Lam from
comment #0
)
> This is manifest almost every time when running the (soon to be landed) > MultithreadedMultiVMExecutionTest in testapi. JoePeck says the failed > assertion is benign. I'll comment it out for now (with a FIXME) because it > is getting in the way of landing a bug and test.
Specifically, I'm referring to the isMainThread() at the bottom of MainThreadMac.mm.
Joseph Pecoraro
Comment 2
2017-05-03 12:23:16 PDT
Err, you probably shouldn't comment out the assert. It is benign for your use case but it is intended to catch other, more serious issues.
Mark Lam
Comment 3
2017-05-03 12:24:29 PDT
(In reply to Joseph Pecoraro from
comment #2
)
> Err, you probably shouldn't comment out the assert. It is benign for your > use case but it is intended to catch other, more serious issues.
OK, I'll comment out my test case and make it dependent on this bug then. Thanks.
Mark Lam
Comment 4
2017-05-04 10:09:58 PDT
(In reply to Mark Lam from
comment #3
)
> (In reply to Joseph Pecoraro from
comment #2
) > > Err, you probably shouldn't comment out the assert. It is benign for your > > use case but it is intended to catch other, more serious issues. > > OK, I'll comment out my test case and make it dependent on this bug then. > Thanks.
Joe pointed out offline that I can keep my test case as long as I make it call WTF::initializeMainThread() first. I went with that approach.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug