VDR Portal
Register Calendar Members List Team Members Search Frequently Asked Questions Gallery Go to the Main Page

VDR Portal » International » Software » vdr crashes with vdr-rotor & gcc 4.1.1 [SOLVED] » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page vdr crashes with vdr-rotor & gcc 4.1.1 [SOLVED]
Author
Post « Previous Thread | Next Thread »
txboy2
Grünschnabel


Registration Date: 25.05.2006
Posts: 7

vdr crashes with vdr-rotor & gcc 4.1.1 [SOLVED] Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

After upgrading to gcc 4.1.1 & glibc 2.4 I can't start vdr with rotor plugin although it compiles ok.

This is the output I get from the error:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
xine: found demuxer plugin: DVD/VOB demux plugin
video_out_xv: VO_PROP_INTERLACED(1)
av_offset=0 pts
audio_decoder: error, unknown buffer type: 010a0000
*** glibc detected *** vdr: munmap_chunk(): invalid pointer: 0x0893565c ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d1d122]
/usr/lib/vdr/plugins/libvdr-rotor.so.1.4.1(_ZN12cPluginRotor5StartEv+0x4be)[0xb7c1fb1e]
vdr(_ZN14cPluginManager12StartPluginsEv+0x72)[0x80f3c12]
======= Memory map: ========
08048000-08209000 r-xp 00000000 03:03 2130997    /usr/bin/vdr
08209000-0821d000 rw-p 001c1000 03:03 2130997    /usr/bin/vdr
0821d000-0894f000 rw-p 0821d000 00:00 0          [heap]
ae093000-ae094000 ---p ae093000 00:00 0
ae094000-ae894000 rw-p ae094000 00:00 0
ae894000-ae929000 rw-s 00000000 00:07 18808860   /SYSV00000000 (deleted)
ae929000-ae9be000 rw-s 00000000 00:07 18776091   /SYSV00000000 (deleted)
ae9be000-aea53000 rw-s 00000000 00:07 18743322   /SYSV00000000 (deleted)
aea53000-aeb7e000 rw-p aea53000 00:00 0
aeb7e000-aeb9c000 r-xp 00000000 03:03 2146316    /usr/lib/xine/plugins/1.1.2/xineplug_decode_mpeg2.so
aeb9c000-aeb9d000 rw-p 0001e000 03:03 2146316    /usr/lib/xine/plugins/1.1.2/xineplug_decode_mpeg2.so
aeb9d000-aeb9e000 ---p aeb9d000 00:00 0
aeb9e000-af39e000 rw-p aeb9e000 00:00 0
af39e000-af3a2000 r-xp 00000000 03:03 2146328    /usr/lib/xine/plugins/1.1.2/xineplug_dmx_mpeg_block.so
af3a2000-af3a3000 rw-p 00003000 03:03 2146328    /usr/lib/xine/plugins/1.1.2/xineplug_dmx_mpeg_block.so
af3a3000-af3a4000 ---p af3a3000 00:00 0
af3a4000-afbe7000 rw-p af3a4000 00:00 0
afbe7000-afbfc000 r-xp 00000000 03:03 1961577    /usr/lib/xine/plugins/1.1.2/xineplug_inp_xvdr.so
afbfc000-afbfd000 rw-p 00014000 03:03 1961577    /usr/lib/xine/plugins/1.1.2/xineplug_inp_xvdr.so
afbfd000-afc05000 r-xp 00000000 03:03 2146220    /usr/lib/xine/plugins/1.1.2/xineplug_inp_vdr.so
afc05000-afc08000 rw-p 00007000 03:03 2146220    /usr/lib/xine/plugins/1.1.2/xineplug_inp_vdr.so
afc08000-afc0a000 rw-p afc08000 00:00 0
afc0a000-afc0e000 r-xp 00000000 03:03 2146245    /usr/lib/xine/plugins/1.1.2/xineplug_inp_rtp.so
afc0e000-afc0f000 rw-p 00003000 03:03 2146245    /usr/lib/xine/plugins/1.1.2/xineplug_inp_rtp.so
afc0f000-afc14000 r-xp 00000000 03:03 2146224    /usr/lib/xine/plugins/1.1.2/xineplug_inp_pnm.so
afc14000-afc15000 rw-p 00004000 03:03 2146224    /usr/lib/xine/plugins/1.1.2/xineplug_inp_pnm.so
afc15000-afc19000 r-xp 00000000 03:03 2146308    /usr/lib/xine/plugins/1.1.2/xineplug_inp_net.so
afc19000-afc1a000 rw-p 00003000 03:03 2146308    /usr/lib/xine/plugins/1.1.2/xineplug_inp_net.so
afc1a000-afc1e000 r-xp 00000000 03:03 2146296    /usr/lib/xine/plugins/1.1.2/xineplug_inp_stdin_fifo.so
afc1e000-afc1f000 rw-p 00003000 03:03 2146296    /usr/lib/xine/plugins/1.1.2/xineplug_inp_stdin_fifo.so
afc1f000-afc20000 ---p afc1f000 00:00 0
afc20000-b0420000 rw-p afc20000 00:00 0
b0420000-b0421000 ---p b0420000 00:00 0
b0421000-b0dee000 rw-p b0421000 00:00 0
b0dee000-b0def000 ---p b0dee000 00:00 0
b0def000-b19d8000 rw-p b0def000 00:00 0
b19d8000-b19d9000 ---p b19d8000 00:00 0
b19d9000-b221b000 rw-p b19d9000 00:00 0
b221b000-b221c000 ---p b221b000 00:00 0
b221c000-b2a1c000 rw-p b221c000 00:00 0
b2a1c000-b2a1d000 ---p b2a1c000 00:00 0
b2a1d000-b3628000 rw-p b2a1d000 00:00 0
b3628000-b363d000 r-xp 00000000 03:03 1660143    /usr/lib/libICE.so.6.3.0
b363d000-b363f000 rw-p 00014000 03:03 1660143    /usr/lib/libICE.so.6.3.0
b363f000-b3640000 rw-p b363f000 00:00 0
b3640000-b3648000 r-xp 00000000 03:03 1660094    /usr/lib/libSM.so.6.0.0
b3648000-b3649000 rw-p 00007000 03:03 1660094    /usr/lib/libSM.so.6.0.0
b364a000-b3655000 r-xp 00000000 03:03 2146294    /usr/lib/xine/plugins/1.1.2/xineplug_inp_rtsp.so
b3655000-b3656000 rw-p 0000b000 03:03 2146294    /usr/lib/xine/plugins/1.1.2/xineplug_inp_rtsp.so
b3656000-b365e000 r-xp 00000000 03:03 2146104    /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_alsa.so
b365e000-b365f000 rw-p 00007000 03:03 2146104    /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_alsa.so
b365f000-b3668000 r-xp 00000000 03:03 2146226    /usr/lib/xine/plugins/1.1.2/xineplug_vo_out_xv.so
b3668000-b3669000 rw-p 00008000 03:03 2146226    /usr/lib/xine/plugins/1.1.2/xineplug_voAbortado 
I'm using gentoo packages.
Any help ?

This post has been edited 1 time(s), it was last edited by txboy2: 06.09.2006 22:23.

06.09.2006 11:03 txboy2 is offline Send an Email to txboy2 Search for Posts by txboy2 Add txboy2 to your Buddy List
thomas83 thomas83 is a male
Routinier


Registration Date: 30.11.2003
Posts: 339

RE: vdr crashes with vdr-rotor & gcc 4.1.1 Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi,

there is a bug in the rotor plugin. The following patch should solve your problem:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
--- rotor.c.old	2006-06-14 23:44:27.000000000 +0200
+++ rotor.c	2006-06-14 23:46:43.000000000 +0200
@@ -96,7 +96,8 @@
       continue;
     if ((diseqc=Diseqcs.Get(source->Code(),12000,'h')) || (diseqc=Diseqcs.Get(source->Code(),12000,'v')) || (diseqc=Diseqcs.Get(source->Code(),12000,'l')) || (diseqc=Diseqcs.Get(source->Code(),12000,'r'))) 
     {
-      char *c=strdup(diseqc->Commands());
+      char *commandstring=strdup(diseqc->Commands());
+      char *c=commandstring;      
       while (c = strchr(c, '['))
       {
         char *e = strchr(++c, ']');
@@ -131,7 +132,7 @@
           break;
         }
       }
-      free(c);
+      free(commandstring);
     }
     cRotorPos *p = RotorPositions.GetfromSource(source->Code());
     if (p==RotorPositions.First())
06.09.2006 11:28 thomas83 is offline Send an Email to thomas83 Homepage of thomas83 Search for Posts by thomas83 Add thomas83 to your Buddy List
txboy2
Grünschnabel


Registration Date: 25.05.2006
Posts: 7

Thread Starter Thread Started by txboy2
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi Thomas.

Thank you very much smile
That patch did the trick.

I was a little desperate because of the beginning of spanish football league, so I need this plugin working in order to find feeds großes Grinsen

Thanks again Augenzwinkern
06.09.2006 20:15 txboy2 is offline Send an Email to txboy2 Search for Posts by txboy2 Add txboy2 to your Buddy List
dorpsgek dorpsgek is a male
Eroberer


images/avatars/avatar-2541.gif

Registration Date: 04.03.2005
Posts: 51
Herkunft: Nederland

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Thnx for the patch,

Had the same problem, installed gcc3.4, gcc4.0.1 nothing helped.

Now it is working fine.
06.09.2006 20:39 dorpsgek is offline Send an Email to dorpsgek Homepage of dorpsgek Search for Posts by dorpsgek Add dorpsgek to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
VDR Portal » International » Software » vdr crashes with vdr-rotor & gcc 4.1.1 [SOLVED]

www.vdr-portal.de VDR Portal © 2002-2006 by genka
Forum Software: Burning Board 2.3.4, Developed by WoltLab GmbH