Opened 13 years ago

Closed 13 years ago

#448 closed defect (invalid)

PHP Binding in Apache doesn't return libgeos errors

Reported by: bcrosby Owned by: strk
Priority: major Milestone:
Component: PHP Version: 3.3.0
Severity: Unassigned Keywords:
Cc:

Description

If there is an error with php code while using osgeo.so php bindings, apache segfaults.

No error message from GEOS is ever returned.

I've been able to reproduce it with the following code:

$reader = new GEOSWKTReader(); $writer = new GEOSWKTWriter(); $writer->setRoundingPrecision(5); $g1 = $reader->read();

Change History (2)

comment:1 by bcrosby, 13 years ago

Apache doesn't segfault if you specify a CoreDumpDirectory option in httpd.conf. The exception is now thrown to the browser.

comment:2 by strk, 13 years ago

Resolution: invalid
Status: newclosed

sounds like an apache bug

Note: See TracTickets for help on using tickets.