Opened 14 years ago

Closed 14 years ago

#896 closed defect (fixed)

WARNING: transaction left non-empty SPI stack

Reported by: strk Owned by: jorgearevalo
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

make check fails the mapalgebra test for me. The diff includes lines of this kind:

+WARNING:  transaction left non-empty SPI stack
+HINT:  Check for missing "SPI_finish" calls.
+|19
+WARNING:  transaction left non-empty SPI stack
+HINT:  Check for missing "SPI_finish" calls.
+|1

This is as of r6994 against PostgreSQL 8.4.3 on x86_64-pc-linux-gnu

Change History (4)

comment:1 by jorgearevalo, 14 years ago

Owner: changed from pracine to jorgearevalo
Status: newassigned

Yes, this is to avoid the server crash. I don't want to update the mapalgebra expected text, just to serve as reminder. Related ticket #837.

comment:2 by jorgearevalo, 14 years ago

Resolution: fixed
Status: assignedclosed

SPI_finish call added in r7025. I close the ticket.

comment:3 by strk, 14 years ago

Resolution: fixed
Status: closedreopened

Make check still shows it:

--- rt_mapalgebra_expected      2011-04-23 09:18:55.000000000 +0200
+++ /tmp/pgis_reg_23718/test_26_out     2011-04-23 10:24:42.000000000 +0200
@@ -1,16 +1,24 @@
-NOTICE:  Raster is NULL. Returning NULL
+WARNING:  RASTER_mapAlgebra: Raster is NULL. Returning NULL
 t
-NOTICE:  Raster is empty. Returning an empty raster
+WARNING:  RASTER_mapAlgebra: Raster is empty. Returning an empty raster
 t
-NOTICE:  Raster do not have the required band. Returning a raster without a ban
d
+WARNING:  RASTER_mapAlgebra: Raster do not have the required band. Returning a 
raster without a band
 t
+WARNING:  transaction left non-empty SPI stack
+HINT:  Check for missing "SPI_finish" calls.

This is with r7059, after make clean all check

comment:4 by strk, 14 years ago

Resolution: fixed
Status: reopenedclosed

Uhm. make check succeeded after a 'make install'. I guess this is a different bug then ('make check' not really using off-install lib)

Note: See TracTickets for help on using tickets.