Bug #10157 2007-01-29 17:50

woodroof

CB not responding after opening html (CRLF) with LF EOL mode

I try to open this (incorrect!!!) file. All EOL chars are CR+LF:
<html>
<head>
<title>Îáúÿâëåíèÿ</title>
<meta http-equiv=Content-Type content="text/html; charset=windows-1251">
<link rel=stylesheet href=rpgnet.css type=text/css>
</head>

<body bgcolor=#000000 text=#FFCC66 link=#FFCC00 vlink=#FF9900 alink=#FFCC33>
<table width=750 border=0 cellspacing=0 cellpadding=0 align=center>
	<tr>
		<td>
			<table border=0 cellspacing=0 cellpadding=0 align=center>
				<tr>
					<td colspan=2>
						<table border=0 cellspacing=0 cellpadding=0>
							<tr>
								<td><img src=images/main11.jpg width=212 height=140 alt="RPG Net"></td>
								<td><img src=images/main12.jpg width=42 height=140></td>
								<td><img src=images/main13.jpg width=145 height=140></td>
								<td><img src=images/main14.jpg width=192 height=140></td>
								<td><img src=images/main15.jpg width=159 height=140></td>
							</tr>
							<tr>
								<td><img src=images/main21.jpg width=212 height=67></td>
								<td><img src=images/main22.jpg width=42 height=67></td>
								<td><img src=images/main23.jpg width=145 height=67></td>
								<td align=center>
									<div class=TitleName1><font size=+2><i>Îáúÿâëåíèÿ</i></font></div>
								</td>
								<td><img src=images/main25.jpg width=159 height=67></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td width=211 valign=top>
						<table width=100% border=0 cellspacing=0 cellpadding=0>
							<tr>
								<td><a href=main.html><img src=images/mainbut1.jpg width=212 height=58 alt=Ãëàâíàÿ border=0></a></td>
							</tr>
							<tr>
								<td><a href=news.html><img src=images/mainbut2.jpg width=212 height=57 alt=Íîâîñòè border=0></a></td>
							</tr>
							<tr>
								<td><a href=games.html><img src=images/mainbut3.jpg width=212 height=58 alt=Èãðû border=0></a></td>
							</tr>
							<tr>
								<td><a href=gallery.html><img src=images/mainbut4.jpg width=212 height=58 alt=Ãàëåðåÿ border=0></a></td>
							</tr>
							<tr>
								<td><a href=other.html><img src=images/mainbut5.jpg width=212 height=57 alt=Ðàçíîå border=0></a></td>
							</tr>
							<tr>
								<td><a href=announcements.html><img src=images/mainbut6.jpg width=212 height=58 alt=Îáúÿâëåíèÿ border=0></a></td>
							</tr>
							<tr>
								<td><a href=http://www.narod.ru/guestbook/?owner=6527668 target=_blank><img src=images/mainbut7.jpg width=212 height=58 alt=Ãîñòåâàÿ border=0></a></td>
							</tr>
							<tr>
								<td><a href=forum.html target=_blank><img src=images/mainbut8.jpg width=212 height=58 alt=Ôîðóì border=0></a></td>
							</tr>
							<tr>
								<td><a href=http://narod.yandex.ru/chat/chat_enter.xhtml?mychat_id=6527668 target=_blank><img src=images/mainbut9.jpg width=212 height=57 alt=×àò border=0></a></td>
							</tr>
							<tr>
								<td><a href=links.html><img src=images/mainbutbottom.jpg width=212 height=58 alt=Ññûëêè border=0></a></td>
							</tr>
						</table>
					</td>
					<td width=538 valign=top>
						<div align=left>Õîòèòå ïîìåñòèòü îáúÿâëåíèå? <a href=mailto:rpgnet@narod.ru>Ïðèñûëàéòå</a>!</div>
						<p align=justify><u>Woodroof:</u><br>
						Îáúÿâëÿåòñÿ ïðèåì îò íàñåëåíèÿ ðàçëè÷íîãî ïðîÿâëåíèÿ òâîð÷åñòâà: ëèòåðàòóðíîãî, õóäîæåñòâåííîãî… Ïðèìåì ññûëêè íà èíòåðåñíûå ðåñóðñû. <a href=mailto:rpgnet@narod.ru>Ïèøèòå</a>, æäåì!</p>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td align=center><br>
			<DIV class=font2 align=center><BR>
				<FONT size=-1>(c) 2004 <A href=mailto:rpgnet@narod.ru>Keepers of RPG Net</A></FONT>
			</DIV>
		</td>
	</tr>
</table>
</body>
</html>
Category
 
Group
 
Status
Closed
Close date
2007-02-04 17:27
Assigned to
 
artoj 2007-02-02 21:08

Which OS / wxWidgets version / Code::Blocks revision?

woodroof 2007-02-03 05:07

Windows XP SP2

wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3

CB_20070128_rev3545_win32

artoj 2007-02-03 12:45

I can't reproduce this issue. If you create a minimal HTML file with nothing but standard ascii characters and CR+LF line endings does the issue still remain the same?

I think the hanging is because the characters you're using in the HTML file. For example in bug #010106 it's reported that some Russian characters crash Code::Blocks.

woodroof 2007-02-03 16:21

OK, may be problem is Russian chars...

woodroof 2007-02-03 18:26

Yes, you are right. You found a problem.

artoj 2007-02-04 13:11

Was it the same Russian characters as reported in the other bug or were there some additional characters that crash Code::Blocks also?

woodroof 2007-02-04 13:57

The same.

artoj 2007-02-04 17:27

OK, I'll close this bug now and we'll track the issue from the other bug. Thanks for the bug report.