Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
[quote user="Mark Irving"]that perhaps suggests there are two bugs to be fixed, one for long URLs and the other for displaying Japanese.[/quote]
Yes, this is exactly the suggestion I submitted to David Harris.
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
I received an email message which crashes Pegasus Mail every time I try to read to the end of it.
The crash has exception code c0000409 or 0xc0000409, which is STATUS_STACK_BUFFER_OVERRUN. There's a technical summary of this exception at <https://msdn.microsoft.com/en-us/magazine/cc163311.aspx#S4>.
If I turn off Pegasus Mail Tools > Options > Incoming mail > Hyperlinks "Enable display of clickable hyperlinks (URLs) in reader windows" I can read this message without crashing Pegasus Mail. With that option ticked/checked, Pegasus mail crashes when I read down the message.
The e-mail message is 12 KB long, and has, I think, two relevant features. In the headers it specifies
Content-Type: text/plain; charset="ISO-2022-JP"
and part-way down a long list of text (actually C++ function names) displayed in short lines without (generally) any spaces is a bit of Japanese which shows in raw view as
Everything from the "<" character for another 30+ lines is highlighted as a URL, and shortly after scrolling to make this part of the message visible, Pegasus crashes....N$r<hF@ (B
Pegasus Mail Version 4.70 (Win32), Feb 27 2014, build 546. Windows Vista 64-bit with all current Microsoft service packs and updates.
Back in March 2013 I went through a period of time of receiving messages that crashed Pegasus with a C++ error. The crashes occurred on opening of the New Mail folder which is different from what you are experiencing. The cause was a malformed Subject header like this:
Subject: [Spam]
=?utf-32?B?TW9tICBMb28=?==?ascii?B?a3MgMjAgICAgWWVhcnMgICBZ?==?utf-32?B?b3VuZ2Vy?=
I don't know that this is of any help but thought it was worth sharing.
I was able to create filters in Mercury to keep them out of the user mailboxes but only trapped a few before they stopped coming.
[quote user="Mark Irving"]I received an email message which crashes Pegasus Mail every time I try to read to the end of it.[/quote]
Can you please forward an unaltered copy of this message (either as attachment to a new one or as CNM file from the new mail folder/directory, please add a subject refering to this forum) to <beta-reports [at] pmail.gen.nz>. Aside from this it would be helpful to get a crashdump, see here for details.
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
[quote user="idw"]Can you please forward an unaltered copy of this message (either as attachment to a new one or as CNM file from the new mail folder/directory, please add a subject refering to this forum) to <beta-reports [at] pmail.gen.nz>. Aside from this it would be helpful to get a crashdump, see here for details.[/quote]
Done - although the crash dump took two attempts. Let me know if it isn't what you need or does not arrive.
You didn't mention whether ypou are using IERenderer or Bearhtml as your html display engine. I would be interested to check out the message in Bearhtml either way, so I would appreciate receiving a copy. Please mail it to irelam@telus.net using the same sending method as mentioned ablove in the message from IDW.
Thank you
Martin
[quote user="Mark Irving"]Done - although the crash dump took two attempts. Let me know if it isn't what you need or does not arrive.[/quote]
Thanks. Forgot that David Harris' server is currently down for maintenance so it may take a while until I get it.
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
[quote user="Mark Irving"]The message itself is plain text, although in an unusual (for the English-speaking world) character set. I use IERenderer.[/quote]
Martin kindly forwarded the message to me as well and I didn't encounter any issues at all: The Japanese part if displayed properly as are the URLs. Now I'm waiting for David Harris' server being up again for accessing the dump(s). I'm still discussing with Martin what's different with his and mine test results since there are some which don't cause a crash, though.
BTW: Would it be possible that the original message you get is S/MIME signed? If so we definitely need the CNM file instead of a forwarded message since the latter misses the proper S/MIME formatting (I've recently had a user encountering a similar issue which I implemented a workaround for in the S/MIME handling routines of my decryptor extensions - maybe it would solve it for you as well).
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
[quote user="idw"]...The Japanese part if displayed properly as are the URLs.[/quote]
The Japanese part of messages never displays properly for me -- perhaps that is also a clue?
[quote user="idw"]BTW: Would it be possible that the original message you get is S/MIME signed? If so we definitely need the CNM file instead of a forwarded message since the latter misses the proper S/MIME formatting.[/quote]
I don't think this is an S/MIME signed message. I have sent you a private e-mail with the dump file and original message CNM attached.
Mark
[quote user="Mark Irving"]The Japanese part of messages never displays properly for me -- perhaps that is also a clue?[/quote]
Sounds like your installation of Pegasus Mail is somehow broken. I suggest to install an additional Pegasus Mail in a different location for testing: You can simply delete it once you're finished with testing and reinstall over the current one for correcting the Registry if you don't want to keep the new one anyway.
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
Fresh new installation of Pegasus Mail 4.70, in a new installation directory/folder, then set up to use my existing user mailboxes (which are in a separate folder from either program directory, old or new). The problem message still shows junk for the little fragment of Japanese, still mistakenly starts a huge multi-line URL highlighting inside it, and still crashes when I scroll down another screen-ful or so past that big highlighted section. Tentative conclusion: this isn't a problem caused by a broken installation.
Mark
[quote user="Mark Irving"]Tentative conclusion: this isn't a problem caused by a broken installation.[/quote]
Too bad! Fortunately David Harris' server is up again so I can access the beta-reports account now. Unfortunately it doesn't show your messages there, so would you mind to resend them (the CNM and a crash dump)? You should get an immediate automatic reply after doing so.
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
Auto-generated crash dump message, with CNM also attached, and the extra information inserted as well, just sent. This time I did get an automated acknowledgement.
Mark
[quote user="Mark Irving"]Auto-generated crash dump message, with CNM also attached, and the extra information inserted as well, just sent.[/quote]
Thanks, got them, but still no luck. The dump shows the expected result: a TER issue which I've seen before with the S/MIME message I already mentioned. The only help for fixing would be a crash happening in David Harris' test environment, but since your message doesn't crash Martin Ireland's nor my machine odds are very low for such an outcome. Maybe I can create a test message myself from the above mentioned S/MIME message.
This doesn't solve the display issue for you either, though: Why doesn't the Japanese get decode and displayed properly on your machine only (as tested so far) ...?
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
OK, got an idea: If I disable Reformat long lines in the reader window the Japanese doesn't get decoded properly anymore and I can see the long pseudo-URL as you do - and it does crash Pegasus Mail here as well! So for a workaround you might want to enable Reformat long lines in your reader window as well and I can provide David Harris with a valid test!
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
[quote user="idw"]...disable Reformat long lines in the reader window the Japanese doesn't get decoded properly anymore and I can see the long pseudo-URL as you do - and it does crash Pegasus Mail here as well! ...[/quote]
Thank you for investigating so patiently! Yes, Reformat long lines fixes display of Japanese, fixes the long pseudo-URL highlighting and prevents the crash. My usual setting is Wrap long lines and either that, or both options turned off, shows the problem.
Disabling display of clickable hyperlinks and using Reformat long lines are either of them enough for me for the moment. Of course a fix from David Harris in some future version of Pegasus Mail would also be appreciated.
I've been a happy user of Pegasus Mail since 1997, and the conscientious work put in by David and the top helpers on these forums is very much appreciated.
Mark
Text in the body of an email message similar to
<xy?wz
C:\Users\Mark\Documents\work
C:\Users\Mark\Documents\work
...repeat for loads and loads...
uh?>
C:\Users\Mark\Documents\work
C:\Users\Mark\Documents\work
crashes Pegasus Mail when the message is displayed, whatever the setting of Reformat long lines, provided URLs are being highlighted. Japanese text not necessary; that perhaps suggests there are two bugs to be fixed, one for long URLs and the other for displaying Japanese.
- Mark
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.