Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2009 09:09:20 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Tijl Coosemans <tijl@fastmail.fm>
Cc:        kde-freebsd@kde.org, freebsd-current@freebsd.org
Subject:   Re: [kde-freebsd] 9-CURRENT (r197801) && artsd of kde-3.5.10_2 gives SIGSEGV
Message-ID:  <20091024070920.GA2385@current.Sisis.de>
In-Reply-To: <200910231919.31536.tijl@fastmail.fm>
References:  <20091011062419.GA2168@current.Sisis.de> <20091013153815.GA88394@bsdcrew.de> <20091014063221.GA2301@current.Sisis.de> <200910231919.31536.tijl@fastmail.fm>

next in thread | previous in thread | raw e-mail | index | archive | help
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@unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091024070920.GA2385>