GUI App, with SSL problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GUI App, with SSL problems

Leonardo Oillataguerre
Hello. We have been working in a Windows GUI application (VA 8.6.3) that includes a Seaside Rest server with ssl protocol.
We have found 2 problems in the process. 

1) Method OpenSSLCryptoLibraryDispatcher>#notifyLibraryInitialized needs #subApplications to performs subApps initialize. But this methods is explicited excluded by this packager rule: " aRuleCollector excludeClassInstanceVariable: 'subApplications' inClassNamed: #SubApplication. "

2) This is the unsolved. Removing the above rule, the application start, but then, on ssl initialize, we get vmtrap as follow:

-Platform Information-------------------
VM Timestamp: 4.0,(NC) 7/24/2014 (86)
CPU Architecture: i386
OS Type: WIN32_NT
OS Version: 6.2 build 9200
-State Information----------------------
Handler=0x5ade9340
vmState=0x00000000
vmError=0x00000035
ExceptionCode=0xc0000005
ExceptionAddress=0x5adb1982
ContextFlags=0x0001007f
Module=c:\Program
Files
(x86)\Instantiations\VA
Smalltalk\8.6\ESVM40.dll
Module_base_address=0x5ad90000
Offset_in_DLL=0x00021982
EDI=0x00000000
ESI=0x00000000
EAX=0xc26bfb64
EBX=0x027b02b8
ECX=0x00957e00
EDX=0xc5df3de4
EBP=0x00935000
ESP=0x006ff890
EIP=0x5adb1982
-----------------------------------------
Image snapshot: vmtrap.img
-Walkback--------------------------------
OSSslStructure class>>libraryInitialized:
[] in Behavior>>withAllSubclassesDo:
[] in <optimized block> OSSslStructure class>>libraryInitialized:
[] in <optimized block> OpenSSLCryptoLibraryDispatcher class>>notifyLibraryInitialized
SciSslOpenSSLLibraryDispatcher class>>notifyLibraryInitialized
SciSslOpenSSLLibraryDispatcher class>>initializeLibrary
[] in Block>>critical
SciSslOpenSSLLibraryDispatcher class>>initializeLibrary
[] in <optimized block> OpenSSLCryptoLibraryDispatcher class>>createSingletonInstance
[] in <optimized block> OpenSSLCryptoLibraryDispatcher class>>default
[] in <optimized block> OSSciSslStructure class>>dispatcher
OSSslSSLMethod class>>TLSv1
OSSslSSLMethod class>>createReferenceFromProtocolString:
[] in Block>>valueWithErrorHandler:oldHandler:onReturnDo:
[] in <optimized block> Block>>when:do:exitWith:retryReturn:
[] in <optimized block> Block>>when:do:
[] in <optimized block> Exception class>>handle:do:
Block>>on:do:
OSSslSSLMethod class>>createReferenceFromProtocolString:
[] in <optimized block> OSSslSSLMethod class>>createReferenceFromString:
OSSslSSLMethod class>>named:
[] in LookupTable>>at:ifAbsent:
OSSslSSLMethod class>>named:
[] in <optimized block> OSSslSSLCtx class>>sslMethodNamed:
SciSslContext>>sslMethod:
[] in <optimized block> SciSslContext class>>withMethod:
[] in <optimized block> SciSslSocketConfiguration>>createSciSslContext
[] in SciSslSocketConfiguration>>getSciSslContext
[] in <optimized block> UndefinedObject>>ifNil:
SciSslSocketConfiguration>>getSciSslContext
SciSslSocket>>sslInitialize:
SstHttpsConnection>>negotiateConnect
SstSocketTransport>>handleIncomingConnection
SstLocalEndpoint>>handleIncomingConnection
SstInvocationHandler>>handleIncomingConnection
SstInvocationHandler>>retrieveAndProcessNextRequest
[] in <optimized block> Block>>valueWithErrorHandler:oldHandler:onReturnDo:
[] in Block>>when:do:exitWith:retryReturn:
[] in Block>>when:do:
[] in <optimized block> SstInvocationHandler>>retrieveAndProcessNextRequest
[] in SstWorkerManager>>blockFor:forWorker:
[] in SstWorker>>workBlock
[] in <optimized block> Process>>executeBlock:withArguments:
[] in Process>>executeBlock:withArguments:
[] in <optimized block> Process>>newProcessOn:stackSize:withArguments:named:


Any clues would be appreciated. Thanks.

PostNote: This APP package works perfect in VA 8.6.2


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: GUI App, with SSL problems

Wayne Johnston
Problem #1 is INST61930.  Bob recommended to me what you are trying, with the rule removed.  It worked.

However I ended up fixing it by creating an empty packagingRulesFor: for my application just to avoid the faulty packagingRulesFor:.  The image ends up quite a bit bigger.

I never got the vmtrap.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: GUI App, with SSL problems

Leonardo Oillataguerre
In reply to this post by Leonardo Oillataguerre
Thanks for your answer Wayne !
I will search deeper about vmtrap

El lunes, 3 de julio de 2017, 10:36:48 (UTC-3), Leonardo Oillataguerre escribió:
Hello. We have been working in a Windows GUI application (VA 8.6.3) that includes a Seaside Rest server with ssl protocol.
We have found 2 problems in the process. 

1) Method OpenSSLCryptoLibraryDispatcher>#notifyLibraryInitialized needs #subApplications to performs subApps initialize. But this methods is explicited excluded by this packager rule: " aRuleCollector excludeClassInstanceVariable: 'subApplications' inClassNamed: #SubApplication. "

2) This is the unsolved. Removing the above rule, the application start, but then, on ssl initialize, we get vmtrap as follow:

-Platform Information-------------------
VM Timestamp: 4.0,(NC) 7/24/2014 (86)
CPU Architecture: i386
OS Type: WIN32_NT
OS Version: 6.2 build 9200
-State Information----------------------
Handler=0x5ade9340
vmState=0x00000000
vmError=0x00000035
ExceptionCode=0xc0000005
ExceptionAddress=0x5adb1982
ContextFlags=0x0001007f
Module=c:\Program
Files
(x86)\Instantiations\VA
Smalltalk\8.6\ESVM40.dll
Module_base_address=0x5ad90000
Offset_in_DLL=0x00021982
EDI=0x00000000
ESI=0x00000000
EAX=0xc26bfb64
EBX=0x027b02b8
ECX=0x00957e00
EDX=0xc5df3de4
EBP=0x00935000
ESP=0x006ff890
EIP=0x5adb1982
-----------------------------------------
Image snapshot: vmtrap.img
-Walkback--------------------------------
OSSslStructure class>>libraryInitialized:
[] in Behavior>>withAllSubclassesDo:
[] in <optimized block> OSSslStructure class>>libraryInitialized:
[] in <optimized block> OpenSSLCryptoLibraryDispatcher class>>notifyLibraryInitialized
SciSslOpenSSLLibraryDispatcher class>>notifyLibraryInitialized
SciSslOpenSSLLibraryDispatcher class>>initializeLibrary
[] in Block>>critical
SciSslOpenSSLLibraryDispatcher class>>initializeLibrary
[] in <optimized block> OpenSSLCryptoLibraryDispatcher class>>createSingletonInstance
[] in <optimized block> OpenSSLCryptoLibraryDispatcher class>>default
[] in <optimized block> OSSciSslStructure class>>dispatcher
OSSslSSLMethod class>>TLSv1
OSSslSSLMethod class>>createReferenceFromProtocolString:
[] in Block>>valueWithErrorHandler:oldHandler:onReturnDo:
[] in <optimized block> Block>>when:do:exitWith:retryReturn:
[] in <optimized block> Block>>when:do:
[] in <optimized block> Exception class>>handle:do:
Block>>on:do:
OSSslSSLMethod class>>createReferenceFromProtocolString:
[] in <optimized block> OSSslSSLMethod class>>createReferenceFromString:
OSSslSSLMethod class>>named:
[] in LookupTable>>at:ifAbsent:
OSSslSSLMethod class>>named:
[] in <optimized block> OSSslSSLCtx class>>sslMethodNamed:
SciSslContext>>sslMethod:
[] in <optimized block> SciSslContext class>>withMethod:
[] in <optimized block> SciSslSocketConfiguration>>createSciSslContext
[] in SciSslSocketConfiguration>>getSciSslContext
[] in <optimized block> UndefinedObject>>ifNil:
SciSslSocketConfiguration>>getSciSslContext
SciSslSocket>>sslInitialize:
SstHttpsConnection>>negotiateConnect
SstSocketTransport>>handleIncomingConnection
SstLocalEndpoint>>handleIncomingConnection
SstInvocationHandler>>handleIncomingConnection
SstInvocationHandler>>retrieveAndProcessNextRequest
[] in <optimized block> Block>>valueWithErrorHandler:oldHandler:onReturnDo:
[] in Block>>when:do:exitWith:retryReturn:
[] in Block>>when:do:
[] in <optimized block> SstInvocationHandler>>retrieveAndProcessNextRequest
[] in SstWorkerManager>>blockFor:forWorker:
[] in SstWorker>>workBlock
[] in <optimized block> Process>>executeBlock:withArguments:
[] in Process>>executeBlock:withArguments:
[] in <optimized block> Process>>newProcessOn:stackSize:withArguments:named:


Any clues would be appreciated. Thanks.

PostNote: This APP package works perfect in VA 8.6.2


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.