New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 606248 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
NOT IN USE
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ASSERTION FAILED: m_parsedStyleSheetCache->isInMemoryCache() ../../third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp(159) : blink::StyleSheetContents *blink::CSSStyleSheetResource::restoreParsedStyleSheet(const blink::CSSParserContext &)

Project Member Reported by ukai@chromium.org, Apr 25 2016

Issue description

Version: 52.0.2714.0 (Developer Build) (64-bit) with dcheck_always_on=1
OS: Linux

What steps will reproduce the problem?
(1) http://webweb.jp/blog/seo/dym-reputation/
(2)
(3)

What is the expected output?

What do you see instead?
ASSERTION FAILED: m_parsedStyleSheetCache->isInMemoryCache()
../../third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp(159) : blink::StyleSheetContents *blink::CSSStyleSheetResource::restoreParsedStyleSheet(const blink::CSSParserContext &)
1   0x7fffeb19afbb
2   0x7fffeb511e25 blink::CSSStyleSheetResource::checkNotify()
3   0x7fffeb52d54b blink::Resource::finish()
4   0x7fffeb542957 blink::ResourceLoader::didFinishLoading(blink::WebURLLoader*, double, long)
5   0x7ffff5468713 content::WebURLLoaderImpl::Context::OnCompletedRequest(int, bool, bool, std::string const&, base::TimeTicks const&, long)
6   0x7ffff5448425 content::ResourceDispatcher::OnRequestComplete(int, ResourceMsg_RequestCompleteData const&)
7   0x7ffff5449ef1
8   0x7ffff544659f content::ResourceDispatcher::DispatchMessage(IPC::Message const&)
9   0x7ffff5445bc8 content::ResourceDispatcher::OnMessageReceived(IPC::Message const&)
10  0x7fffedf4c81f
11  0x7ffff7c9071c base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&)
12  0x7fffedf3f547 scheduler::TaskQueueManager::ProcessTaskFromWorkQueue(scheduler::internal::WorkQueue*, scheduler::internal::TaskQueueImpl::Task*)
13  0x7fffedf3e1c5 scheduler::TaskQueueManager::DoWork(base::TimeTicks, bool)
14  0x7fffedf405a4
15  0x7ffff7c9071c base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&)
16  0x7ffff7cb97b5 base::MessageLoop::RunTask(base::PendingTask const&)
17  0x7ffff7cb9b18 base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&)
18  0x7ffff7cb9d3b base::MessageLoop::DoWork()
19  0x7ffff7cbb6bf base::MessagePumpDefault::Run(base::MessagePump::Delegate*)
20  0x7ffff7cb92e1 base::MessageLoop::RunHandler()
21  0x7ffff7ce7d5c base::RunLoop::Run()
22  0x7ffff7cb83f0 base::MessageLoop::Run()
23  0x7ffff5f57ebe
24  0x7ffff60701db
25  0x7ffff6070772
26  0x7ffff60711b3
27  0x7ffff606fda0 content::ContentMain(content::ContentMainParams const&)
28  0x555555a35336 ChromeMain
29  0x7fffeebc1ec5 __libc_start_main
30  0x555555a35201
Received signal 11 SEGV_MAPERR 0000fbadbeef
#0 0x7ffff7c8f087 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#1 0x7ffff0214340 <unknown>
#2 0x7fffeb5120b7 blink::CSSStyleSheetResource::restoreParsedStyleSheet()
#3 0x7fffeb19afbb blink::LinkStyle::setCSSStyleSheet()
#4 0x7fffeb511e25 blink::CSSStyleSheetResource::checkNotify()
#5 0x7fffeb52d54b blink::Resource::finish()
#6 0x7fffeb542957 blink::ResourceLoader::didFinishLoading()
#7 0x7ffff5468713 content::WebURLLoaderImpl::Context::OnCompletedRequest()
#8 0x7ffff5448425 content::ResourceDispatcher::OnRequestComplete()
#9 0x7ffff5449ef1 _ZN3IPC8MessageTI32ResourceMsg_RequestComplete_MetaSt5tupleIJi31ResourceMsg_RequestCompleteDataEEvE8DispatchIN7content18ResourceDispatcherES8_vMS8_FviRKS3_EEEbPKNS_7MessageEPT_PT0_PT1_T2_
#10 0x7ffff544659f content::ResourceDispatcher::DispatchMessage()
#11 0x7ffff5445bc8 content::ResourceDispatcher::OnMessageReceived()
#12 0x7fffedf4c81f _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0EEEENS0_9BindStateINS0_15RunnableAdapterIPFvSt10unique_ptrIN5blink13WebTaskRunner4TaskESt14default_deleteIS9_EEEEESD_JNS0_13PassedWrapperISC_EEEEENS0_12InvokeHelperILb0EvSF_EEFvvEE3RunEPNS0_13BindStateBaseE
#13 0x7ffff7c9071c base::debug::TaskAnnotator::RunTask()
#14 0x7fffedf3f547 scheduler::TaskQueueManager::ProcessTaskFromWorkQueue()
#15 0x7fffedf3e1c5 scheduler::TaskQueueManager::DoWork()
#16 0x7fffedf405a4 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0ELm1ELm2EEEENS0_9BindStateINS0_15RunnableAdapterIMN9scheduler16TaskQueueManagerEFvNS_9TimeTicksEbEEEFvPS7_S8_bEJNS_7WeakPtrIS7_EERS8_bEEENS0_12InvokeHelperILb1EvSB_EEFvvEE3RunEPNS0_13BindStateBaseE
#17 0x7ffff7c9071c base::debug::TaskAnnotator::RunTask()
#18 0x7ffff7cb97b5 base::MessageLoop::RunTask()
#19 0x7ffff7cb9b18 base::MessageLoop::DeferOrRunPendingTask()
#20 0x7ffff7cb9d3b base::MessageLoop::DoWork()
#21 0x7ffff7cbb6bf base::MessagePumpDefault::Run()
#22 0x7ffff7cb92e1 base::MessageLoop::RunHandler()
#23 0x7ffff7ce7d5c base::RunLoop::Run()
#24 0x7ffff7cb83f0 base::MessageLoop::Run()
#25 0x7ffff5f57ebe content::RendererMain()
#26 0x7ffff60701db content::RunZygote()
#27 0x7ffff6070772 content::RunNamedProcessTypeMain()
#28 0x7ffff60711b3 content::ContentMainRunnerImpl::Run()
#29 0x7ffff606fda0 content::ContentMain()
#30 0x555555a35336 ChromeMain
#31 0x7fffeebc1ec5 __libc_start_main
#32 0x555555a35201 <unknown>
  r8: 00007fffe496ea00  r9: 0000555555cec950 r10: 00007fffeef5cbe0 r11: 00000000
00000000
 r12: 0000000000000001 r13: 00000e1d9b581240 r14: 00007fffffffa988 r15: 00000000
fbadbeef
  di: 0000000000000000  si: 0000000000000000  bp: 00000e1d9b64a000  bx: 000006fb
a5bb7430
  dx: 0000000000000000  ax: fb1fdea42e74f900  cx: 00007ffff7d4ee20  sp: 00007fff
ffffa930
  ip: 00007fffeb5120b7 efl: 0000000000010246 cgf: 0000000000000033 erf: 00000000
00000006
 trp: 000000000000000e msk: 0000000000000000 cr2: 00000000fbadbeef
[end of stack trace]


Please use labels and text to provide additional information.
https://chromium.googlesource.com/chromium/src/+/34cb0c85cdf289e217a497a5bff147966ddaad0a ?
 
Labels: Needs-Feedback
Are you investigating this crash sigbjornf?

Comment 2 by sigbjo...@opera.com, Apr 26 2016

No

Comment 3 by r...@opera.com, May 2 2016

Owner: r...@opera.com
Status: Assigned (was: Untriaged)
All programs supposed 
Project Member

Comment 5 by bugdroid1@chromium.org, May 2 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c7032f96c614bec3b23c6b6ec6f371db5a84a0cc

commit c7032f96c614bec3b23c6b6ec6f371db5a84a0cc
Author: rune <rune@opera.com>
Date: Mon May 02 15:39:24 2016

Don't cache parsed stylesheet if it wasn't added to the memory cache.

The code expects the StyleSheetContents to be in the memory cache when
pointed to by m_parsedStyleSheetCache. Set m_parsedStyleSheetCache to
nullptr initially when the StyleSheetContents could not be added to the
memory cache.

R=sigbjornf@opera.com
BUG= 606248 

Review-Url: https://codereview.chromium.org/1941733002
Cr-Commit-Position: refs/heads/master@{#390949}

[modify] https://crrev.com/c7032f96c614bec3b23c6b6ec6f371db5a84a0cc/third_party/WebKit/Source/core/css/CSSStyleSheetResourceTest.cpp
[modify] https://crrev.com/c7032f96c614bec3b23c6b6ec6f371db5a84a0cc/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp

Comment 6 by r...@opera.com, May 2 2016

Status: Fixed (was: Assigned)

Comment 7 Deleted

Sign in to add a comment