IIRF 2.1.1.2 crashing W3SVC

Topics: Developer Forum
Apr 4, 2010 at 7:00 PM

Unfortunately iirf.dll version 2.1.1.2 is causing my W3SVC process to fault with the following error in the system event log:

Event Type:    Warning
Event Source:    W3SVC
Event Category:    None
Event ID:    1009
Date:        4/4/2010
Time:        1:24:29 PM
User:        N/A
Computer:  myhost
Description:
A process serving application pool 'Wordpress AppPool' terminated unexpectedly. The process id was '744'. The process exit code was '0x80'.

If I substitute in version 2.1.0.15 or 2.1.0.16 it works fine.

I'm running Windows Server 2003 R2 Standard 32 bit.

Coordinator
Apr 4, 2010 at 9:32 PM
Edited Apr 4, 2010 at 9:33 PM

Hm, is it repeatable?

can you get me an IIRF logfile from the crashing process?  With Loglevel at 5 ?

 

Apr 4, 2010 at 10:39 PM

Happened every time.  Log level was at 5.  There were no error messages per se, but the log simply stopped after evaluating the last rule in iirf.ini.  I'll see if I can't generate you an error log, but it didn't contain anything other than that.

 

Apr 4, 2010 at 10:54 PM

Here's a log from a crash.  It crashes *every* time.  It'll restart the process 3 or 5 times (I can't remember what I have it set for), then shut the process down for good.  When I swap out to an earlier version of iirf, there are no crashes.

Sun Apr 04 17:45:25 -  5820 - -------------------------------------------------------
Sun Apr 04 17:45:25 -  5820 - Ionic ISAPI Rewriting Filter (IIRF) 2.1.1.2 RELEASE
Sun Apr 04 17:45:25 -  5820 - IIRF was built on: Apr  3 2010 23:18:36
Sun Apr 04 17:45:25 -  5820 - Cached: DLL_PROCESS_ATTACH
Sun Apr 04 17:45:25 -  5820 - Cached: Process ID: 3988
Sun Apr 04 17:45:25 -  5820 - Cached: ReadServerConfig: C:\Program Files\Ionic Shade\IIRF2.1\bin\IirfGlobal.ini(23): Filter Priority is now: MEDIUM (0x40000)
Sun Apr 04 17:45:25 -  5820 - Cached: ReadServerConfig: C:\Program Files\Ionic Shade\IIRF2.1\bin\IirfGlobal.ini(46): NotifyLog setting is now: OFF
Sun Apr 04 17:45:25 -  5820 - Cached: ReadServerConfig: C:\Program Files\Ionic Shade\IIRF2.1\bin\IirfGlobal.ini(62): RewriteEngine setting is now: ON
Sun Apr 04 17:45:25 -  5820 - Cached: DLL_PROCESS_ATTACH - complete
Sun Apr 04 17:45:25 -  5820 - Cached: GetFilterVersion
Sun Apr 04 17:45:25 -  5820 - GetLogFile: app:'/LM/W3SVC/1152104507/Root'  new log:'C:\windows\system32\LogFiles\iirf\iirf.3988.log'
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: actual log file 'C:\windows\system32\LogFiles\iirf\iirf.3988.log'
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: ini file: 'E:\Wordpress_Main\Iirf.ini'
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: ini file timestamp: 2010/04/04 17:44:40 Eastern Daylight Time
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: cfg(0x029545E8)
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: LogLevel = 5
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: pass 2
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(1): StatusInquiry ON /iirfstatus RemoteOK
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(1): IIRF Status Inquiry is enabled at path '/iirfstatus' for local or remote requests.
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(6): RewriteBase will be enabled.
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(9): RewriteCond   %{HTTP_X_REWRITE_URL}  ^HTTP_X_REWRITE_URL$ '(null)'
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(11): RewriteHeader (rule 1)  'X-REWRITE-URL:'  '.*'  '%{SCRIPT_NAME}?%{QUERY_STRING}'   (null)
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(12): RewriteHeader (rule 3)  'X-REWRITE-URL:'  '^(.+)\?$'  '$1'   (null)
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(16): RewriteRule (rule 5)  '^/(.*/)?files/$'  '/index.php'  [QSA,L]
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: '[QSA,L]'
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'QSA'
Sun Apr 04 17:45:25 -  5820 - rule: Querystring Append
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'L'
Sun Apr 04 17:45:25 -  5820 - rule: Last
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(17): RewriteCond   %{HTTP_X_REWRITE_URL}  !/.*wp-content/plugins.* '(null)'
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(18): RewriteRule (rule 7)  '^/(.*/)?files/(.*)'  '/wp-content/blogs.php?file=$2'  [QSA,L]
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: '[QSA,L]'
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'QSA'
Sun Apr 04 17:45:25 -  5820 - rule: Querystring Append
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'L'
Sun Apr 04 17:45:25 -  5820 - rule: Last
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(21): RewriteCond   %{HTTP_X_REWRITE_URL}  ^/.*/wp-admin$ '(null)'
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(22): RedirectRule (rule 9)  '^/(.+)$'  '$1/'  [R=301]
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: '[R=301]'
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'R=301'
Sun Apr 04 17:45:25 -  5820 - rule: Redirect(301)
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(22): INFO: Redirecting to a target that does not include an http(s):// scheme.
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: The rule will Redirect to a target on the local machine
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(24): RewriteCond   %{REQUEST_FILENAME}  -f '[OR]'
Sun Apr 04 17:45:25 -  5820 - ParseCondModifierFlags: '[OR]'
Sun Apr 04 17:45:25 -  5820 - ParseCondModifierFlags: token 'OR'
Sun Apr 04 17:45:25 -  5820 - Cond: Logical OR
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(25): RewriteCond   %{REQUEST_FILENAME}  -d '(null)'
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(26): RewriteRule (rule 11)  '.'  '-'      [L]
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: '[L]'
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'L'
Sun Apr 04 17:45:25 -  5820 - rule: Last
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(27): RewriteRule (rule 13)  '^/([_0-9a-zA-Z-]+/)?(wp-.*)'  '/$2'  [QSA,L]
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: '[QSA,L]'
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'QSA'
Sun Apr 04 17:45:25 -  5820 - rule: Querystring Append
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'L'
Sun Apr 04 17:45:25 -  5820 - rule: Last
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(28): RewriteRule (rule 15)  '^/([_0-9a-zA-Z-]+/)?(.*\.php)$'  '/$2'  [QSA,L]
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: '[QSA,L]'
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'QSA'
Sun Apr 04 17:45:25 -  5820 - rule: Querystring Append
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'L'
Sun Apr 04 17:45:25 -  5820 - rule: Last
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: E:\Wordpress_Main\Iirf.ini(29): RewriteRule (rule 17)  '.'  '/index.php'      [L]
Sun Apr 04 17:45:25 -  5820 - ReadVdirConfig: not a duplicate rule...
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: '[L]'
Sun Apr 04 17:45:25 -  5820 - ParseRuleModifierFlags: token 'L'
Sun Apr 04 17:45:25 -  5820 - rule: Last

Also, I had to install it manually as I used the MSI installer for version 2.1.0.16, and it threw a missing script error when I attempted to uninstall.  Now the Installer for 2.1.1.2 says a previous version is already installed (I manually removed all the old files) and I don't know off hand to fix that.  But I've triple checked all the permissions, and 2.1.0.16 works fine with the same settings and permissions.

Any idea how to clean up the old install entry of 2.1.0.16, so the MSI works for 2.1.1.2?

 

Coordinator
Apr 4, 2010 at 11:37 PM

seems like a problem reading the ini file, likely a badly formed printf statement.

can you upload the ini file that you are using?

 

Coordinator
Apr 4, 2010 at 11:40 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Apr 5, 2010 at 2:01 AM

ok thanks for the ini file.  Please try v2.1.1.3. 

Apr 5, 2010 at 4:10 AM

Ahhh, much better!  Thanks for that, now I can clean up the solution.  I'll open another discussion for the 1 or 2 questions I have remaining.