Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: braindead on August 15, 2007, 14:40:27

Title: vomp hangs / box frozen
Post by: braindead on August 15, 2007, 14:40:27
Hi all,

I have a problem with some channels that seem to send no data or corrupted data (e.g. scrambled channels).

If i switch to such a channel the screen keeps black (nothing unusual till now) but if i try to change the channel or press 'exit/back' the system freezes (well not the whole system, but the application).

Here is the debug log:

15:25:20.483547 [debug]  34 Remote - Button 37
15:25:20.484387 [debug]  34 Box - Construct, now 8
15:25:20.485152 [debug]  34 View - Construct 0x1018b028, now 4
15:25:20.486019 [debug]  34 Box - Construct, now 9
15:25:20.627131 [debug]  34 VVideoLive - Do WSS: 1
15:25:20.819386 [debug]  34 VVideoLive - Delay starts here due to time taken by plugin to stop
15:25:20.820861 [debug]  34 VVideoLive - Delay ends here due to time taken by plugin to stop
15:25:20.822711 [debug]  34 Box - Construct, now 10
15:25:20.823493 [debug]  34 View - Construct 0x1018b308, now 5
15:25:20.824261 [debug]  34 Box - Construct, now 11
15:25:20.838609 [debug]  34 VDR - Success got to end of getChannelSchedule
15:25:20.840254 [debug]  34 Timers - Starting set timer 1
15:25:20.841221 [debug]  34 Timers - Timer set for 0x1018b360 ref 1
15:25:20.871508 [debug]  34 Timers - Starting set timer 1
15:25:20.872494 [debug]  34 Timers - Timer set for 0x1018b360 ref 2
15:25:20.888977 [debug]  34 Channel - C.51 loaded, VPid=767, numApids=2
15:25:20.889767 [debug]  34 Channel - APid 768 deu
15:25:20.890526 [debug]  34 Channel - APid 769 deu
15:25:20.891288 [debug]  34 Player - LOCKED
15:25:20.892036 [debug]  34 Player - Switch state from 6 to 1
15:25:20.895948 [debug]  34 Audio - doMuting: user=0 sys=0
15:25:20.896740 [debug]  34 Audio - MUTE OFF OFF OFF
15:25:20.897517 [debug]  34 Audio - doMuting: user=0 sys=0
15:25:20.898290 [debug]  34 Audio - MUTE OFF OFF OFF
15:25:20.909481 [debug]  34 Player - Prebuffering...
15:25:21.494566 [debug]  39 Player - Startup Audio stream chosen c0
15:25:22.112724 [debug]  39 Player - Got >500K, prebuffering complete
15:25:24.848713 [debug]  36 Timers - Timer firing for client 0x1018b360 ref 1
15:25:24.849905 [debug]  42 Timers - sending timer to 0x1018b360 with parameter 1
15:25:24.850732 [debug]  42 Command - PMFOS called
15:25:24.851600 [notice] 34 Core - Signal 23 received
15:25:24.851869 [debug]  34 Core - SIGURG caught
15:25:24.852103 [debug]  34 Command - processing message 2
15:25:24.852323 [debug]  34 Command - Sending message to viewman
15:25:24.852534 [debug]  34 ViewMan - it's for meeee!
15:25:24.867869 [debug]  34 Timers - Starting cancel timer 0x1018b360 1, list size = 3
15:25:24.869010 [debug]  34 Timers - 0x1018b360 ref 1 cancelTimer WAITING
15:25:24.869963 [debug]  42 Timers - timerEventFinished for 0x1018b360
15:25:24.870775 [debug]  42 Timers - timerEventFinished for 0x1018b360 1 - remove done
15:25:24.928711 [debug]  34 Timers - Starting cancel timer 0x1018b360 2, list size = 2
15:25:24.929032 [debug]  34 Timers - Removed timer for 0x1018b360 ref 2
15:25:24.929479 [debug]  34 Box - Destruct, now 10
15:25:24.930542 [debug]  34 View - Destruct, now 4
15:25:24.930782 [debug]  34 Box - Destruct, now 9
15:26:00.008671 [debug]  36 Timers - Timer firing for client 0x10187738 ref 1
15:26:00.010039 [debug]  43 Timers - sending timer to 0x10187738 with parameter 1
15:26:00.011737 [debug]  43 Timers - Starting set timer 1
15:26:00.012538 [debug]  43 Command - PMFOS called
15:26:00.013412 [notice] 34 Core - Signal 23 received
15:26:00.013687 [debug]  34 Core - SIGURG caught
15:26:00.013925 [debug]  34 Command - processing message 15
15:26:00.014148 [debug]  34 Command - Sending message to viewman
15:26:00.014363 [debug]  34 ViewMan - it's for meeee!
15:26:00.015194 [debug]  43 Timers - timerEventFinished for 0x10187738
15:26:00.015995 [debug]  43 Timers - timerEventFinished RESTART for 0x10187738

Now the screen is black and i press 'back/exit':

15:26:23.452309 [debug]  34 Remote - Button 31
15:27:00.008673 [debug]  36 Timers - Timer firing for client 0x10187738 ref 1
15:27:00.010067 [debug]  44 Timers - sending timer to 0x10187738 with parameter 1
15:27:00.011745 [debug]  44 Timers - Starting set timer 1
15:27:00.012531 [debug]  44 Command - PMFOS called
15:27:00.013366 [notice] 34 Core - Signal 23 received
15:27:00.013637 [debug]  34 Core - SIGURG caught
15:27:00.014396 [debug]  44 Timers - timerEventFinished for 0x10187738
15:27:00.015182 [debug]  44 Timers - timerEventFinished RESTART for 0x10187738
15:28:00.008671 [debug]  36 Timers - Timer firing for client 0x10187738 ref 1
15:28:00.010028 [debug]  45 Timers - sending timer to 0x10187738 with parameter 1
15:28:00.011722 [debug]  45 Timers - Starting set timer 1
15:28:00.012506 [debug]  45 Command - PMFOS called
15:28:00.013337 [notice] 34 Core - Signal 23 received
15:28:00.013609 [debug]  34 Core - SIGURG caught
15:28:00.014369 [debug]  45 Timers - timerEventFinished for 0x10187738
15:28:00.015153 [debug]  45 Timers - timerEventFinished RESTART for 0x10187738

The application keeps frozen.

Please let me know if i should do some tests to help to solve this problem.

Alex
Title: SOLVED: vomp hangs / box frozen
Post by: braindead on August 19, 2007, 08:30:59
Alright, it seems nobody cares. Here's a patch that solves the problem for me.
I don't know what side effects are caused by this (I'm new to the code). However. It works for me.

Index: player.cc
===================================================================
RCS file: /cvsroot/vomp/client/player.cc,v
retrieving revision 1.63
diff -u -r1.63 player.cc
--- player.cc   15 Aug 2007 20:51:51 -0000      1.63
+++ player.cc   19 Aug 2007 07:28:53 -0000
@@ -182,10 +182,8 @@
   if (state == S_PLAY) return;
   lock();

-  bool doUnlock = false;
-  if (state == S_PAUSE_P) doUnlock = true;
   switchState(S_PLAY);
-  if (doUnlock) unLock();
+  unLock();
}
Title: Re: vomp hangs / box frozen
Post by: rdoac on August 20, 2007, 08:05:58
 I too have this problem.  I will test your patch and report back. Thanks.
Title: Re: vomp hangs / box frozen
Post by: Urumbel on August 29, 2007, 08:55:12
Hi,

I had the same problem. With your patch, this problem is solved.

Thank you very much.

Bernd
Title: Re: vomp hangs / box frozen
Post by: hondansx on August 29, 2007, 19:35:20
I have this problem too, but for me it solved only the problem on FTA Channels.
On NonFTA Channels I often get 'Channel not availabe'

My temporary Solution for this:

if (state == S_PLAY) return;
  lock();

  switchState(S_PLAY);
  MILLISLEEP(500);
  unLock();

Maybe someone can fix this right.

Walter
Title: Re: vomp hangs / box frozen
Post by: Schnurps on August 30, 2007, 12:23:14
I have these problems with unavailable channels, too.
Would be great if a patch could be included in the next version.

yours
André
Title: Re: vomp hangs / box frozen
Post by: Harry on September 08, 2007, 19:49:58
Quote from: hondansx on August 29, 2007, 19:35:20
I have this problem too, but for me it solved only the problem on FTA Channels.
On NonFTA Channels I often get 'Channel not availabe'

My temporary Solution for this:

if (state == S_PLAY) return;
  lock();

  switchState(S_PLAY);
  MILLISLEEP(500);
  unLock();

Maybe someone can fix this right.

Walter

hmm.
i'm trying your patch ...
is it meant to make the client able to escape any hanger?
(my MVP still hangs on unavailable channels)

by the way... its a NICE CVS version.

cheers
Harry
Title: Re: vomp hangs / box frozen
Post by: hondansx on September 09, 2007, 09:33:50
Quoteis it meant to make the client able to escape any hanger?

At least it should solve these Bug like Braindad said:

QuoteI have a problem with some channels that seem to send no data or corrupted data (e.g. scrambled channels).

If i switch to such a channel the screen keeps black (nothing unusual till now) but if i try to change the channel or press 'exit/back' the system freezes (well not the whole system, but the application).

Walter
Title: Re: vomp hangs / box frozen
Post by: arcon on October 16, 2007, 11:05:28
Hello,

my H4 revision MVP often hang up too. Can anybody build an actual dongle version with the Patch included for me ?
I don't have a development environment and can't compile a version by myself.

Please send it per Email to me or tell me a link for downloading.

Thanks a lot !

Arcon

PS.: Please excuse my bad english !
Title: Re: vomp hangs / box frozen
Post by: hondansx on October 16, 2007, 11:31:58
Hi Arcon,

see here:
http://www.vdr-portal.de/board/thread.php?postid=659182&sid=#659182

Walter
Title: Re: vomp hangs / box frozen
Post by: arcon on October 23, 2007, 10:37:32
Thanks a lot !

This Version works much better !
Title: Re: vomp hangs / box frozen
Post by: rdoac on October 29, 2007, 10:40:03
Does anyone know if this patch made it into CVS?
Title: Re: vomp hangs / box frozen
Post by: hondansx on October 29, 2007, 13:16:06
No, it isn't.