[further infos missing] MP2 Server crashes on channel scan (1 Viewer)

Tim

New Member
February 3, 2019
4
0
56
United States of America United States of America
Country flag
MediaPortal 2 Version: 2.2

Description
This is a new Win10 system (i5, 32GB memory, amples of disk space) setup as a replacement for old Win7 MCE system.

I initially installed Kodi and Plex server, but uninstalled Plex server. Note that Plex scanned tuners, found channels and TV worked (viewing, recording).

Installed MP2.2 client and server.

When I go to the MP2 server, to configure, it recognizes the 3 tuners (2 Hauppauge WinTV-HVR-1265 model 01196, 1 old crusty USB). I disable all but ATSC.

I've tried selecting different tuners to scan for channles - all result in same crash around channel 50. This is ATSC, OTA.

The log file indicated this may be related to Windows Software Protection Service w/ MP2-Server.exe. I lowered UAC, ran as Admin - all still repro'd. The server stack trace notes System.Net.Sockets.Socket.

Given what I see in the logs (and it's mostly a guess), submitting as bug.

Attached are MP2 logs and AppCrash_SetupTV.exe.

Steps to Reproduce:
Attempt to scan channels in MP2 server
 

Attachments

HTPCSourcer

MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Hello,

    Scanning problems are almost always due to bad TV card drivers. In your logs I can see
    Windows successfully installed the following update: Hauppauge Computer Works, Inc. - Other hardware - WinTV HVR-950q ATSC/QAM Capture Device
    Not sure why this would be recognized as a 950 given that your hardware is 1265. The Hauppauge website states Driver85_1_59_35167.exe (08/02/2018) as the most recent driver version. Please check if your system is using this driver.
     

    Tim

    New Member
    February 3, 2019
    4
    0
    56
    United States of America United States of America
    Country flag
    Thanks for a quick response!

    The 950 driver is expected. I have 3 tuners installed:

    Internal Hauppauge WinTV-HVR-1265 model 01196, diver version 1.59.36248.0 (09/05/2018)
    Internal Hauppauge WinTV-HVR-1265 model 01196, diver version 1.59.36248.0 (09/05/2018)
    USB Hauppauge WinTV HVR-950q ATSC/QAM, driver version 1.99.31088.0 (03/29/2013)

    I am surprised to see Hauppauge WinTV 885 mentioned in the Server.log - not sure where this is coming from. I tried scanning with the 1265 tuners and the 950, so the 950 would be in the logs.

    I am planning on replacing the 950, so will just pull that sometime today and try the scanning again.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    The Hauppauge website references 35167 as the most recent driver version for Windows 10.
    But maybe you found indeed something more recent.

    Anyway, the channel information can also be manually “injected”. Maybe there is some other US user who can provide an export of his/her ATSC channels to you.

    Notwithstanding the scan should not lead to a crash. Please set the log level to DEBUG before attempting a new scan this will produce a more detailed log.
     

    Tim

    New Member
    February 3, 2019
    4
    0
    56
    United States of America United States of America
    Country flag
    Win10 drivers are listed on Hauppauge Support | Product Selector, but there's a note that this is to avoid errors for Hauppauge products (which I'm not using). I'll remove the 950 tuner, turn on DEBUG level and attempt again. If that still crashes, then will downgrade the 1265 drivers to 35167 and try again.
     

    Tim

    New Member
    February 3, 2019
    4
    0
    56
    United States of America United States of America
    Country flag
    Ignored other things to try again :)

    No joy with either the 36248 or 35167 drivers. Attached latest logs (13.36.11.zip is with the 36248 drivers, 13.56.12.zip is with 35167).

    Confirmed that TV Server was in DEBUG mode. I'm newb, so assume this is correct location to set levels.

    I'm comfortable injecting channel info, but would prefer not to w/ delay this would likely mean. QQ: any idea if it's possible to quickly glean this from my old Win7 WMC system?
     

    Attachments

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Hello,

    the crash is reproducibly occurring at channel 51:
    [2019-02-03 13:55:49,503] [255779 ] [ATSC scan thread] [INFO ] - ATSC: scanning ATSC over-the-air, physical channel = 50, modulation = 8 VSB
    [2019-02-03 13:55:55,153] [261428 ] [ATSC scan thread] [ERROR] -
    System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
    Unfortunately the setuptv.log remains at INFO level while the server log is at DEBUG and stops four seconds earlier:
    [2019-02-03 13:55:50,306] [477087 ] [95 ] [INFO ] - subch:0 SetupPmtGrabber:pid FFFFFFFF sid:FFFFFFFF
    [2019-02-03 13:55:51,540] [478322 ] [95 ] [DEBUG] - Scan: tuner locked:True signal:0 quality:100
    According to Wikipedia channel 51 is not used:
    no new broadcast stations are assigned to channel 51 to minimize interference to new digital services operating in former UHF TV channel 52
    I can't tell you why scanning channel 51 throws this error. The solution could be to adjust the tuning parameters to not scan channel 51.

    @morpheus_xx , do you know which file to edit so that the ATSC scan stops at channel 50?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    Not sure if I understood correctly, but if you are looking for the tuningdetails that are used for scanning, you can find them under: C:\ProgramData\Team MediaPortal\MP2-Server\SlimTVCore\v3.0\TuningParameters\atsc.

    You can just copy one of the existing files and edit it in a text editor (xml structure) to remove/comment unwanted frequencies.

    What kind of tuner is it? Internal card in PCI(e) or networked? I wonder why there are network related SocketException?
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    I wonder why there are network related SocketException?
    Indeed, that should not happen.

    According to Wikipedia there are 51 ATSC channels. #37 is reserved (and indeed skipped by MP with no signal). Scanning continues up to #50 and then crashes at #51. This last channel is also reserved. Notwithstanding, TVServer should not crash when scanning it. That said there is more than just this MP2 user in the US and ATSC scanning has worked before.

    The TVSetup.log has stayed at INFO level. Is there any way to also have TVSetup log at DEBUG level?
     

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

    OP Similar threads Forum Replies Date
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    J [fixed] [MP2-833] 2.2.2 server crash during import Submit: Bug Reports 50
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    Lehmden [WiP] [MP2-824] DLNA Server functionality MediaPortal 2 27
    raffe How do I setup MP2 as an UPnP server? General 3
    A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
    joecool70 [solved] Installationsprobleme: MP2-Server failed to start Allgemeines Support- und Diskussionsforum 25
    BlueMax1916 [Question] What does MP2 Server Service have to do with ...microsoft.com/filestreamingservice...? MediaPortal 2 3
    J [solved] Clients do not see available MP2 server in the network General 3
    Patrik-See Win 10 Benutzer bei verschiedenen Clients Betriebssysteme 4
    K MP2 - V2.1 [MP2-763] Interface configuration for RTSP streaming server lost on every restart Older releases 6
    P MP2 - V2.1 MP2 computer (client/server) cuts Win10 network communications Older releases 0
    ge2301 Kodi Plugin for MP2 TV Server MediaPortal 2 11
    H MP2 database won't keep in synch with recordings General 2
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 57
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    Similar threads

























    Top Bottom