psql crashes with snapshot - after rebase

marco atzeri marco.atzeri@gmail.com
Tue Feb 19 14:03:00 GMT 2013


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@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



More information about the Cygwin mailing list