Closed Bug 1338761 Opened 5 years ago Closed 4 years ago

stylo: layout/base/crashtests/404218-1.xhtml panics with "called `Option::unwrap()` on a `None` value"

Categories

(Core :: CSS Parsing and Computation, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

(Blocks 1 open bug)

Details

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcore/option.rs:323
stack backtrace:
   1:     0x7fcce842abbc - std::sys::imp::backtrace::tracing::imp::write::h23bcdb89e70c5bbf
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:42
   2:     0x7fcce843915e - std::panicking::default_hook::{{closure}}::he7b82439fd2d2bb6
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/panicking.rs:351
   3:     0x7fcce8438d64 - std::panicking::default_hook::he1cd4269c1558f23
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/panicking.rs:367
   4:     0x7fcce84395fb - std::panicking::rust_panic_with_hook::h006b37e36b7c8982
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/panicking.rs:555
   5:     0x7fcce8439444 - std::panicking::begin_panic::h043cddfdd3933cc4
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/panicking.rs:517
   6:     0x7fcce84393b9 - std::panicking::begin_panic_fmt::h34e588bba6b8a2c2
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/panicking.rs:501
   7:     0x7fcce8439347 - rust_begin_unwind
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/panicking.rs:477
   8:     0x7fcce844d50d - core::panicking::panic_fmt::he52644573ecd78ff
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcore/panicking.rs:69
   9:     0x7fcce844d444 - core::panicking::panic::hab2712470c117667
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcore/panicking.rs:49
  10:     0x7fcce7680bb9 - <core::option::Option<T>>::unwrap::hf8df2dfdd9e51351
                        at /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libcore/macros.rs:21
  11:     0x7fcce781bf00 - Servo_TraverseSubtree
                        at /z/autoland/servo/ports/geckolib/glue.rs:179
  12:     0x7fcce436ee8d - _ZN7mozilla13ServoStyleSet25PrepareAndTraverseSubtreeEPKNS_3dom7ElementENS_21TraversalRootBehaviorE
                        at /z/autoland/layout/style/ServoStyleSet.cpp:203
  13:     0x7fcce4370c0e - _ZN7mozilla13ServoStyleSet15StyleNewSubtreeEPNS_3dom7ElementE
                        at /z/autoland/layout/style/ServoStyleSet.cpp:585
  14:     0x7fcce3e9c0bb - _ZN20AutoStyleNewChildrenD2Ev
                        at /z/autoland/dom/xbl/nsXBLService.cpp:428
  15:     0x7fcce3e9bf46 - _ZN7mozilla5MaybeI20AutoStyleNewChildrenE5resetEv
                        at /z/autoland/obj/dist/include/mozilla/Maybe.h:448
  16:     0x7fcce3e92de4 - _ZN7mozilla5MaybeI20AutoStyleNewChildrenED2Ev
                        at /z/autoland/obj/dist/include/mozilla/Maybe.h:102
  17:     0x7fcce3e898b1 - _ZN12nsXBLService12LoadBindingsEP10nsIContentP6nsIURIP12nsIPrincipalPP12nsXBLBindingPb
                        at /z/autoland/dom/xbl/nsXBLService.cpp:551
  18:     0x7fcce1cf0780 - _ZN7mozilla3dom7Element10WrapObjectEP9JSContextN2JS6HandleIP8JSObjectEE
                        at /z/autoland/dom/base/Element.cpp:568
  19:     0x7fcce1cda4c9 - _ZN7mozilla3dom14binding_detail25DoGetOrCreateDOMReflectorINS0_7ElementELNS1_32GetOrCreateReflectorWrapBehaviorE0EEEbP9JSContextPT_N2JS6HandleIP8JSObjectEENS9_13MutableHandleINS9_5ValueEEE
                        at /z/autoland/obj/dist/include/mozilla/dom/BindingUtils.h:923
  20:     0x7fcce1cda30c - _ZN7mozilla3dom23GetOrCreateDOMReflectorINS0_7ElementEEEbP9JSContextPT_N2JS13MutableHandleINS7_5ValueEEENS7_6HandleIP8JSObjectEE
                        at /z/autoland/obj/dist/include/mozilla/dom/BindingUtils.h:992
  21:     0x7fcce2b45d2d - _ZN7mozilla3dom15DocumentBindingL14getElementByIdEP9JSContextN2JS6HandleIP8JSObjectEEP11nsIDocumentRK19JSJitMethodCallArgs
                        at /z/autoland/obj/dom/bindings/DocumentBinding.cpp:931
  22:     0x7fcce2e5c464 - _ZN7mozilla3dom20GenericBindingMethodEP9JSContextjPN2JS5ValueE
                        at /z/autoland/dom/bindings/BindingUtils.cpp:2959
  23:     0x7fcce66f4d0c - _ZN2js12CallJSNativeEP9JSContextPFbS1_jPN2JS5ValueEERKNS2_8CallArgsE
                        at /z/autoland/js/src/jscntxtinlines.h:281
  24:     0x7fcce66e4bce - _ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructE
                        at /z/autoland/js/src/vm/Interpreter.cpp:460
  25:     0x7fcce66e4fdc - _ZL12InternalCallP9JSContextRKN2js13AnyInvokeArgsE
                        at /z/autoland/js/src/vm/Interpreter.cpp:505
  26:     0x7fcce66e4ddc - _ZN2js13CallFromStackEP9JSContextRKN2JS8CallArgsE
                        at /z/autoland/js/src/vm/Interpreter.cpp:511
  27:     0x7fcce66d9580 - _ZL9InterpretP9JSContextRN2js8RunStateE
                        at /z/autoland/js/src/vm/Interpreter.cpp:2957
  28:     0x7fcce66ce6a8 - _ZN2js9RunScriptEP9JSContextRNS_8RunStateE
                        at /z/autoland/js/src/vm/Interpreter.cpp:406
  29:     0x7fcce66e5ef2 - _ZN2js13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueENS_16AbstractFramePtrEPS9_
                        at /z/autoland/js/src/vm/Interpreter.cpp:687
  30:     0x7fcce66e624f - _ZN2js7ExecuteEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectPNS2_5ValueE
                        at /z/autoland/js/src/vm/Interpreter.cpp:719
  31:     0x7fcce6cb2ded - _ZL8EvaluateP9JSContextN2js9ScopeKindEN2JS6HandleIP8JSObjectEERKNS3_22ReadOnlyCompileOptionsERNS3_18SourceBufferHolderENS3_13MutableHandleINS3_5ValueEEE
                        at /z/autoland/js/src/jsapi.cpp:4528
  32:     0x7fcce6cb30ec - _ZL8EvaluateP9JSContextRN2JS16AutoObjectVectorERKNS1_22ReadOnlyCompileOptionsERNS1_18SourceBufferHolderENS1_13MutableHandleINS1_5ValueEEE
                        at /z/autoland/js/src/jsapi.cpp:4555
  33:     0x7fcce6cb2fcc - _ZN2JS8EvaluateEP9JSContextRNS_16AutoObjectVectorERKNS_22ReadOnlyCompileOptionsERNS_18SourceBufferHolderENS_13MutableHandleINS_5ValueEEE
                        at /z/autoland/js/src/jsapi.cpp:4613
  34:     0x7fcce1ee7dd6 - _ZN9nsJSUtils14EvaluateStringEP9JSContextRN2JS18SourceBufferHolderENS2_6HandleIP8JSObjectEERNS2_14CompileOptionsERKNS_15EvaluateOptionsENS2_13MutableHandleINS2_5ValueEEEPPv
                        at /z/autoland/dom/base/nsJSUtils.cpp:207
  35:     0x7fcce1ee824c - _ZN9nsJSUtils14EvaluateStringEP9JSContextRN2JS18SourceBufferHolderENS2_6HandleIP8JSObjectEERNS2_14CompileOptionsEPPv
                        at /z/autoland/dom/base/nsJSUtils.cpp:274
  36:     0x7fcce1f2c009 - _ZN14nsScriptLoader14EvaluateScriptEP19nsScriptLoadRequest
                        at /z/autoland/dom/base/nsScriptLoader.cpp:2242
  37:     0x7fcce1f2a62e - _ZN14nsScriptLoader14ProcessRequestEP19nsScriptLoadRequest
                        at /z/autoland/dom/base/nsScriptLoader.cpp:2026
  38:     0x7fcce1f2206f - _ZN14nsScriptLoader20ProcessScriptElementEP16nsIScriptElement
                        at /z/autoland/dom/base/nsScriptLoader.cpp:1744
  39:     0x7fcce1f2099c - _ZN15nsScriptElement18MaybeProcessScriptEv
                        at /z/autoland/dom/base/nsScriptElement.cpp:149
  40:     0x7fcce156c4dd - _ZN16nsIScriptElement16AttemptToExecuteEv
                        at /z/autoland/dom/base/nsIScriptElement.h:222
  41:     0x7fcce3ea9207 - _ZN16nsXMLContentSink12CloseElementEP10nsIContent
                        at /z/autoland/dom/xml/nsXMLContentSink.cpp:577
  42:     0x7fcce3eab4ac - _ZN16nsXMLContentSink16HandleEndElementEPKDsb
                        at /z/autoland/dom/xml/nsXMLContentSink.cpp:1076
  43:     0x7fcce3eab121 - _ZN16nsXMLContentSink16HandleEndElementEPKDs
                        at /z/autoland/dom/xml/nsXMLContentSink.cpp:1027
  44:     0x7fcce14e6d25 - _ZN13nsExpatDriver16HandleEndElementEPKDs
                        at /z/autoland/parser/htmlparser/nsExpatDriver.cpp:397
  45:     0x7fcce14eb6a4 - _ZL23Driver_HandleEndElementPvPKDs
                        at /z/autoland/parser/htmlparser/nsExpatDriver.cpp:78
  46:     0x7fcce4de666c - doContent
                        at /z/autoland/parser/expat/lib/xmlparse.c:2554
  47:     0x7fcce4de3250 - contentProcessor
                        at /z/autoland/parser/expat/lib/xmlparse.c:2098
  48:     0x7fcce4de0054 - doProlog
                        at /z/autoland/parser/expat/lib/xmlparse.c:4078
  49:     0x7fcce4ddf392 - prologProcessor
                        at /z/autoland/parser/expat/lib/xmlparse.c:3812
  50:     0x7fcce4ddf15f - prologInitProcessor
                        at /z/autoland/parser/expat/lib/xmlparse.c:3629
  51:     0x7fcce4dddcf1 - MOZ_XML_Parse
                        at /z/autoland/parser/expat/lib/xmlparse.c:1530
  52:     0x7fcce14e9d90 - _ZN13nsExpatDriver11ParseBufferEPKDsjbPj
                        at /z/autoland/parser/htmlparser/nsExpatDriver.cpp:1014
  53:     0x7fcce14ea4a4 - _ZN13nsExpatDriver12ConsumeTokenER9nsScannerRb
                        at /z/autoland/parser/htmlparser/nsExpatDriver.cpp:1112
  54:     0x7fcce14f0cba - _ZN8nsParser8TokenizeEb
                        at /z/autoland/parser/htmlparser/nsParser.cpp:1944
  55:     0x7fcce14ef7d8 - _ZN8nsParser11ResumeParseEbbb
                        at /z/autoland/parser/htmlparser/nsParser.cpp:1462
  56:     0x7fcce14f15d6 - _ZN8nsParser15OnDataAvailableEP10nsIRequestP11nsISupportsP14nsIInputStreammj
                        at /z/autoland/parser/htmlparser/nsParser.cpp:1842
  57:     0x7fcce146d552 - _ZN18nsDocumentOpenInfo15OnDataAvailableEP10nsIRequestP11nsISupportsP14nsIInputStreammj
                        at /z/autoland/uriloader/base/nsURILoader.cpp:321
  58:     0x7fcce02e5e75 - _ZN13nsBaseChannel15OnDataAvailableEP10nsIRequestP11nsISupportsP14nsIInputStreammj
                        at /z/autoland/netwerk/base/nsBaseChannel.cpp:856
  59:     0x7fcce031759b - _ZN17nsInputStreamPump15OnStateTransferEv
                        at /z/autoland/netwerk/base/nsInputStreamPump.cpp:600
  60:     0x7fcce0316c30 - _ZN17nsInputStreamPump18OnInputStreamReadyEP19nsIAsyncInputStream
                        at /z/autoland/netwerk/base/nsInputStreamPump.cpp:429
  61:     0x7fcce0183ab8 - _ZN23nsInputStreamReadyEvent3RunEv
                        at /z/autoland/xpcom/io/nsStreamUtils.cpp:96
  62:     0x7fcce01d79ec - _ZN8nsThread16ProcessNextEventEbPb
                        at /z/autoland/xpcom/threads/nsThread.cpp:1261
  63:     0x7fcce01d5b8b - _Z19NS_ProcessNextEventP9nsIThreadb
                        at /z/autoland/xpcom/threads/nsThreadUtils.cpp:389
  64:     0x7fcce0aa3a7e - _ZN7mozilla3ipc11MessagePump3RunEPN4base11MessagePump8DelegateE
                        at /z/autoland/ipc/glue/MessagePump.cpp:96
  65:     0x7fcce0a00e94 - _ZN11MessageLoop11RunInternalEv
                        at /z/autoland/ipc/chromium/src/base/message_loop.cc:238
  66:     0x7fcce0a00e14 - _ZN11MessageLoop10RunHandlerEv
                        at /z/autoland/ipc/chromium/src/base/message_loop.cc:231
  67:     0x7fcce0a00dec - _ZN11MessageLoop3RunEv
                        at /z/autoland/ipc/chromium/src/base/message_loop.cc:211
  68:     0x7fcce4120ef2 - _ZN14nsBaseAppShell3RunEv
                        at /z/autoland/widget/nsBaseAppShell.cpp:156
  69:     0x7fcce62aa481 - _ZN12nsAppStartup3RunEv
                        at /z/autoland/toolkit/components/startup/nsAppStartup.cpp:283
  70:     0x7fcce63bd9d0 - _ZN7XREMain11XRE_mainRunEv
                        at /z/autoland/toolkit/xre/nsAppRunner.cpp:4458
  71:     0x7fcce63bea3f - _ZN7XREMain8XRE_mainEiPPcRKN7mozilla15BootstrapConfigE
                        at /z/autoland/toolkit/xre/nsAppRunner.cpp:4635
  72:     0x7fcce63bf21b - _Z8XRE_mainiPPcRKN7mozilla15BootstrapConfigE
                        at /z/autoland/toolkit/xre/nsAppRunner.cpp:4726
  73:     0x7fcce63d6476 - _ZN7mozilla13BootstrapImpl8XRE_mainEiPPcRKNS_15BootstrapConfigE
                        at /z/autoland/toolkit/xre/Bootstrap.cpp:45
  74:           0x4069ce - _ZL7do_mainiPPcS0_
                        at /z/autoland/browser/app/nsBrowserApp.cpp:234
  75:           0x40658b - main
                        at /z/autoland/browser/app/nsBrowserApp.cpp:305
  76:     0x7fccf478682f - __libc_start_main
  77:           0x4062a8 - _start
  78:                0x0 - <unknown>
Flags: needinfo?(bobbyholley)
Depends on: 1331047
Flags: needinfo?(bobbyholley)
Priority: -- → P3
Marking as P1 because they are the remaining crashes in crashtests.
Priority: P3 → P1
This is now fixed, probably by bug 1370793.
Assignee: nobody → cam
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/85449168cf0e
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.