Package: muse Version: 0.8.1a-6.3ubuntu1 Severity: important muse 0.8.1a-6.3 fails to start on debian sid amd64 with $ muse muse: malloc.c:3074: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed. Aborted
This is verified on debian sid amd64. i386 versions are unnaffected. Attached is a debdiff if it is of use of the fix for amd64 builds taken from ubuntu lucid, originally from arch https://bugs.launchpad.net/ubuntu/+source/muse/+bug/479662 http://bugs.archlinux.org/task/15466?project=1&order=dateopened&sort=desc&pagenum=8 note, this bug also seems to affect versions of muse up to and including 1.0 rc3 -- System Information: Debian Release: squeeze/sid APT prefers lucid APT policy: (500, 'lucid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-generic (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages muse depends on: ii debconf [debcon 1.5.28ubuntu1 Debian configuration management sy ii libasound2 1.0.21a-1ubuntu1 shared library for ALSA applicatio ii libaudio2 1.9.2-3 Network Audio System - shared libr ii libc6 2.10.1-3ubuntu1 GNU C Library: Shared libraries ii libfluidsynth1 1.0.9+dfsg-2 Real-time MIDI software synthesize ii libfontconfig1 2.6.0-1ubuntu12 generic font configuration library ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.2-2ubuntu1 GCC support library ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library ii libjack0 0.116.1-4ubuntu2 JACK Audio Connection Kit (librari ii libjpeg62 6b-15 The Independent JPEG Group's JPEG ii liblash2 0.5.4-0ubuntu3 Linux Audio Session Handler (LASH) ii libpng12-0 1.2.40-1 PNG library - runtime ii libqt3-mt 3:3.3.8-b-6ubuntu2 Qt GUI Library (Threaded runtime v ii libreadline5 5.2-7 GNU readline and history libraries ii libsamplerate0 0.1.7-3 Audio sample rate conversion libra ii libsm6 2:1.1.1-1 X11 Session Management library ii libsndfile1 1.0.20-3 Library for reading/writing audio ii libstdc++6 4.4.2-2ubuntu1 The GNU Standard C++ Library v3 ii libuuid1 2.16-1ubuntu5 Universally Unique ID library ii libx11-6 2:1.2.2-1ubuntu1 X11 client-side library ii libxcursor1 1:1.1.9-1build1 X cursor management library ii libxext6 2:1.0.99.1-0ubuntu4 X11 miscellaneous extension librar ii libxft2 2.1.13-3ubuntu1 FreeType-based font drawing librar ii libxi6 2:1.2.1-2ubuntu1 X11 Input extension library ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library ii libxrandr2 2:1.3.0-2 X11 RandR extension library ii libxrender1 1:0.9.4-2ubuntu1 X Rendering Extension client libra ii libxt6 1:1.0.6-1 X11 toolkit intrinsics library ii python 2.6.4-0ubuntu2 An interactive high-level object-o ii zlib1g 1:1.2.3.3.dfsg-15ubuntu1 compression library - runtime Versions of packages muse recommends: ii cmt 1.16-1 a collection of LADSPA plugins ii jackd 0.116.1-4ubuntu2 JACK Audio Connection Kit (server muse suggests no packages. -- debconf information excluded
diff -u muse-0.8.1a/debian/changelog muse-0.8.1a/debian/changelog --- muse-0.8.1a/debian/changelog +++ muse-0.8.1a/debian/changelog @@ -1,3 +1,12 @@ +muse (0.8.1a-6.3ubuntu1) lucid; urgency=low + + * debian/30_fix_x64_sysmalloc.dpatch: fix sysmalloc on amd64 systems + debian/patches/00list.amd64: only apply 30_fix_x64_sysmalloc.dpatch on amd64 + (LP: #479662 ) + * debian/control: update maintainer for ubuntu universe + + -- SevenMachines <sevenmachi...@yahoo.co.uk> Thu, 26 Nov 2009 18:07:57 +0000 + muse (0.8.1a-6.3) unstable; urgency=low * Non-maintainer upload. diff -u muse-0.8.1a/debian/control muse-0.8.1a/debian/control --- muse-0.8.1a/debian/control +++ muse-0.8.1a/debian/control @@ -1,7 +1,8 @@ Source: muse Section: sound Priority: optional -Maintainer: Daniel Kobras <kob...@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> +XSBC-Original-Maintainer: Daniel Kobras <kob...@debian.org> Build-Depends: debhelper (>= 7), libqt3-mt-dev, libasound2-dev, libsndfile1-dev, libjack-dev, libfluidsynth-dev (>> 1.0.3-5), libsamplerate0-dev, liblash-dev, uuid-dev, dpatch, autotools-dev, ladcca-dev Standards-Version: 3.7.3 only in patch2: unchanged: --- muse-0.8.1a.orig/debian/patches/00list.amd64 +++ muse-0.8.1a/debian/patches/00list.amd64 @@ -0,0 +1,2 @@ +30_fix_x64_sysmalloc + only in patch2: unchanged: --- muse-0.8.1a.orig/debian/patches/30_fix_x64_sysmalloc.dpatch +++ muse-0.8.1a/debian/patches/30_fix_x64_sysmalloc.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30_fix_x64_sysmalloc.dpatch by SevenMachines <sevenmachi...@yahoo.co.uk> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +...@dpatch@ +diff -urNad muse-0.8.1a~/muse/memory.cpp muse-0.8.1a/muse/memory.cpp +--- muse-0.8.1a~/muse/memory.cpp 2003-10-27 18:51:22.000000000 +0000 ++++ muse-0.8.1a/muse/memory.cpp 2009-11-26 17:52:31.000000000 +0000 +@@ -48,7 +48,7 @@ + { + // printf("grow memory idx %d\n", idx); + +- int esize = (idx+1) * sizeof(int); ++ int esize = (idx+1) * sizeof(int)+2; + + Chunk* n = new Chunk; + n->next = chunks[idx];