Re: RELEASE TESTING needed for libdvdread

Laurent Blume <[email protected]> Sun, 27 Nov 2005 14:50:41 +0100
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Bj|rn Englund wrote:
> Hi.
> I'm planning to make a new release of libdvdread in about a week.
> Help is needed to test that it works on all differents platforms
> before the release.
> 
> If you have time please test libdvdread from:
> http://www.dtek.chalmers.se/~dvd/dist/libdvdread-0.9.4-cvs.tar.gz or cvs
> 
> and report back here if it works or not and include what platform and
> compiler was used.

I built it on Solaris 10 using Sun Studio 11, 64 bit, optimized.
$ isainfo -v
64-bit amd64 applications
        sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc
        fpu
32-bit i386 applications
        sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc
        fpu

I used the following parameters:
CFLAGS='-fast -xarch=amd64a' \
LDFLAGS='-R/opt/libdvdcss/lib' \
./configure --prefix=/opt/libdvdread-0.9.4-cvs \
  --with-libdvdcss=/opt/libdvdcss \
  --disable-static

It builds without a hitch:
$ file /opt/libdvdread-0.9.4-cvs/lib/*.so
/opt/libdvdread-0.9.4-cvs/lib/libdvdread.so:    ELF 64-bit LSB dynamic lib AMD64
Version 1 [SSE2 SSE CMOV], dynamically linked, not stripped

There was some minor trouble building Ogle and Ogle GUI 0.9.2, but I managed.

Ogle GUI starts, then I try to open a DVD. The drives starts moving, there is a
big black windows that briefly opens, then it cores dump.
It seems something assumes somewhere that I'm on Solaris SPARC, because it's 64 bit.

$ /opt/ogle-0.9.2/bin/ogle
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
Couldnot open /usr/lib/smedia/sparcv9
Couldnot open /usr/lib/smedia/sparcv9
xscreensaver-command not found.
ctrl: ipc_rmid: Invalid argument

I added a symlink as a crude hack to avoid it complaining, but still fails in
the same way:
$ /opt/ogle-0.9.2/bin/ogle
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
xscreensaver-command not found.

ctrl: ipc_rmid: Invalid argument

Here is the short pstack of the core:
$ pstack core.ogle_nav.6176
core 'core.ogle_nav.6176' of 6176:      ogle_nav -m 6
 000000000040bf47 vm_get_audio_attr () + 57
 00000000004088f4 do_run () + e84

What else could I do to check where the problem comes from?

Laurent
-- 
A hundred thousand lemmings can't be wrong!