[fixed] TV Server crashes with unknown error (related to KNC tuners) (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    How much review is needed for this?
    Probably very little if any.
    The use of cdecl in the previous code is a logical and functional error. The SDK/API which I have tells us that the functions are implemented/declared as stdcall in the DLL. Hence it is incorrect to use cdecl and correct to use stdcall. We see the proof in that the patch solves the problem. @morpheus_xx also found this problem when TVE 3.5 went to .NET 4:
    Diposing KNC library (probably only side effect) Fixed: [12:40] <MP1-GitBot> [MediaPortal-1] morpheusxx pushed 2 new commits to EXP-TVE3.5_MP_NET4: http://git.io/wFxHng
    http://git.io/wFxHng
    https://forum.team-mediaportal.com/threads/planning-work-on-native-mp2-tvengine.110399/

    IMO this could be merged immediately...
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    How much review is needed for this?
    Probably very little if any.
    The use of cdecl in the previous code is a logical and functional error. The SDK/API which I have tells us that the functions are implemented/declared as stdcall in the DLL. Hence it is incorrect to use cdecl and correct to use stdcall. We see the proof in that the patch solves the problem. @morpheus_xx also found this problem when TVE 3.5 went to .NET 4:
    Diposing KNC library (probably only side effect) Fixed: [12:40] <MP1-GitBot> [MediaPortal-1] morpheusxx pushed 2 new commits to EXP-TVE3.5_MP_NET4: http://git.io/wFxHng
    https://forum.team-mediaportal.com/threads/planning-work-on-native-mp2-tvengine.110399/

    IMO this could be merged immediately...

    You know what you are doing. Go for it.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Thanks!
    Maybe you can also take care of the Jira entry. :)
     

    Users who are viewing this thread

    Top Bottom