[mapserver-users] Error double free or corruption in PHP Mapscript for WxS with Layer->setprocessing()

Sarawut Ninsawat sarawut.map at gmail.com
Wed Jun 24 05:24:18 EDT 2009


Hi all

I try to make php Mapscript for WMS request with specific BANDS 
Processing parameters.

        $oLayer = $oMap->getLayerByName("testdata");
        $oLayer->clearProcessing();
        $bands="1,2,3,4,5,6,7";
        $oLayer->setprocessing("BANDS=".$bands);
        $oMap->owsdispatch($request);

Then I got the error as *** glibc detected *** double free or corruption 
(!prev): 0x0000000000aa96e0 *** in log file

I can do it with $bands="1,2,3,4,5". It is works well.

If I implement directly from cgi  and specific PROCESSING = 
"BANDS=1,2,3,4,5,6,7,8,9,10" in mapfile. It is also work.

Please advise me.

Best regards

Sarawut


More information about the mapserver-users mailing list