Re: Solaris ASM problem - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: Solaris ASM problem
Date
Msg-id Pine.BSO.4.63.0604281614560.8518@leary2.csoft.net
Whole thread Raw
In response to Solaris ASM problem  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Solaris ASM problem  (Theo Schlossnagle <jesus@omniti.com>)
List pgsql-hackers

On Fri, 28 Apr 2006, Theo Schlossnagle wrote:

> The file that uses the spinlocks:
> /src/backend/storage/lmgr/s_lock.c
>
> can be compiled standalone with -DS_LOCK_TEST
>

To get the test to compile I had to link in tas.o as the attached patch 
shows.  Unfortunately this doesn't work for platforms that don't have a 
tas.o, bailing out with file not found.  Perhaps it's not important to fix 
this test, but I thought I'd mention it.

Anyway the test exits with

Stuck spinlock (80618e9) detected at ./s_lock.c:355.

on a linux gcc build this exits with

Stuck spinlock (0x5013ad) detected at ./s_lock.c:402.

Kris Jurka

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Logging pg_autovacuum
Next
From: Kris Jurka
Date:
Subject: Re: Solaris ASM problem