Rest 2 Release 33 - Access Violation eAssign

Ao realizar a migração da release v27 para v33, notei que os webservices desenvolvidos em TLPP (Rest 2), está ocorrendo o error log abaixo para variáveis Private, minha solução no momento está sendo declarar todas como Local, o curioso é que nem sempre acontece, minha teoria da conspiração é que as requisições feitas na mesma Thread estão se perdendo nessas variáveis. Está proibido o uso de Private em webservice agora?

2022-05-16T09:05:54.303000-03:00 11000|Thread 11000


2022-05-16T09:05:54.303000-03:00 11000|Exception code: C0000005 ACCESS_VIOLATION


2022-05-16T09:05:54.304000-03:00 11000|Fault address:  CC268449 01:00BE7449 d:\Totvs\Microsiga\Protheus\bin\appserver_coletor_103_rest2\appserver.exe


2022-05-16T09:05:54.399000-03:00 11000|


2022-05-16T09:05:54.399000-03:00 11000|Stack Trace:
2022-05-16T09:05:54.399000-03:00 11000|



2022-05-16T09:05:54.399000-03:00 11000|Address   Frame
2022-05-16T09:05:54.399000-03:00 11000|


2022-05-16T09:05:54.399000-03:00 11000|CC268449  53105170  
2022-05-16T09:05:54.399000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.400000-03:00 11000|CC268449  D01F4990  
2022-05-16T09:05:54.400000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.400000-03:00 11000|CB8A2B59  D01F4A20  
2022-05-16T09:05:54.401000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.401000-03:00 11000|CB8A8CD5  D01F4AE0  
2022-05-16T09:05:54.401000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.401000-03:00 11000|CCAEF016  D01F4BC0  
2022-05-16T09:05:54.401000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.402000-03:00 11000|CC8233DC  D01F4BF0  
2022-05-16T09:05:54.402000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.402000-03:00 11000|CC81DDF9  D01F52E0  
2022-05-16T09:05:54.402000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.402000-03:00 11000|CC81D7A0  D01F5310  
2022-05-16T09:05:54.402000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.403000-03:00 11000|CCA9DACB  D01F5A80  
2022-05-16T09:05:54.403000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.403000-03:00 11000|CCAA26B0  D01F60D0  
2022-05-16T09:05:54.403000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.403000-03:00 11000|CCA8E77B  D01F61C0  
2022-05-16T09:05:54.403000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.404000-03:00 11000|CCA90104  D01F6240  
2022-05-16T09:05:54.404000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.404000-03:00 11000|CCAF2687  D01F6280  
2022-05-16T09:05:54.404000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.404000-03:00 11000|CCAEF008  D01F6360  
2022-05-16T09:05:54.404000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.405000-03:00 11000|CC8233DC  D01F6390  
2022-05-16T09:05:54.405000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.405000-03:00 11000|CC81DDF9  D01F6A80  
2022-05-16T09:05:54.405000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.405000-03:00 11000|CC81D7A0  D01F6AB0  
2022-05-16T09:05:54.405000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.406000-03:00 11000|CC833EAB  D01F6B30  
2022-05-16T09:05:54.406000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.406000-03:00 11000|CC8233DC  D01F6B60  
2022-05-16T09:05:54.406000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.406000-03:00 11000|CC81DDF9  D01F7250  
2022-05-16T09:05:54.406000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.406000-03:00 11000|CC81D7A0  D01F7280  
2022-05-16T09:05:54.406000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.407000-03:00 11000|CCA9DACB  D01F79F0  
2022-05-16T09:05:54.407000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.407000-03:00 11000|CCAA26B0  D01F8040  
2022-05-16T09:05:54.407000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.407000-03:00 11000|CCAF2687  D01F8080  
2022-05-16T09:05:54.407000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.408000-03:00 11000|CCAEF008  D01F8160  
2022-05-16T09:05:54.408000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.408000-03:00 11000|CCAB5A68  D01F8290  
2022-05-16T09:05:54.408000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.408000-03:00 11000|CCAB5A28  D01F83C0  
2022-05-16T09:05:54.408000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.409000-03:00 11000|CC8233DC  D01F83F0  
2022-05-16T09:05:54.409000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.409000-03:00 11000|CC81DDF9  D01F8AE0  
2022-05-16T09:05:54.409000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.410000-03:00 11000|CC81D7A0  D01F8B10  
2022-05-16T09:05:54.410000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.410000-03:00 11000|CCA9DACB  D01F9280  
2022-05-16T09:05:54.410000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.411000-03:00 11000|CCAA26B0  D01F98D0  
2022-05-16T09:05:54.411000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.411000-03:00 11000|CCAC31FF  D01F99A0  
2022-05-16T09:05:54.411000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.411000-03:00 11000|CCAB59F0  D01F9AD0  
2022-05-16T09:05:54.411000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.412000-03:00 11000|CC8233DC  D01F9B00  
2022-05-16T09:05:54.412000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.412000-03:00 11000|CC81DDF9  D01FA1F0  
2022-05-16T09:05:54.412000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.412000-03:00 11000|CC81D7A0  D01FA220  
2022-05-16T09:05:54.412000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.412000-03:00 11000|CCAB5A28  D01FA350  
2022-05-16T09:05:54.412000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.413000-03:00 11000|CC8233DC  D01FA380  
2022-05-16T09:05:54.413000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.413000-03:00 11000|CC81DDF9  D01FAA70  
2022-05-16T09:05:54.413000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.413000-03:00 11000|CC81D7A0  D01FAAA0  
2022-05-16T09:05:54.413000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.413000-03:00 11000|CCAB5A68  D01FABD0  
2022-05-16T09:05:54.413000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.414000-03:00 11000|CCAB5A68  D01FAD00  
2022-05-16T09:05:54.414000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.414000-03:00 11000|CC8233DC  D01FAD30  
2022-05-16T09:05:54.414000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.414000-03:00 11000|CC81DDF9  D01FB420  
2022-05-16T09:05:54.414000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.414000-03:00 11000|CC81D7A0  D01FB450  
2022-05-16T09:05:54.414000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.415000-03:00 11000|CCAB49C7  D01FB550  
2022-05-16T09:05:54.415000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.415000-03:00 11000|CC8233DC  D01FB580  
2022-05-16T09:05:54.415000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.415000-03:00 11000|CC81DDF9  D01FBC70  
2022-05-16T09:05:54.415000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.415000-03:00 11000|CC81D7A0  D01FBCA0  
2022-05-16T09:05:54.415000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.416000-03:00 11000|CCA9DACB  D01FC410  
2022-05-16T09:05:54.416000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.416000-03:00 11000|CCAA26B0  D01FCA60  
2022-05-16T09:05:54.416000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.416000-03:00 11000|CC8233DC  D01FCA90  
2022-05-16T09:05:54.416000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.417000-03:00 11000|CC81DDF9  D01FD180  
2022-05-16T09:05:54.417000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.417000-03:00 11000|CC81D7A0  D01FD1B0  
2022-05-16T09:05:54.417000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.417000-03:00 11000|CC833EAB  D01FD230  
2022-05-16T09:05:54.417000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.418000-03:00 11000|CC8233DC  D01FD260  
2022-05-16T09:05:54.418000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.418000-03:00 11000|CC81DDF9  D01FD950  
2022-05-16T09:05:54.418000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.418000-03:00 11000|CC81D7A0  D01FD980  
2022-05-16T09:05:54.418000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.419000-03:00 11000|CCA9DACB  D01FE0F0  
2022-05-16T09:05:54.419000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.419000-03:00 11000|CC8233DC  D01FE120  
2022-05-16T09:05:54.419000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.419000-03:00 11000|CC81DDF9  D01FE810  
2022-05-16T09:05:54.419000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.419000-03:00 11000|CC81D7A0  D01FE840  
2022-05-16T09:05:54.419000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.420000-03:00 11000|CC833EAB  D01FE8C0  
2022-05-16T09:05:54.420000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.420000-03:00 11000|CC83674B  D01FE990  
2022-05-16T09:05:54.420000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.421000-03:00 11000|CC823F22  D01FED90  
2022-05-16T09:05:54.421000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.421000-03:00 11000|CC829C70  D01FF0D0  
2022-05-16T09:05:54.421000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.421000-03:00 11000|CC263339  D01FF120  
2022-05-16T09:05:54.421000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.422000-03:00 11000|CC266C3B  D01FFBB0  
2022-05-16T09:05:54.422000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.422000-03:00 11000|CBEBF680  D01FFBE0  
2022-05-16T09:05:54.422000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.422000-03:00 11000|04F984D4  D01FFC10  
2022-05-16T09:05:54.422000-03:00 11000|BaseThreadInitThunk+14
2022-05-16T09:05:54.422000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.422000-03:00 11000|053E1791  D01FFC60  
2022-05-16T09:05:54.422000-03:00 11000|RtlUserThreadStart+21
2022-05-16T09:05:54.422000-03:00 11000|    Unable to locate source line number


2022-05-16T09:05:54.430000-03:00 11000|


2022-05-16T09:05:54.431000-03:00 11000|
/*-------------------------------------------------------
THREAD ERROR ([11000], TP|HTTPREST|HTTPURI@01þ103|FALSE, BB37F827F78857438D72DF7FE1D39131)   16/05/2022   09:05:54
Access Violation eAssign
compartilhar
  • Matheus, não existe nenhuma proibição, eu pessoalmente não uso variáveis private ou public, logo nunca gerei essa exceção. Mas vou tentar reproduzir numa POC, caso eu consiga, vou verificar os devidos procedimentos para a correção.

    Daniel Mendes   16 de May de 2022
  • Eu também estou com situações semelhantes ao usar programas em compilados Tl++. Parece que em algum momento o gerenciador de memória se perde. Já abri até um ticket com o suporte para eles verem isso. Observei que o erro ocorre normalmente quando existe uma segunda execução da mesma rotina.

    Cirilo Rocha   16 de May de 2022
  • Obrigado Daniel, ficarei no aguardo

    Matheus José   16 de May de 2022
  1. Você vai ver essas setas em qualquer página de pergunta. Com elas, você pode dizer se uma pergunta ou uma resposta foram relevantes ou não.
  2. Edite sua pergunta ou resposta caso queira alterar ou adicionar detalhes.
  3. Caso haja alguma dúvida sobre a pergunta, adicione um comentário. O espaço de respostas deve ser utilizado apenas para responder a pergunta.
  4. Se o autor da pergunta marcar uma resposta como solucionada, esta marca aparecerá.
  5. Clique aqui para mais detalhes sobre o funcionamento do TOTVS DevForum!

3 respostas

Não é a resposta que estava procurando? Procure outras perguntas com as tags rest rest20 release33 ou faça a sua própria pergunta.