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 updating SliceFields in ContextBar / a Doc has an empty list of sprites #4407

Open
sentry-io bot opened this issue Apr 8, 2024 · 1 comment
Assignees
Labels
bug crash report Issue originated from a crash report / .dmp file
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 8, 2024

Sentry Issue: ASEPRITE-237

EXCEPTION_ACCESS_VIOLATION_READ / 0x1ae000001a8: Fatal Error: EXCEPTION_ACCESS_VIOLATION_READ / 0x1ae000001a8
  File "sprites.h", line 35, in doc::Sprites::front
    Sprite* front() const { return m_sprites.front(); }
  File "document.h", line 27, in doc::Document::sprite
    Sprite* sprite() { return m_sprites.empty() ? NULL: m_sprites.front(); }
  File "context_bar.cpp", line 1773, in app::ContextBar::SliceFields::updateLayout
    const bool visible = (m_doc && !m_doc->sprite()->slices().empty());
  File "context_bar.cpp", line 1728, in app::ContextBar::SliceFields::selectSlices
    updateLayout();
  File "context_bar.cpp", line 2280, in app::ContextBar::updateForTool
    updateSliceFields(UIContext::instance()->activeSite());
...
(36 additional frame(s) were not displayed)
@sentry-io sentry-io bot added bug crash report Issue originated from a crash report / .dmp file labels Apr 8, 2024
@sentry-io sentry-io bot assigned dacap Apr 8, 2024
@dacap dacap added this to the v1.3.6 milestone Apr 8, 2024
@dacap dacap closed this as completed in 4d5bf53 Apr 8, 2024
@dacap
Copy link
Member

dacap commented Apr 23, 2024

@dacap dacap reopened this Apr 23, 2024
@dacap dacap modified the milestones: v1.3.6, v1.3.7 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash report Issue originated from a crash report / .dmp file
Projects
Status: Todo
Development

No branches or pull requests

1 participant