SIM Next no Linux: instalação OK mas falha ao abrir

Moderadores: SuporteIntelbras, Moderador

luizluca
Registrado
Mensagens: 4
Registrado em: 25 Jun 2019, 01:31

SIM Next no Linux: instalação OK mas falha ao abrir

Mensagem por luizluca »

Olá,

Fiz a instalação do SIM Next no Linux (com auxílio do WINE) e esbarrei neste ponto ao abrir o aplicativo:

Código: Selecionar todos

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Management.IWbemClassObjectFreeThreaded.Get_(String wszName, Int32 lFlags, Object& pVal, Int32& pType, Int32& plFlavor)
   at System.Management.ManagementObject.Initialize(Boolean getObject)
   at System.Management.ManagementBaseObject.get_Properties()
   at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
   at SIMNext.Core.Utils.CDPSvcStopper.Stop()
   at SIMNext.View.ViewManager.StopCDPService()
   at SIMNext.View.ViewManager.StartApplication()
   at SIMNext.View.App.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at SIMNext.View.App.Main()
Parece que o SimNext tenta parar um serviço do windows (LocalRecord?) e não trata o caso de ele falhar (pois não deve existir alguma interface usada por ele para isso). Tem como "desativar" esse CDPSvcStopper?

Testei tanto com o SIMNext__Beta_Setup_v1.17.5_Offline.exe como o SIMNext_Setup_v1.17.4_Offline.exe e o comportamento é o mesmo.

Os demais recursos, como o serviço LocalRecord e o Intelbras Media Player parecem funcionar.
Avatar do usuário
IntelbrasCFTV
Administrador
Mensagens: 10135
Registrado em: 25 Mai 2015, 09:58
Contato:

Re: SIM Next no Linux: instalação OK mas falha ao abrir

Mensagem por IntelbrasCFTV »

luizluca escreveu:Olá,

Fiz a instalação do SIM Next no Linux (com auxílio do WINE) e esbarrei neste ponto ao abrir o aplicativo:

Código: Selecionar todos

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Management.IWbemClassObjectFreeThreaded.Get_(String wszName, Int32 lFlags, Object& pVal, Int32& pType, Int32& plFlavor)
   at System.Management.ManagementObject.Initialize(Boolean getObject)
   at System.Management.ManagementBaseObject.get_Properties()
   at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
   at SIMNext.Core.Utils.CDPSvcStopper.Stop()
   at SIMNext.View.ViewManager.StopCDPService()
   at SIMNext.View.ViewManager.StartApplication()
   at SIMNext.View.App.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at SIMNext.View.App.Main()
Parece que o SimNext tenta parar um serviço do windows (LocalRecord?) e não trata o caso de ele falhar (pois não deve existir alguma interface usada por ele para isso). Tem como "desativar" esse CDPSvcStopper?

Testei tanto com o SIMNext__Beta_Setup_v1.17.5_Offline.exe como o SIMNext_Setup_v1.17.4_Offline.exe e o comportamento é o mesmo.

Os demais recursos, como o serviço LocalRecord e o Intelbras Media Player parecem funcionar.

Olá,

O Sim next não foi desenvolvido para o sistema Linux e sim para o Windows, sendo assim não temos como lhe auxiliar na instalação dele neste sistema operacional.
Nos colocamos a disposição.

--
Suporte Técnico Intelbras
Telefone: (48) 2106-0006
Whatsapp: (48) 2106-0006
Chat: https://bit.ly/2vLXbg6
E-mail: suporte@intelbras.com.br

Este é o seu espaço para se conectar com outros e compartilhar conhecimento.
Acesse: forum.intelbras.com.br
luizluca
Registrado
Mensagens: 4
Registrado em: 25 Jun 2019, 01:31

Re: SIM Next no Linux: instalação OK mas falha ao abrir

Mensagem por luizluca »

Eu tinha uma pequena esperança que a resposta não seria essa... é evidente que não foi desenvolvido para Linux e sim para WIndows. É justamente para isso que o WINE existe: para rodar coisas feitas para Windows no Linux.

A falha que mencionei pode apenas estar revelando um problema que possivelmente poderia acontecer no Windows. Deve ser algo simples como um retorno de função não tratado (que deveria ser feito mesmo para o Windows).

Meu objetivo com este post era que isso chegasse a equipe de desenvolvimento. Talvez este seja o único ponto que falta para permitir, com o auxílio do WINE, o uso do SIM Next tanto no Linux como no Mac.
nhonho
Mensagens: 1
Registrado em: 09 Dez 2019, 21:59

Re: SIM Next no Linux: instalação OK mas falha ao abrir

Mensagem por nhonho »

luizluca escreveu:Eu tinha uma pequena esperança que a resposta não seria essa... é evidente que não foi desenvolvido para Linux e sim para WIndows. É justamente para isso que o WINE existe: para rodar coisas feitas para Windows no Linux.

A falha que mencionei pode apenas estar revelando um problema que possivelmente poderia acontecer no Windows. Deve ser algo simples como um retorno de função não tratado (que deveria ser feito mesmo para o Windows).

Meu objetivo com este post era que isso chegasse a equipe de desenvolvimento. Talvez este seja o único ponto que falta para permitir, com o auxílio do WINE, o uso do SIM Next tanto no Linux como no Mac.
Uso Linux a 8 anos e lhe digo uma coisa: Wine é uma gambiarra mal-feita. As poucas coisas que funcionam, são cheias de bugs. A Intelbras não pode ter responsabilidade por isso.
sergioneves
Membro
Mensagens: 34
Registrado em: 16 Ago 2018, 12:31

Re: SIM Next no Linux: instalação OK mas falha ao abrir

Mensagem por sergioneves »

luizluca escreveu: 26 Jun 2019, 01:36 Eu tinha uma pequena esperança que a resposta não seria essa... é evidente que não foi desenvolvido para Linux e sim para WIndows. É justamente para isso que o WINE existe: para rodar coisas feitas para Windows no Linux.

A falha que mencionei pode apenas estar revelando um problema que possivelmente poderia acontecer no Windows. Deve ser algo simples como um retorno de função não tratado (que deveria ser feito mesmo para o Windows).

Meu objetivo com este post era que isso chegasse a equipe de desenvolvimento. Talvez este seja o único ponto que falta para permitir, com o auxílio do WINE, o uso do SIM Next tanto no Linux como no Mac.
Pois é amigo, concordo totalmente, principalmente se pensarmos que o próprio sistema do DVR, é Linux. Então quem teria que estar se matando pra fazer funcionar, era a galera do MS, mas enfim...

Queria te perguntar se conseguiu alguma coisa nesse sentido aí. Eu vi esse outro tópico: viewtopic.php?f=2103&t=67971&sid=d5a9d4 ... 22e6760f50

Mas ainda não testei.
Eu tenho o SIM antigo rodando normalmente no Linux, mas eu preciso instalar um novo, pra um micro que vai usar 2 monitores, e percebi que o novo tem como destacar as abas, assim movendo algumas cameras pra outro monitor.

Se tiver alguma novidade, dá um toque aí...
Responder

Voltar para “Intelbras S.I.M. Next (Windows) - Sistema inteligente de monitoramento”