Ticket #119 (closed task: fixed)
ST_AsSVG crashed DB backend with large geometries.
| Reported by: | mgl.gis | Owned by: | colivier |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.4.0 |
| Component: | postgis | Version: | 1.4 |
| Keywords: | Cc: |
Description
Hello, this is a follow-up from a question I posted on the users list.
I've found that ST_AsSVG will cause the database connection to lock-up, with the following message in the pg_log:
** glibc detected *** postgres: postgres testdb [local] SELECT: > realloc(): invalid next size: 0x000000000220f410 ***
I've attached a sample geometry in WKT/WKB format, but the geometry itself seems to be arbitrary, as I can cause this to happen with a variety of geometries that I merge together using st_union. The attached sample is just a bunch of lines and points that I selected from a couple layers I have.
If there is anything I can do to help debug this, let me know.

