News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

vomp hangs / box frozen

Started by braindead, August 15, 2007, 14:40:27

Previous topic - Next topic

braindead

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

braindead

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();
}

rdoac

 I too have this problem.  I will test your patch and report back. Thanks.

Urumbel

Hi,

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

Thank you very much.

Bernd

hondansx

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
GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

Schnurps

I have these problems with unavailable channels, too.
Would be great if a patch could be included in the next version.

yours
André

Harry

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

hondansx

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
GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

arcon

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 !

hondansx

GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3

arcon

Thanks a lot !

This Version works much better !

rdoac

Does anyone know if this patch made it into CVS?

hondansx

GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3