Bug 200678 - REGRESSION (r248532-r248544): ASSERTION FAILED: mainThreadPthread in WTF::isMainThread()
Summary: REGRESSION (r248532-r248544): ASSERTION FAILED: mainThreadPthread in WTF::isM...
Status: RESOLVED DUPLICATE of bug 200677
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-13 11:17 PDT by Ryan Haddad
Modified: 2019-08-13 12:04 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.65 KB, patch)
2019-08-13 11:56 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2019-08-13 11:17:11 PDT
** The following JSC stress test failures have been introduced:
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.bytecode-cache
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.default
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.dfg-eager
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.dfg-eager-no-cjit-validate
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.dfg-maximal-flush-validate-no-cjit
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-eager
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-eager-no-cjit
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-eager-no-cjit-b3o1
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-no-cjit-b3o0
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-no-cjit-no-inline-validate
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-no-cjit-no-put-stack-validate
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-no-cjit-small-pool
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.ftl-no-cjit-validate-sampling-profiler
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.mini-mode
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.no-cjit-validate-phases
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.no-ftl
	stress/dfg-scan-inlined-tail-caller-frames-liveness.js.no-llint

ASSERTION FAILED: mainThreadPthread
/Volumes/Data/slave/highsierra-debug/build/Source/WTF/wtf/cocoa/MainThreadCocoa.mm(231) : bool WTF::isMainThread()
1   0x10f6b26e9 WTFCrash
2   0x10f6b56cb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x10f715312 WTF::isMainThread()
4   0x10f6e0b9f WTF::RefCountedBase::RefCountedBase()
5   0x10f6e0b75 WTF::RefCounted<WTF::CStringBuffer, std::__1::default_delete<WTF::CStringBuffer> >::RefCounted()
6   0x10f6e0b40 WTF::CStringBuffer::CStringBuffer(unsigned long)
7   0x10f6e011d WTF::CStringBuffer::CStringBuffer(unsigned long)
8   0x10f6e001e WTF::CStringBuffer::createUninitialized(unsigned long)
9   0x10f6e022e WTF::CString::init(char const*, unsigned long)
10  0x10f6e0360 WTF::CString::CString(char const*, unsigned long)
11  0x10f6e0395 WTF::CString::CString(char const*, unsigned long)
12  0x10f75e841 WTF::StringImpl::tryGetUtf8ForRange(unsigned int, unsigned int, WTF::ConversionMode) const
13  0x10f75e8cf WTF::StringImpl::tryGetUtf8(WTF::ConversionMode) const
14  0x10f7c7e33 WTF::String::tryGetUtf8(WTF::ConversionMode) const
15  0x10f7c7edd WTF::String::utf8(WTF::ConversionMode) const
16  0x10f7c7f8e WTF::String::utf8() const
17  0x110e1e7e8 JSC::Options::setAliasedOption(char const*)
18  0x110e0c916 JSC::Options::setOption(char const*)
19  0x10f583d50 CommandLine::parseArguments(int, char**)
20  0x10f59ec43 CommandLine::CommandLine(int, char**)
21  0x10f5844f3 CommandLine::CommandLine(int, char**)
22  0x10f58334e jscmain(int, char**)
23  0x10f58330e main
24  0x7fff54f22015 start
25  0xb

https://build.webkit.org/builders/Apple%20High%20Sierra%20Debug%20JSC%20%28Tests%29/builds/3429
Comment 1 Ryan Haddad 2019-08-13 11:19:11 PDT
Chris, you were making RefCounted changes in the regression range, so this could be related to your work.
Comment 2 Chris Dumez 2019-08-13 11:37:59 PDT
Yes, I also know how to fix this. I'll do this now.
Comment 3 Chris Dumez 2019-08-13 11:56:45 PDT
Created attachment 376191 [details]
Patch
Comment 4 Mark Lam 2019-08-13 11:59:44 PDT
Comment on attachment 376191 [details]
Patch

Already fixed in https://bugs.webkit.org/show_bug.cgi?id=200677.
Comment 5 Chris Dumez 2019-08-13 12:01:32 PDT

*** This bug has been marked as a duplicate of bug 200677 ***
Comment 6 Chris Dumez 2019-08-13 12:04:12 PDT
(In reply to Mark Lam from comment #4)
> Comment on attachment 376191 [details]
> Patch
> 
> Already fixed in https://bugs.webkit.org/show_bug.cgi?id=200677.

Oh, good. Thanks.