Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-09 Thread Richard Scobie

Klaus Schmidinger wrote:

On 09.09.2016 21:14, Richard Scobie wrote:

...
The "recordings" menu is no longer navigable - the highlit entry will
not move and more than one iten in the list will become highlighted.


Yes, I have this, too. No fix yet, though.
Just press the Up or Down key in such a case and you get the cursor back.
Ignore the previous (stuck) cursor. I guess this is the typical flaw that
just isn't causing enough trouble to get fixed right away... ;-)


Interesting. In my case, opening Recordings menu places a the 
highlighted recording in the centre of the list.


A single "Up" press scrolls the list and places the highlighted 
recording at the botoom of the list. Furthur Up key presses have no effect.


A Down key press at this point moves the highlighted event down one 
entry and scrolls the list so that this is at the top of the list. 
Further Down key presses have no effect.


Regards,

Richard

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-09 Thread Klaus Schmidinger

On 09.09.2016 21:14, Richard Scobie wrote:

...
The "recordings" menu is no longer navigable - the highlit entry will not move 
and more than one iten in the list will become highlighted.


Yes, I have this, too. No fix yet, though.
Just press the Up or Down key in such a case and you get the cursor back.
Ignore the previous (stuck) cursor. I guess this is the typical flaw that
just isn't causing enough trouble to get fixed right away... ;-)

Klaus

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-09 Thread Richard Scobie

Hi Klaus,

Klaus Schmidinger wrote:


"vdr-2.3.1-fixcrashdelrec.diff" and
"vdr-2.3.1-grantrecursivewritelocks-2.diff" are the only two fixes I
have. I sincerely hope to find more time for VDR development in the
not so distant future. This past year I was rather busy with lots of
other stuff. And of course any known fixes will go into the next
version.

Klaus


Thanks for the reply.

Further testing last night after applying both those patches, revealed 
although it no longer crashes while deleting a recording, things still 
aren't right.


The "recordings" menu is no longer navigable - the highlit entry will 
not move and more than one iten in the list will become highlighted.


I'll try each patch seperately.

Regards,

Richard


___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-09 Thread Klaus Schmidinger

On 09.09.2016 07:01, Richard Scobie wrote:

Replying to my own post, it looks like this crash on deleting recordings is 
probably not due to dvbhddevice plugin, as others have experienced it, 
according to comment no. 26 in this thread:

http://www.vdr-portal.de/board1-news/board2-vdr-news/127271-announce-vdr-developer-version-2-3-1/index2.html

@Klaus

This comment and replies from yourself were  a year ago.


Good heavens! Has it been a year already?!
Time is really flying...


Have you found a solution yet and it's due out in the next release, or would 
you like me to do any other testing or to provide any other information?


"vdr-2.3.1-fixcrashdelrec.diff" and "vdr-2.3.1-grantrecursivewritelocks-2.diff" 
are
the only two fixes I have. I sincerely hope to find more time for VDR 
development in
the not so distant future. This past year I was rather busy with lots of other 
stuff.
And of course any known fixes will go into the next version.

Klaus

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-09 Thread Richard Scobie
Further to my last post, I applied the "vdr-2.3.1-fixcrashdelrec.diff" 
and "vdr-2.3.1-grantrecursivewritelocks-2.diff" that Klaus posted to the 
thread on vdr.portal.de :


http://www.vdr-portal.de/board1-news/board2-vdr-news/127271-announce-vdr-developer-version-2-3-1/index2.html

and I am no longer seg faulting.

I did not try this initially, as the poster "UFO", on that thread, for 
whom the patches were written, had not found any improvement.


Regards,

Richard

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-08 Thread Richard Scobie
Replying to my own post, it looks like this crash on deleting recordings 
is probably not due to dvbhddevice plugin, as others have experienced 
it, according to comment no. 26 in this thread:


http://www.vdr-portal.de/board1-news/board2-vdr-news/127271-announce-vdr-developer-version-2-3-1/index2.html

@Klaus

This comment and replies from yourself were  a year ago.

Have you found a solution yet and it's due out in the next release, or 
would you like me to do any other testing or to provide any other 
information?


An incomplete backtrace is below:

Program received signal SIGSEGV, Segmentation fault.
cRecordings::MBperMinute (this=0x0) at recording.c:3049
3049}
Missing separate debuginfos, use: debuginfo-install 
expat-2.0.1-11.fc15.x86_64 fontconfig-2.8.0-4.fc16.x86_64 
freetype-2.4.6-3.fc16.x86_64 glibc-2.14.90-14.x86_64 
libattr-2.4.46-2.fc16.x86_64 libcap-2.22-1.fc15.x86_64 
libgcc-4.6.2-1.fc16.x86_64 libjpeg-turbo-1.1.1-1.fc16.x86_64 
libstdc++-4.6.2-1.fc16.x86_64

(gdb) bt full
#0  cRecordings::MBperMinute (this=0x0) at recording.c:3049
Recording = 
size = 0
length = 0
#1  0x0052ea0c in cVideoDiskUsage::HasChanged (State=@0x802660)
at videodir.c:214
RecordingsLock = {stateKey = {stateLock = 0x0, write = false,
state = -1, timedOut = false}, list = 0x0}
Recordings = 
MBperMinute = 
FreeMB = 629428
UsedPercent = 
#2  0x0052eb08 in cVideoDiskUsage::String () at videodir.c:231
No locals.
#3  0x004fde06 in cSkinClassicDisplayMenu::DrawTitle (this=0xaa4020)
at skinclassic.c:282
font = 0xa75540
WithDisk = 
#4  0x004d5c44 in Display (this=0xad3950) at osdbase.c:238
count = 
#5  cOsdMenu::Display (this=0xad3950) at osdbase.c:223
No locals.
#6  0x004cb5bb in cMenuRecordings::Delete (this=0xad3950)
at menu.c:3119
Recordings = 0x7f9bc0
Recording = 0x7fffe803cae0
FileName = {_vptr.cString = 0x79a350,
  s = 0xad1e50 
"/mnt/storage/video/Newshub_Live_At_6pm/_/2016-09-08.17.55.3-0.rec"}

ri = 
#7  0x004d6a1c in cOsdMenu::ProcessKey (this=0xaadc50, Key=kYellow)
at osdbase.c:528
state = 
#8  0x004cb734 in cMenuRecordings::ProcessKey (this=0xaadc50,
Key=kYellow) at menu.c:3177
HadSubMenu = true
state = 
#9  0x004d6a1c in cOsdMenu::ProcessKey (this=0xaa3ef0, Key=kYellow)
at osdbase.c:528
state = 
#10 0x004caa66 in cMenuMain::ProcessKey (this=0xaa3ef0, Key=kYellow)
at menu.c:4372
HadSubMenu = true
osdLanguage = 0
state = 
#11 0x00474836 in main (argc=, argv=)
at vdr.c:1354
state = 
Now = 1473396864
Interact = 
key = 
PreviousChannelIndex = 1
LastChannelChanged = 1473396826
IsInfoMenu = 
Menu = 
LastChannel = 12
LastTimerChannel = -1
PreviousChannel = {1, 12}
CurrentSkin = 
LastInteract = 1473396864
MaxLatencyTime = 0
InhibitEpgScan = false
ResourceDirectory = 0x57d2407f 
LocaleDirectory = 0x552300 "ing down"
MuteAudio = 255
savedTm = {c_iflag = 1280, c_oflag = 5, c_cflag = 191,
  c_lflag = 35387, c_line = 0 '\000',
  c_cc = 
"\003\034\177\025\004\000\001\000\021\023\032\000\022\017\027\026", 
'\000' , c_ispeed = 15, c_ospeed = 15}

ConfigDirectory = 0x552300 "ing down"
Args = 
VdrUser = 0x0
VideoDirectory = 
LircDevice = 
EpgDataFileName = 0x7f9f40 "\241\\\322W"
DisplayVersion = 12
WatchdogTimeout = 0
DeprecatedVdrCharsetOverride = 0x1 
PluginManager = {_vptr.cPluginManager = 0x797bf0,
  static pluginManager = 0x7fffdf70,
  directory = 0x809b60 "/home/rs/vdr/PLUGINS/lib",
  lastHousekeeping = 1473396825, nextHousekeeping = -1,
  dlls = { = { = {_vptr.cListBase = 
0x797c50,

objects = 0x809c20, lastObject = 0x809c20, count = 1,
stateLock = {name = 0x0, threadId = 0, rwLock = {rwlock = {
  __data = {__lock = 0, __nr_readers = 0,
__readers_wakeup = 0, __writer_wakeup = 0,
__nr_readers_queued = 0, __nr_writers_queued = 0,
---Type  to continue, or q  to quit---
__writer = 0, __shared = 0, __pad1 = 0, __pad2 
= 0,

__flags = 0}, __size = '\000' ,
  __align = 0}}, state = 0, explicitModify = false},
needsLocking = 0x0,
useGarbageCollector = false}, }, data fields>}}

StartedAsRoot = 
AudioCommand = 0x0
c = 
CodeSet = 
HasStdin = true
UserDump = 32
SVDRPport = 6419
CacheDirectory = 0x552300 "ing down"
DaemonMode = 90
EpgDataReader = { = {_vptr.cThread = 

Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-07 Thread Richard Scobie

cedric.dew...@telfort.nl wrote:


Hi Richard,
Could you show the changes you made? Maybe we can see from that what you missed 
:-)


Hi Cedric,

Thanks for your help.

In dvbhddevice.c :

- static const char *VERSION= "2.2.0";
+ static const char *VERSION= "2.3.1";

In dvbhdffdevice.c:

void cDvbHdFfDevice::SetAudioTrackDevice(eTrackType Type)
{
//printf("SetAudioTrackDevice %d\n", Type);
const tTrackId *TrackId = GetTrack(Type);
if (TrackId && TrackId->id) {
int streamType = 0;
-cChannel * channel = Channels.GetByNumber(CurrentChannel());
+   LOCK_CHANNELS_READ;
+const cChannel * channel = Channels->GetByNumber(CurrentChannel());

After making these changes, the plugin compiled without error.

Regards,

Richard


___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR 2.3.1 dvbhddevice plugin

2016-09-07 Thread cedric.dew...@telfort.nl

>Origineel Bericht
>Van : r.sco...@clear.net.nz
>Datum : 07/09/2016 08:04
>Aan : vdr@linuxtv.org
>Onderwerp : [vdr] VDR 2.3.1 dvbhddevice plugin
>
>Does anyone have  a vdr 2.3.1 modified version of the dvbhddevice plugin 
>(or a patch against 2.2.0), that they can let me have?
>
>I am not at all a coder, but with the help of the changes in the 2.3.1 
>Release notes and looking at another plugin that had been updated to 
>2.3.1, I made a few changes to the 2.2.0 plugin and got it to compile 
>and it seems to work fine until I go to delete a recording, at which 
>point vdr crashes.
>
>This is vanilla vdr 2.3.1 and only my (probably incomplete) modified 
>2.2.0 dvbhddevice plugin.
>
>Thanks,
>
>Richard
>
>___
>vdr mailing list
>vdr@linuxtv.org
>https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>

Hi Richard,
Could you show the changes you made? Maybe we can see from that what you missed 
:-)
Cheers,
Cedric

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr