Public bug reported: Binary package hint: arts
Hi! I'm a developer of Gaim. Earlier today someone complained that they're getting a crash when Gaim tries to play an audio file using libao, which uses arts. The message "can't create MCOP directory" is printed to the console. I believe this is a bug in arts. It is documented in Red Hat bug #169631: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169631 That bug resulted in a patch being applied to Red Hat's arts RPMs. I believe the patch fixes the bug for all Red Hat and Fedora users. I don't know if I'll be able to attach the patch as a file, so I'll paste it below. Forgive me if this has already been reported or fixed. I saw some similar bugs in launchpad (31699, 33903, 39182, 42169), but they all seem to attribute the problem to something other than arts. And I would have checked if you already have the patch applied, but I've been unable to find where you guys keep your package files. Red Hat applies this patch to arts 1.5.3. I suspect it is needed for 1.5.0 and higher. I do not know if there is a more recent release of arts, or if the bug is fixed in arts upstream. --- arts-1.5.0/mcop/mcoputils.cc.orig 2005-12-19 20:19:50.000000000 +0100 +++ arts-1.5.0/mcop/mcoputils.cc 2005-12-19 20:18:18.000000000 +0100 @@ -46,7 +46,13 @@ result = lstat(tmp_dir, &stat_buf); if ((result == -1) && (errno == ENOENT)) { - return 1; + result = mkdir(tmp_dir, 0700); + if (result == -1) + { + arts_warning("Error: Can not create directory \"%s\".\n", tmp_dir); + return 1; + } + result = stat(tmp_dir, &stat_buf); } if ((result == -1) || (!S_ISDIR(stat_buf.st_mode))) { ** Affects: arts (Ubuntu) Importance: Untriaged Status: Unconfirmed -- Patch for crash with message "can't create MCOP directory" https://launchpad.net/bugs/55973 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
