When ever I start KDE, artsd crashes. This did not start happening until I re-compiled aRts with gcc3.4.4. I have tried various CFLAG combinations, finally trying no optimization at all. Still, artsd crashes. I have also tried recompiling various libraries that aRts may rely on with no success. Reproducible: Always Steps to Reproduce: 1. Compile aRts using gcc3.4 (i686-pc-linux-gnu-3.4.4) 2. Start KDE 3. Watch aRts crash Actual Results: artsd crashed on startup. Expected Results: It shouldn't have crashed. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 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 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks keepwork sandbox sfperms strict userpriv" GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.ccccom.com http://mirror.phy.olemiss.edu/mirror/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib acl acpi aim alsa apache2 arts avi bash-completion berkdb bitmap-fonts caps cdr cid crypt cups curl doc dvd dvdr dvdread eds emacs emboss encode exif fam flac foomaticdb fortran freetds ftp gd gdbm gif gnutls gpm gstreamer gtk gtk2 guile imagemagick imap imlib ipv6 jabber java jikes jpeg kde kdexdeltas kerberos libcaca libg++ libwww mad memlimit mikmod mime mmx motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline samba sdk sdl speex spell sqlite sse sse2 ssl svg tcltk tcpd test threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY KDE Crash Handler Backtrace (aRts was compiled with the debug USE flag): Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1218148688 (LWP 11166)] [KCrash handler] #7 0xffffe410 in ?? () #8 0xbfa95a9c in ?? () #9 0x00000006 in ?? () #10 0x00002b9e in ?? () #11 0xb7673471 in raise () from /lib/libc.so.6 #12 0xb7674be9 in abort () from /lib/libc.so.6 #13 0xb766cc36 in __assert_fail () from /lib/libc.so.6 #14 0xb7b2d3e6 in Arts::Object_base::_create () from /usr/kde/3.4/lib/libmcop.so.1 #15 0x0806243f in Arts::Object::Object () #16 0x0806200c in Arts::Factory::Factory () #17 0x0805ce5d in Arts::SoundServerV2_skel::~SoundServerV2_skel () #18 0x0805ad8e in ?? () #19 0x0808b918 in ?? () #20 0x0806c424 in _IO_stdin_used () #21 0xbfa95e40 in ?? () #22 0xbfa95d58 in ?? () #23 0xb76af6f1 in malloc () from /lib/libc.so.6 #24 0x0805f4ed in std::vector<std::string, std::allocator<std::string> >::push_back () #25 0xb7b39a85 in Arts::ObjectManager::create () from /usr/kde/3.4/lib/libmcop.so.1 #26 0xb7f4d076 in Arts::SoundServerV2_base::_create () from /usr/kde/3.4/lib/libsoundserver_idl.so.1 #27 0xb7f53a86 in Arts::SoundServerV2::_Creator () from /usr/kde/3.4/lib/libsoundserver_idl.so.1 #28 0x0805b096 in Arts::Object::Pool::checkcreate () #29 0x08066124 in Arts::GlobalComm::erase () #30 0x080662eb in Arts::GlobalComm::erase () #31 0x08065d29 in __gnu_cxx::operator==<char const*, std::string> () #32 0xb765ff26 in __libc_start_main () from /lib/libc.so.6 #33 0x08058f81 in ?? ()
> #13 0xb766cc36 in __assert_fail () from /lib/libc.so.6 An assertion failure in libc. Now where does the error message go.... Things to try: - Run artsd from an xterm to see if there's any output, use -l0 param for debug output - Run artsd with a different audio output, eg null, and try fiddling with all its other params, although it shouldn't matter much here... - Think about not using artsd, which is deprecated/mostly unmaintained upstream... (USE=-arts for an arts-less system)
Output of artsd -l 0: artsd version is 1.4.1 gsl: using Unix98 pthreads directly for mutexes and conditions [artsd: 17895] parallel startup detected: sleeping unix_connect: can't connect to server (unix:/tmp/mcop-chrisw/localhost-45e4-432e4393) [artsd: 17895] SoundServerStartup --> got lock autodetecting driver: - toss: 4 - null: -1 - alsa: 15 - oss: 10 ... which means we'll default to alsa ALSA driver: default buffering: 15 fragments with 940 bytes (audio latency is 79.9 ms) Closing ALSA-driver virtualize StereoVolumeControl ALSA driver: default buffering: 15 fragments with 940 bytes (audio latency is 79.9 ms) audio format is 44100 Hz, 16 bits, 2 channels addDirectory(/usr/kde/3.4/lib/mcop,) addDirectory(/usr/kde/3.4/lib/mcop/Noatun,Noatun) addDirectory(/usr/kde/3.4/lib/mcop/Arts,Arts) addDirectory(/usr/kde/3.4/lib/mcop/Arts/Environment,Arts::Environment) addDirectory(/home/chrisw/.mcop/trader-cache,) loading extension from '/usr/kde/3.4/lib/libartsmidi.la' failed: /usr/kde/3.4/lib/libartsmidi.so.0: undefined symbol: _ZTv0_n32_N4Arts14StdSynthModule11autoSuspendEv MCOP ObjectManager: Could not load extension libartsmidi.la. MCOP ObjectManager: can't find implementation for Arts::MidiManager. artsd: object.cc:1166: static Arts::Object_base* Arts::Object_base::_create(const std::string&): Assertion `skel' failed. Aborted Output of artds -D null -l 0: artsd version is 1.4.1 gsl: using Unix98 pthreads directly for mutexes and conditions autodetecting driver: - toss: 4 - null: -1 - alsa: 15 - oss: 10 ... which means we'll default to alsa [artsd: 17922] parallel startup detected: sleeping unix_connect: can't connect to server (unix:/tmp/mcop-chrisw/localhost-4601-432e4401) [artsd: 17922] SoundServerStartup --> got lock ALSA driver: null buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms) Closing ALSA-driver virtualize StereoVolumeControl ALSA driver: null buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms) audio format is 44100 Hz, 16 bits, 2 channels addDirectory(/usr/kde/3.4/lib/mcop,) addDirectory(/usr/kde/3.4/lib/mcop/Noatun,Noatun) addDirectory(/usr/kde/3.4/lib/mcop/Arts,Arts) addDirectory(/usr/kde/3.4/lib/mcop/Arts/Environment,Arts::Environment) addDirectory(/home/chrisw/.mcop/trader-cache,) loading extension from '/usr/kde/3.4/lib/libartsmidi.la' failed: /usr/kde/3.4/lib/libartsmidi.so.0: undefined symbol: _ZTv0_n32_N4Arts14StdSynthModule11autoSuspendEv MCOP ObjectManager: Could not load extension libartsmidi.la. MCOP ObjectManager: can't find implementation for Arts::MidiManager. artsd: object.cc:1166: static Arts::Object_base* Arts::Object_base::_create(const std::string&): Assertion `skel' failed. Aborted I did not know that arts was deprecated. Perhaps a message during emerge...
I'm quite sure that the solution is to make sure you compile arts and kdemultimedia with the same compiler. See bug 67532, bug 61146. Please reopen if it persists. *** This bug has been marked as a duplicate of 67532 ***