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

All sammples in Navigation fail to run #546

Open
pierresa opened this issue Nov 29, 2024 · 7 comments
Open

All sammples in Navigation fail to run #546

pierresa opened this issue Nov 29, 2024 · 7 comments

Comments

@pierresa
Copy link

They compile OK but then I get:

The program '[33524] TabbedPage.exe' has exited with code 3221226356 (0xc0000374).

when trying to run

Is there something wrong in my config (using .net9.0, VS 2022 lates version)

Thank yo
Pierre

@jfversluis
Copy link
Member

Are you trying to run the Windows .NET MAUI app? Did you try any other platforms? What is the project you're trying to run?

@pierresa
Copy link
Author

pierresa commented Dec 11, 2024 via email

@xcaptain
Copy link

Me too.

Image

I tested FlyoutPageSample on windows machine, it crashed, says return value 3221226356

@jfversluis
Copy link
Member

I'm not really sure what to tell you, it seems to run fine here 😅

Image

@njones3000
Copy link

njones3000 commented Jan 6, 2025

I'm getting the exact same problem with the SkiaSharpDemos. I'm running it on Windows. NET 9.0. It very occasionally does run so I've seen a lot of the demos in this app. It really is awesome. So many samples touching on a lot of things I want to do so to all the contributors... Thank You.
However, I really would like to figure out why it doesn't run which seems to be about 95% of the time. It fails very early too and it appears to fail in different places.
Also, when it does run, when I back out of a demo and try to pick anything from the list, they are not selectable ( seems to be Windows specific ). However, I'm mostly concerned that the app fails to run and I have no idea why...
I just ran it on my iPad. If I try building / deployting from the PC ( then run the app on the iPad ), it seems a little unstable. Same behavior of the app crashing as the Windows version, especially if I enable a breakpoint on MainPage. App just terminates before anything was displayed. Running the app on its own on the iPad seems to work perfectly ( 100% successful run rate so far ).

@njones3000
Copy link

A couple of other things I've noticed different on Windows than on IOS. The 'Home' title text is left aligned whereas IOS is center aligned. But a much bigger difference is that Windows has a large highlighted blank box between the menu title and the list in the table view. It's by default 'highlighted' with a black outline box. If you select it, the black outline box disappears. If I was to guess, I'd say that all the code for the TableView list of items is buggy and that's likely why it crashes at boot up ( I just tried running it 20 times and it successfully ran 8 times ).

@njones3000
Copy link

So I'm new to programming in C#. I took the SkiaSharpDemos and created my own little app that uses the same TableView to let me go to single screen menus that I'm messing around with. They are basically each a sandbox menu for me to mess around with. So I used the same MainPage.xaml from SkiaSharpDemos. My App runs 100% of the time on Windows and produces the same kind of list. When I run it, I get the invisible 'highlighted' box that I mentioned above but only sometimes. I ran it 20 times and it appeared 'highlighted' 9 of those 20. Almost exactly the same odds as the SkiaSharpDemos app successfully running ( which ALWAYS shows the highlighted box when it does run ) . So not concrete proof but I'm definitely betting that the SkiaSharpDemos crash is happening when that weird box is in an 'unhighlighted' state.

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

No branches or pull requests

4 participants