Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123867 - media-plugins/vdr-setup: vdr crashes when accessing (and/or leaving) OSD-Menu (use-flag: bigpatch!)
Summary: media-plugins/vdr-setup: vdr crashes when accessing (and/or leaving) OSD-Menu...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joerg Bornkessel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 15:16 UTC by Daniel
Modified: 2006-05-07 14:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2006-02-23 15:16:39 UTC
Starting vdr works fine
"Basic" functions are also working fine zapping, recording etc...
Accessing the menu -> system -> Gentoo-VDR-Setup -> VDR-Settings -> OSD works
Navigating up and down within OSD-Menu (also changing values) works
Jumping out of OSD-Menu (pressing back-button): *BOOM*/*CRASH* (no suspicious syslog-output - see below)
After that I deleted /etc/vdr/setup.conf and restarted vdr
Now it crashes when entering the OSD-Menu (not when leaving it!!!)
After restarting vdr (not deleting the just before vdr-generated setup.conf) again the OSD-Menu is accessible but vdr crashes when leaving OSD-Menu...

Short summary:
deleting setup.conf, restarting vdr, accessing OSD-menu -> crash!
restarting vdr, (not deleting the just before vdr-internal-created setup.conf), accessing OSD-menu works -> leaving OSD-Menu -> crash! and so on and so on...

On my system this behaviour/crash is reproduciable any time!

Could it be that the reason is a problem regarding vdr-setup plugin in conjunction with "BIGPATCH"? I had no time to verify this behaviour against a vdr compiled without the USE-Flag "bigpatch".

But when there is a problem regarding setup-plugin and bigpatch in my opinion a possible starting point for further investigations perhabs can be found here:
http://www.vdr-portal.de/board/thread.php?postid=423634#post423634


Some "misc" information are follwing beyond this point... Please let me know whether I should provide more informations for you. Thanks a lot!

last syslog-message (right after the creash, not very helpful):
---------------------------------------------------------------
Feb 23 23:51:04 [lircd-0.8.0] removed client
Feb 23 23:51:04 [kernel] /var/tmp/portage/lirc-0.8.0_pre3/work/lirc-0.8.0pre3/drivers/lirc_imon/lirc_imon.c: IR port closed

I also deleted /etc/vdr/setup.conf, started vdr so vdr wrote a completly new setup.conf --> the same crash occured!

vdr # /etc/init.d/vdr start
 * Preparing start of vdr:
 *   config files ...
awk: cmd. line:1: fatal: cannot open file `/etc/vdr/setup.conf' for reading (No such file or directory)    [ ok ]
 * debug2:  setting LD_ASSUME_KERNEL=2.4.1
 * debug2:  called undefined plugin_pre_vdr_start for plugin-setup
 *   Prerequisits (devices nodes etc.) ...
 * debug1:  waited 0 seconds                                                                               [ ok ]
 * Starting vdr-1.3.41 ...
 * debug2:  start-stop-daemon --start --chdir /etc/vdr --exec /usr/bin/vdr -- -u vdr --watchdog=60 --video=/var/vdr/video --lirc --record=/usr/lib/vdr/bin/vdrrecord-gate.sh --plugin=setup                                 [ ok ]
 * debug2:  called undefined plugin_post_vdr_start for plugin-setup
 *   Waiting for working vdr ...
 * debug1:  waited 3 seconds

What makes me wonder: KERNEL 2.4?!?! I'm using gentoo-2.6.15-r1 (please see below for emerge --info) Is this the reason?

Syslog @ startup:
-----------------
Feb 23 23:45:53 [vdr] [29826] VDR version 1.3.41 started
Feb 23 23:45:53 [vdr] [29826] Bigpatch 2006-01-23 is active!
Feb 23 23:45:53 [vdr] [29826] switched to user 'vdr'
Feb 23 23:45:53 [vdr] [29826] loading plugin: /usr/lib/vdr/plugins/libvdr-setup.so.1.3.41
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/setup.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/sources.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/diseqc.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/channels.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/timers.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/commands.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/reccmds.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/timercmds.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/svdrphosts.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/remote.conf
Feb 23 23:45:53 [vdr] [29826] loading /etc/vdr/keymacros.conf
Feb 23 23:45:55 [vdr] [29826] found 2 video devices
Feb 23 23:45:55 [vdr] [29826] initializing plugin: setup (0.2.3): Gentoo-VDR-Setup
Feb 23 23:45:55 [vdr] [29826] setting primary device to 1
Feb 23 23:45:55 [kernel] /var/tmp/portage/lirc-0.8.0_pre3/work/lirc-0.8.0pre3/drivers/lirc_imon/lirc_imon.c: IR port opened
Feb 23 23:45:55 [vdr] [29826] SVDRP listening on port 2001
Feb 23 23:45:55 [vdr] [29826] loading /etc/vdr/themes/classic-default.theme
Feb 23 23:45:55 [vdr] [29826] starting plugin: setup
Feb 23 23:45:55 [vdr] [29826] loading /etc/vdr/themes/classic-default.theme
Feb 23 23:45:55 [lircd-0.8.0] accepted new client on /dev/lircd
Feb 23 23:45:55 [vdr] [29826] switching to channel 1
Feb 23 23:45:56 [vdr] [29879] cAudioRepacker(0xC0): skipped 48 bytes to sync on next audio frame
Feb 23 23:45:56 [vdr] [29826] connect from 127.0.0.1, port 39234 - accepted
Feb 23 23:45:56 [vdr] [29826] closing SVDRP connection
Feb 23 23:45:56 [vdr] [29871] channel 1 (Das Erste) event 22:45 'Olgas Sommer' status 4
Feb 23 23:45:57 [vdr] [29871] channel 3 (Phoenix) event 23:00 'der Tag' status 4
Feb 23 23:45:58 [vdr] [29871] channel 4 (EinsPlus) event 23:30 'Weltbilder' status 4
Feb 23 23:45:58 [vdr] [29871] channel 2 (arte) event 23:05 'Tracks' status 4




vdr-version:
------------
vdr # emerge -pv vdr
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild   R   ] media-video/vdr-1.3.41-r1  +aio +bigpatch +jumpplay -lnbsharing +setup-plugin -sourcecaps +subtitles +yaepg 0 kB
Total size of downloads: 0 kB

vdr-setup-version:
------------------
vdr # emerge -pv vdr-setup
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild   R   ] media-plugins/vdr-setup-0.2.3  0 kB
Total size of downloads: 0 kB

PLUGIN-Variable: /etc/conf.d/vdr
--------------------------------
PLUGIN="setup"

emerge --info:
--------------
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib cdb cdparanoia cdr cpdflib crypt ctype cups curl curlwrappers dedicated directfb dvd dvdr eds emboss encode ethereal exif expat fam fbcon ffmpeg flash foomaticdb fortran freetds freetype ftp gd gif gpm gps gstreamer gtk2 iconv icq ieee1394 imagemagick imlib ipv6 jabber java javascript jpeg kde lcms ldap libg++ libwww lirc lm_sensors mad mcal mhash mikmod milter mime ming mmx mng motif mp3 mpeg mysql ncurses nls offensive ogg oggvorbis opengl oss pam pcntl pcre pdflib perl php png posix python qt quicktime readline recode ruby sasl sdl sharedext slang slp snmp sockets socks5 spell sse sse2 ssl svg svga svgalib symlink tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis wmf xml xml2 xmlrpc xmms xpm xsl xv xvid zlib dvb_cards_ttpci userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Joerg Bornkessel (RETIRED) gentoo-dev 2006-02-24 15:14:13 UTC
yeah bad thing :(
on my first try an my VDR, he crashed to. 
But on any repeads it works without problems.
I need any tests to find the problem.
On "-bigpatch" systems, it works whithout problems (reported by zzam).

##

setting LD_ASSUME_KERNEL=2.4.1 is only a debug line, you dont use nptl
will fixed to a better info line in comming version. There is  no proplem.

Comment 2 Joerg Bornkessel (RETIRED) gentoo-dev 2006-03-12 07:06:05 UTC
Hi Daniel,

You have gone the wrong way to generate a new  setup.conf .
At first you have to stop the VDR and then remove the setup.conf .
If you remove the setup.conf on runtime, it will generate a setup.conf with the same parameters with that have you started (setup.conf is in VDR cache) on stop.

In next Days comes a new VDR-1.3.44 with vdr-setup-0.3.1 in Depend.
There will be the same Problem with the setup.conf, looks like vdr-setup have Problems with unknow Parameters in setup.conf.
Plz, add comment, if it's work.

BR

Joerg
Comment 3 Joerg Bornkessel (RETIRED) gentoo-dev 2006-05-05 15:53:29 UTC
Daniel, 

Plz give feedback is this problem still if you have updated your VDR to 1.4.

When this Problems comes again, plz stop VDR and remove the setup.conf.
On start will VDR creats a new setup.conf wiht default parameters.

Feedback Plz.

Joerg
Comment 4 Daniel 2006-05-07 05:21:59 UTC
(In reply to comment #3)
> Daniel, 
> 
> Plz give feedback is this problem still if you have updated your VDR to 1.4.
> 
> When this Problems comes again, plz stop VDR and remove the setup.conf.
> On start will VDR creats a new setup.conf wiht default parameters.
> 
> Feedback Plz.
> 
> Joerg
> 
Hello Joerg,

emerging vdr 1.4 caused compile errors for streamdev-server (I already reported plz see #132134). The bug concerning the mentioned compile-errors have been resolved - thanks! But with 1.4 and after rebuilding any plugins I can't access the Setup-Menu at all (it's not shown any more "Main->System->Setup" is missing?!?).
So I un-emerged "vdr-setup-plugin", disabled USE-Flag "setup-plugin", re-emerged vdr 1.4 and rebuild all plugins used. Now the setup-menu is included into the main-menu again.

In the meantime I gave up using setup-plugin - sorry!

Many thanks for your concentrated efforts regarding vdr-ebuild - everything else works like really fine for me! Thanks a lot!

Cheers
Daniel
Comment 5 Joerg Bornkessel (RETIRED) gentoo-dev 2006-05-07 14:24:38 UTC
Will try to find the real problem with more infos;

@ Daniel

If you don't use the setup-plugin, you can remove the /etc/vdr/plugins/setup DIR.This will fix the Problem:
> Now the setup-menu is included into the main-menu again.
The DIR will not removed automatical on install ( config-protect )
I will add a line to inform the user on unmerge in the ebuild.

Joerg