Re: Seg fault in pgbench

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Subject: Re: Seg fault in pgbench
Date: 2016-02-13 07:41:39
Message-ID: alpine.DEB.2.10.1602130839320.9340@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> If I give pgbench an empty file, I get a segfault.
>
> $ touch empty.sql
> $ src/bin/pgbench/pgbench -T 60 -f empty.sql
> starting vacuum...end.
> Segmentation fault (core dumped)

Oops, shame on me:-(

I should have tested this one, especially as I tested it for other
changes in pgbench...

Thanks for the report, and for Alvaro's fix.

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2016-02-13 11:40:09 Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.
Previous Message Fabien COELHO 2016-02-13 07:37:03 Re: extend pgbench expressions with functions