Hi,
I try to write an application to exchange data with an external device (a Programmable Logic Controller). I want to use the dll that I received with this device. The application can read data in the device but when I quit Squeak, the VM crashs every time.
This is the content of the crash.dmp file:
Exception code: C0000005 Exception addr: 77F63A05 Access violation (read access) at 00000000 EAX:00051DD4 EBX:0000000E ECX:00000000 EDX:68C00000 ESI:00000000 EDI:000B03F0 EBP:0004F8CC ESP:0004F8C8 EIP:77F63A05 EFL:00010293 FP Control: FFFF027F FP Status: FFFF5061 FP Tag: FFFFFFFF
Current byte code: 227 Primitive index: 94 Stack dump follows:
30416204 EventSensor>ioProcess 30416420 [] in EventSensor>startUp 30416512 [] in BlockContext>newProcess
I join the source code in the file SAIA-Interface.st
To crash the VM, I do the following things in a workspace:
p _ PCDConn new. p open. p readR: 1000 count: 8. p close.
Then I quit Squeak without saving and the VM crashs.
Can somebody give me help or tips or documentation ?
Thanks
Joseph Frippiat
squeak-dev@lists.squeakfoundation.org