Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[21500] Fix crash when moving a group before calling quit - #6649

Merged
livecodepanos merged 4 commits into
livecode:develop-9.0from
livecodepanos:bugfix-21500
Aug 21, 2018
Merged

[21500] Fix crash when moving a group before calling quit#6649
livecodepanos merged 4 commits into
livecode:develop-9.0from
livecodepanos:bugfix-21500

Conversation

@livecodepanos

@livecodepanos livecodepanos commented Aug 21, 2018

Copy link
Copy Markdown
Contributor

This patch fixes an assertion failure in MCObject::~MCObject() (MCAssert(!m_in_id_cache);) when dragging a group before calling quit

@livecodepanos livecodepanos added this to the 9.0.2-rc-1 milestone Aug 21, 2018
@montegoulding

Copy link
Copy Markdown
Contributor

@livecodepanos I'm wondering if you are hitting this assertion in the debug build before the actual issue? MCsavegroupptr is only added to in ungroup so there's nothing related to move there. Does the stack from the bug report do ungroup anywhere?

@livecodepanos

Copy link
Copy Markdown
Contributor Author

@montegoulding yes you are correct, the sample stack does a ungroup while you move the group.

create button "one"
create button "two"
group button "one" and button "two"
ungroup the last group

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@livecodepanos aha! that is the issue. ok.. well now the only issue is the release note doesn't match the issue very well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @montegoulding :)

@montegoulding

Copy link
Copy Markdown
Contributor

@livecode-vulcan review ok 9a16376

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @montegoulding ok 9a16376

livecode-vulcan added a commit that referenced this pull request Aug 21, 2018
[21500] Fix crash when moving a group before calling quit

This patch fixes an assertion failure in `MCObject::~MCObject()` (`MCAssert(!m_in_id_cache);`) when dragging a group before calling `quit`
@livecode-vulcan

Copy link
Copy Markdown
Contributor

😎 test success 9a16376

  • try-community-armv6-android-sdk26_ndk16r15: success
  • try-community-armv7-android-sdk26_ndk16r15: success
  • try-community-arm64-android-sdk26_ndk16r15: success
  • try-community-x86-android-sdk26_ndk16r15: success
  • try-community-x86_64-android-sdk26_ndk16r15: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos11.4: success
  • try-community-universal-ios-iphonesimulator11.4: success
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: success
  • try-community-x86_64-win32: success

@livecodepanos
livecodepanos merged commit 240b043 into livecode:develop-9.0 Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants