From: mbadolato@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8353: Core dump with uuid-ossp on FreeBSD 9,2
Date: Fri, 02 Aug 2013 01:35:32 +0000
Message-ID: <E1V54HE-0004c4-3j@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 8353
Logged by: Mark Badolato
Email address: mbadolato@gmail.com
PostgreSQL version: 9.2.4
Operating system: FreeBSD 9.2
Description:
I saw a similar issue to this in the mailing list from back in 2007 (BUG
#3841). It seems that there are still issues with uuid on FreeBSD.
I tried executing both select uuid_nil(); and select uuid_generate_v4();
Both cause a long delay then lose connection, and result in a core file.
This is happening on all of our FreeBSD machines (all v9.2). I tried on both
AMD and Intel procs, and in a virtual (on the AMD) and bare metal (xeon).
This is working with no problems on my Postgres install on my Mac (10.8),
installed from the binary distribution.
psql (9.2.4)
Type "help" for help.
cms=# select uuid_generate_v4();
The connection to the server was lost. Attempting reset: Failed.
!> quit
Looking at gdb doesn't really look like it's producing anything useful,
though I admit I'm not adept at doing anything with gdb.
# gdb /usr/local/bin/postgres postgres.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols
found)...
Core was generated by `postgres'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/local/lib/libintl.so.9...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/lib/libssl.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/lib/liblzma.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/liblzma.so.5
Reading symbols from /usr/local/lib/postgresql/uuid-ossp.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/postgresql/uuid-ossp.so
Reading symbols from /lib/libthr.so.3...(no debugging symbols
found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x000000080251d546 in uuid_make () from
/usr/local/lib/postgresql/uuid-ossp.so
[New Thread 802922800 (LWP 100161/postgres)]
(gdb)
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: mbadolato@gmail.com
Subject: Re: BUG #8353: Core dump with uuid-ossp on FreeBSD 9,2
In-Reply-To: <E1V54HE-0004c4-3j@wrigleys.postgresql.org>
References: <E1V54HE-0004c4-3j@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox