Re: Insert Assertion Failed in strcoll_l.c:112

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Arnold <myk321(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Insert Assertion Failed in strcoll_l.c:112
Date: 2012-12-23 17:16:44
Message-ID: 26379.1356283004@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Arnold <myk321(at)gmail(dot)com> writes:
> The following is written to /var/log/postgresql/postgresql-9.1-main.log:

> 127.0.0.1(59800) INSERT: strcoll_l.c:112: __strcoll_l: Assertion
> `((uintptr_t)
> indirect) % __alignof__ (indirect[0]) == 0' failed.

This appears to be a failure inside glibc (specifically strcoll_l()).
There is certainly noplace in Postgres proper that would print such a
message.

> Error occurring on Ubuntu 12.04 with PostgreSQL 9.1 on Dell PowerEdge R710

> Same code executes successfully on Ubuntu 12.10 with PostgreSQL 9.1 on Dell
> Precision 390.

I would take that to mean this is a glibc bug that was fixed between
Ubuntu releases 12.04 and 12.10. Update the older system and see if it
doesn't go away.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-12-23 17:55:06 Re: Using POSIX Regular Expressions on xml type fields gives inconsistent results
Previous Message Tom Lane 2012-12-23 17:10:51 Re: Pipelining INSERTs using libpq