Community Discussions and Support
Debugging a Cross-Thread Hang on Startup

[quote user="David Briggs"]As I have working user mailboxes, accessible from my login, can I just set myself up as another user? I haven't actually made a clean install, just upgrades.[/quote]

I think so, but pointing the new user to the previous mailbox without cleaning out somehow is not an option, so you should only move files (folders and address books, e.g.) step by step for figuring out which one of Pegasus Mail configuration files (such as *.pm and *.ini) are causing the hang. If doing so we would be interested in the result(s) as well, of course. Most of the involved files are simple text files which I'm sure you can figure out yourself. For more details about filenames and extension see Han's respective page.

<p>[quote user="David Briggs"]As I have working user mailboxes, accessible from my login, can I just<span style="font-size: 10pt;"> set myself up as another user? I haven't actually made a clean install, just upgrades.</span>[/quote]</p><p>I think so, but pointing the new user to the previous mailbox without cleaning out somehow is not an option, so you should only move files (folders and address books, e.g.) step by step for figuring out which one of Pegasus Mail configuration files (such as *.pm and *.ini) are causing the hang. If doing so we would be interested in the result(s) as well, of course. Most of the involved files are simple text files which I'm sure you can figure out yourself. For more details about filenames and extension see <a mce_href="http://www.vandenbogaerde.net/pegasusmail/pf_pmfiles.html" target="_blank" href="http://www.vandenbogaerde.net/pegasusmail/pf_pmfiles.html">Han's respective page</a>. </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Since I installed the current Windows Insider Preview of Windows 10 last weekend, not sure there's any connection, but it did require a bunch of reboots. Anyway, since the weekend, my copy of Pegasus (v4.72) is hanging on startup. If I Close it, Windows shows a Cross-Thread Hang. At the time, Pegasus is scanning my New Mail folder. I know there are too many messages in there, but it normally only takes a few minutes to open, not all day.

I get the Exit / Continue message when I restart Pegasus, of course.

There are other users on the same PC and they can start up without this problem. I also tried installing v4.73 and that behaves the same. 

Is there a simple way to get it going again, assuming there is a problem with an .ini file, a folder or something? 

Thanks for any suggestions.

David 

<p>Since I installed the current Windows Insider Preview of Windows 10 last weekend, not sure there's any connection, but it did require a bunch of reboots. Anyway, since the weekend, my copy of Pegasus (v4.72) is hanging on startup. If I Close it, Windows shows a Cross-Thread Hang. At the time, Pegasus is scanning my New Mail folder. I know there are too many messages in there, but it normally only takes a few minutes to open, not all day.</p><p>I get the Exit / Continue message when I restart Pegasus, of course.</p><p><span style="font-size: 13.3333px;">There are other users on the same PC and they can start up without this problem. I also tried installing v4.73 and that behaves the same.</span> </p><p>Is there a simple way to get it going again, assuming there is a problem with an .ini file, a folder or something? </p><p>Thanks for any suggestions.</p><p>David </p>

I have done some additional testing, based on Michael's suggestions.

Firstly I deleted a few recent new mail files that had been downloaded during the last functional session. On restarting Pegasus, I got the same behaviour, i.e. a program hang while "Opening new mail folder..." was displayed.

Since that didn't help, I moved all of the *.CNM files out of the Mail\user folder. Restart Pegasus, same behaviour.

So it doesn't seem to be related to any new mail files.

I have not been able to check the versions of HTMLRenderer or Bear|HTML and I'm not sure that MiniDump is working. I have to close Pegasus through Windows, so it isn't crashing. At the problem time, it is using no significant amount of CPU, which would be consistent with waiting for a locked resource that is never going to be released.

<p>I have done some additional testing, based on Michael's suggestions. </p><p><span style="font-size: 10pt;">Firstly I deleted a few recent new mail files that had been downloaded during the last functional session. On restarting Pegasus, I got the same behaviour, i.e. a program hang while "Opening new mail folder..." was displayed.</span></p><p><span style="font-size: 10pt;">Since that didn't help, I moved all of the *.CNM files out of the Mail\user folder. Restart Pegasus, same behaviour.</span></p><p>So it doesn't seem to be related to any new mail files.</p><p>I have not been able to check the versions of HTMLRenderer or Bear|HTML and I'm not sure that MiniDump is working. I have to close Pegasus through Windows, so it isn't crashing. At the problem time, it is using no significant amount of CPU, which would be consistent with waiting for a locked resource that is never going to be released.</p>

Did you do a clean install or copy an old one to the new system? If the latter try a new install, dealing with data of previous versions can be done later once you got a working setup.

Did you do a clean install or copy an old one to the new system? If the latter try a new install, dealing with data of previous versions can be done later once you got a working setup.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

I have been using Pegasus on this PC since it was built, running Windows 7. It was upgraded to the first release of Windows 10 and has been automatically updated since then. It was over last weekend that I allowed Windows Update to install the Windows Insider RS5 Preview, hoping for a fix to a long-standing 32-bit backup problem. Some chance! But it will take days to go back.The backup problem means I can't restore from a system image because it hasn't been able to write one for months.

I actually have six Pegasus users on this PC, and can access their e-mails using their account IDs. The other accounts do not seem to be affected, in that I can start up Pegasus, enter their usernames and see their mail. At the same time, my account gets stuck with what Windows 10 reports as a Cross-Thread Hang when I close it after bringing up the Program not responding message. I have moved all the messages out of the New Mail folder with no effect.

 When the problem first occurred, I looked for and installed the latest version of Pegasus, 4.73. No problems in the install, no problems with the other users, no improvement for me.

Thanks for any suggestions. 

<p>I have been using Pegasus on this PC since it was built, running Windows 7. It was upgraded to the first release of Windows 10 and has been automatically updated since then. It was over last weekend that I allowed Windows Update to install the Windows Insider RS5 Preview, hoping for a fix to a long-standing 32-bit backup problem. Some chance! But it will take days to go back.The backup problem means I can't restore from a system image because it hasn't been able to write one for months.</p><p>I actually have six Pegasus users on this PC, and can access their e-mails using their account IDs. The other accounts do not seem to be affected, in that I can start up Pegasus, enter their usernames and see their mail. At the same time, my account gets stuck with what Windows 10 reports as a Cross-Thread Hang when I close it after bringing up the Program not responding message. I have moved all the messages out of the New Mail folder with no effect.</p><p> When the problem first occurred, I looked for and installed the latest version<span style="font-size: 10pt;"> of Pegasus, 4.73. No problems in the install, no problems with the other users, no improvement for me.</span></p><p>Thanks for any suggestions. </p>

[quote user="David Briggs"]I have been using Pegasus on this PC since it was built, running Windows 7. It was upgraded to the first release of Windows 10 and has been automatically updated since then.[/quote]

I know from your previous posts, the question was about installing Pegasus Mail from scratch, not about your system. Pegasus Mail can be installed multiple times on the same machine so you can test a clean install without affecting a previous one, and this can easily be deleted afterwards without affecting previous installs. It's almost certainly an issue with the user data in you mailbox directory which should not show up with a clean install of Pegasus Mail. If the clean install works, you need to relocate your existing mailboxes afterwards, there are several threads and even FAQs about how to do this properly (and don't just copy all mailbox files over since this will certainly cause problems to reoccur).

BTW: What is a Cross-Thread Hang?

 

<p>[quote user="David Briggs"]I have been using Pegasus on this PC since it was built, running Windows 7. It was upgraded to the first release of Windows 10 and has been automatically updated since then.[/quote]</p><p>I know from your previous posts, the question was about installing Pegasus Mail from scratch, not about your system. Pegasus Mail can be installed multiple times on the same machine so you can test a clean install without affecting a previous one, and this can easily be deleted afterwards without affecting previous installs. It's almost certainly an issue with the user data in you mailbox directory which should not show up with a clean install of Pegasus Mail. If the clean install works, you need to relocate your existing mailboxes afterwards, there are several threads and even <a mce_href="/forums/7/ShowForum.aspx" target="_blank" href="/forums/7/ShowForum.aspx">FAQs</a> about how to do this properly (and don't just copy all mailbox files over since this will certainly cause problems to reoccur).</p><p>BTW: What is a Cross-Thread Hang?</p><p> </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Hi Michael, 

Thanks for the suggestions. I do have several users mailboxes accessed using the same install of Pegasus, so that would indicate that the problem is with my mailbox setup. 

The term "Cross-Thread Hang" is Windows jargon, taken from the Application Event Log entry. My guess is that one thread is after a resource that another thread has locked and that thread wants one that the first thread has locked. That's just my guess... It could be caused by changing the load order of DLLs?

It shows as an Error, code 1002: "The program winpm-32.exe version 4.7.3.639 stopped interacting with Windows and was closed." ... Hang type: Cross-thread.

As I have working user mailboxes, accessible from my login, can I just set myself up as another user? I haven't actually made a clean install, just upgrades.

Thanks,

David 

<p>Hi Michael, </p><p>Thanks for the suggestions.<span style="font-size: 10pt;"> I do have several users mailboxes accessed using the same install of Pegasus, so that would indicate that the problem is with my mailbox setup. </span></p><p><span style="font-size: 10pt;">The term "Cross-Thread Hang" is Windows jargon, taken from the Application Event Log entry. My guess is that one thread is after a resource that another thread has locked and that thread wants one that the first thread has locked. That's just my guess... It could be caused by changing the load order of DLLs?</span></p><p>It shows as an Error, code 1002: "The program winpm-32.exe version 4.7.3.639 stopped interacting with Windows and was closed." ... Hang type: Cross-thread.</p><p>As I have working user mailboxes, accessible from my login, can I just<span style="font-size: 10pt;"> set myself up as another user? I haven't actually made a clean install, just upgrades.</span></p><p>Thanks,</p><p>David </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft