Gflax ASp on Windows 2008 64-bit

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

Post Reply
jerry2
Posts: 18
Joined: Wed Apr 30, 2008 2:05 pm

Gflax ASp on Windows 2008 64-bit

Post by jerry2 » Wed Oct 21, 2009 12:58 pm

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 :-(

jerry2
Posts: 18
Joined: Wed Apr 30, 2008 2:05 pm

Re: Gflax ASp on Windows 2008 64-bit

Post by jerry2 » Tue Oct 27, 2009 2:07 pm

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 :-/

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Gflax ASp on Windows 2008 64-bit

Post by xnview » Tue Oct 27, 2009 2:12 pm

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.
And What do you make?
Pierre.

jerry2
Posts: 18
Joined: Wed Apr 30, 2008 2:05 pm

Re: Gflax ASp on Windows 2008 64-bit

Post by jerry2 » Tue Oct 27, 2009 9:47 pm

xnview wrote:
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.
And What do you make?
I can not understand the question. What do I make?

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Gflax ASp on Windows 2008 64-bit

Post by xnview » Wed Oct 28, 2009 7:45 am

Which GFLAx function do you use?
Pierre.

jerry2
Posts: 18
Joined: Wed Apr 30, 2008 2:05 pm

Re: Gflax ASp on Windows 2008 64-bit

Post by jerry2 » Wed Oct 28, 2009 10:45 am

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.

jerry2
Posts: 18
Joined: Wed Apr 30, 2008 2:05 pm

Re: Gflax ASp on Windows 2008 64-bit

Post by jerry2 » Wed Oct 28, 2009 8:54 pm

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 :-(

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Gflax ASp on Windows 2008 64-bit

Post by xnview » Thu Oct 29, 2009 8:11 am

jerry2 wrote:Unfortunately I can confirm that now server works when I have changed your module to another module...
Is it possible to have the code?
Pierre.

jerry2
Posts: 18
Joined: Wed Apr 30, 2008 2:05 pm

Re: Gflax ASp on Windows 2008 64-bit

Post by jerry2 » Thu Oct 29, 2009 8:20 am

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?

Post Reply