swami 64-bit segfaults on launch

Bug #810569 reported by S. Christian Collins
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
swami (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

** Bug Description **

Trying to start swami (2.0.0) on Kubuntu 11.04 w/ KDE SC 4.6.5 generates the following output:
---------------------------------
libswami-Message: Loading plugins from /usr/lib/swami
libswami-Message: Loaded 4 plugins
SSE2 detected
fluidsynth: Jack sample rate mismatch, adjusting. (synth.sample-rate=44100, jackd=48000)

(swami:4066): libInstPatch-CRITICAL **: ipatch_type_get_valist: assertion `type != 0' failed
Segmentation fault
---------------------------------
I do not have this problem under a 32-bit Kubuntu install (same version) on my laptop.

** My System **
OS: Kubuntu 11.04 64-bit w/ KDE SC 4.6.5
Motherboard: ASRock X58 Extreme3 (Intel X58 chipset)
CPU: Intel Core i7 (2.8 GHz quad-core)
RAM: 12GB DDR3
Video: Dell NVIDIA GeForce 7800 GTX w/ 256 MB RAM (PCI Express)
Sound Card #1: Sound Blaster Audigy 2 ZS Gold
Sound Card #2: Echo Gina3G
Linux Kernel: 2.6.38-8-generic
NVIDIA video driver: 275.09.07
Screen Resolution: 1280 x 960

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: swami 2.0.0+svn384-1
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Jul 14 11:10:09 2011
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_US
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: swami
UpgradeStatus: Upgraded to natty on 2011-04-29 (76 days ago)

Revision history for this message
S. Christian Collins (s-chriscollins) wrote :
Changed in swami (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Winthrop (mwinthrop) wrote :

Hi - I seem to have found the same bug. Here is my experience with it:

I am new to Ubuntu Studio having installed it as a dual boot capability on my Dell 1555 computer about 3 weeks ago. I am using the 64 bit version. This is my first experience with Linux and so far I like it. I have had some successes using Ubuntu Studio. In the last 3 weeks, I have figured out how to use Jack at least well enough to make Pianoteq (Linux version), QSynth, Rosegarden, and Ardour work on my computer. I have also been successful in connecting my midi keyboard to my computer and it is working well with Pianoteq through Jack.

I have installed Swami on my machine using the Ubuntu Software Center and when I try to run it, it says it is starting up in the panel bar, but then it just disappears and does not run. Note I started Jack before running Swami. In my searching, I was inspired to try to run Swami in a terminal window. I received the following text:

libswami-Message: Loading plugins from /usr/lib/swami
libswami-Message: Loaded 4 plugins
JackActivationCount::Signal value = 0 ref = 3
JackActivationCount::Signal value = 0 ref = 3
JackActivationCount::Signal value = 0 ref = 3

(swami:2759): libInstPatch-CRITICAL **: ipatch_type_get_valist: assertion `type != 0' failed
Segmentation fault

This error looks very similar to this bug report.

Revision history for this message
S. Christian Collins (s-chriscollins) wrote :

There are two solutions to this problem that I have discovered:
1) Compile Swami without any optimizations (setting CFLAGS to -O0).
2) The Swami author (Element Green) sent me a patch that fixes this issue. Here is what he wrote:

Patch by running the following command from within the Swami toplevel source directory.
patch -p0 </path/to/swami-menu-qsort-bug.patch

tags: added: patch
Revision history for this message
Michael Winthrop (mwinthrop) wrote :

Thanks much for the info. I will try this soon.

Revision history for this message
Niels Horn (niels-horn) wrote :

Thanks. I tried this on another 64-bits distro and it solved the problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package swami - 2.0.0+svn384-2ubuntu1

---------------
swami (2.0.0+svn384-2ubuntu1) oneiric; urgency=low

  * Fix segfault when launch swami on a 64-bit machine (LP: #810569).
  * Rebuild for fluidsynth transition (LP: #821346).
 -- Alessio Treglia <email address hidden> Fri, 05 Aug 2011 16:42:05 +0200

Changed in swami (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.