Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120008 - media-sound/timidity++-2.13.2-r2 segfaults in OSS mode
Summary: media-sound/timidity++-2.13.2-r2 segfaults in OSS mode
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 20:47 UTC by Ryan Hendrickson
Modified: 2006-01-30 19:47 UTC (History)
1 user (show)

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 Ryan Hendrickson 2006-01-22 20:47:11 UTC
Any attempt to run timidity (2.13.2-r2) from the command line dircectly to the (OSS) output device results in a segmentation fault immediately after execution.  Playing to other outputs (-Ov, -Ow, etc.) works as expected.

I have an nVidia nForce2 onboard sound chip, and am using the media-sound/nforce-audio-1.0.0310 OSS audio driver.

emerge info:
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo http://distfiles.gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acl acpi afs aim artworkextra asf audiofile avi bash-completion bitmap-fonts bonobo browserplugin bzip2 c++ cairo ccache cdparanoia crypt curl dbus directfb divx4linux dvd dvi effects exif expat fam fbcon festival ffmpeg firefox flac flash foomaticdb gif gimp glitz glut gnome gpm gs gstreamer gtk gtk2 guile hal howl icq imagemagick imlib inkjar jabber java joystick jpeg kerberos lame latex lcms libwww lua mad mikmod mime ming mmap mmx mmxext mng mozdevelop mozilla mozsvg mp3 mpeg msn nautilus ncurses network nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oscar oss pam pcre pdf pdflib perl png python quicktime readline rtc samba sdl sndfile spell sse ssl svg sysfs tcltk tcpd tetex threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales utf8 vorbis win32codecs wmf xine xml2 xpm xscreensaver xv xvid xvmc yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-22 23:51:34 UTC
Please, attach a backtrace and reopen then...

http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 2 Ryan Hendrickson 2006-01-23 09:29:08 UTC
(In reply to comment #1)
> Please, attach a backtrace and reopen then...
> 
> http://www.gentoo.org/doc/en/bugzilla-howto.xml
> 

I can't seem to get a backtrace with gdb.  I emerged timidity with CFLAGS="-march=athlon-xp -pipe -g -ggdb3" and FEATURES="nostrip", but gdb only gives me the following:

(gdb) run
Starting program: /usr/bin/timidity test.mid
[Thread debugging using libthread_db enabled]
[New Thread -1222584656 (LWP 28852)]
Couldn't get registers: No such process.
(gdb) bt
Cannot fetch general-purpose registers for thread -1222584656: generic error

Advice?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-23 09:37:22 UTC
(In reply to comment #2)
> Advice?

Huh, no idea really... :=) Passing on...

Comment 4 Ryan Hendrickson 2006-01-30 19:47:49 UTC
Whatever the problem is, it appears to be unique to the nvsound module supplied in media-sound/nforce-audio-1.0.0310.  When replaced with 4Front's commercial OSS drivers, timidity performed correctly.

For the time being, at least, I'll be abandoning the nvsound driver on this computer and switching to ALSA; so unless a maintainer explicitly suggests something to test or report, I probably won't be providing any more feedback on this issue.