Ticket #448 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by bcrosby

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

Changed 2 years ago by strk

  • status changed from new to closed
  • resolution set to invalid

sounds like an apache bug

Note: See TracTickets for help on using tickets.