Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135469 - media-sound/horgand-1.06 hard locks the whole system
Summary: media-sound/horgand-1.06 hard locks the whole system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 22:42 UTC by Jouni Rinne
Modified: 2007-07-29 10:44 UTC (History)
1 user (show)

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


Attachments
ebuild from the audio pro overlay (horgand-1.07-r1.ebuild,991 bytes, text/plain)
2006-09-23 02:04 UTC, Dominique Michel
Details
Debug patch (debug.patch,1.95 KB, patch)
2006-09-23 02:05 UTC, Dominique Michel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2006-06-03 22:42:12 UTC
For some reason, media-sound/horgand-1.06 hard locks / crashes my whole system immediately, I can't even SSH in from other machine. I tried redirecting the program's output to a file to get some debugging information, but the said file didn't even get created.

Gentoo Base System version 1.12.0
Portage 2.1_rc4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) XP 3000+
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirror.aiya.ru/pub/gentoo/"
LANG="fi_FI.ISO-8859-1"
LINGUAS="fi"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm asf avi berkdb bitmap-fonts cairo cdr cli crypt cups curl dga divx4linux dri dv dvd dvdread emboss encode ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint gnome gnustep gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imap imlib isdnlog jack jpeg kde ladcca lash lcms libg++ libwww lua mad matroska mikmod mjpeg mmap mmx motif mp3 mpeg ncurses nls nodrm nptl nsplugin nvidia ogg oggvorbis opengl pcre pdflib perl png pppd python qt quicktime readline real reflection ruby scanner sdl session sndfile spl ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs xine xinerama xml xorg xv xvmc zlib elibc_glibc kernel_linux linguas_fi userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Frank van de Pol (RETIRED) gentoo-dev 2006-07-08 09:57:10 UTC
I'm unable to reproduce this on my systems. Please be more specific about the lockup: does it occur during startup, after a specific action, depending on midi input etc. etc. 

Are interrups still handled? If not then it most likely some bug at one of your drivers (midi or sound would be most likely), in which case you should be able to repoduce the lockup with other applications as well.
Comment 2 Jouni Rinne 2006-07-09 10:58:30 UTC
(In reply to comment #1)
> I'm unable to reproduce this on my systems. Please be more specific about the
> lockup: does it occur during startup, after a specific action, depending on
> midi input etc. etc.

I just type 'horgand' in the terminal and press enter. I get the copyright notice on the terminal, the window manager (Fluxbox) tries to open a window (only the window frames are visible) and then, total system freeze...
  
> Are interrups still handled?

Well, keyboard and mouse seems to be dead, sound stops, SSH is dead (can't ssh in from another machine). However, I was able to reboot the system via the 'Magic SysRq' key, so something was still functional. By the way, I'm using Nvidia drivers.

> If not then it most likely some bug at one of your
> drivers (midi or sound would be most likely), in which case you should be able
> to repoduce the lockup with other applications as well.

No, only horgand misbehaves. I've had occasionally some trouble with software which doesn't understand jack, but it's not the case this time. Horgand crashes the system regardless of whether jackd is running or not.
Comment 3 Dominique Michel 2006-09-22 10:25:09 UTC
I get almost the same on my system. I try both the horgand from the audiopro overlay http://forums.gentoo.org/viewtopic-t-427211-highlight-.html and the cvs version.

The only difference is at I get the gui but the message on the console was:

SCHED_FIFO

It is also with the nvidia driver and I have to wait until tomorrow to reboot another kernel with the nv driver (I am emerging oofice just now). It is on a fresh 2006.1 install.

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.16-rt29-3D-fb i686)
=================================================================
System uname: 2.6.16-rt29-3D-fb i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 22 Sep 2006 09:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.mirror.solnet.ch"
LANG="fr_CH.UTF-8"
LC_ALL="fr_CH.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="fr en sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/test /usr/portage/local/layman/science /usr/portage/local/layman/kpex-media /usr/portage/local/layman/pro-audio /usr/portage/local/layman/WTK-Testing /usr/portage/local/layman/xfce4-svn"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acpi aim alsa arts audiofile avi berkdb bidi bindist bitmap-fonts bxip2 bzip2 cairo cdparanoia cdr cjk cli crypt cups dbus dga dio div4linux dlloader dri dssi dts dv dvb dvd dvdr dvdread eds elibc_glibc emacs emacs-w3 emboss encode esd exif expat fam ffmpeg fftw firefox flac flash fluidsynth foomaticdb fortran ftp gb gd gdbm gif gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal howl icq ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jack jack-tmpfs jackmidi java jbig jpeg jpeg2k kde kernel_linux ladspa lapack lash lcms ldap libedit libg++ libsamplerate linguas_en linguas_fr linguas_sv mad mikmod mime mmx mng motif mp3 mpeg mpi msn mule mysql nas ncurses nls nptl nptlonly offensive ogg openal opengl oscar oss pam pcre pdflib perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline recode reflection scanner sdl seamonkey session shorten slang slp sndfile sox speex spell spl sse sse2 ssl svg tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l vcd video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vorbis vst win32codecs wmf wxwindows xface xine xinerama xml xml2 xmms xorg xosd xpm xv xvid yahoo zlib"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Dominique Michel 2006-09-23 01:30:27 UTC
I try with the other kernel, a 2.6.16-rt29 with the nv driver and without bootsplash and console frame buffer, but the crash was the same. I opened a bug on berlios: https://developer.berlios.de/bugs/?func=detailbug&bug_id=8852&group_id=1310
Comment 5 Dominique Michel 2006-09-23 02:04:47 UTC
Created attachment 97823 [details]
ebuild from the audio pro overlay

This ebuild solve the problem for me. It is a wrapper patch from DeMuDi and a debug patch from Frieder B
Comment 6 Dominique Michel 2006-09-23 02:04:47 UTC
Created attachment 97823 [details]
ebuild from the audio pro overlay

This ebuild solve the problem for me. It is a wrapper patch from DeMuDi and a debug patch from Frieder Bürzele that do the console more verbose.
Comment 7 Dominique Michel 2006-09-23 02:05:48 UTC
Created attachment 97824 [details, diff]
Debug patch
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-07-29 10:44:13 UTC
(In reply to comment #6)
> Created an attachment (id=97823) [edit]
> ebuild from the audio pro overlay

Thanks, got pretty good ideas from your ebuild. Included all fixes from this bug, and improved it some more -- 1.07 added to portage. Closing.