login about faq

Hello,

we want to use Chilkat .NET email library in our project. While everything is good, our application crashed while testing. In application logs there is the following error.

Faulting application name: DiaxeirisiKatastimatos.exe, version: 1.30.90.11576, time stamp: 0x5492faaa
Faulting module name: MSVCR80.dll, version: 8.0.50727.4940, time stamp: 0x4ca2b4dd
Exception code: 0xc000000d
Fault offset: 0x000000000001f0bb
Faulting process id: 0x127100
Faulting application start time: 0x01d01b5b8e5d2fe0
Faulting application path: D:\_DiaxeirisiKatastimatos\DiaxeirisiKatastimatos.exe
Faulting module path: C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCR80.dll
Report Id: 748202de-8774-11e4-9c17-003048da7179

We have an event for catching unhandled exceptions, but nevertheless the application crashed with a Windows message. I don't know if it matters, but the application is obfuscated using SmartAssembly.

Does anyone have any ideas? We can't use the library is this is going to be happening.

Thanks in advance.

Edit: v.9.5.0.46 These are the 2 last entries of the log file after crashing.

IsUnlocked:
    DllDate: Dec  5 2014
    ChilkatVersion: 9.5.0.46
    UnlockPrefix: GENIKIMAILQ
    Username: ***
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    (leaveContext)
GetUidls:
    DllDate: Dec  5 2014
    ChilkatVersion: 9.5.0.46
    UnlockPrefix: GENIKIMAILQ
    Username: ***
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    pop3OpenConnection:
        terminateConnection:
            (leaveContext)
        Connecting to POP3 server
        hostname: ***
        port: 110
        ssl: 0
        connectTimeoutMs: 30000
        socket2Connect:
            connect2:
                hostname: ***
                port: 110
                ssl: 0
                connectSocket:
                    domainOrIpAddress: ***
                    port: 110
                    connectTimeoutMs: 30000
                    connect_ipv6_or_ipv4:
                        Multi-threaded domain to IP address resolution
                        resolveHostname6:
                            getAddressInfo:
                                (leaveContext)
                            (leaveContext)
                        connecting to IPV4 address...
                        ipAddress: 172.16.1.111
                        createSocket:
                            (leaveContext)
                        connect:
                            Waiting for the connect to complete...
                            ck_getsockname_ipv4:
                                (leaveContext)
                            myIP: 172.16.1.201
                            myPort: 64901
                            socket connect successful.
                            (leaveContext)
                        (leaveContext 15ms)
                    (leaveContext 15ms)
                (leaveContext 15ms)
            (leaveContext 31ms)
        Connected to POP3 server
        Turning on TCP_NODELAY.
        socketOptions:
            SO_SNDBUF: 8192
            SO_RCVBUF: 8192
            TCP_NODELAY: 1
            (leaveContext)
        PopCmdResp: +OK Dovecot ready.
        greeting: +OK Dovecot ready.
        ConnectionType: Unencrypted TCP/IP
        (leaveContext 47ms)
    Pop3Authenticate:
        username: ***
        popSPA: 0
        PopCmdSent: USER ***
        PopCmdResp: +OK
        PopCmdSent: PASS ****
        PopCmdResp: +OK Logged in.
        POP3 authentication success
        (leaveContext 187ms)
    PopCmdSent: UIDL
    sendCommand: Elapsed time: 0 millisec
    PopCmdResp: +OK
    PopCmdResp: .
    getMultiLineResponse: Elapsed time: 0 millisec
    UidlCount: 0
    Success.
    (leaveContext 234ms)
FetchMultipleHeaders:
    DllDate: Dec  5 2014
    ChilkatVersion: 9.5.0.46
    UnlockPrefix: GENIKIMAILQ
    Username: ***
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    PopCmdSent: STAT
    sendCommand: Elapsed time: 0 millisec
    PopCmdResp: +OK 0 0
    getOneLineResponse: Elapsed time: 0 millisec
    statResponse: +OK 0 0
    PopCmdSent: LIST
    sendCommand: Elapsed time: 0 millisec
    PopCmdResp: +OK 0 messages:

.
    getMultiLineResponse: Elapsed time: 0 millisec
    (leaveContext 16ms)
Pop3EndSession:
    DllDate: Dec  5 2014
    ChilkatVersion: 9.5.0.46
    UnlockPrefix: GENIKIMAILQ
    Username: ***
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    PopCmdSent: QUIT
    sendCommand: Elapsed time: 0 millisec
    PopCmdResp: +OK Logging out.
    getOneLineResponse: Elapsed time: 0 millisec
    Closing POP3 connection
    terminateConnection:
        TCP connection cleanly closed by peer.
        Cleanly terminated TCP connection.
        (leaveContext)
    terminateConnection:
        (leaveContext)
    Success.
    (leaveContext 15ms)
IsUnlocked:
    DllDate: Dec  5 2014
    ChilkatVersion: 9.5.0.46
    UnlockPrefix: GENIKIMAILQ
    Username: ***
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    (leaveContext 16ms)
SendEmail:
    DllDate: Dec  5 2014
    ChilkatVersion: 9.5.0.46
    UnlockPrefix: GENIKIMAILQ
    Username: ***
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    recipients:
        TO: ***
        CC: ***
        totalCount: 2
        (leaveContext)
    renderToMime:
        createEmailForSending:
            xSigningAlg: sha1
            Auto-generating Message-ID
            clone2:
                assembleMimeBody:
                    contentType: text/plain
                    isEmailAttachment:
                        attachmentReason:
                            contentType: text/plain
                            subject: FW:2325338234
                            from: ***
                            No, attachment is not indicated.
                            (leaveContext)
                        (leaveContext)
                    getEncodedBody:
                        contentType: text/plain
                        cp: 28597
                        Converting from utf-8...

Edit: v.9.5.0.47 crashed again

IsUnlocked:
    DllDate: Jan  8 2015
    ChilkatVersion: 9.5.0.47
    UnlockPrefix: GENIKIMAILQ
    Username: 
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    (leaveContext 15ms)
SendEmail:
    DllDate: Jan  8 2015
    ChilkatVersion: 9.5.0.47
    UnlockPrefix: GENIKIMAILQ
    Username: 
    Architecture: Little Endian; 64-bit
    Language: .NET 2.0 / x64
    VerboseLogging: 1
    renderToMime:
        createEmailForSending:
            xSigningAlg: sha1
            Auto-generating Message-ID
            clone2:
                assembleMimeBody:
                    contentType: text/plain
                    isEmailAttachment:
                        attachmentReason:
                            contentType: text/plain
                            subject: RE:2952776960
                            emitAsMimeField:
                                (leaveContext)
                            from: ***
                            No, attachment is not indicated.
                            (leaveContext 16ms)
                        (leaveContext 16ms)
                    parseEmailAddressList:
                        (leaveContext)
                    emitAsMimeField:
                        (leaveContext)
                    parseEmailAddressList:
                        (leaveContext)
                    emitAsMimeField:
                        (leaveContext)
                    parseEmailAddressList:
                        (leaveContext)
                    emitAsMimeField:
                        (leaveContext)
                    getEncodedBody:
                        contentType: text/plain
                        cp: 28597
                        Converting from utf-8...

asked Dec 19 '14 at 08:45

alfoks's gravatar image

alfoks
8226

edited Jan 09 '15 at 04:34


Thanks! Please check to see if this pre-release of version 9.5.0.47 fixes the problem:

32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet2-9.5.0-win32.zip

64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet2-9.5.0-x64.zip

If it does not, please post the last few entries of the debug log file using this new version.

link

answered Jan 08 '15 at 10:09

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Thanks! I installed the new versions. I'll let you know.

(Jan 09 '15 at 03:53) alfoks

Unfortunately it crashed again. I have a sense that with the verbose logging on it crashes quite often. I'll turn it off to validate this.

(Jan 09 '15 at 04:36) alfoks
1

Fixed in the latest release (9.5.0.47).

(Jan 26 '15 at 08:57) alfoks

I'm not aware of any crash bugs such as what you reported. I would recommend testing with v9.5.0.46, and then also turn on verbose logging (mailman.VerboseLogging = true) and also set the mailman.DebugLogFilePath equal to the path of a log file to be created. If you reproduce the crash, you'll be left with a detailed log of what was happening within the Chilkat method call, and you can post that here.

The DebugLogFilePath has the effect of causing all the information that goes to LastErrorText to be also sent to the log file. If you see that the LastErrorText in the log file is complete, then it is most likely that the crash did not occur inside the Chilkat method call.

link

answered Dec 19 '14 at 09:02

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

There wasn't anything written in the log. But I'm sure that the crash is related to the library, for these reasons:

1) When I call Assembly.LoadFile at runtime to load Chilkat dll, MSVCR80.dll is loaded as well. 2) Because of this (very old I know) http://www.chilkatsoft.com/p/p_161.asp 3) Checked the dependencies of Chilkat dll and MSVCR80.dll is listed.

In fact we were aware of this dependency before the app crashed and that's why when it did crash, we immediately thought it has to do with Chilkat. We can't reproduce the crash. We have the app running and just wait.

(Dec 19 '14 at 09:20) alfoks

Please have a look at my updated question containing the last errors. Tell me if you need more entries from the log file. I included the last 2.

(Jan 08 '15 at 04:33) alfoks

Is it possible for you to send me a Visual Studio 2005 project that reproduces the crash? You can remove your SMTP login/password, and I can use my own server.

Also, check to see if the crash depends on the recipients. Can you still reproduce the crash if your program sends the email to "support@chilkatsoft.com"?

You may respond directly via private email to support@chilkatsoft.com

link

answered Jan 09 '15 at 09:00

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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:

×47
×31
×21

Asked: Dec 19 '14 at 08:45

Seen: 1,270 times

Last updated: Jan 26 '15 at 08:57

powered by OSQA