From owner-freebsd-ports Sat Sep 15 17:38:22 2001 Delivered-To: freebsd-ports@freebsd.org Received: from postfix2-1.free.fr (postfix2-1.free.fr [213.228.0.9]) by hub.freebsd.org (Postfix) with ESMTP id D11C237B40B for ; Sat, 15 Sep 2001 17:38:14 -0700 (PDT) Received: from bluerondo.a.la.turk (nas-cbv-2-29-160.dial.proxad.net [213.228.29.160]) by postfix2-1.free.fr (Postfix) with ESMTP id E60AD82 for ; Sun, 16 Sep 2001 02:38:12 +0200 (CEST) Received: (qmail 2494 invoked by uid 1001); 16 Sep 2001 00:33:56 -0000 Date: Sun, 16 Sep 2001 02:33:55 +0200 From: Rahul Siddharthan To: ports@freebsd.org Cc: multimedia@freebsd.org, andrews@technologist.com Subject: kde/arts problems with ogg123/xmms Message-ID: <20010916023355.A2472@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.4-PRERELEASE i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm having minor problems with arts. I want to play stuff like ogg123, xmms etc via arts (because my sound card doesn't sound very good when used directly except for sound files at 48000 hz sample rates, a bug in the driver apparently, but it sounds fine if I use arts to upsample it). Now, this works fine except that both ogg123 and xmms coredump, with a segfault, when they stop. More exactly, xmms coredumps whenever it reaches the end of a track, and ogg123 coredumps either when it reaches the end of the full playlist, or when it's interrupted with ^C. I tried running gdb on ogg123. GDB reports an illegal instruction right at the beginning, backtrace as below, but this doesn't seem to crash the program. ----------------------- Program received signal SIGILL, Illegal instruction. 0x2825d99f in Return () at cpuinfo.cc:217 217 ); Current language: auto; currently c++ (gdb) bt #0 0x2825d99f in Return () at cpuinfo.cc:217 #1 0x28399ca9 in Arts::StartupManager::startup () at startupmanager.cc:91 #2 0x283889fb in Arts::Dispatcher::Dispatcher (this=0x8061c04, ioManager=0x0, startServer=noServer) at dispatcher.cc:221 #3 0x281f6b14 in ArtsCApi::ArtsCApi (this=0x8061c00) at artscbackend.cc:410 #4 0x281f599d in ArtsCApi::ref () at artscbackend.cc:495 #5 0x281eeda3 in arts_backend_init () at artscbackend.cc:520 #6 0x2817c5a8 in arts_init () at artsc.c:118 #7 0x28179968 in ao_plugin_open (device=0x8060cc0, format=0xbfbfe630) at ao_arts.c:95 #8 0x280af103 in _open_device (driver_id=6, format=0xbfbfe630, options=0x0, file=0x0) at audio_out.c:458 #9 0x280af475 in ao_open_live (driver_id=6, format=0xbfbfe630, options=0x0) at audio_out.c:579 #10 0x804aa77 in open_audio_devices (opt=0xbfbff9dc, rate=44100, channels=2, buffer=0x804e3f0) at ogg123.c:614 #11 0x8049f4a in play_file (opt={read_file = 0xbfbffc09 "2_07_Salt_Creek.ogg", shuffle = 0 '\000', verbose = 0, quiet = 0, seekpos = 0, instream = 0x28147220, outdevices = 0x8050060, buffer_size = 0, rate = 671499776, channels = -1077937472, delay = 1}) at ogg123.c:419 #12 0x80498b9 in main (argc=4, argv=0xbfbffac8) at ogg123.c:250 #13 0x80492fd in _start () -------------- At the end, the program crashes, but I can't get a backtrace. (ogg123, libao and arts are compiled with debugging symbols on, I'm pretty sure the problem is in the interaction of libao, or the xmms equivalent, with arts). It says -------------- Program received signal SIGSEGV, Segmentation fault. 0x281c94f0 in _IO_cleanup () (gdb) bt #0 0x281c94f0 in _IO_cleanup () Error accessing memory address 0x281c94f0: Bad address. -------------- So what do I do now? It's only an annoyance, not a major problem, but it would be good to fix it. Or else, is there any alternative to arts? esd -r 48000 sounds terrible, and I don't know of any other sound servers. (btw, this is the cvs version of arts, from the kde 2.2 branch.) Thanks Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message