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

[windows] Example crashes on launch #525

Closed
n8crwlr opened this issue Sep 2, 2019 · 6 comments
Closed

[windows] Example crashes on launch #525

n8crwlr opened this issue Sep 2, 2019 · 6 comments

Comments

@n8crwlr
Copy link

n8crwlr commented Sep 2, 2019

I have no idea.

Thats Windows 10, Visual Studio Community 2019. All is newest available.

The App is only starting and closing. I have tried on an older Windows installation and a completely new - everything installed from ground up.

flutter-win

Building Windows application...
Syncing files to device windows
This is taking an unexpectedly long time

@stuartmorgan
Copy link
Collaborator

Please run the application from within Visual Studio, and provide the stack trace from the crash.

(In the future, please post logs, not animated GIFs of screencasts of the entire setup process; it's much harder to investigate when I have to watch the entire setup in realtime before getting to the relevant section.)

@stuartmorgan stuartmorgan changed the title App just opens and closes [windows] Example crashes on launch Sep 2, 2019
@n8crwlr
Copy link
Author

n8crwlr commented Sep 3, 2019

Unhandled exception at 0x00007FFEB91E24D8 (flutter_windows_glfw.dll)
in Flutter Desktop Example.exe: 0xC0000005: Access violation
writing location 0x0000000090DC6000. occurred

@stuartmorgan
Copy link
Collaborator

This may be #457. Could you follow the instructions here to get symbols (updating the destination path for your project, of course), and provide the full symbolicated stack?

@n8crwlr
Copy link
Author

n8crwlr commented Sep 3, 2019

Hmm, ok, i got something comparable 👍

flutter_windows_glfw.dll!GrResourceProvider::createPatternedIndexBuffer(const unsigned short * pattern=0x00007ffea65e2580, int patternSize, int reps=4096, int vertCount=4, const GrUniqueKey * key=0x0000000000000000) Line 478	C++
flutter_windows_glfw.dll!GrResourceProvider::createQuadIndexBuffer() Line 500	C++
flutter_windows_glfw.dll!GrResourceProvider::refQuadIndexBuffer() Line 213	C++
flutter_windows_glfw.dll!GrSmallPathRenderer::SmallPathOp::onPrepareDraws(GrMeshDrawOp::Target * target=0x0000007daf0fda78) Line 382	C++
[Inline Frame] flutter_windows_glfw.dll!GrOp::prepare(GrOpFlushState *) Line 160	C++
flutter_windows_glfw.dll!GrOpsTask::onPrepare(GrOpFlushState * flushState=0x0000007daf0fda70) Line 413	C++
flutter_windows_glfw.dll!GrDrawingManager::executeRenderTasks(int startIndex, int stopIndex=1, GrOpFlushState * flushState=0x0000007daf0fda70, int * numRenderTasksExecuted=0x0000007daf0fda10) Line 429	C++
flutter_windows_glfw.dll!GrDrawingManager::flush(GrSurfaceProxy * * proxies=0x0000007daf0ff628, int numProxies=1, SkSurface::BackendSurfaceAccess access=kNoAccess, const GrFlushInfo & info={...}, const GrPrepareForExternalIORequests & externalRequests={...}) Line 362	C++
flutter_windows_glfw.dll!GrDrawingManager::flushSurfaces(GrSurfaceProxy * * proxies=0x0000007daf0ff628, int numProxies, SkSurface::BackendSurfaceAccess access=kNoAccess, const GrFlushInfo & info={...}) Line 520	C++
[Inline Frame] flutter_windows_glfw.dll!GrDrawingManager::flushSurface(GrSurfaceProxy * proxy=0x00000201cb6a1ec8, SkSurface::BackendSurfaceAccess) Line 103	C++
flutter_windows_glfw.dll!GrRenderTargetContext::flush(SkSurface::BackendSurfaceAccess access=kNoAccess, const GrFlushInfo & info={...}) Line 1982	C++
[Inline Frame] flutter_windows_glfw.dll!SkGpuDevice::flush(SkSurface::BackendSurfaceAccess) Line 1597	C++
flutter_windows_glfw.dll!SkGpuDevice::flush() Line 1591	C++
flutter_windows_glfw.dll!SkCanvas::onFlush() Line 617	C++
[Inline Frame] flutter_windows_glfw.dll!flutter::?A0x85672993::MakeRasterSnapshot(sk_sp<SkPicture>) Line 54	C++
flutter_windows_glfw.dll!flutter::Picture::RasterizeToImage::__l2::<lambda>() Line 179	C++
[Inline Frame] flutter_windows_glfw.dll!std::_Func_class<void>::operator()() Line 121	C++
flutter_windows_glfw.dll!fml::MessageLoopImpl::FlushTasks(fml::FlushType type=kAll) Line 123	C++
flutter_windows_glfw.dll!fml::MessageLoopWin::Run() Line 23	C++
flutter_windows_glfw.dll!fml::MessageLoopImpl::DoRun() Line 95	C++
flutter_windows_glfw.dll!fml::MessageLoop::Run() Line 50	C++
[External Code]	
flutter_windows_glfw.dll!thread_start<unsigned int (__cdecl*)(void *),1>(void * const parameter=0x00000201ca20b910) Line 97	C++
[External Code]	

It asks also for the same file:

image

Here, my gpu is, too, HD3000, if there is an relation:

image

There is an nvidia gpu, too, which is disabled via BIOS.

Intel HD 3000 Grafik
Nvidia NVS 4200M, 1GB VRAM, Optimus

@stuartmorgan
Copy link
Collaborator

Yes, that's the same issue (and at this point we do believe that it's specific to that GPU). Closing as a duplicate of flutter/flutter#34556. You can follow there (and in the Skia bug linked from there) for updates.

@n8crwlr
Copy link
Author

n8crwlr commented Sep 3, 2019

OK, thanks for the guidiance 👍

@google google locked as resolved and limited conversation to collaborators Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants