[OpenSER-Users] openser 1.2.2 segmentation fault

Marco marco at comm.cc
Thu Aug 30 14:52:09 CEST 2007


Hi all,
I'm trying to run openser 1.2.2 on Linux, but
I obtain alway a segfault while loading module.
The gdb shows:
Program terminated with signal 11, Segmentation fault.
#0  pg_free_row (_row=0x785bc8) at db_res.c:575
575               switch (VAL_TYPE(_val)) {


I've a complex configuration, but the problem arise early so
I don't think it's a configuration issue.
The last messages I got in the log are:
openser[31824]: PG[free_query]: PQclear(0x863a70) result set 
openser[31824]: PG[free_columns]: Freeing RES_NAMES(0x785b20)[0] -> free(0x785b90) 'table_version' 
openser[31824]: PG[free_columns]: 0x785b90=pkg_free() RES_NAMES[0] 
openser[31824]: PG[free_columns]: 0x785b60=pkg_free() RES_NAMES 
openser[31824]: PG[free_columns]: 0x785b78=pkg_free() RES_TYPES 
openser[31824]: PG[free_rows]: Freeing 1 rows 
openser[31824]: PG[free_rows]: Row[0]=0x785bc8 

The last query I could see in the database is
"select table_version from version where table_name='domain'"
(it returns 1)


I use postgres 8.2.4 on Linux  2.6.18 with xen, and gcc 4.1.3.

Could someone suggest how I can investigate further?


TIA,
-- 
	"Work and play are words used to
	describe the same thing under
	differing conditions."  Mark Twain
  http://people.equars.com/blogs/marco





More information about the sr-users mailing list