Is it working? I am getting problems with:
Unexpected error. A trappable error (C0000005) occurred in an external object. The script cannot continue running..
when using the module, at first it works, after about 30 minutes this error pops and the images I loa do not show any more
Gflax ASp on Windows 2008 64-bit
Moderators: XnTriq, helmut, xnview
-
- Posts: 18
- Joined: Wed Apr 30, 2008 2:05 pm
Re: Gflax ASp on Windows 2008 64-bit
It runs for 30 minutes or 1 day but eventually the leak takes all memory 3.8GB in my instance. It is a leak, the debug diag 1.1. pointed to this dll.
Wierd thing is this: In windows 2003 32-bit it also happened as soon as I installed IE8 on the server, when I removed the service patch the problem dissapeared.
Now I have 2008 and I can not go back to IE6 (seems some files are changed in IE8 that affect ASP and system)...
So now as the author doesn't have the time/motivation to fix this, is there any other component for pictures as good as this one? I would gladly pay the shareware fee if this module get's fixed :-/
Wierd thing is this: In windows 2003 32-bit it also happened as soon as I installed IE8 on the server, when I removed the service patch the problem dissapeared.
Now I have 2008 and I can not go back to IE6 (seems some files are changed in IE8 that affect ASP and system)...
So now as the author doesn't have the time/motivation to fix this, is there any other component for pictures as good as this one? I would gladly pay the shareware fee if this module get's fixed :-/
-
- Author of XnView
- Posts: 44304
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Gflax ASp on Windows 2008 64-bit
And What do you make?jerry2 wrote:It runs for 30 minutes or 1 day but eventually the leak takes all memory 3.8GB in my instance. It is a leak, the debug diag 1.1. pointed to this dll.
Wierd thing is this: In windows 2003 32-bit it also happened as soon as I installed IE8 on the server, when I removed the service patch the problem dissapeared.
Pierre.
-
- Posts: 18
- Joined: Wed Apr 30, 2008 2:05 pm
Re: Gflax ASp on Windows 2008 64-bit
I can not understand the question. What do I make?xnview wrote:And What do you make?jerry2 wrote:It runs for 30 minutes or 1 day but eventually the leak takes all memory 3.8GB in my instance. It is a leak, the debug diag 1.1. pointed to this dll.
Wierd thing is this: In windows 2003 32-bit it also happened as soon as I installed IE8 on the server, when I removed the service patch the problem dissapeared.
-
- Author of XnView
- Posts: 44304
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 18
- Joined: Wed Apr 30, 2008 2:05 pm
Re: Gflax ASp on Windows 2008 64-bit
Ah sorry, I use load bitmap, resize, sharpen, linecolor, fillcolor, drawfillrectangle, writefont and then stream to the bitmap (so picture.asp?id=10 shows pictures). I also save to disk thumbnail sometimes, but the majority of time I resize on the fly and write to screen. The first thing I notice is when traffic is high and many pictures are opened like this that the unexpected error appears, at that point memory of the application pool starts to grow from 200MB to 3.8GB -> in one hours, finally the application pool fails and recycles and everything is back to normal for some time. But the error: Unexpected error. A trappable error (C0000005) occurred in an external object. The script cannot continue running.. starts right before memory is not released any more from the pool...
I have now installed some other module for resizing pictures on the fly (that doesn't resize them as good as yours btw) and I am testing if it works. If there will be no more trapping errors and no more growing of memory consumption of application pool, it is a positive proof that your module has problems. I do think something is different or wrong with the new asp.dll or vbsrcipt.dll libraries that IE8 brought. I saw this modules were replaced during IE8 installation on windows 2003 and that is when the problem started, I went back to IE6 and the modules were put back.
Now I am on windows 2008 64-bit and unfortunately there is no going back any more to the old libraries. But there must be something in your module that the new MS libraries don't like.
I tried to link debug diag to the application pool that fails to see who makes so much memory leak (200MB - 3.8 GB!) but until now I wasn't lucky to find anything. As I told, the site can work for 20 hours with no problem then suddenly this started to happen, debug diag only traces for 60 or 120 minutes and until now, it only traced when error didn't appear
Hope that helps anything Thanx for taking the time.
I have now installed some other module for resizing pictures on the fly (that doesn't resize them as good as yours btw) and I am testing if it works. If there will be no more trapping errors and no more growing of memory consumption of application pool, it is a positive proof that your module has problems. I do think something is different or wrong with the new asp.dll or vbsrcipt.dll libraries that IE8 brought. I saw this modules were replaced during IE8 installation on windows 2003 and that is when the problem started, I went back to IE6 and the modules were put back.
Now I am on windows 2008 64-bit and unfortunately there is no going back any more to the old libraries. But there must be something in your module that the new MS libraries don't like.
I tried to link debug diag to the application pool that fails to see who makes so much memory leak (200MB - 3.8 GB!) but until now I wasn't lucky to find anything. As I told, the site can work for 20 hours with no problem then suddenly this started to happen, debug diag only traces for 60 or 120 minutes and until now, it only traced when error didn't appear
Hope that helps anything Thanx for taking the time.
-
- Posts: 18
- Joined: Wed Apr 30, 2008 2:05 pm
Re: Gflax ASp on Windows 2008 64-bit
Unfortunately I can confirm that now server works when I have changed your module to another module...
But your module is top of the art, I have realised you did something special. Writing text on jpeg stream makes text 100% crisp without artefacts, how is that possible as all together is save in JPEG stream that doesn't work with text very good... Congratulations.
If only you could find and fix that problem
But your module is top of the art, I have realised you did something special. Writing text on jpeg stream makes text 100% crisp without artefacts, how is that possible as all together is save in JPEG stream that doesn't work with text very good... Congratulations.
If only you could find and fix that problem
-
- Author of XnView
- Posts: 44304
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Gflax ASp on Windows 2008 64-bit
Is it possible to have the code?jerry2 wrote:Unfortunately I can confirm that now server works when I have changed your module to another module...
Pierre.
-
- Posts: 18
- Joined: Wed Apr 30, 2008 2:05 pm
Re: Gflax ASp on Windows 2008 64-bit
Of course, but privately. I know which page now makes fault, the one that is called quite often and streams pictures to the screen. I changed module on this page and no error and application pool failure.
You need the code on this page, how can I send it privately?
You need the code on this page, how can I send it privately?