Re: thread safety on clients - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: thread safety on clients
Date
Msg-id 1260485941.716.13.camel@vanquo.pezone.net
Whole thread Raw
In response to thread safety on clients  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Responses Re: thread safety on clients  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On ons, 2009-12-09 at 14:02 -0500, Jaime Casanova wrote:
> Hi,
> 
> I compiled current HEAD and trying to use pgbench, i initialized a
> test database this way:
> bin/pgbench -i -F80 -s100 test
> 
> and then run with this options:
> bin/pgbench -c 50 -j 5 -l -t 20 test
> 
> and get this crash:
> """
> starting vacuum...end.
> TRAP: FailedAssertion("!((data - start) == data_size)", File:
> "heaptuple.c", Line: 255)
> Client 0 aborted in state 8. Probably the backend died while processing.
> LOG:  server process (PID 30713) was terminated by signal 6: Aborted
> TRAP: FailedAssertion("!((data - start) == data_size)", File:
> "heaptuple.c", Line: 255)
> Client 8 aborted in state 8. Probably the backend died while processing.
> LOG:  terminating any other active server processes
> WARNING:  terminating connection because of crash of another server process
> DETAIL:  The postmaster has commanded this server process to roll back
> the current transaction and exit, because another server process
> exited abnormally and possibly corrupted shared memory.
> """
> 
> if i remove the -j option then it runs without a problem

Possibly related to the incomplete removal of the enable-thread-safety
option that I just posted about.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: enable-thread-safety defaults?
Next
From: Chris Browne
Date:
Subject: Re: Has anyone used CLANG yet?