Re: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex
On 12.02.2016 15:50, g.bruno wrote: Hallo Klaus, in how far your answer ("part of the official VDR code" is helping me? Sorry, I thought you didn't know that this patch has already been adopted. What shall I do? The best thing to do would probably be to switch to VDR version 2.2.0. Anyway, patch does not work with your code. And also manually I fail. Come on, it's just three lines of code you need to insert ;-). Klaus Am 12.02.2016 um 10:39 schrieb Klaus Schmidinger: On 11.02.2016 20:17, g.bruno wrote: Dear Sirs, the patch to the subject above, published on http://www.linuxtv.org/pipermail/vdr/2013-December/028137.html has several mistakes and is incomplete. ... Maybe some whitespace problems. The patch, however, ist part of the official VDR code. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex
Hallo Klaus, I already tried VDR version 2.2.0, but it does not run, because the VDR-plugin-xineliboutput is missing for this Version. The Version I used with VDR 2.1.2 does not compile. By the way: With VDR version 2.0.3 vdr --genindex works fine. Greetings G. Bruno Am 14.02.2016 um 10:01 schrieb Klaus Schmidinger: On 12.02.2016 15:50, g.bruno wrote: Hallo Klaus, in how far your answer ("part of the official VDR code" is helping me? Sorry, I thought you didn't know that this patch has already been adopted. What shall I do? The best thing to do would probably be to switch to VDR version 2.2.0. Anyway, patch does not work with your code. And also manually I fail. Come on, it's just three lines of code you need to insert ;-). Klaus Am 12.02.2016 um 10:39 schrieb Klaus Schmidinger: On 11.02.2016 20:17, g.bruno wrote: Dear Sirs, the patch to the subject above, published on http://www.linuxtv.org/pipermail/vdr/2013-December/028137.html has several mistakes and is incomplete. ... Maybe some whitespace problems. The patch, however, ist part of the official VDR code. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex
Hi, Am 14.02.2016 um 11:18 schrieb g.bruno: > Hallo Klaus, > > I already tried VDR version 2.2.0, but it does not run, because the > VDR-plugin-xineliboutput is missing for this > Version. The Version I used with VDR 2.1.2 does not compile. Have you tried the latest commits from: git clone git://projects.vdr-developer.org/xineliboutput.git It's better to fix xineliboutput as to work with old vdr versions. :) If you have problems with compiling xineliboutput, please ask. At yavdr we use some patches to compile it with recent libcec versions. They are attached, look at the series files for the order of the patches. Lars. xineliboutput-patches.tar.gz Description: GNU Zip compressed data ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex
Hallo Lars, thanks for your advice. I tried it, git worked fine. But compiling still ends with an issue: root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/GIT# git clone git://projects.vdr-developer.org/xineliboutput.git Nach »xineliboutput« wird geklont remote: Counting objects: 12082, done. remote: Compressing objects: 100% (4899/4899), done. remote: Total 12082 (delta 8391), reused 10777 (delta 7087) Objekte werden empfangen: 100% (12082/12082), 5.86 MiB | 5.00 MiB/s, done. Unterschiede werden aufgelöst: 100% (8391/8391), done. Verbundenheit wird überprüft … Fertig. root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# make Makefile:109: Building inside VDR source tree g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.1.0"' -Wall -I../../../include -o config.o config.c config.c: In constructor ‘config_t::config_t()’: config.c:706:31: error: ‘VideoDirectory’ was not declared in this scope strn0cpy(browse_files_dir, VideoDirectory, sizeof(browse_files_dir)); ^ make: *** [config.o] Fehler 1 root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# It is the same as before. Do you have other ideas? Greetings G. Bruno Am 14.02.2016 um 12:56 schrieb Lars Hanisch: Hi, Am 14.02.2016 um 11:18 schrieb g.bruno: > Hallo Klaus, > > I already tried VDR version 2.2.0, but it does not run, because the VDR-plugin-xineliboutput is missing for this > Version. The Version I used with VDR 2.1.2 does not compile. Have you tried the latest commits from: git clone git://projects.vdr-developer.org/xineliboutput.git It's better to fix xineliboutput as to work with old vdr versions. :) If you have problems with compiling xineliboutput, please ask. At yavdr we use some patches to compile it with recent libcec versions. They are attached, look at the series files for the order of the patches. Lars. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex
Hello, you cloned the git repository to /usr/local/src/vdr-2.2.0/PLUGINS/src/GIT/xineliboutput but you are trying to run make in /usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput Have another look at the the error message - the text for line 706 in config.c differs from the most recent version: https://projects.vdr-developer.org/git/xineliboutput.git/tree/config.c#n706 Alexander. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex
I tried the attached patches. Most of them ended with errors, see below. - root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch -N ./Makefile debian.patch patching file ./Makefile Hunk #1 FAILED at 343. 1 out of 1 hunk FAILED -- saving rejects to file ./Makefile.rej root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# ls -l xine_frontend.c -rw-r--r-- 1 vdr users 59823 Aug 20 2013 xine_frontend.c --- root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch -N ./xine_frontend.c ./xineliboutput-dfatmo-switch patching file ./xine_frontend.c Hunk #1 succeeded at 1439 (offset 2 lines). patching file ./xine_frontend.c Hunk #1 FAILED at 455. 1 out of 1 hunk FAILED -- saving rejects to file ./xine_frontend.c.rej patching file ./xine_frontend.c Hunk #1 succeeded at 401 with fuzz 2 (offset 178 lines). Hunk #2 succeeded at 1107 with fuzz 2 (offset 807 lines). patching file ./xine_frontend.c Hunk #1 FAILED at 218. 1 out of 1 hunk FAILED -- saving rejects to file ./xine_frontend.c.rej - root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch ./config.c ./truecolor.diff patching file ./config.c Hunk #1 succeeded at 737 (offset -4 lines). Hunk #2 succeeded at 760 (offset -4 lines). Hunk #3 succeeded at 778 (offset -4 lines). Hunk #4 succeeded at 898 (offset -4 lines). patching file ./config.c Hunk #1 FAILED at 294. 1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej patching file ./config.c Hunk #1 FAILED at 783. 1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej patching file ./config.c Hunk #1 FAILED at 160. 1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput/xine# patch ./xvdr_metronom.c ./fix-segfault.patch patching file ./xvdr_metronom.c --- xine_frontend_cec.c does not exist (twice), at least I could not find it -- compiling with make failed: root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# make Makefile:109: Building inside VDR source tree g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.1.0"' -Wall -I../../../include -o xineliboutput.o xineliboutput.c xineliboutput.c: In member function ‘virtual bool cPluginXinelibOutput::Service(const char*, void*)’: xineliboutput.c:295:22: error: ‘str’ was not declared in this scope if (!strncasecmp(str, "DFATMOENABLED", 13)) { ^ xineliboutput.c:296:7: error: ‘fe’ was not declared in this scope fe->send_event(fe, str); ^ xineliboutput.c:297:7: error: continue statement not within a loop continue; ^ xineliboutput.c:299:22: error: ‘str’ was not declared in this scope if (!strncasecmp(str, "DFATMOENABLED", 13)) { ^ xineliboutput.c:300:7: error: ‘fe’ was not declared in this scope fe->send_event(fe, str); ^ xineliboutput.c:301:7: error: continue statement not within a loop continue; ^ make: *** [xineliboutput.o] Fehler 1 -- Did I make any mistakes? The version of the plugin is xineliboutput-1.1.0. Are the patches for an other version of VDR? What do I do now? Any ideas? G.Bruno Am 14.02.2016 um 12:56 schrieb Lars Hanisch: Hi, Am 14.02.2016 um 11:18 schrieb g.bruno: Hallo Klaus, I already tried VDR version 2.2.0, but it does not run, because the VDR-plugin-xineliboutput is missing for this Version. The Version I used with VDR 2.1.2 does not compile. Have you tried the latest commits from: git clone git://projects.vdr-developer.org/xineliboutput.git It's better to fix xineliboutput as to work with old vdr versions. :) If you have problems with compiling xineliboutput, please ask. At yavdr we use some patches to compile it with recent libcec versions. They are attached, look at the series files for the order of the patches. Lars. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] Fwd: Fwd: Re: vdr 2.1.2 segfaults in libc using vdr --genindex
Hello, I am sorry to have sent you this mail today at 16:47:58 +0100 with wrong informations because did not work in the right directory. Please ignore it. Greetings G. Bruno Weitergeleitete Nachricht Betreff: Re: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex Datum: Sun, 14 Feb 2016 16:47:58 +0100 Von: g.bruno Antwort an: VDR Mailing List An: VDR Mailing List I tried the attached patches. Most of them ended with errors, see below. - root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch -N ./Makefile debian.patch patching file ./Makefile Hunk #1 FAILED at 343. 1 out of 1 hunk FAILED -- saving rejects to file ./Makefile.rej root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# ls -l xine_frontend.c -rw-r--r-- 1 vdr users 59823 Aug 20 2013 xine_frontend.c --- root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch -N ./xine_frontend.c ./xineliboutput-dfatmo-switch patching file ./xine_frontend.c Hunk #1 succeeded at 1439 (offset 2 lines). patching file ./xine_frontend.c Hunk #1 FAILED at 455. 1 out of 1 hunk FAILED -- saving rejects to file ./xine_frontend.c.rej patching file ./xine_frontend.c Hunk #1 succeeded at 401 with fuzz 2 (offset 178 lines). Hunk #2 succeeded at 1107 with fuzz 2 (offset 807 lines). patching file ./xine_frontend.c Hunk #1 FAILED at 218. 1 out of 1 hunk FAILED -- saving rejects to file ./xine_frontend.c.rej - root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch ./config.c ./truecolor.diff patching file ./config.c Hunk #1 succeeded at 737 (offset -4 lines). Hunk #2 succeeded at 760 (offset -4 lines). Hunk #3 succeeded at 778 (offset -4 lines). Hunk #4 succeeded at 898 (offset -4 lines). patching file ./config.c Hunk #1 FAILED at 294. 1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej patching file ./config.c Hunk #1 FAILED at 783. 1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej patching file ./config.c Hunk #1 FAILED at 160. 1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput/xine# patch ./xvdr_metronom.c ./fix-segfault.patch patching file ./xvdr_metronom.c --- xine_frontend_cec.c does not exist (twice), at least I could not find it -- compiling with make failed: root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# make Makefile:109: Building inside VDR source tree g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.1.0"' -Wall -I../../../include -o xineliboutput.o xineliboutput.c xineliboutput.c: In member function ‘virtual bool cPluginXinelibOutput::Service(const char*, void*)’: xineliboutput.c:295:22: error: ‘str’ was not declared in this scope if (!strncasecmp(str, "DFATMOENABLED", 13)) { ^ xineliboutput.c:296:7: error: ‘fe’ was not declared in this scope fe->send_event(fe, str); ^ xineliboutput.c:297:7: error: continue statement not within a loop continue; ^ xineliboutput.c:299:22: error: ‘str’ was not declared in this scope if (!strncasecmp(str, "DFATMOENABLED", 13)) { ^ xineliboutput.c:300:7: error: ‘fe’ was not declared in this scope fe->send_event(fe, str); ^ xineliboutput.c:301:7: error: continue statement not within a loop continue; ^ make: *** [xineliboutput.o] Fehler 1 -- Did I make any mistakes? The version of the plugin is xineliboutput-1.1.0. Are the patches for an other version of VDR? What do I do now? Any ideas? G.Bruno Am 14.02.2016 um 12:56 schrieb Lars Hanisch: Hi, Am 14.02.2016 um 11:18 schrieb g.bruno: Hallo Klaus, I already tried VDR version 2.2.0, but it does not run, because the VDR-plugin-xineliboutput is missing for this Version. The Version I used with VDR 2.1.2 does not compile. Have you tried the latest commits from: git clone git://projects.vdr-developer.org/xineliboutput.git It's better to fix xineliboutput as to work with old vdr versions. :) If you have problems with compiling xineliboutput, please ask. At yavdr we use some patches to compile it with recent libcec versions. They are attached, look at the series files for the order of the patches. Lars. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr