Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 233086

Summary: vdr-rotor plugin prevents vdr from starting
Product: Gentoo Linux Reporter: alex <gsmdib>
Component: New packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description alex 2008-07-27 07:44:29 UTC
running vdr-1.6.0_p1-r1 ~amd64. after installing and enabling vdr-rotor-0.1.4-r1 vdr would get constantly restarted by watchdog upon start.

Reproducible: Always

Steps to Reproduce:
1. add 'rotor' to USE_FLAGS
2. emerge vdr vdr-rotor
3. eselect vdr-plugin enable rotor
4. /etc/init.d/vdr start

Actual Results:  
vdr won't start, log below

Expected Results:  
vdr starts

log:
--Jul 27 07:22:06 localhost vdr: [11011] starting plugin: rotor
Jul 27 07:22:06 localhost vdr: [11011] loading /etc/vdr/plugins/rotor.conf
Jul 27 07:22:06 localhost vdr: [11011] remote control remote-event6 - learning keys
Jul 27 07:22:06 localhost vdr: [11011] device /dev/input/event6: DVB on-card IR receiver
Jul 27 07:22:06 localhost vdr: [11011] info: Press any key to use pre-loaded keymap
Jul 27 07:22:07 localhost vdr: [11011] connect from 127.0.0.1, port 54663 - accepted
Jul 27 07:22:07 localhost vdr: [11011] closing SVDRP connection
Jul 27 07:22:07 localhost /etc/init.d/vdr[11049]:     Errors from /var/log/messages:
Jul 27 07:22:07 localhost /etc/init.d/vdr[11050]:     Jul 27 07:22:05 localhost vdr: [11027] ERROR (thread.c,224): Permission denied
Jul 27 07:22:07 localhost /etc/init.d/vdr[11051]:     Jul 27 07:22:06 localhost vdr: [11041] ERROR (thread.c,224): Permission denied
Jul 27 07:22:07 localhost vdrwatchdog[11055]: VDR has been restarted
Jul 27 07:22:07 localhost vdr: [11011] connect from 127.0.0.1, port 54664 - accepted
Jul 27 07:22:07 localhost vdr: [11011] SVDRP message: 'Warning: vdr was restarted by watchdog.'
--
Comment 1 Matthias Schwarzott gentoo-dev 2009-02-25 15:59:21 UTC
Looks like you should try to find out why it crashes using gdb.

You can do it like this:
run
gdb /usr/bin/vdr
(gdb) run (Put here all options vdr does get normally.)

after it crashes do
(gdb) thread apply all bt full

If you do not know which options vdr gets normally, enlarge SCRIPT_DEBUG_LEVEL in /etc/conf.d/vdr and then the init-script will print the necessary info.