Re: [Nagios-db-devel] Segfaults with the postgres ned
Status: Beta
Brought to you by:
bench23
From: Ben <be...@si...> - 2005-01-20 19:00:26
|
Okay, well, there's a new postgres inserter.c checked into cvs. I now check the query result to see if it succeeded, and if not, log it. I'm not at all clear why PQclear() would be crashing, but perhaps the added logging will show something. I also started compiling with -Wall, which caught some printf sloppiness, but that shouldn't have done anything bad. On Thu, 20 Jan 2005, Tim Verhoeven wrote: > On Thu, 20 Jan 2005, Ben wrote: > > > Doh! Good catch. I wonder why I was never bit by this..... > > > > Well, regardless, the fix is now in CVS and I bet the reason you're crashing > > is because I've been too lazy and have not added error checking to the neb > > module. That's gonna change as soon as I get into work (assuming no fires... > > haha). But after you fixed this stored proc are you still crashing? > > Yep, I'm still crashing here :-) I've got no more errors from pgsql. But > still the crash at PQclear. So it must be some cleanup issue, something > left behind, this is probably also why the segfault is at > malloc_consolidate (whatever that does). > > Tim > > -- > Tim Verhoeven - dj...@ro... - 0479 / 88 11 83 > > /* This is total bullshit: */ > linux-2.6.6/drivers/video/sis/init301.c > > |