Concurrency problem in TVE3 DoSetChannelStates() ? (1 Viewer)

Status
Not open for further replies.

romadd64

MP Donator
  • Premium Supporter
  • October 24, 2007
    82
    15
    Italy Italy
    TV-Server Version: 1 RC2 SVN
    MediaPortal Version: 1 RC2 SVN
    MediaPortal Skin: BlueTwo
    Windows Version: TVE3 : XP SP3 - Client : XP SP3 + Vista x64 SP1
    CPU Type: TVE3 : Intel E2180 - Client : AMD 4400 + Intel Q6600
    HDD: A lot
    Memory: TVE3 : 2 GB - Client : 2 GB + 8GB
    Motherboard: TVE3 : Asus P5KE-WiFi - Client : Barebone 690G + Asus P5KE-WiFi
    Video Card: TVE3 : Nvidia 7300 - Client : 690G + Nvidia 8800GT
    Video Card Driver: Last
    Sound Card: Client : SoundMax integrated
    Sound Card AC3: Optical Out
    Sound Card Driver: Last
    1. TV Card: 2 Terratec 2400i
    1. TV Card Type: DVB-T
    1. TV Card Driver: 1.0.3.266
    2. TV Card: FloppyDTV
    2. TV Card Type: DVB-T
    2. TV Card Driver:
    3. TV Card: Technisat Skystar 2 PCI ver 2.1
    3. TV Card Type: DVB-S
    3. TV Card Driver: BDA 4.4.3.0
    4. TV Card: NVidia DualTV PAL
    4. TV Card Type: Analog
    4. TV Card Driver: 5.9.5.23
    MPEG2 Video Codec: MPV
    MPEG2 Audio Codec: MPA
    h.264 Video Codec: ffdshow
    Satelite/CableTV Provider: Hotbird 13°E, Astra 19.2°E
    HTPC Case: TVE3 : Assembled, Client : Asus Barebone
    Cooling:
    Power Supply:
    Remote:
    TV:
    TV - HTPC Connection: HDMI




    EDIT - Posted in the wrong forum, sorry - Moved in MediaPortal Forum » MediaPortal TV-Server » Help on Development » Bugreports: TV Server / Client » 1.0 RC2 and SVN Builds




    Could be a concurrency problem when in TVE3 more than one DoSetChannelStates() thread is running.
    In my attached tv.log :

    New recording starting and his DoSetChannelStates() :

    2008-10-20 23.25.11.575750 [5]: Scheduler : time to record TvDatabase.Channel 20/10/2008 23.25.11-21/10/2008 1.30.00 Matrix
    ..
    ..
    2008-10-20 23.25.12.122625 [21]: Controller: DoSetChannelStates for 2394 channels



    Another recordind starting and his DoSetChannelStates() :

    2008-10-20 23.25.13.341375 [5]: Scheduler : time to record TvDatabase.Channel 20/10/2008 23.25.13-21/10/2008 1.00.00 Porta a Porta
    ..
    ..
    2008-10-20 23.25.14.294500 [17]: Controller: DoSetChannelStates for 2394 channels



    TVServer crashes in thread 21 and 17 :

    2008-10-20 23.25.16.607000 [17]: Tvservice stopped due to a app domain exception System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    at TvService.SimpleCardAllocation.UpdateChannelStateUsers(IList`1& allUsers, ChannelState chState, Int32 channelId)
    at TvService.SimpleCardAllocation.DoSetChannelStates(Dictionary`2 cards, List`1 channels, Boolean checkTransponders, IList`1 allUsers, TVController tvController)
    at TvService.SimpleCardAllocation.<>c__DisplayClass1.<SetChannelStates>b__0()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    2008-10-20 23.25.16.622625 [21]: Tvservice stopped due to a app domain exception System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    at TvService.SimpleCardAllocation.UpdateChannelStateUser(User& user, ChannelState chState, Int32 channelId)
    at TvService.SimpleCardAllocation.DoSetChannelStates(Dictionary`2 cards, List`1 channels, Boolean checkTransponders, IList`1 allUsers, TVController tvController)
    at TvService.SimpleCardAllocation.<>c__DisplayClass1.<SetChannelStates>b__0()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()




    Thanks,
    romadd
     
    Status
    Not open for further replies.

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    F Problems with new install of MP2 Newcomers Forum 3
    A [solved] DiseqC problems after upgrade to 1.25 General Support 12
    M Problems with VFD Display after standby- Futaba DM140GINK Mini Display 0
    R Connection (api) problems with thetvdb.com General 3
    123vak123 [solved] 5008: The problem with scrolling text in the "listcontrol" in 4K General Support 22
    framug 1.24.0 1.25.0 pre : problem with build ? 1.24-1.26 Pre Release 89
    J Problems with 1.24 StreamedMP 19
    Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
    404 [solved] EPG problem after Win10 'upgrade' General Support 1
    framug [EPG] Some problems with DVB EPG Improvement Suggestions 49
    C strange tuner(?) problem TV-Cards 0
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    T [solved] Startup problem General 6
    G Problems with DRR MediaPortal 1 Talk 1
    rsbrux 1.23.0 MPE Manager Problem with LAV Filters Bugreports 2
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    joecrow Default Wide HD Xmas Theme Problem General Support 3
    K Sleep mode problem after formating General Support 2
    P IPTV Channel Problem TV-Server 0
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    nominefi Problem scanning channels. General Support 0
    E Swedish subtitles problem General 2
    G Newb trying MP2, trouble with guide data General 5
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    geotwticher [solved] Fatal Error 0x80070643 during MP2 installation General 7
    Top Bottom