After I place a call when wrapping kphone in artsdsp, when the call gets hung up, kphone crashes with little or no output. $ artsdsp kphone ... KCallWidget: Starting force disconnect... cannot close audio device (File descriptor in bad state) $ $ $ emerge --info Portage 2.1_rc4-r5 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r1 x86_64) ================================================================= System uname: 2.6.16-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.12.0_pre19 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.3-r1 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-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -ffast-math" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks metadata-transfer multilib-strict sandbox sfperms strict test" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en" 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/local/portage /home/squinky86/workspace/portdir_overlay /home/squinky86/gentoo-x86" SYNC="rsync://bigmo/gentoo-portage" USE="amd64 3ds X ada aim alsa apache2 arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cgi cli crypt css cups curl curlwrappers dba divx4linux dri dvd dvdr dvdread eds emacs emboss encode ffmpeg firefox fontconfig foomaticdb fortran ftp fuse gd gif gmp gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6 irc isdnlog jabber java jpeg justify kde ldap libclamav lzw lzw-tiff mjpeg mp3 mpeg msn mysql ncurses nls nsplugin nvidia offensive ogg openal opengl pam pascal pcntl pcre pdflib pear perl php plotutils png posix postgres ppds pppd python qt quicktime readline reflection rss ruby samba sdl session simplexml soap sockets spell spl sql ssl subversion svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis wmf xcomposite xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xmms xorg xpm xv yahoo zip zlib elibc_glibc kernel_linux linguas_en userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
As the current kde developers have no interest in ARTS, I'm closing this as upstream. If you still have this issue, please report it on kde bugzilla and include a link here.