delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/02/19/09:03:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Received: by 10.220.149.11 with SMTP id r11mr20139957vcv.44.1361282600281; Tue, 19 Feb 2013 06:03:20 -0800 (PST)
Message-ID: <51238625.3070006@gmail.com>
Date: Tue, 19 Feb 2013 15:03:17 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: psql crashes with snapshot - after rebase
References: <kfth8i$8bm$1 AT ger DOT gmane DOT org> <20130218154643 DOT GB2682 AT ednor DOT casa DOT cgf DOT cx> <kfu0b5$re2$1 AT ger DOT gmane DOT org> <512312F1 DOT 5060706 AT gmail DOT com>
In-Reply-To: <512312F1.5060706@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2/19/2013 6:51 AM, marco atzeri wrote:
>>
>>  From a DOS prompt:
>>
>>> psql --version
>> 1 [main] psql 3196 exception::handle: Exception: STATUS_ACCESS_VIOLATION
>> 626 [main] psql 3196 open_stackdumpfile: Dumping stack trace to
>> psql.exe.stackdump
>>
>> And from a bash prompt:
>>
>> $ psql --version
>> Segmentation fault
>>

>
> confirmed, I see the same.
>
> strangely I noticed that psql of 9.2.2-1 does not suffer this problem,
> and it seems due to cygpq.dll (rebase address ?).
> I will investigate later
>
> Marco
>

it seems that rebasing cygpq.dll causes a stackdump on the
snapshot but not on 1.7.17

At first glance the reloc table after rebasing looks correct ;
the removed portion is for the removed sections.

I uploaded the 9.2.3-1 version of cygpq.dll and the "objdump -x" outcome
at several stages here:

http://matzeri.altervista.org/works/rebase/
http://matzeri.altervista.org/cygwin-1.7/postgresql/

If someone want to check and guess what could be wrong


$ cat  psql.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=F2910000
eax=F2910000 ebx=00000000 ecx=77C6389A edx=0047017C esi=61006C50 
edi=0028CD78
ebp=0028AC88 esp=0028AC4C program=E:\cygwin\bin\psql.exe, pid 8024, 
thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0028AC88  F2910000  (61273B28, 00000000, 00000000, 00000000)
0028ACF8  61006CF5  (00000000, 0028CD78, 61006C50, 00000000)
End of stack trace

marco AT MARCOATZERI /usr/bin
$ uname -a
CYGWIN_NT-6.1-WOW64 MARCOATZERI 1.7.18s(0.263/5/3) 20130131 05:33:37 
i686 Cygwin


Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019