[Webkit-unassigned] [Bug 134632] New: ASSERTION FAILED: name[0] == '@' && length >= 2 in WebCore::CSSParser::detectAtToken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 4 06:02:10 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=134632

           Summary: ASSERTION FAILED: name[0] == '@' && length >= 2 in
                    WebCore::CSSParser::detectAtToken
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mhodovan.u-szeged at partner.samsung.com
                CC: darin at apple.com, ggaren at apple.com,
                    simon.fraser at apple.com, msaboff at apple.com


Test case:
<style>
    * {
        @\aaa
    }
</style>


Output:
ASSERTION FAILED: name[0] == '@' && length >= 2
Source/WebCore/css/CSSParser.cpp(10618) : void WebCore::CSSParser::detectAtToken(int, bool) [with CharacterType = unsigned char]


Backtrace:
#0  0x00007ffff58284d1 in WTFCrash () at /home/martin/Data/WebKit2/Source/WTF/wtf/Assertions.cpp:333
#1  0x00007ffff0a34fff in WebCore::CSSParser::detectAtToken<unsigned char> (this=0x7fffffffbe60, length=1, hasEscape=true) at /home/martin/Data/WebKit2/Source/WebCore/css/CSSParser.cpp:10618
#2  0x00007ffff0a2ca81 in WebCore::CSSParser::realLex<unsigned char> (this=0x7fffffffbe60, yylvalWithoutType=0x7fffffffa2d0) at /home/martin/Data/WebKit2/Source/WebCore/css/CSSParser.cpp:11211
#3  0x00007ffff19c6750 in WebCore::CSSParser::lex (this=0x7fffffffbe60, cssyylval=0x7fffffffa2d0) at /home/martin/Data/WebKit2/Source/WebCore/css/CSSParser.h:396
#4  0x00007ffff19c67a0 in WebCore::cssyylex (cssyylval=0x7fffffffa2d0, parser=0x7fffffffbe60) at /home/martin/Data/WebKit2/Source/WebCore/css/CSSParser.h:696
#5  0x00007ffff19c113a in cssyyparse (parser=0x7fffffffbe60) at /home/martin/Data/WebKit2/WebKitBuild/Debug/DerivedSources/WebCore/CSSGrammar.cpp:2816
#6  0x00007ffff09f8996 in WebCore::CSSParser::parseSheet (this=0x7fffffffbe60, sheet=0x7d2ae0, string=..., startLineNumber=8, ruleSourceDataResult=0x0, logErrors=true)
    at /home/martin/Data/WebKit2/Source/WebCore/css/CSSParser.cpp:440
#7  0x00007ffff0b22d23 in WebCore::StyleSheetContents::parseStringAtLine (this=0x7d2ae0, sheetText=..., startLineNumber=8, createdByParser=true)
    at /home/martin/Data/WebKit2/Source/WebCore/css/StyleSheetContents.cpp:326
#8  0x00007ffff0c07060 in WebCore::InlineStyleSheetOwner::createSheet (this=0x779558, element=..., text=...) at /home/martin/Data/WebKit2/Source/WebCore/dom/InlineStyleSheetOwner.cpp:147
#9  0x00007ffff0c06b18 in WebCore::InlineStyleSheetOwner::createSheetFromTextContents (this=0x779558, element=...) at /home/martin/Data/WebKit2/Source/WebCore/dom/InlineStyleSheetOwner.cpp:97
#10 0x00007ffff0c06ad5 in WebCore::InlineStyleSheetOwner::finishParsingChildren (this=0x779558, element=...) at /home/martin/Data/WebKit2/Source/WebCore/dom/InlineStyleSheetOwner.cpp:91
#11 0x00007ffff0dff7f9 in WebCore::HTMLStyleElement::finishParsingChildren (this=0x7794f0) at /home/martin/Data/WebKit2/Source/WebCore/html/HTMLStyleElement.cpp:90
#12 0x00007ffff0ea1452 in WebCore::HTMLElementStack::popCommon (this=0x624e88) at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLElementStack.cpp:578
#13 0x00007ffff0e9fe76 in WebCore::HTMLElementStack::pop (this=0x624e88) at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLElementStack.cpp:214
#14 0x00007ffff0ec9569 in WebCore::HTMLTreeBuilder::processEndTag (this=0x624e50, token=0x7fffffffd290) at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2179
#15 0x00007ffff0ebfd60 in WebCore::HTMLTreeBuilder::processToken (this=0x624e50, token=0x7fffffffd290) at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:386
#16 0x00007ffff0ebfb72 in WebCore::HTMLTreeBuilder::constructTree (this=0x624e50, token=0x7fffffffd290) at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:354
#17 0x00007ffff0e996fc in WebCore::HTMLDocumentParser::constructTreeFromHTMLToken (this=0x71bf50, rawToken=...) at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLDocumentParser.cpp:352
#18 0x00007ffff0e99383 in WebCore::HTMLDocumentParser::pumpTokenizer (this=0x71bf50, mode=WebCore::HTMLDocumentParser::AllowYield)
    at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLDocumentParser.cpp:309
#19 0x00007ffff0e98b89 in WebCore::HTMLDocumentParser::pumpTokenizerIfPossible (this=0x71bf50, mode=WebCore::HTMLDocumentParser::AllowYield)
    at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLDocumentParser.cpp:189
#20 0x00007ffff0e99c43 in WebCore::HTMLDocumentParser::append (this=0x71bf50, inputSource=...) at /home/martin/Data/WebKit2/Source/WebCore/html/parser/HTMLDocumentParser.cpp:428
#21 0x00007ffff0b7c661 in WebCore::DecodedDataDocumentParser::flush (this=0x71bf50, writer=...) at /home/martin/Data/WebKit2/Source/WebCore/dom/DecodedDataDocumentParser.cpp:60
#22 0x00007ffff0fe8217 in WebCore::DocumentWriter::end (this=0x791360) at /home/martin/Data/WebKit2/Source/WebCore/loader/DocumentWriter.cpp:247
#23 0x00007ffff0fd28f9 in WebCore::DocumentLoader::finishedLoading (this=0x7912c0, finishTime=0) at /home/martin/Data/WebKit2/Source/WebCore/loader/DocumentLoader.cpp:441
#24 0x00007ffff0fd2662 in WebCore::DocumentLoader::notifyFinished (this=0x7912c0, resource=0x7ac4f0) at /home/martin/Data/WebKit2/Source/WebCore/loader/DocumentLoader.cpp:375
#25 0x00007ffff107fc42 in WebCore::CachedResource::checkNotify (this=0x7ac4f0) at /home/martin/Data/WebKit2/Source/WebCore/loader/cache/CachedResource.cpp:334
#26 0x00007ffff107fd28 in WebCore::CachedResource::finishLoading (this=0x7ac4f0) at /home/martin/Data/WebKit2/Source/WebCore/loader/cache/CachedResource.cpp:350
#27 0x00007ffff107cd26 in WebCore::CachedRawResource::finishLoading (this=0x7ac4f0, data=0x64bf20) at /home/martin/Data/WebKit2/Source/WebCore/loader/cache/CachedRawResource.cpp:98
#28 0x00007ffff1032d1e in WebCore::SubresourceLoader::didFinishLoading (this=0x7aca50, finishTime=0) at /home/martin/Data/WebKit2/Source/WebCore/loader/SubresourceLoader.cpp:310
#29 0x00007ffff102efef in WebCore::ResourceLoader::didFinishLoading (this=0x7aca50, finishTime=0) at /home/martin/Data/WebKit2/Source/WebCore/loader/ResourceLoader.cpp:517
#30 0x00007ffff193e23f in WebCore::readCallback (asyncResult=0x7b09c0, data=0x7ad0d0) at /home/martin/Data/WebKit2/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:1302
#31 0x00007fffebef3aaa in async_ready_callback_wrapper (source_object=0x6851b0, res=0x7b09c0, user_data=0x7ad0d0) at ginputstream.c:519
#32 0x00007fffebf1347b in g_task_return_now (task=0x7b09c0) at gtask.c:1108
#33 0x00007fffebf13499 in complete_in_idle_cb (task=0x7b09c0) at gtask.c:1117
#34 0x00007fffeb963536 in g_main_dispatch (context=0x67f760) at gmain.c:3065
#35 g_main_context_dispatch (context=context at entry=0x67f760) at gmain.c:3641
#36 0x00007fffeccd95c0 in _ecore_glib_select__locked (ecore_timeout=<optimized out>, efds=<optimized out>, wfds=0x7fffffffd9b0, rfds=0x7fffffffd930, ecore_fds=8, ctx=<optimized out>)
    at lib/ecore/ecore_glib.c:172
#37 _ecore_glib_select (ecore_fds=8, rfds=0x7fffffffd930, wfds=0x7fffffffd9b0, efds=<optimized out>, ecore_timeout=<optimized out>) at lib/ecore/ecore_glib.c:204
#38 0x00007fffeccdc0a4 in _ecore_main_select (timeout=<optimized out>) at lib/ecore/ecore_main.c:1579
#39 0x00007fffeccdcc45 in _ecore_main_loop_iterate_internal (once_only=once_only at entry=0) at lib/ecore/ecore_main.c:2007
#40 0x00007fffeccdcd07 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:1042
#41 0x00007ffff7678933 in WTF::RunLoop::run () at /home/martin/Data/WebKit2/Source/WTF/wtf/efl/RunLoopEfl.cpp:51
#42 0x00007ffff75fd5fe in WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain> (argc=2, argv=0x7fffffffde58)
    at /home/martin/Data/WebKit2/Source/WebKit2/Shared/unix/ChildProcessMain.h:61
#43 0x00007ffff75fd3db in WebKit::WebProcessMainUnix (argc=2, argv=0x7fffffffde58) at /home/martin/Data/WebKit2/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp:128
#44 0x0000000000400840 in main (argc=2, argv=0x7fffffffde58) at /home/martin/Data/WebKit2/Source/WebKit2/WebProcess/EntryPoint/unix/WebProcessMain.cpp:32

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list