Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in macOS 12.7.4 #18081

Open
MacKey-255 opened this issue Jan 30, 2025 · 0 comments
Open

Crash in macOS 12.7.4 #18081

MacKey-255 opened this issue Jan 30, 2025 · 0 comments

Comments

@MacKey-255
Copy link

Describe the bug

Hello, my application is crashed when try to show the MainWindow :/

OS version:
Image

Crash result:

2025-01-29 14:06:55.895 MyApp[26874:607604] *** Assertion failure in -[NSVisualEffectView setFrameOrigin:], NSView.m:4726
2025-01-29 14:06:55.897 MyApp[26874:607604] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '<NSVisualEffectView: 0x7f878a96b8f0>: invalid parameter not satisfying: isfinite(newOrigin.y)'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff8051836e3 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff804ee38bb objc_exception_throw + 48
	2   Foundation                          0x00007ff806030cd3 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 267
	3   AppKit                              0x00007ff807b7dbe1 -[NSView setFrameOrigin:] + 1732
	4   AppKit                              0x00007ff807b879a8 -[NSView setFrame:] + 375
	5   libAvaloniaNative.dylib             0x00000001060be64f -[AutoFitContentView setFrameSize:] + 247
	6   libAvaloniaNative.dylib             0x00000001060be54f -[AutoFitContentView SetTitleBarHeightHint:] + 76
	7   libAvaloniaNative.dylib             0x00000001060b9b7b _ZN10WindowImpl23SetExtendTitleBarHeightEd + 89
	8   libAvaloniaNative.dylib             0x00000001060b9bcb _ZTv0_n416_N10WindowImpl23SetExtendTitleBarHeightEd + 19
	9   ???                                 0x000000011ed3d1e6 0x0 + 4812165606
	10  ???                                 0x000000011ed3cf74 0x0 + 4812164980
	11  ???                                 0x000000011ed3cedd 0x0 + 4812164829
	12  ???                                 0x000000011ed3cc92 0x0 + 4812164242
	13  ???                                 0x000000011ed2ba4c 0x0 + 4812094028
	14  ???                                 0x000000011ed2b936 0x0 + 4812093750
	15  ???                                 0x000000011ed2b6d0 0x0 + 4812093136
	16  ???                                 0x000000011e98d978 0x0 + 4808300920
	17  ???                                 0x000000011ed2b651 0x0 + 4812093009
	18  ???                                 0x000000011ed44e02 0x0 + 4812197378
	19  ???                                 0x000000011ed44c00 0x0 + 4812196864
	20  ???                                 0x000000011ed44a63 0x0 + 4812196451
	21  ???                                 0x000000011ed447ea 0x0 + 4812195818
	22  ???                                 0x000000011ed444a2 0x0 + 4812194978
	23  ???                                 0x000000011ed4439c 0x0 + 4812194716
	24  ???                                 0x000000011ed44043 0x0 + 4812193859
	25  ???                                 0x000000011ed463f1 0x0 + 4812202993
	26  ???                                 0x000000011ed41c6b 0x0 + 4812184683
	27  ???                                 0x000000011ed4193d 0x0 + 4812183869
	28  ???                                 0x000000011ed416fe 0x0 + 4812183294
	29  ???                                 0x000000011ed3ee0d 0x0 + 4812172813
	30  ???                                 0x000000011ed0701d 0x0 + 4811943965
	31  ???                                 0x000000011ed06e28 0x0 + 4811943464
	32  ???                                 0x000000011e95d65d 0x0 + 4808103517
	33  ???                                 0x000000011e95d2ca 0x0 + 4808102602
	34  ???                                 0x000000011e95d0cd 0x0 + 4808102093
	35  ???                                 0x000000011e6912c2 0x0 + 4805169858
	36  ???                                 0x000000011e116682 0x0 + 4799424130
	37  ???                                 0x000000011e11647f 0x0 + 4799423615
	38  ???                                 0x000000011e1163ec 0x0 + 4799423468
	39  ???                                 0x000000011e1163a2 0x0 + 4799423394
	40  ???                                 0x0000000118c19670 0x0 + 4710307440
	41  libcoreclr.dylib                    0x0000000106f02cf6 CallDescrWorkerInternal + 124
	42  libcoreclr.dylib                    0x0000000106d6a7b2 _ZN18MethodDescCallSite16CallTargetWorkerEPKyPyi + 1586
	43  libcoreclr.dylib                    0x0000000106c61b46 _Z7RunMainP10MethodDescsPiPP8PtrArray + 742
	44  libcoreclr.dylib                    0x0000000106c61f36 _ZN8Assembly17ExecuteMainMethodEPP8PtrArrayi + 454
	45  libcoreclr.dylib                    0x0000000106c88981 _ZN8CorHost215ExecuteAssemblyEjPKDsiPS1_Pj + 689
	46  libcoreclr.dylib                    0x0000000106c50842 coreclr_execute_assembly + 226
	47  MyApp                  0x00000001053b1f0d mono_jit_exec + 93
	48  MyApp                  0x00000001053b29da xamarin_main + 554
	49  MyApp                  0x00000001053b3b64 main + 52
	50  dyld                                0x000000011396252e start + 462
)
libc++abi: terminating with uncaught exception of type NSException
zsh: abort      /Applications/MyApp.app/Contents/MacOS/MyApp

That application work properly in my MacBook Pro - macOs 15.1.1 but not in this version :(

SAlu2s

To Reproduce

Run the application from console for show you the crash result

Expected behavior

No response

Avalonia version

11.2.3

OS

macOS

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants