Community Discussions and Support
This mail completely crashes Pegasus mail

I think I've solved this issue with another message resulting in similar crashes when forwarding or replying to HTML messages with inserting the HTML into the respective TER window. Since Pegasus Mail provides any HTML it processes to the active HTML renderer for correcting issues which might crash TER I found out supported by Martin Ireland what he was doing differently with BearHtml. After modifying my processing accordingly I don't see these crashes anymore. Expect to see an IER update (providing filxes for other issues as well) soon.

I think I've solved this issue with another message resulting in similar crashes when forwarding or replying to HTML messages with inserting the HTML into the respective TER window. Since Pegasus Mail provides any HTML it processes to the active HTML renderer for correcting issues which might crash TER I found out supported by Martin Ireland what he was doing differently with BearHtml. After modifying my processing accordingly I don't see these crashes anymore. Expect to see an IER update (providing filxes for other issues as well) soon.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Please insert this Email to your folder:  http://78.108.103.11/~fojtik/pmail/PT7CV4JK.CNM

And try to open HTML section. Pegasus mail completely crashes :(.

 I attempt to catch callstack. Pegasus mail stores some files from Dr Watson, I can upload them if neccessary.

I have libtidy 1.0.6.0 from 11.12.2013. There is no new build of this library.

<p>Please insert this Email to your folder:  http://78.108.103.11/~fojtik/pmail/PT7CV4JK.CNM </p><p>And try to open HTML section. Pegasus mail completely crashes :(. </p><p> I attempt to catch callstack. Pegasus mail stores some files from Dr Watson, I can upload them if neccessary.</p><p>I have libtidy 1.0.6.0 from 11.12.2013. There is no new build of this library. </p>

This email message has content which is in 8-bit form and specified as Utf-8.  Any email message with 8-bit characters must be encoded as either utf-8 or quoted-printable and converted to Base64 form, as SMTP transport only allows 7-bit Ascii characters.

Martin

<p>This email message has content which is in 8-bit form and specified as Utf-8.  Any email message with 8-bit characters must be encoded as either utf-8 or quoted-printable and converted to Base64 form, as SMTP transport only allows 7-bit Ascii characters.</p><p>Martin </p>

 I have really received this Email from internet.  So it is possible to send it anyway.

Yes, email is defective but Pegasus Mail should not crash. Otherwise Pmail specific mailbomb could be created.

<p> I have really received this Email from internet.  So it is possible to send it anyway. </p><p>Yes, email is defective but Pegasus Mail should not crash. Otherwise Pmail specific mailbomb could be created. </p>

[quote user="fojtik"]Yes, email is defective but Pegasus Mail should not crash. Otherwise Pmail specific mailbomb could be created.[/quote]

It doesn't crash on my machine, the only issue I see with IERenderer is a failure to decode the UTF-8 encoding. And with regard to crash dumps: The only reliable way to help is by taking the steps described in this post on top of the support forum.

<p>[quote user="fojtik"]Yes, email is defective but Pegasus Mail should not crash. Otherwise Pmail specific mailbomb could be created.[/quote]</p><p>It doesn't crash on my machine, the only issue I see with IERenderer is a failure to decode the UTF-8 encoding. And with regard to crash dumps: The only reliable way to help is by taking the steps described in <a mce_href="/forums/thread/31478.aspx" target="_blank" href="/forums/thread/31478.aspx">this post</a> on top of the support forum. </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

I have reproduced a crash on two different machines.

 

On the second machine the Email is displayed, please click to "Attachment" tab and try to click

to "Plain text" and "HTML text", this will surely crash.

Sorry, I cannot download the latest libtidy :( - you claim 11.08.2016, 23:00 (MST): Version 2.4.9.1, but the only release available to download is from 2010. Please post it or send me it. May be tat this would fix an issue.

PS: I have reinstalled  IE renderer to 2.4.9.13, BUT THE PMAIL STILL CRASHES. Mini dump is useless for this crash because it does not find anything.

<p>I have reproduced a crash on two different machines.</p> <p> </p> <p>On the second machine the Email is displayed, please click to "Attachment" tab and try to click </p> <p>to "Plain text" and "<b>HTML text</b>", this will surely <b>crash.</b></p> <p><strike><a mce_href="http://community.pmail.com/files/folders/community_add-ons_for_pegasus_mail/entry24145.aspx" href="http://community.pmail.com/files/folders/community_add-ons_for_pegasus_mail/entry24145.aspx">Sorry, I cannot download the latest libtidy :( - you claim 11.08.2016, 23:00 (MST): Version 2.4.9.1, but the only release available to download is from 2010. Please post it or send me it. May be tat this would fix an issue.</a></strike></p><p>PS: I have reinstalled  IE renderer to 2.4.9.13, <b>BUT THE PMAIL STILL CRASHES. Mini dump is useless for this crash because it does not find anything.</b> </p>

[quote user="fojtik"]I have reproduced a crash on two different machines.

On the second machine the Email is displayed, please click to "Attachment" tab and try to click

to "Plain text" and "HTML text", this will surely crash.[/quote]

No reason to yell at us. The more details you provide the better we can figure out what to do for fixing.

[quote user="fojtik"]On the second machine the Email is displayed, please click to "Attachment" tab and try to click to "Plain text" and "HTML text", this will surely crash.[/quote]

I can duplicate this now.

[quote user="fojtik"]There is no newer version of LibTidy[/quote]

Correct.

[quote user="fojtik"]BUT THE PMAIL STILL CRASHES. Mini dump is useless for this crash because it does not find anything.[/quote]

Wrong, it just created a dump on my machine after taking the steps you described above. If it doesn't do so when loaded as an extension you should try MiniDump's "stand-alone" mode as described in its ReadMe file (from its debugger section):

The package now also includes a "stand-alone" debugger (PMDebug.exe) which does essentially the same as the extension except that it does not prompt for user input and cannot grab Pegasus Mail's system configuration automatically. It may be more reliable in some cases as it does not run as part of Pegasus Mail and will not be affected by its crashes. It works like follows: [...]

(More details about how it works in succeeding paragraphs)

But aside from this you're right: The call stack doesn't help fixing this since it points to TER/HTS which we cannot easily fix ourselves:

kernel32!UnhandledExceptionFilter+0x60
WARNING: Stack unwind information not available. Following frames may be wrong.
ter32!CellBorderColorParam+0x1b201b
ter32!CellBorderColorParam+0x109a53
ter32!CellBorderColorParam+0x108380
ter32!CellBorderColorParam+0x10fff2
ter32!CellBorderColorParam+0x110785
ter32!CellBorderColorParam+0x110fb8
ter32!CellBorderColorParam+0x114049
hts32!HtsSetFontSize+0x5e0b8
hts32!HtsSetFontSize+0x12c19
hts32!HtsSetFontSize+0x129be
hts32!HtsSetFontSize+0x2bbea
hts32!HtsSetFontSize+0x2b7a7
hts32!HtsSetFontSize+0x2875a
hts32!HtsSetFontSize+0x27c69
hts32!HtsSetFontSize+0x18fa3

I might be able to do something about it by fixing my UTF-8 decoding for IERenderer, it might help avoiding the crash in TER/HTS as well.

<p>[quote user="fojtik"]I have reproduced a crash on two different machines.</p><p>On the second machine the Email is displayed, please click to "Attachment" tab and try to click </p> <p>to "Plain text" and "<b>HTML text</b>", this will surely <b>crash.</b>[/quote]</p><p>No reason to yell at us. The more details you provide the better we can figure out what to do for fixing. </p><p>[quote user="fojtik"]On the second machine the Email is displayed, please click to "Attachment" tab and try to click to "Plain text" and "<b>HTML text</b>", this will surely <b>crash.</b>[/quote]</p><p>I can duplicate this now.</p><p>[quote user="fojtik"]There is no newer version of LibTidy[/quote]</p><p>Correct. </p><p>[quote user="fojtik"]<b>BUT THE PMAIL STILL CRASHES. Mini dump is useless for this crash because it does not find anything.</b>[/quote]</p><p>Wrong, it just created a dump on my machine after taking the steps you described above. If it doesn't do so when loaded as an extension you should try MiniDump's "stand-alone" mode as described in its <i>ReadMe</i> file (from its debugger section):</p><blockquote><p>The package now also includes a "stand-alone" debugger (PMDebug.exe) which does essentially the same as the extension except that it does not prompt for user input and cannot grab Pegasus Mail's system configuration automatically. It may be more reliable in some cases as it does not run as part of Pegasus Mail and will not be affected by its crashes. It works like follows: [...] </p></blockquote><p>(More details about how it works in succeeding paragraphs)</p><p>But aside from this you're right: The call stack doesn't help fixing this since it points to TER/HTS which we cannot easily fix ourselves:</p><blockquote><p>kernel32!UnhandledExceptionFilter+0x60 WARNING: Stack unwind information not available. Following frames may be wrong. ter32!CellBorderColorParam+0x1b201b ter32!CellBorderColorParam+0x109a53 ter32!CellBorderColorParam+0x108380 ter32!CellBorderColorParam+0x10fff2 ter32!CellBorderColorParam+0x110785 ter32!CellBorderColorParam+0x110fb8 ter32!CellBorderColorParam+0x114049 hts32!HtsSetFontSize+0x5e0b8 hts32!HtsSetFontSize+0x12c19 hts32!HtsSetFontSize+0x129be hts32!HtsSetFontSize+0x2bbea hts32!HtsSetFontSize+0x2b7a7 hts32!HtsSetFontSize+0x2875a hts32!HtsSetFontSize+0x27c69 hts32!HtsSetFontSize+0x18fa3</p></blockquote><p>I might be able to do something about it by fixing my UTF-8 decoding for IERenderer, it might help avoiding the crash in TER/HTS as well. </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Thanks for providing crash dumps: The crash shown in there is different from the one I could duplicate. I still have to run Pegasus Mail via my Delphi debugger for checking the UTF-8 decoding failure, but I don't know for sure whether this will fix your and my crashs at the same time.

Thanks for providing crash dumps: The crash shown in there is different from the one I could duplicate. I still have to run Pegasus Mail via my Delphi debugger for checking the UTF-8 decoding failure, but I don't know for sure whether this will fix your and my crashs at the same time.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

It is good that you can duplicate crash. I am not using minidump so frequently as you do, so I can do something wrong.

I did completelly different approach, I have used Visual studio 2008 Express, attach to PMail process and then  try to open defective mail. Visual studio did not catch any callstack as it does for many other cases.

Please keep in mind that this kind of crash could be misused with black hat people to generate mailbomb and/or to inject some type of worm.

If you have some fixed DLL, I can test it :).

<p>It is good that you can duplicate crash. I am not using minidump so frequently as you do, so I can do something wrong.</p><p>I did completelly different approach, I have used Visual studio 2008 Express, attach to PMail process and then  try to open defective mail. Visual studio did not catch any callstack as it does for many other cases. </p><p><b>Please keep in mind that this kind of crash could be misused with black hat people to generate mailbomb and/or to inject some type of worm. </b> </p><p>If you have some fixed DLL, I can test it :). </p>

[quote user="fojtik"]Please keep in mind that this kind of crash could be misused with black hat people to generate mailbomb and/or to inject some type of worm. [/quote]

Pegasus Mail isn't wide spread enough to serve as a worthwhile target, nobody would really bother to create code targeting some 10,000 users worldwide.

<p>[quote user="fojtik"]<b>Please keep in mind that this kind of crash could be misused with black hat people to generate mailbomb and/or to inject some type of worm. </b>[/quote]</p><p>Pegasus Mail isn't wide spread enough to serve as a worthwhile target, nobody would really bother to create code targeting some 10,000 users worldwide. </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

[quote user="fojtik"]It is good that you can duplicate crash. I am not using minidump so frequently as you do, so I can do something wrong.[/quote]

Like I wrote before, the crash I can duplicate isn't the same one you encounter (comparing the call stacks of both tells me so). The one happening when opening the HTML part as attachment cannot be fixed without someone who can figure out why TER has a problem with you message, i.e. either David Harris or the developers of TER. I could fix the UTF-8 decoding failure, though, but it doesn't fix this crash either since IER isn't involved when opening HTML parts as attachments.

David Harris hasn't replied to my findings from your dump yet, so I don't have any idea how your crash can be fixed. IER isn't involved as far as the call stack tells me. So I have two more questions: What exactly do you do for getting the crash (other than opening the HTML part as attachment which is a different issue as explained above)? Is IMAP involved?

<p>[quote user="fojtik"]It is good that you can duplicate crash. I am not using minidump so frequently as you do, so I can do something wrong.[/quote]</p><p>Like I wrote before, the crash I can duplicate isn't the same one you encounter (comparing the call stacks of both tells me so). The one happening when opening the HTML part as attachment cannot be fixed without someone who can figure out why TER has a problem with you message, i.e. either David Harris or the developers of TER. I could fix the UTF-8 decoding failure, though, but it doesn't fix this crash either since IER isn't involved when opening HTML parts as attachments.</p><p>David Harris hasn't replied to my findings from your dump yet, so I don't have any idea how your crash can be fixed. IER isn't involved as far as the call stack tells me. So I have two more questions: What exactly do you do for getting the crash (other than opening the HTML part as attachment which is a different issue as explained above)? Is IMAP involved? </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

[quote]On the second machine the Email is displayed, please click to "Attachment" tab and try to click to "Plain text" and "HTML text", this will surely crash [/quote]

OK - if I do it that way, Pegasus crashes. I experienced that with other mails too. I think at that point the IERenderer isn't involved.

Anyway - why are you opening HTML (formatted version) that way? Pegasus doesn't crash, if you use the icon in the mails window for switching between text and formatted version of the mail (icon left of search-icon). Alternatively press SHIFT+A.

bye    Olaf
<p>[quote]On the second machine the Email is displayed, please click to "Attachment" tab and try to click to "Plain text" and "<b>HTML text</b>", this will surely <b>crash [/quote]</b> </p><p>OK - if I do it that way, Pegasus crashes. I experienced that with other mails too. I think at that point the IERenderer isn't involved.</p><p>Anyway - why are you opening HTML (formatted version) that way? Pegasus doesn't crash, if you use the icon in the mails window for switching between text and formatted version of the mail (icon left of search-icon). Alternatively press SHIFT+A. </p>bye    Olaf
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