manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
57 stars 25 forks source link

dvbapi crash on vdr 2.1.6 and channels dvb-t #78

Closed unixer closed 9 years ago

unixer commented 9 years ago

Hi Manio,

[41134.998769] traps: receiver on dev[28279] general protection ip:7f3141872c78 sp:7f30e27fbd50 error:0 in libvdr-dvbapi.so.2.1.6[7f3141869000+16000]

when i change in crypto channels dvb-t (on dvb-s all ok) with vdr 2.1.6 oscam R9916 and dvbapi revision 766f61333

manio commented 9 years ago

Can it because you have more then 4 adapters? If so - you can try this:

diff --git a/DeCSA.h b/DeCSA.h
index f52c83f..1d755c6 100644
--- a/DeCSA.h
+++ b/DeCSA.h
@@ -31,7 +31,7 @@ extern "C" {

 #define MAX_CSA_PIDS 8192
 #define MAX_CSA_IDX  16
-#define MAX_ADAPTERS 4
+#define MAX_ADAPTERS 8
 #define MAX_KEY_WAIT 20         // max seconds to consider a CW as valid

 #include "DVBAPI.h"
unixer commented 9 years ago

thanks I test tonight

unixer commented 9 years ago

Thank you very much Now it works very well