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

RaiseException #12094

Open
sentry-io bot opened this issue Mar 4, 2025 · 2 comments
Open

RaiseException #12094

sentry-io bot opened this issue Mar 4, 2025 · 2 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 4, 2025

Sentry Issue: DESKTOP-WIN-AND-MAC-FDX

Unhandled C++ Exception / 0x7fffa65eb699: Fatal Error: Unhandled C++ Exception / 0x7fffa65eb699
  ?, in RaiseException
  File "throw.cpp", line 81, in _CxxThrowException
  File "throw_bad_alloc.cpp", line 35, in __scrt_throw_std_bad_alloc
  File "new_scalar.cpp", line 49, in new
  File "xmemory", line 101, in std::_Default_allocate_traits::_Allocate
...
(39 additional frame(s) were not displayed)
@DeepDiver1975
Copy link
Member

Looks like out of memory .... depending of the size of _data in ProtocolItemModel the method rawData() is allocating a hell of data on each call ...

auto rawData() const

@modSpike @erikjv agree - or am I totally on the wrong track? THX

@modSpike
Copy link
Contributor

modSpike commented Mar 5, 2025

it looks pretty sus overall, yes. The data is limited to 2000 items but a) we are not using a qt container (which can be advantageous since they are often implicitly shared to avoid big copies) and b) ergo the data appears to be fully copied out of that rawData function and c) the content appears to be comprised of instances instead of pointers so most if not all of this is living on the stack

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

2 participants