[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [help-cgicc] Debug / Release Problem

From: Stephen F. Booth
Subject: RE: [help-cgicc] Debug / Release Problem
Date: Wed, 30 Oct 2002 09:55:06 -0500

I realize I'm very little help since I don't own a Windows compiler, but
something comes to mind that I believe I've seen in the past.  I
remember building a library and seeing similar problems when switching
from Debug to Release or vice-versa when I was linking to the wrong
version of some system library.  Perhaps the cgicc project files are
linking to the release libs, so on Debug mode there is a multithreading

That's all I can think of.  Maybe someone who actually develops on
Windows can help.


> -----Original Message-----
> From: address@hidden [mailto:address@hidden On
> Of address@hidden
> Sent: Wednesday, October 30, 2002 8:15 AM
> To: address@hidden
> Subject: [help-cgicc] Debug / Release Problem
> I am working on a CGI application that takes a few input parameters,
> some processing and outputs the result as XML stream back to the CGI
> interface.
> The actual internal workings are more or less irrelevant.
> The application works fine in the release version, but in the debug
> version,
> the result apparently is sent to the CGI interface, but doesn't seem
> arrive there.
> I have managed to track down this issue to a single line of code. When
> this
> line is active, the debug version doesn't work, when it is commented
> it
> DOES work.
> I've got a hard time believing that, but see for yourself:
> [snip]
> const_form_iterator itStartCountry = cgi.getElement ("StartCountry");
> if (itStartCountry == (*cgi).end () || itStartCountry->isEmpty ())
> {
>    writer.error2XMLReply ("Parameter 'StartCountry' is missing.");
>    return 0;
> }
> else strStartCountry = **itStartCountry;
> [snip]
> (writer.error2XMLReply is just a XML writer that wraps the error
> into XML...)
> The code line in question is the last one ("else strStartCountr ...")
> don't really think I am doing anything special here, but the error is
> completely
> reproducible on multiple systems all running W2K / Apache 2.0 / IE6 /
> cgicc
> 3.2
> Just to make that absolutely clear: The application doesn't crash, it
> doesn't throw any exceptions (as far as I can tell...), the Apache
> logs don't
> have any entries. The only symptoms in the debug versions are that
> of displaying the XML results (like in the release version), the
> keeps
> 'waiting' (displaying the rotating logo) and after some time, times
> The
> CGI application stays in memory as a non-killable process.
> I can't get build the cgicc library with logging support enabled, so
> is no chance on hints from there. I don'T know either how to run a CGI
> application in debug mode (so I can step through it...), but maybe
> has a tip
> concernign that...
> Any ideas ?!?
> Steve
> --
> +++ GMX - Mail, Messaging & more +++
> NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
> _______________________________________________
> help-cgicc mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]