Date: Sun, 16 Sep 2001 02:33:55 +0200 From: Rahul Siddharthan <rsidd@physics.iisc.ernet.in> 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>
next in thread | raw e-mail | index | archive | help
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-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010916023355.A2472>
