pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: huawei.zhoujianpeng@huawei.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13992: psql.exe occur a mistake "R6016 - not enough space for thread data"
Date: Sun, 28 Feb 2016 05:00:11 +0000
Message-ID: <20160228050011.10543.11794@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:      13992
Logged by:          It will occurs a mistake &quot;R6016 - not enough space for thread data&quot; while
running psql.exe repeatedl
Email address:      huawei.zhoujianpeng@huawei.com
PostgreSQL version: 9.2.15
Operating system:   Windows 7 Professional
Description:        

1.  My test Platform:

Windows 7 Professional Service Pack 1 32bit
Microsoft Windows [Version 6.1.7601]
 
2.  test steps:

step1:  download  postgresql-9.2.15-1-windows-binaries.zip

step2:  uncompress all sub-directories to "C:\Program Files\gaussdb" 

step3:  initdb
C:\Program Files\gaussdb\bin>initdb -D  "d:\data"

step4:  start server
C:\Program Files\gaussdb\bin>pg_ctl start -D d:\data

step5:  Connect to the database to perform a simple query by constantly
calling psql.exe by a bat script.
the script is very easy, it's source code as followings:

@echo off
set  n=0  
:myAuto
"C:\Program Files\gaussdb\bin\psql.exe" -d postgres -c "select 1;"
echo %n%
set  /a  n+=1 
if  %n%==1000000000  (exit) 
goto  myAuto
 

When it is running for a period of time, an error will occur as followings:

Runtime Error!
Program:

R6016
- not enough space for thread data

3.  I search some error about R6016,  microsoft has some explain 
https://msdn.microsoft.com/en-us/library/d509d9f9.aspx
and
https://support.microsoft.com/en-us/kb/126709#/en-us/kb/126709

but i still don't know the reason, is it a bug of psql.exe or some other
reason?

and win7 64bit platform can also occur the error besides win7 32bit
platform.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



Message-ID: <20160228050011.10543.11794@wrigleys.postgresql.org>
Permalink:  ../20160228050011.10543.11794@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20160228050011.10543.11794@wrigleys.postgresql.org

 · 

reply

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: huawei.zhoujianpeng@huawei.com
  Subject: Re: BUG #13992: psql.exe occur a mistake "R6016 - not enough space for thread data"
  In-Reply-To: <20160228050011.10543.11794@wrigleys.postgresql.org>
  References: <20160228050011.10543.11794@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