login about faq

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.

asked Jun 20 '14 at 03:35

hubTeam's gravatar image

hubTeam
18116

edited Jun 20 '14 at 08:26


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.

link

answered Jun 20 '14 at 12:30

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Sure i will check that i am using the latest version of Chilkat and update here. But how can i check CkoGzip.DebugLogFilePath property ?

(Jun 21 '14 at 03:34) hubTeam

After initializing your CoGzip object, set the VerboseLogging property to 1 to enabled it, and set the DebugLogFilePath property to a file path on your system. Run the rest of your code as normal, and then post the contents of the log file (the file path you set in the DebugLogFilePath property) in <pre> tags here for review.

(Jun 22 '14 at 10:40) jpbro ♦

@chilkat Now i updated the chilkat version and found where error occurs. It occurs at sftp connection. After compressing the file , i am uploading the compressed file using CkoSFtp. Now i am getting this error while connecting to sftp server. Note that i am using background thread to do this compress and file upload operation

(Jun 25 '14 at 02:21) hubTeam
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×98
×6
×3

Asked: Jun 20 '14 at 03:35

Seen: 1,027 times

Last updated: Jun 25 '14 at 02:21

powered by OSQA