DESCRIPTION:
muse 0.8.1a-6.3 fails to start on ubuntu karmic amd64 (i386 not affected) with 
error
$ 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


TEST CASE:
try to run muse on karmic amd64 arch (i386 not affected)

FIX:
Make change in muse/memory.cpp on amd64 to fix memory grow,
-      int esize = (idx+1) * sizeof(int);
+      int esize = (idx+1) * sizeof(int)+2;

Applied in ubuntu lucid 
muse (0.8.1a-6.3ubuntu1) lucid; urgency=low

  * debian/30_fix_x64_sysmalloc.dpatch: fix sysmalloc on amd64 systems. Patch
    taken from upstream.
  * debian/patches/00list.amd64: only apply 30_fix_x64_sysmalloc.dpatch on amd64
    (LP: #479662 )

REGRESSION:
The package is currently unusable on amd64 but ok on i386. Changes affect only 
the build of the muse package. The patch affects is only applied to amd64 
builds and should not affect i386 so hopefully regression potential should be 
low

** Attachment added: "muse_0.8.1a-6.3ubuntu0.1.debdiff"
   http://launchpadlibrarian.net/36151852/muse_0.8.1a-6.3ubuntu0.1.debdiff

-- 
muse fails to launch in fresh ubuntustudio install
https://bugs.launchpad.net/bugs/479662
You received this bug notification because you are a member of Ubuntu
Studio Testers, which is subscribed to Ubuntu Studio.

Status in MusE - Linux Music Editor: Unknown
Status in Ubuntu Studio: New
Status in “muse” package in Ubuntu: Fix Released

Bug description:
Binary package hint: muse

I tried to launch MusE from the menu but that failed, so I tried on the command 
line and got this:

$ 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

A quick search showed that a similar problem has been found in Arch linux:

http://bugs.archlinux.org/task/15466?project=1&order=dateopened&sort=desc&pagenum=8

I tried downloading the source from 
http://sourceforge.net/project/showfiles.php?group_id=93414 and compiled the 
latest stable version of MusE (1.0RC3), and the resulting executable gave me 
exactly the same error as above.

All this was quite a surprise, as MusE is the midi sequencer installed by 
default in ubuntustudio and I expected it to just work.

ProblemType: Bug
Architecture: amd64
Date: Mon Nov  9 23:31:29 2009
DistroRelease: Ubuntu 9.10
Package: muse 0.8.1a-6.3
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.152-rt
SourcePackage: muse
Uname: Linux 2.6.31-9-rt x86_64
XsessionErrors:
 (gnome-settings-daemon:2923): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (gnome-settings-daemon:2923): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (polkit-gnome-authentication-agent-1:2964): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2956): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 
`preferences_is_initialized ()' failed
 (gnome-panel:2955): Gdk-WARNING **: 
/build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a 
pixmap or window

_______________________________________________
Mailing list: https://launchpad.net/~ubuntustudio-testers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntustudio-testers
More help   : https://help.launchpad.net/ListHelp

Reply via email to