Re: RefDB chooses NOT to communicate with latest version of PostgreSQL

[email protected] Fri, 15 Jul 2011 23:15:15 +0200
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Frank,

Frank M Salter writes:
 > main database version is not supported

this in fact indicates that the libdbi driver somehow doesn't manage
to talk to the PostgreSQL engine properly.

 > At some point: I was using a number of terminal screens and did not
 > see the exact moment
 > when the following (transcribed by me) appeared:
 > =======================================================
 > *** glibc detected  *** refdb *** munmap_chunk(): invalid pointer
 > 0xb75f48e0  ***
 > =======  Backtrace:  =======
 > /lib/libc.so.6(+0x6f68a)[0xb76f068a]
 > /usr/local/lib/libdbi.so.1(dbi_result_free + 0x14c)[0xb782827c]
 > refdbd[0x804d9a5]
 > /lib/libc.so.6(__libc_start_main+0xe6)[0xb7697db6]
 > refdbd[0x804aa21]

This looks like a crash in libdbi. This may be caused by some
incompatibility between the driver and the engine, or it's just a
plain libdbi bug. However, I've never had any such crashes with any of
the drivers that I've used, so I still suspect the pgsql driver does
not work well with the latest PostgreSQL releases.

 > Thank you for your prompt reply. If you need any more information,
 > please let me know.

Is there a chance to retrieve the PostgreSQL error logs? On my system,
PostgreSQL logs errors to syslog by default, so it might be
sufficient to grep /var/log/messages for "postgres" or "postmaster".

I'll try to find some time to get 9.03 running on my development box
this weekend. I'll then run the libdbi test suite to see if the driver
is the culprit.

regards,
Markus

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev