carton icon indicating copy to clipboard operation
carton copied to clipboard

Console output told me to open this issue. Used Tokamak

Open tscholze opened this issue 3 years ago • 3 comments

The console output told me to open this issue.

Information

  • macOS 11.2.3 (20D91)
  • Safari 14.0.3 (16610.4.3.1.7)
  • Used Tokamak

Stacktrace

Build completed successfully
The app is currently hosted at http://127.0.0.1:8080/

An error occurred, here's the raw stack trace for it:
  Please send an issue or PR to the Carton repository
  with your browser name and this raw stack trace so
  we can add support for it.


forEach@[native code]


wasm-stub@[wasm code]
<?>.wasm-function[write]@[wasm code]
<?>.wasm-function[swift_reportError]@[wasm code]
<?>.wasm-function[_swift_stdlib_reportFatalErrorInFile]@[wasm code]
<?>.wasm-function[$ss17_assertionFailure__4file4line5flagss5NeverOs12StaticStringV_SSAHSus6UInt32VtFySRys5UInt8VGXEfU_yAMXEfU_]@[wasm code]
<?>.wasm-function[$sSS8withUTF8yxxSRys5UInt8VGKXEKlFyt_Tg5088$ss17_assertionFailure__4file4line5flagss5NeverOs12StaticStringV_SSAHSus6UInt32VtFySRys5C15VGXEfU_yAMXEfU_s0jK0VADSus0M0VTf1ncn_n]@[wasm code]
<?>.wasm-function[$ss17_assertionFailure__4file4line5flagss5NeverOs12StaticStringV_SSAHSus6UInt32VtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15_ColorSchemeKeyV12defaultValueAA0cD0OvgZ]@[wasm code]
<?>.wasm-function[$s11TokamakCore15_ColorSchemeKeyVAA011EnvironmentE0A2aDP12defaultValue0H0QzvgZTW]@[wasm code]
<?>.wasm-function[$s11TokamakCore17EnvironmentValuesVy5ValueQzxmcAA0C3KeyRzluig]@[wasm code]
<?>.wasm-function[$s11TokamakCore17EnvironmentValuesV11colorSchemeAA05ColorF0Ovg]@[wasm code]
<?>.wasm-function[$s11TokamakCore15_SystemColorBoxC7resolve2inAA03AnydE0C5_RGBAVAA17EnvironmentValuesV_tF]@[wasm code]
<?>.wasm-function[$s11TokamakCore11_ColorProxyV7resolve2inAA03AnyC3BoxC5_RGBAVAA17EnvironmentValuesV_tF]@[wasm code]
<?>.wasm-function[$s11TokamakCore5ColorV0A10StaticHTMLE8cssValueySSAA17EnvironmentValuesVF]@[wasm code]
<?>.wasm-function[$s11TokamakCore13_StrokedShapeV0A10StaticHTMLE10attributesySDyAD13HTMLAttributeVSSGAA0D5Style_pF]@[wasm code]
<?>.wasm-function[$s11TokamakCore13_StrokedShapeVyxG0A10StaticHTML0D10AttributesA2eFP10attributesySDyAE13HTMLAttributeVSSGAA0D5Style_pFTW]@[wasm code]
<?>.wasm-function[$s11TokamakCore10_ShapeViewV0A10StaticHTMLE12deferredBodyAA03AnyD0Vvg]@[wasm code]
<?>.wasm-function[$s11TokamakCore10_ShapeViewVyxq_GAA0D18DeferredToRenderer0A10StaticHTMLAaEP12deferredBodyAA03AnyD0VvgTW]@[wasm code]
<?>.wasm-function[$s11TokamakCore7AnyViewVyACxcAA0D0RzlufcACypcfU_]@[wasm code]
<?>.wasm-function[$s11TokamakCore15StackReconcilerC6render16compositeElement4body6resultqd__AA016MountedCompositeG0CyxG_s24ReferenceWritableKeyPathCyAJypGs0nO0CyAJqd__ypcGtlF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15StackReconcilerC6render13compositeViewAA03AnyG0VAA016MountedCompositeG0CyxG_tF]@[wasm code]
<?>.wasm-function[$s11TokamakCore20MountedCompositeViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtFyAMXEfU0_]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtFyAMXEfU0_TA]@[wasm code]
<?>.wasm-function[$s11TokamakCore14MountedElementCyxGs5Error_pIggzo_ADsAE_pIegnzo_AA8RendererRzlTR]@[wasm code]
<?>.wasm-function[$s11TokamakCore14MountedElementCyxGs5Error_pIggzo_ADsAE_pIegnzo_AA8RendererRzlTRTA]@[wasm code]
<?>.wasm-function[$sSTsE7forEachyyy7ElementQzKXEKF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore20MountedCompositeViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtFyAMXEfU0_]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtFyAMXEfU0_TA]@[wasm code]
<?>.wasm-function[$s11TokamakCore14MountedElementCyxGs5Error_pIggzo_ADsAE_pIegnzo_AA8RendererRzlTR]@[wasm code]
<?>.wasm-function[$s11TokamakCore14MountedElementCyxGs5Error_pIggzo_ADsAE_pIegnzo_AA8RendererRzlTRTA]@[wasm code]
<?>.wasm-function[$sSTsE7forEachyyy7ElementQzKXEKF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtFyAMXEfU0_]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtFyAMXEfU0_TA]@[wasm code]
<?>.wasm-function[$s11TokamakCore14MountedElementCyxGs5Error_pIggzo_ADsAE_pIegnzo_AA8RendererRzlTR]@[wasm code]
<?>.wasm-function[$s11TokamakCore14MountedElementCyxGs5Error_pIggzo_ADsAE_pIegnzo_AA8RendererRzlTRTA]@[wasm code]
<?>.wasm-function[$sSTsE7forEachyyy7ElementQzKXEKF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15MountedHostViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore20MountedCompositeViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore20MountedCompositeViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore20MountedCompositeViewC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore12MountedSceneC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore10MountedAppC5mount6before2on4withy10TargetTypeQzSg_AA0C7ElementCyxGSgAA15StackReconcilerCyxGtF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15StackReconcilerC19performInitialMount33_FCAA3CDB23B668BF64A31B25B678943FLLyyF]@[wasm code]
<?>.wasm-function[$s11TokamakCore15StackReconcilerC3app6target11environment8renderer9schedulerACyxGqd___10TargetTypeQzAA17EnvironmentValuesVxyyycctcAA3AppRd__lufc]@[wasm code]
<?>.wasm-function[$s11TokamakCore15StackReconcilerC3app6target11environment8renderer9schedulerACyxGqd___10TargetTypeQzAA17EnvironmentValuesVxyyycctcAA3AppRd__lufC]@[wasm code]
<?>.wasm-function[$s10TokamakDOM11DOMRendererCyACx_13JavaScriptKit8JSObjectC0A4Core17EnvironmentValuesVSgtcAG3AppRzlufc]@[wasm code]
<?>.wasm-function[$s10TokamakDOM11DOMRendererCyACx_13JavaScriptKit8JSObjectC0A4Core17EnvironmentValuesVSgtcAG3AppRzlufC]@[wasm code]
<?>.wasm-function[$s11TokamakCore3AppP0A3DOME7_launchyyx_AA17EnvironmentValuesV13JavaScriptKit8JSObjectCtFZ]@[wasm code]
<?>.wasm-function[$s11TokamakCore3AppP0A3DOME7_launchyyx_AA17EnvironmentValuesVtFZ]@[wasm code]
<?>.wasm-function[$s10TokamakAppAAV0A4Core0B0AacDP7_launchyyx_AC17EnvironmentValuesVtFZTW]@[wasm code]
<?>.wasm-function[$s11TokamakCore3AppPAAE4mainyyFZ]@[wasm code]
<?>.wasm-function[main]@[wasm code]
<?>.wasm-function[__main_argc_argv]@[wasm code]
<?>.wasm-function[__main_void]@[wasm code]
<?>.wasm-function[__original_main]@[wasm code]
<?>.wasm-function[_start]@[wasm code]
wasm-stub@[wasm code]
_start@[native code]


asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]
promiseReactionJob@[native code]

tscholze avatar Mar 18 '21 16:03 tscholze

I’ve opened a PR that should automatically demangle these stack traces for Safari in the future, but in the meantime here’s the Swift stack trace to help you debug:

write
swift_reportError
_swift_stdlib_reportFatalErrorInFile
closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:)
specialized String.withUTF8<A>(_:)
_assertionFailure(_:_:file:line:flags:)
static _ColorSchemeKey.defaultValue.getter
protocol witness for static EnvironmentKey.defaultValue.getter in conformance _ColorSchemeKey
EnvironmentValues.subscript.getter
EnvironmentValues.colorScheme.getter
_SystemColorBox.resolve(in:)
_ColorProxy.resolve(in:)
Color.cssValue(_:)
_StrokedShape.attributes(_:)
protocol witness for ShapeAttributes.attributes(_:) in conformance _StrokedShape<A>
_ShapeView.deferredBody.getter
protocol witness for ViewDeferredToRenderer.deferredBody.getter in conformance _ShapeView<A, B>
closure #1 in AnyView.init<A>(_:)
StackReconciler.render<A>(compositeElement:body:result:)
StackReconciler.render(compositeView:)
MountedCompositeView.mount(before:on:with:)
closure #2 in MountedHostView.mount(before:on:with:)
partial apply for closure #2 in MountedHostView.mount(before:on:with:)
thunk for @callee_guaranteed (@guaranteed MountedElement<A>) -> (@error @owned Error)
partial apply for thunk for @callee_guaranteed (@guaranteed MountedElement<A>) -> (@error @owned Error)
Sequence.forEach(_:)
MountedHostView.mount(before:on:with:)
MountedCompositeView.mount(before:on:with:)
closure #2 in MountedHostView.mount(before:on:with:)
partial apply for closure #2 in MountedHostView.mount(before:on:with:)
thunk for @callee_guaranteed (@guaranteed MountedElement<A>) -> (@error @owned Error)
partial apply for thunk for @callee_guaranteed (@guaranteed MountedElement<A>) -> (@error @owned Error)
Sequence.forEach(_:)
MountedHostView.mount(before:on:with:)
closure #2 in MountedHostView.mount(before:on:with:)
partial apply for closure #2 in MountedHostView.mount(before:on:with:)
thunk for @callee_guaranteed (@guaranteed MountedElement<A>) -> (@error @owned Error)
partial apply for thunk for @callee_guaranteed (@guaranteed MountedElement<A>) -> (@error @owned Error)
Sequence.forEach(_:)
MountedHostView.mount(before:on:with:)
MountedCompositeView.mount(before:on:with:)
MountedCompositeView.mount(before:on:with:)
MountedCompositeView.mount(before:on:with:)
MountedScene.mount(before:on:with:)
MountedApp.mount(before:on:with:)
StackReconciler.performInitialMount()
StackReconciler.init<A>(app:target:environment:renderer:scheduler:)
StackReconciler.__allocating_init<A>(app:target:environment:renderer:scheduler:)
DOMRenderer.init<A>(_:_:_:)
DOMRenderer.__allocating_init<A>(_:_:_:)
static App._launch(_:_:_:)
static App._launch(_:_:)
protocol witness for static App._launch(_:_:) in conformance TokamakApp
static App.main()
main
__main_argc_argv
__main_void
__original_main
_start

j-f1 avatar Mar 18 '21 17:03 j-f1

Thanks @j-f1 !

tscholze avatar Mar 19 '21 09:03 tscholze

@tscholze have you been able to debug your app with the demangled stack trace? Can this issue be closed?

MaxDesiatov avatar May 28 '21 15:05 MaxDesiatov