News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

segmentation fault when connecting

Started by mci_nano, February 06, 2013, 19:57:02

Previous topic - Next topic

mci_nano

Hello everybody

I'm unable to get vompclient and server connected. I'm running this setup:
A Server with TV-Card. Ubuntu 12.04.01
$ uname -rv
3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 UTC 2013
$ vdr --version
vdr (1.7.27/1.7.27) - The Video Disk Recorder
femon (1.7.17) - DVB Signal Information Monitor (OSD)
xvdr (0.9.8) - XVDR Server
live (0.2.0) - Live Interactive VDR Environment
vompserver (0.4.0) - Vompserver plugin by Chris Tallon
vnsiserver (0.9.0) - VDR-Network-Streaming-Interface (VNSI) Server


And a Pi with Arch Linux as Client
# uname -rv
3.6.11-4-ARCH+ #1 PREEMPT Wed Jan 16 19:06:54 UTC 2013


both vompserver and client are compiled from git
server is 0-4-0rc and client is master branch.

When I start vompclient it turns on, connects to the VDR Server and stops with Segmentation fault.
Stacktrace from vompclient
Log of Server while client is connecting.

Also I did some modifications to the Makefile to build it on Arch Linux. Hopefully this isn't breaking anything...

I can't see a failure, but I have to confess not to be a good trace reader. I'm realy not sure about all the config errors, though

Any help? Can you point me in the right direction?

Greetings





MartenR

I need also a log of the client side.
Anyway it is crashing probably at the initialization of the libcec.
Did you install a libcec with raspberry pi support compiled in?

Marten

mci_nano

Hi Marten

This is the log of vompclient running in debug modus.
About libcec. I've installed libcec-rpi 2.0.5.

# cec-client -i
libCEC version: 2.0.5, host: armv6l-unknown-linux-gnueabihf, features: 'P8 USB' 'P8 USB detect' 'RPi', compiled on: Fri Dec 21 18:08:40 UTC 2012 by nobody@panda3 on Linux 3.2.34-1-FARM (armv6l

MartenR

Probably the libcec version is the problem. The interface was changed with version 2.0.
The development of vomp is with a version below 2.0, it is 1.8.1.

Marten

sirwio

Without patching the vompclient sources the compile should not have succeeded if the libcec version is greater than 2.0.
Perhaps a stray version is picked up while compiling.

mci_nano

Quote from: MartenR on February 08, 2013, 06:59:19
Probably the libcec version is the problem. The interface was changed with version 2.0.
The development of vomp is with a version below 2.0, it is 1.8.1.

Marten

Will there be an update in the near future? Because downgrading isn't a simple act, I'ld consider to wait for a new version. Actualy I'm using a workaround of omxplayer and streamdev.

configure: error: Raspberry Pi API not found or incompatible with libCEC

mci_nano

Quote from: sirwio on February 08, 2013, 08:26:18
Without patching the vompclient sources the compile should not have succeeded if the libcec version is greater than 2.0.
Perhaps a stray version is picked up while compiling.
OMG, i new it.  ;D

mci_nano

#7
Quote from: mci_nano on February 08, 2013, 10:06:35

configure: error: Raspberry Pi API not found or incompatible with libCEC

I looked up, what exactly this is. In debian it would be libraspberrypi-dev. I think its the firmware. In arch linux it is the following package
# pacman -Q raspberrypi-firmware -i
Name           : raspberrypi-firmware
Version        : 20130116-1
URL            : https://github.com/raspberrypi/firmware
Licenses       : custom
Groups         : None
Provides       : raspberrypi-firmware
Depends On     : None
Optional Deps  : None
Required By    : libcec-rpi  xbmc-rbp-git
Conflicts With : raspberrypi-firmware
Replaces       : None
Installed Size : 48116.00 KiB
Packager       : Kevin Mihelich <kevin@archlinuxarm.org>
Architecture   : any
Build Date     : Wed Jan 16 21:50:04 2013
Install Date   : Tue Jan 22 15:14:41 2013
Install Reason : Explicitly installed
Install Script : No
Description    : Firmware files for Raspberry Pi


An actual version

MartenR

Will there be an update in the near future?
Not until a libcec greater 2.0 with raspberry support will appear on raspbian, since this is my development system.

Marten