{"action":"created","issue":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/2534","repository_url":"https://api.github.com/repos/musescore/MuseScore","labels_url":"https://api.github.com/repos/musescore/MuseScore/issues/2534/labels{/name}","comments_url":"https://api.github.com/repos/musescore/MuseScore/issues/2534/comments","events_url":"https://api.github.com/repos/musescore/MuseScore/issues/2534/events","html_url":"https://github.com/musescore/MuseScore/pull/2534","id":147543590,"number":2534,"title":"fix #105621 CRASH album when remove score w/ TBox","user":{"login":"ericfont","id":6502474,"avatar_url":"https://avatars.githubusercontent.com/u/6502474?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfont","html_url":"https://github.com/ericfont","followers_url":"https://api.github.com/users/ericfont/followers","following_url":"https://api.github.com/users/ericfont/following{/other_user}","gists_url":"https://api.github.com/users/ericfont/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfont/subscriptions","organizations_url":"https://api.github.com/users/ericfont/orgs","repos_url":"https://api.github.com/users/ericfont/repos","events_url":"https://api.github.com/users/ericfont/events{/privacy}","received_events_url":"https://api.github.com/users/ericfont/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-11T20:20:44Z","updated_at":"2016-04-14T20:59:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/musescore/MuseScore/pulls/2534","html_url":"https://github.com/musescore/MuseScore/pull/2534","diff_url":"https://github.com/musescore/MuseScore/pull/2534.diff","patch_url":"https://github.com/musescore/MuseScore/pull/2534.patch"},"body":"This fixes a crash that occured during the TBox deconstructor.\r\nWhen generating an album, there joined scores have their measures cloned into the first score.  However, the TBox clone constructor did not allocate a new Text object when performing the clone, but rather only simply copied the pointer address.  Hence, when the Album::createScore() would delete the score, that original Text object would be deleted.  But then the second time that score was deleted, that corresponding TBox would have _text pointing to an previously-deleted Text object.  The solution I've done is to allocate a new Text object during clone."},"comment":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/comments/210146840","html_url":"https://github.com/musescore/MuseScore/pull/2534#issuecomment-210146840","issue_url":"https://api.github.com/repos/musescore/MuseScore/issues/2534","id":210146840,"user":{"login":"ericfont","id":6502474,"avatar_url":"https://avatars.githubusercontent.com/u/6502474?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfont","html_url":"https://github.com/ericfont","followers_url":"https://api.github.com/users/ericfont/followers","following_url":"https://api.github.com/users/ericfont/following{/other_user}","gists_url":"https://api.github.com/users/ericfont/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfont/subscriptions","organizations_url":"https://api.github.com/users/ericfont/orgs","repos_url":"https://api.github.com/users/ericfont/repos","events_url":"https://api.github.com/users/ericfont/events{/privacy}","received_events_url":"https://api.github.com/users/ericfont/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T20:59:47Z","updated_at":"2016-04-14T20:59:47Z","body":"rebased.  FYI, everytime that one of these album test functions are commited, is git going to want to rebase?  Is there a way to avoid this?"}}