Microsoft Visual C++ Debug Library: Debug Assertion Failed!

Topics: Developer Forum, Project Management Forum, User Forum
Jul 7, 2008 at 3:43 AM
IIS crashes


the log is

事件类型:    信息
事件来源:    Application Popup
事件种类:    无
事件 ID:    26
日期:        2008-7-7
事件:        10:13:04
用户:        N/A
计算机:    1KC50JJMMUAOFEN
描述:
弹出应用程序: Microsoft Visual C++ Debug Library: Debug Assertion Failed!

Program: c:\windows\system32\inetsrv\w3wp.exe
File: f:\rtm\vctools\crt_bld\self_x86\crt\src\vsprintf.c
Line: 244

Expression: ("Buffer too small", 0)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)

有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。


Ionic ISAPI Rewriting Filter (IIRF) v1.2.14 final R2

RewriteLog  C:\Inetpub\Log\iirfLog.out
RewriteLogLevel 1
MaxMatchCount 1
CondSubstringBackrefFlag ~
RewriteCond %{HTTP_HOST}            (?:www\.)?(.*?)(\..+)    [I]
RewriteRule ^/$            /html/~1/default.htm    [U,I,L]
RewriteCond %{HTTP_HOST}            (?:www\.)?(.*?)(\..+)    [I]
RewriteRule ^(/[^(html)]+.*\.htm)$ /html/~1$1    [U,I,L]
RewriteCond %{HTTP_REFERER} ^(?!.*?(HTTP_REFERER|cn21edu|858zdx|dlpldedu|30edu|hbwchy|dqjyzx|hyez|qhytsyzx|chsdyzx)).+$    [I]
RewriteRule ^(.*?)\.(gif|css|jpg|rar|mp3|png|zip|rm|rmvb|js|data|swf)$    拒绝访问    [F]
RewriteCond %{HTTP_REFERER} ^(?!.*?(HTTP_REFERER|cn21edu|858zdx|dlpldedu|30edu|hbwchy|dqjyzx|hyez|qhytsyzx|chsdyzx)).+$    [I]
RewriteRule ^/(downbook|ebook|video|App_Themes|AspnetUpload_Script|lionsky_client|Photo|Resource|Skin|UpLoadImage|Images|img|js)     拒绝访问    [F]

My english is so bad!

Can only one help me,Many thanks!

I can only use iisreset when IIS crashes!!!

Jul 7, 2008 at 3:54 AM
maybe url contain Unicode char cause Buffer too small
Coordinator
Jul 7, 2008 at 10:26 PM
You may be right.  I have not designed IIRF to be unicode-aware.
Jul 8, 2008 at 4:36 AM
Many thanks!
This seems to be a bug... any work from devs on this one?
Coordinator
Jul 8, 2008 at 7:04 AM

Hmm, I don't know what you mean... Can you ask that question another way?

 

Sep 20, 2008 at 9:08 AM
Edited Oct 6, 2008 at 10:57 AM
不用 RewriteCond 就没事
估计是 RewriteCond 设计不合理

忽略他 就没事 一样用的 点击 忽略就行
Coordinator
Oct 1, 2008 at 11:17 PM

???? withtao,

are you still having a problem ?

are you using v1.2.12?

1.2.14?

can you try 1.2.15?

 

Oct 6, 2008 at 10:29 AM
Edited Oct 6, 2008 at 11:08 AM
hehe ~~
I try 1.2.14
and got the "buffer too small " error again
maybe   because of the "sprintf" function 

the magbox show me the alert,but if i ignore it ,the iirf still work OK
-----------------------------------------------------------------------
Microsoft Visual C++ Debug Library: Debug Assertion Failed!

Program: C:\WINNT\system32\inetsrv\inetinfo.exe
File: f:\rtm\vctools\crt_bld\self_x86\crt\src\vsprintf.c
Line: 244

Expression: ("Buffer too small", 0)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
----------------------------------------------------------



not too bad to me

i use it on a 140000IP per day 's site
and can not record the log ,cause it's too much
I set the log level to 0,so I had not see the log and the error url


Coordinator
Oct 6, 2008 at 9:39 PM
Can you tell me the exact version string from iirfversion.exe  ?

There are different oatch levels for v1.2.14 .
I have patched the latest v1.2.14 to NOT emit this message in the cases I observed.  If you are still seeing the error on "v1.2.14 R4" then I have another problem.
If you are not running on "v1.2.14 R4", then can I ask you to get the R4 release?  (It is just the current v1.2.14 release on the releases tab).