[GH-ISSUE #104] Ex2007sp3rp17 edgetransport unhandled exception on service stop #83

Closed
opened 2026-02-26 10:35:43 +03:00 by kerem · 12 comments
Owner

Originally created by @AlxVD on GitHub (Oct 30, 2015).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/104

Originally assigned to: @Pro on GitHub.

  1. Using v.2.1.7 (for Ex2007sp3rp17 on WinSrv2008R2, .net4.0).
  2. Trying to stop or restart MSExchangeTransport service.
  3. edgetransport.exe dies with an unhandled exception:
    ue

And here is Watson zipped dump/report files: https://cloud.mail.ru/public/6wBS/RowUBE1Ve

Originally created by @AlxVD on GitHub (Oct 30, 2015). Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/104 Originally assigned to: @Pro on GitHub. 1. Using v.2.1.7 (for Ex2007sp3rp17 on WinSrv2008R2, .net4.0). 2. Trying to stop or restart MSExchangeTransport service. 3. edgetransport.exe dies with an unhandled exception: ![ue](https://cloud.githubusercontent.com/assets/15388258/10835278/c766a902-7eb1-11e5-80e3-14cade55019b.png) And here is Watson zipped dump/report files: https://cloud.mail.ru/public/6wBS/RowUBE1Ve
kerem 2026-02-26 10:35:43 +03:00
Author
Owner

@Pro commented on GitHub (Oct 30, 2015):

Is there any Message in the Event Log from the DKIM Signer?

<!-- gh-comment-id:152449550 --> @Pro commented on GitHub (Oct 30, 2015): Is there any Message in the Event Log from the DKIM Signer?
Author
Owner

@AlxVD commented on GitHub (Oct 30, 2015):

No. It goes like this in App log (even with LogLevel 4):

MSExchange TransportService The service is trying to stop.
ESE                         edgetransport (6908) Sender Reputation Database: The database engine stopped the instance (2). 
ESE                         edgetransport (6908) IP Filtering Database: The database engine stopped the instance (1). 
ESE                         edgetransport (6908) Transport Mail Database: The database engine stopped the instance (0). 
MSExchangeTransport         Queuing status at shutdown - Submission queue: 0 message(s); Delivery queues: 5 message(s); Unreachable queue: 0 message(s); Poison queue: 0 message(s).
Windows Error Reporting     Fault bucket , type 0
                Event Name: CLR20r3
                Response: Not available
                Cab Id: 0

                Problem signature:
                P1: edgetransport.exe
                P2: 8.3.406.0
                P3: 54ddb00e
                P4: mscorlib
                P5: 2.0.0.0
                P6: 53a11de1
                P7: 4e39
                P8: 6
                P9: UDTA330IDOBH2ROZ2AYVLCELAG5AGTLS
                P10: 
MSExchange TransportService Worker process with process ID 6908 has exited.
MSExchange TransportService The service has stopped.
<!-- gh-comment-id:152455355 --> @AlxVD commented on GitHub (Oct 30, 2015): No. It goes like this in App log (even with LogLevel 4): ``` MSExchange TransportService The service is trying to stop. ESE edgetransport (6908) Sender Reputation Database: The database engine stopped the instance (2). ESE edgetransport (6908) IP Filtering Database: The database engine stopped the instance (1). ESE edgetransport (6908) Transport Mail Database: The database engine stopped the instance (0). MSExchangeTransport Queuing status at shutdown - Submission queue: 0 message(s); Delivery queues: 5 message(s); Unreachable queue: 0 message(s); Poison queue: 0 message(s). Windows Error Reporting Fault bucket , type 0 Event Name: CLR20r3 Response: Not available Cab Id: 0 Problem signature: P1: edgetransport.exe P2: 8.3.406.0 P3: 54ddb00e P4: mscorlib P5: 2.0.0.0 P6: 53a11de1 P7: 4e39 P8: 6 P9: UDTA330IDOBH2ROZ2AYVLCELAG5AGTLS P10: MSExchange TransportService Worker process with process ID 6908 has exited. MSExchange TransportService The service has stopped. ```
Author
Owner

@AlxVD commented on GitHub (Oct 30, 2015):

Does anyone have some experience with WinDbg (to check dump file)?

<!-- gh-comment-id:152604553 --> @AlxVD commented on GitHub (Oct 30, 2015): Does anyone have some experience with WinDbg (to check dump file)?
Author
Owner

@Pro commented on GitHub (Oct 30, 2015):

You can try the command !analyze -v. I already tried it, but the debugging symbols are missing (probably because the analysis has to be run on a Windows 2008 Server...)

<!-- gh-comment-id:152608652 --> @Pro commented on GitHub (Oct 30, 2015): You can try the command `!analyze -v`. I already tried it, but the debugging symbols are missing (probably because the analysis has to be run on a Windows 2008 Server...)
Author
Owner

@AlxVD commented on GitHub (Oct 30, 2015):

As far as I remember:

  1. !analyze won't help with .Net process (and no one has symbols for edgetransport.exe; but you can load symbols for ExchangeDkimSigner.dll).
  2. There were some specific extensions for WinDbg that can assist with .Net.
<!-- gh-comment-id:152621030 --> @AlxVD commented on GitHub (Oct 30, 2015): As far as I remember: 1. !analyze won't help with .Net process (and no one has symbols for edgetransport.exe; but you can load symbols for ExchangeDkimSigner.dll). 2. There were some specific extensions for WinDbg that can assist with .Net.
Author
Owner

@rbfajardo commented on GitHub (Oct 30, 2015):

The call stack in the crash dump throws an exception. Can't share anything else, don't know what I am looking at either.

System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException

<!-- gh-comment-id:152671033 --> @rbfajardo commented on GitHub (Oct 30, 2015): The call stack in the crash dump throws an exception. Can't share anything else, don't know what I am looking at either. System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException
Author
Owner

@AlxVD commented on GitHub (Nov 10, 2015):

Ok. Today it crashed without my help (nobody tried to restart service).
At 0:00:07 and 0:00:08 there were 2 same errors in App-log:
"Couldn't load the key 'C:\Program Files\Exchange DkimSigner\keys\my-dkim-priv.pem' for domain somedomain.ru. Error message: Invalid DER format for key. (The process cannot access the file because it is being used by another process.
)"
After that at 0:19:39 edgetransport.exe crashed with "CryptographicException". But now I have stack dump: https://cloud.mail.ru/public/EFu5/tBEzt8ufR

P.S. It could be different issue...

<!-- gh-comment-id:155318380 --> @AlxVD commented on GitHub (Nov 10, 2015): Ok. Today it crashed without my help (nobody tried to restart service). At 0:00:07 and 0:00:08 there were 2 same errors in App-log: "Couldn't load the key 'C:\Program Files\Exchange DkimSigner\keys\my-dkim-priv.pem' for domain somedomain.ru. Error message: Invalid DER format for key. (The process cannot access the file because it is being used by another process. )" After that at 0:19:39 edgetransport.exe crashed with "CryptographicException". But now I have stack dump: https://cloud.mail.ru/public/EFu5/tBEzt8ufR P.S. It could be different issue...
Author
Owner

@Pro commented on GitHub (Nov 12, 2015):

Can you upgrade to version 2.1.8
We changed a lot there. This may also fix the last exception you mentioned (see #109)

<!-- gh-comment-id:156021249 --> @Pro commented on GitHub (Nov 12, 2015): Can you upgrade to version 2.1.8 We changed a lot there. This may also fix the last exception you mentioned (see #109)
Author
Owner

@AlxVD commented on GitHub (Nov 18, 2015):

Upgraded. Still have exception on service stop.

<!-- gh-comment-id:157825701 --> @AlxVD commented on GitHub (Nov 18, 2015): Upgraded. Still have exception on service stop.
Author
Owner

@Pro commented on GitHub (Dec 14, 2015):

@AlxVD does the exception occur every time you stop the service? Or just randomly?

Do you have access to a Visual Studio installation and could try to build the .dll in Debug mode, then start exchange, attach the Visula Studio debugger and get the exact line causing the problem?

<!-- gh-comment-id:164426010 --> @Pro commented on GitHub (Dec 14, 2015): @AlxVD does the exception occur every time you stop the service? Or just randomly? Do you have access to a Visual Studio installation and could try to build the .dll in Debug mode, then start exchange, attach the Visula Studio debugger and get the exact line causing the problem?
Author
Owner

@Pro commented on GitHub (Jan 1, 2016):

@AlxVD any updates?
v3.0.0 beta is now released. Maybe you can try this
https://github.com/Pro/dkim-exchange/releases/tag/v3.0.0-beta

<!-- gh-comment-id:168315105 --> @Pro commented on GitHub (Jan 1, 2016): @AlxVD any updates? v3.0.0 beta is now released. Maybe you can try this https://github.com/Pro/dkim-exchange/releases/tag/v3.0.0-beta
Author
Owner

@Pro commented on GitHub (Jan 3, 2016):

Fix will be included in version 3.0.0

<!-- gh-comment-id:168525046 --> @Pro commented on GitHub (Jan 3, 2016): Fix will be included in version 3.0.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dkim-exchange-Pro#83
No description provided.