Re: [ tidy-Bugs-1003888 ] Crashed when multiple unclosed <font> presents

I suppose that the bug stated below didn't fixed by fixed by patch provided in http://tidy.sf.net/bug/1004051.
I didn't used -clean option, but I failed to point it out that only Release version crashed,
but Debug version is OK.
 
Best regards.



"SourceForge.net" <noreply@sourceforge.net> wrote:
Bugs item #1003888, was opened at 2004-08-05 04:40
Message generated for change (Comment added) made by terry_teague
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1003888&group_id=27659

Category: HTML/XML/XHTML Parser
Group: None
>Status: Pending
>Resolution: Fixed
>Priority: 9
Submitted By: Tmailami (tmailami)
>Assigned to: Terry Teague (terry_teague)
Summary: Crashed when multiple unclosed presents

Initial Comment:
When using tidy(version from 2 Aug 2004) on Windows, 
it is crashed if sequence of unclosed tags 
presents. See attached file for example.

tmailami@yahoo.com

----------------------------------------------------------------------

>Comment By: Terry Teague (terry_teague)
Date: 2004-08-06 19:28

Message:
Logged In: YES 
user_id=225318

I assume you must have used the "-clean" option, as I could not 
reproduce the crash using the current (06 Aug 04) version of Tidy, until 
I used the "-clean" option.

With "-clean", got the following crash :

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00021c48 in DropFontElements (doc=0xcf400, node=0x55555555, 
pnode=0xbffff8b0) at LibSources/clean.c:2270
2270 next = node->next;
(gdb) bt
#0 0x00021c48 in DropFontElements (doc=0xcf400, node=
0x55555555, pnode=0xbffff8b0) at LibSources/clean.c:2270
#1 0x00021cb4 in DropFontElements (doc=0xcf400, node=0xd2d70, 
pnode=0xbffff910) at LibSources/clean.c:2276
#2 0x00021cb4 in DropFontElements (doc=0xcf400, node=0xd2d10, 
pnode=0xbffff970) at LibSources/clean.c:2276
#3 0x00021cb4 in DropFontElements (doc=0xcf400, node=0xd2c70, 
pnode=0xbffff9d0) at LibSources/clean.c:2276
#4 0x00021cb4 in DropFontElements (doc=0xcf400, node=0xcf400, 
pnode=0x0) at LibSources/clean.c:2276
#5 0x00006cac in tidyDocSaveStream (doc=0xcf400, out=0xdc9e0) at 
LibSources/tidylib.c:1313
#6 0x00006214 in tidyDocSaveStdout (doc=0xcf400) at LibSources/
tidylib.c:994
#7 0x00005f34 in tidySaveStdout (tdoc=0xcf400) at LibSources/
tidylib.c:895
#8 0x00003e9c in main (argc=2, argv=0xbffffc80) at ./Sources/
tidy.c:968
#9 0x00001cf4 in _start (argc=3, argv=0xbffffc7c, envp=0xbffffc8c) 
at /SourceCache/Csu/Csu-45/crt.c:267
#10 0x00001b74 in start ()

As Arnaud says, this is the same basic bug as #1004051.

And verified fixed with the patch in #1004051.

----------------------------------------------------------------------

Comment By: Arnaud Desitter (arnaud02)
Date: 2004-08-06 03:01

Message:
Logged In: YES 
user_id=566665

Should be fixed by patch provided in:
http://tidy.sf.net/bug/1004051


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1003888&group_id=27659

		
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
--0-490241618-1092042859=:21377
Content-Type: text/html; charset=us-ascii

<DIV>I suppose that&nbsp;the bug stated below didn't fixed by fixed by patch provided in <A href="http://tidy.sf.net/bug/1004051">http://tidy.sf.net/bug/1004051</A>.</DIV>
<DIV>I didn't used -clean option, but I failed to point it out that only Release version crashed,</DIV>
<DIV>but Debug version is OK.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards.<BR><BR><BR><BR><B><I>"SourceForge.net" &lt;noreply@sourceforge.net&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Bugs item #1003888, was opened at 2004-08-05 04:40<BR>Message generated for change (Comment added) made by terry_teague<BR>You can respond by visiting: <BR>https://sourceforge.net/tracker/?func=detail&amp;atid=390963&amp;aid=1003888&amp;group_id=27659<BR><BR>Category: HTML/XML/XHTML Parser<BR>Group: None<BR>&gt;Status: Pending<BR>&gt;Resolution: Fixed<BR>&gt;Priority: 9<BR>Submitted By: Tmailami (tmailami)<BR>&gt;Assigned to: Terry Teague (terry_teague)<BR>Summary: Crashed when multiple unclosed <FONT size=+0>presents<BR><BR>Initial Comment:<BR>When using tidy(version from 2 Aug 2004) on Windows, <BR>it is crashed if sequence of unclosed <FONT size=+0>tags <BR>presents. See attached file for example.<BR><BR>tmailami@yahoo.com<BR><BR>----------------------------------------------------------------------<BR><BR>&gt;Comment By: Terry Teague (terry_teague)<BR>Date: 2004-08-06
 19:28<BR><BR>Message:<BR>Logged In: YES <BR>user_id=225318<BR><BR>I assume you must have used the "-clean" option, as I could not <BR>reproduce the crash using the current (06 Aug 04) version of Tidy, until <BR>I used the "-clean" option.<BR><BR>With "-clean", got the following crash :<BR><BR>Program received signal EXC_BAD_ACCESS, Could not access memory.<BR>0x00021c48 in DropFontElements (doc=0xcf400, node=0x55555555, <BR>pnode=0xbffff8b0) at LibSources/clean.c:2270<BR>2270 next = node-&gt;next;<BR>(gdb) bt<BR>#0 0x00021c48 in DropFontElements (doc=0xcf400, node=<BR>0x55555555, pnode=0xbffff8b0) at LibSources/clean.c:2270<BR>#1 0x00021cb4 in DropFontElements (doc=0xcf400, node=0xd2d70, <BR>pnode=0xbffff910) at LibSources/clean.c:2276<BR>#2 0x00021cb4 in DropFontElements (doc=0xcf400, node=0xd2d10, <BR>pnode=0xbffff970) at LibSources/clean.c:2276<BR>#3 0x00021cb4 in DropFontElements (doc=0xcf400, node=0xd2c70, <BR>pnode=0xbffff9d0) at LibSources/clean.c:2276<BR>#4 0x00021cb4 in
 DropFontElements (doc=0xcf400, node=0xcf400, <BR>pnode=0x0) at LibSources/clean.c:2276<BR>#5 0x00006cac in tidyDocSaveStream (doc=0xcf400, out=0xdc9e0) at <BR>LibSources/tidylib.c:1313<BR>#6 0x00006214 in tidyDocSaveStdout (doc=0xcf400) at LibSources/<BR>tidylib.c:994<BR>#7 0x00005f34 in tidySaveStdout (tdoc=0xcf400) at LibSources/<BR>tidylib.c:895<BR>#8 0x00003e9c in main (argc=2, argv=0xbffffc80) at ./Sources/<BR>tidy.c:968<BR>#9 0x00001cf4 in _start (argc=3, argv=0xbffffc7c, envp=0xbffffc8c) <BR>at /SourceCache/Csu/Csu-45/crt.c:267<BR>#10 0x00001b74 in start ()<BR><BR>As Arnaud says, this is the same basic bug as #1004051.<BR><BR>And verified fixed with the patch in #1004051.<BR><BR>----------------------------------------------------------------------<BR><BR>Comment By: Arnaud Desitter (arnaud02)<BR>Date: 2004-08-06 03:01<BR><BR>Message:<BR>Logged In: YES <BR>user_id=566665<BR><BR>Should be fixed by patch provided
 in:<BR>http://tidy.sf.net/bug/1004051<BR><BR><BR>----------------------------------------------------------------------<BR><BR>You can respond by visiting: <BR>https://sourceforge.net/tracker/?func=detail&amp;atid=390963&amp;aid=1003888&amp;group_id=27659<BR></BLOCKQUOTE></FONT></FONT><p>
		<hr size=1>Do you Yahoo!?<br>
Yahoo! Mail is new and improved - <a href="http://us.rd.yahoo.com/mail_us/taglines/new/*http://promotions.yahoo.com/new_mail">Check it out!</a>
--0-490241618-1092042859=:21377--

Received on Monday, 9 August 2004 11:35:31 UTC