Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95025 - fluidsynth crashes when receiving midi data
Summary: fluidsynth crashes when receiving midi data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Other
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-04 07:44 UTC by Michael Kedzierski
Modified: 2005-07-11 12:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kedzierski 2005-06-04 07:44:59 UTC
As soon as I send any midi data to fluidsynth, it crashes straight away with   
the message "Killed". I've tried this with both version 1.0.5 and 1.0.3, and  
both crash. Changing various settings, trying different sondfonts, drivers,  
etc. does not make a difference.  
   
I'm running on amd64, and I suspect that this may be an amd64 issue (however,  
I am not sure). Someone else posted on the forums that they had the exact same 
problem on amd64. 

Reproducible: Always
Steps to Reproduce:
1. Start fluidsynth 
2. Hookup a midi output to fluidsynth 
3. Play some notes 
 
Actual Results:  
Fluidsynth crashed with a simple "Killed" error message.  

Expected Results:  
Played the notes. ;) 

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,   
glibc-2.3.4.20041102-r1, 2.6.12-rc4-nitro1-ycros x86_64)   
=================================================================   
System uname: 2.6.12-rc4-nitro1-ycros x86_64 AMD Athlon(tm) 64 Processor 3000+   
Gentoo Base System version 1.4.16   
Python:              dev-lang/python-2.3.5,dev-lang/python-2.4.1 [2.4.1 (#1,   
May 14 2005, 11:50:13)]   
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)   
[disabled]   
dev-lang/python:     2.3.5, 2.4.1   
sys-apps/sandbox:    [Not Present]   
sys-devel/autoconf:  2.59-r6, 2.13   
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5   
sys-devel/binutils:  2.15.92.0.2-r10   
sys-devel/libtool:   1.5.16   
virtual/os-headers:  2.6.8.1-r4   
ACCEPT_KEYWORDS="amd64"   
AUTOCLEAN="yes"   
CFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer"   
CHOST="x86_64-pc-linux-gnu"   
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"   
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"   
CXXFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer"   
DISTDIR="/usr/portage/distfiles"   
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"   
GENTOO_MIRRORS="ftp://mirror.isp.net.au/pub/gentoo/   
ftp://mirror.pacific.net.au/linux/Gentoo ftp://gentoo.ccccom.com   
ftp://206.75.217.205/"   
LANG="en_AU.UTF-8"   
LINGUAS="pl ja"   
MAKEOPTS="-j2"   
PKGDIR="/usr/portage/packages"   
PORTAGE_TMPDIR="/mnt/spoon/tmp/portage"   
PORTDIR="/usr/portage"   
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main /usr/local/overlays/flame-portage"   
SYNC="rsync://rsync.gentoo.org/gentoo-portage"   
USE="amd64 X a52 aac accessibility acl acpi adns aim alsa aotuv apache2 apm   
arts artswrappersuid audiofile avi bash-completion berkdb bidi bitmap-fonts   
bonobo bzip2 bzlib cairo canna cdparanoia cdr cegui cg cjk crypt cscope ctype   
cups curl curlwrappers devil dmx doc dts dv dvd dvdr dvdread encode esd   
ethereal evo exif expat fam fame fbcon ffmpeg fftw flac fluidsynth font-server   
foomaticdb fortran ftp gd gdbm geoip gif gimpprint glitz gnokii gnome gnutls   
gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal icq icu ieee1394   
imagemagick imap imlib innodb ipv6 jabber jack jack-tmpfs java javascript jce   
jp2 jpeg jpeg2k junit jython kde kdeenablefinal ladcca lcms libsamplerate   
libvisual libwww live lm_sensors logitech-mouse lzw lzw-tiff mad maildir   
matroska mbox mikmod mime mjpeg mmap mng motif mozdevelop mozilla moznoxft   
mozsvg mozxmlterm mp3 mpeg mpi msn mysql nas ncurses network nls nptl nvidia   
offensive ogg oggvorbis openal opengl oscar oss pam pcntl pcre pdf pdflib perl   
php pic pie plotutils png posix povray ppds ps python qt quicktime rdesktop   
readline real rtc ruby samba sasl scanner screenshot sdl session shared   
sharedmem slang sndfile snmp sockets softmmu sox speex spell spl sql sqlite   
ssl subversion svg sysvipc tcltk tcpd tetex tga theora tidy tiff tokenizer   
truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vhosts   
videos vorbis wifi wmf wxwindows xanim xchatdccserver xchattext xface xine   
xinerama xml xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid   
xvmc yv12 zeo zeroconf zlib linguas_pl linguas_ja userland_GNU kernel_linux   
elibc_glibc"   
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS   
  
----------  
  
#0  0x00002aaaaabfeed5 in fluid_voice_write ()  
from /usr/lib/libfluidsynth.so.1  
#1  0x00002aaaaabf811b in fluid_synth_one_block ()  
from /usr/lib/libfluidsynth.so.1  
#2  0x00002aaaaabf8760 in fluid_synth_write_float ()  
from /usr/lib/libfluidsynth.so.1  
#3  0x00002aaaaabf87aa in fluid_synth_process ()  
from /usr/lib/libfluidsynth.so.1  
#4  0x00002aaaaabd6a6b in new_fluid_alsa_audio_driver ()  
from /usr/lib/libfluidsynth.so.1  
#5  0x00002aaaab4fbbb9 in pthread_start_thread () from /lib/libpthread.so.0  
#6  0x00002aaaab4fbc63 in pthread_start_thread_event ()  
from /lib/libpthread.so.0  
#7  0x00002aaaab9ca9b3 in clone () from /lib/libc.so.6  
#8  0x0000000000000000 in ?? ()  
  
The stack trace seems to go on into infinity, essentially repeating line #8,  
leading me to suspect that something else might be borked. I'm going to try  
re-emerging some things.
Comment 1 Frank van de Pol (RETIRED) gentoo-dev 2005-07-11 11:59:28 UTC
Michael, I can confirm that I'm seeing the same crash/backtrace on my amd64 box 
too. It also happens with 1.0.6. 
Comment 2 Frank van de Pol (RETIRED) gentoo-dev 2005-07-11 12:44:13 UTC
fluidsynth-1.0.6 + fix of the integer pointer arithmetic which caused crashes 
on amd64 committed to portage cvs.