[mythtv-commits] mythtv branch master updated by stuartm. v0.27-pre2-588-g3bb0d2c

Git Repo Owner noreply at mythtv.org
Thu Jan 31 15:23:55 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  3bb0d2c7d129ee6dd489a67ffd396657db420d32 (commit)
      from  479d2a8536d16999c2cfd4f8d6aadd8d2212bc61 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3bb0d2c7d129ee6dd489a67ffd396657db420d32
Author:    Stuart Morgan <smorgan at mythtv.org> at Thu, 31 Jan 2013 15:06:26 +0000
Committer: Stuart Morgan <smorgan at mythtv.org> at Thu, 31 Jan 2013 15:06:26 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=3bb0d2c7d129ee6dd489a67ffd396657db420d32

Hopefully fix a rare segfault in MythUITextEdit when using mythmusic. I'm guessing but by no means certain that a linked copy of the string was altered in another thread, e.g. the metadata or playlist load thread. QString uses shallow copies and isn't threadsafe. detaching the string may use more memory but that's preferable to crashing.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythui/mythuitext.cpp     |    5 ++++-
 mythtv/libs/libmythui/mythuitextedit.cpp |    8 ++++++++
 mythtv/libs/libmythui/mythuitextedit.h   |    2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)

-- 



More information about the mythtv-commits mailing list