Archived Forum Post

Index of archived forum posts

Question:

Thread crashed : ChilkatSocket::connectSocket2_ipv4(char const*, int, unsigned int, LogBase&, ProgressMonitor*, bool&)

Jun 25 '14 at 02:21

In my macosx application, i am using chilkat API (libchilkatCocoaDyn.dylib and chikat package) to compress file. In specific, i am using CkoGzip in chikat to compress the file. Most of the time it compresses the file. But some time crash occurs in chilkat api.

Crashed Thread: 12

Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x000000000000000c, 0x0000000000000000

Thread 12 Crashed: 0
libchilkatCocoaDyn.dylib
0x0000000100b3db93 ChilkatSocket::connectSocket2_ipv4(char const, int, unsigned int, LogBase&, ProgressMonitor, bool&) + 1641

Screenshot : alt text

Can any one provide the solution to accomplish the thread issue? Because i am trying to move my app to production use. It needs to be fixed before moving to production use.


Answer

Make sure you are using the latest version of Chilkat to ensure that it's not some problem that has long since been fixed.

Also, you can use the CkoGzip.DebugLogFilePath property, in combination with the VerboseLogging property, to get information about crash if it is truly a crash bug within Chilkat.