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

7.1.X: A lot of seemingly random crashes because of "display::win::ScreenWin::UpdateFromDisplayInfos" #21606

Closed
3 tasks done
aabuhijleh opened this issue Dec 23, 2019 · 2 comments

Comments

@aabuhijleh
Copy link

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • Electron 7.1.3 (32-bit)
  • Operating System:
    • Windows 10 Version 18362

Behavior

The app (main process) seems to crash a lot at std::vector<display::win::DisplayInfo,std::allocatordisplay::win::DisplayInfo >::_Emplace_reallocate<const display::win::DisplayInfo &> according to crash reports.

Even though I'm not sure how to reproduce, I think I should report these crashes. Maybe someone can help determine the cause of these crashes or check if there is a race condition in the internal design that no "outsider" can easily determine the steps for reproducing.

This might be related to #21158 because this is happening to the same set of users who suffered from that issue and were updated to Electron v7 from Electron v5

Stack

  • [HERE] std::vector<display::win::DisplayInfo,std::allocatordisplay::win::DisplayInfo >::_Emplace_reallocate<const display::win::DisplayInfo &>

  • display::win::ScreenWin::UpdateFromDisplayInfos(std::vector<display::win::DisplayInfo,std::allocatordisplay::win::DisplayInfo > const &)

  • display::win::ScreenWin::UpdateAllDisplaysAndNotify()

  • display::win::ScreenWin::OnWndProc(HWND__ *,unsigned int,unsigned int,long)

  • base::internal::Invoker<base::internal::BindState<bool (device::RawInputDataFetcher::*)(unsigned int, unsigned int, long, long *) attribute((thiscall)),base::internal::UnretainedWrapperdevice::RawInputDataFetcher >,bool (unsigned int, unsigned int, long, long *)>::Run

  • gfx::SingletonHwnd::ProcessWindowMessage(HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)

...

@aabuhijleh
Copy link
Author

I think I'm able to reproduce this issue now and I don't think it's related to #21158 anymore.

I will edit the description and add new details...

@aabuhijleh
Copy link
Author

I opened #21614 instead of this issue

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

1 participant