Re: [kde-freebsd] 9-CURRENT (r197801) && artsd of kde-3.5.10_2 gives SIGSEGV

From: Matthias Apitz <guru_at_unixarea.de>
Date: Sat, 24 Oct 2009 09:09:20 +0200
El día Friday, October 23, 2009 a las 07:19:30PM +0200, Tijl Coosemans escribió:

...
> Before you do that, maybe running artsd in a terminal prints out some
> interesting messages. Something like:
> 
> (terminal 1) $ artsd -l 0
> 
> (terminal 2) $ artsplay /path/to/somefile.ogg

Hello Tijl,

Thanks for your helping hand! And, you hit the problem:

$ artsd -l 0
artsd version is 1.5.10
gsl: using Unix98 pthreads directly for mutexes and conditions
[artsd:  1738] SoundServerStartup --> got lock
autodetecting driver: 
 - toss: 4
 - jack: -1
 - null: -1
 - oss: 10
... which means we'll default to oss
device capabilities: revision0 realtime trigger mmap 
buffering: 8 fragments with 1024 bytes (audio latency is 46.4 ms)
virtualize StereoVolumeControl
device capabilities: revision0 realtime trigger mmap 
buffering: 8 fragments with 1024 bytes (audio latency is 46.4 ms)
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/usr/local/lib/mcop,)
addDirectory(/usr/local/lib/mcop/Arts,Arts)
addDirectory(/usr/local/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/usr/local/lib/mcop/Noatun,Noatun)
addDirectory(/home/guru/.mcop/trader-cache,)
Arts::MidiManager registered successfully.
[artsd:  1738] SoundServerStartup <-- released lock

(now I run artsplay from another session)

UnixManager: got notifyIO
socketconnection created, fd = 9
search playobject, extension = ogg
creating akodeXiphPlayObject to play file
/usr/local/share/sounds/KDE_Startup_1.ogg
loading extension from '/usr/local/lib/libarts_akode.la' failed: Shared object "libltdl.so.7" not found, required by "libarts_akode.so.0"
MCOP ObjectManager: Could not load extension libarts_akode.la.
MCOP ObjectManager: can't find implementation for akodeXiphPlayObject.
Segmentation fault: 11 (core dumped)
$

i.e. the SIGSEGV is result of a missing pkg libltdl-2.2.6a_1.tbz; I
installed this and KDE's sound is fine now.

The problem is that installing only kde-3.5.10_2 will not require and install
this package on the fly:

$ pkg_info -r kde-3.5.10_2    | fgrep libltdl
$ pkg_info -r arts-1.5.10_2,1 | fgrep libltdl

Someone should fix the dependencies, I think.

Thanks again for your help.

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru_at_unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
Received on Sat Oct 24 2009 - 05:09:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC