[Top][All Lists]

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

[help-cgicc] getElements().begin causes seg fault

From: Angus
Subject: [help-cgicc] getElements().begin causes seg fault
Date: Mon, 24 Nov 2008 09:36:02 -0800 (PST)

I have this problem where as soon as I call begin() on the array returned by
getElements() I register a segmentation fault. Here's my code:
int main(int argc, const char *argv[]) {
        int nReturn = EXIT_FAILURE;
        try {
                        Cgicc cgi;
                        for(const_form_iterator iter = 
cgi.getElements().begin(); iter !=
cgi.getElements().end(); ++iter) {

and that's all there is to it. Valgrind registers a bunch of "conditional
jump or move depends on uninitialized values"s and then finally an "invalid
read". I've got what appears to be the latest cgicc (3.2.7). What am I doing
View this message in context:
Sent from the cgicc - General mailing list archive at

reply via email to

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