[HACKERS] lo_unlink causes crash - Mailing list pgsql-hackers

From Raymond Toy
Subject [HACKERS] lo_unlink causes crash
Date
Msg-id e0a60748e39a7aa6630588f79372304f
Whole thread Raw
List pgsql-hackers
System:  pgsql 970611, Solaris 2.5.1

Symptom:  Calling lo_unlink in libpq causes the backend to crash.

Create any large object either via psql or libpq.  Then call lo_unlink
in libpq.  This causes the backend to dump core.  I can't track this
one down because the backtrace seems incomplete;  it stops at
explain_outNode.  Calling libpq lo_unlink is supposed to call the
backends lo_unlink, which calls inv_destroy.  The stack trace doesn't
show any of these functions.  I can't even get gdb to break on any of
these functions.

Oh well.  The work around right now is to do "drop table xinv<lo-oid>"
which has the same effect.

Ray

------------------------------

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: [HACKERS] Re: [PORTS] Patches for Irix 6.4
Next
From: Raymond Toy
Date:
Subject: Re: [HACKERS] lo_unlink causes crash