[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: back-sql with PostgreSQL on FreeBSD



Thanks on more time.

> If you mean that you can alow me to login to your system and debug
> it,
> I think this should be the very last resort (in some sense, you
> should
> hire me for troubleshoting!)

Yeah you're right.

> If unixODBC has a bug, then you can recompile it as many times you
> want,
> it will always crash the same.  I do not necessarily mean this is
> the
> point, but I'm running exactly the same OpenLDAP code, possibly with
> different unixODBC and Postgres (I don't have access to my devel
> platform
> right now) and I don't see any crash; moreover, from the logs you
> sent it
> appears that the crash occurs inside unixODBC while freeing data
> that is
> not manipulated by any other part of non-unixODBC code, so, unless
> back-sql is passing garbage to it, the problem should be with
> unixODBC.
> Unless back-sql is passing garbage to it...

Ok, I'll replace unixODBC with iODBC and will try that scenario. Last
time I tried iODBC I had troubles configuring it.
 
> Please follow the above link and report the stack backtrace, if
> possible.

Here is stack backtrace I obtained following guideline in the link you
sent me.

#0  0x283cb70f in sendto () from /lib/libc.so.5
No symbol table info available.
#1  0x2836af41 in _sendto () from /usr/lib/libc_r.so.5
No symbol table info available.
#2  0x28418f34 in send () from /lib/libc.so.5
No symbol table info available.
#3  0x28657b0b in SOCK_flush_output () from
/usr/local/lib/libodbcpsql.so
No symbol table info available.
#4  0x286573e8 in SOCK_Destructor () from
/usr/local/lib/libodbcpsql.so
No symbol table info available.
#5  0x28640045 in CC_cleanup () from /usr/local/lib/libodbcpsql.so
No symbol table info available.
#6  0x2863faa6 in SQLDisconnect () from /usr/local/lib/libodbcpsql.so
No symbol table info available.
#7  0x2818c7b5 in SQLDisconnect () from /usr/local/lib/libodbc.so.1
No symbol table info available.
#8  0x080b6396 in backsql_close_db_conn ()
No symbol table info available.
#9  0x080b6ee8 in backsql_free_db_conn ()
No symbol table info available.
#10 0x080aea26 in backsql_db_open ()
No symbol table info available.
#11 0x08065f90 in backend_startup ()
No symbol table info available.
#12 0x0807ccfb in slap_startup ()
No symbol table info available.
#13 0x0804e9c3 in main ()
No symbol table info available.
#14 0x0804df22 in _start ()
No symbol table info available.

> I won't be able to look at the problem today.  I also suggest you
> file an
> ITS, so that we can keep track of the problem:
> http://www.openldap.org/its/

Ok I'm going to open an issue later today, but anyway thank you for
being so responsive.

Have a productive day over there,
Andrey Nepomnyaschih