delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/04/07:37:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,TW_FC
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: segfault in recent snapshots
References: <f5bobf1k1w9 DOT fsf AT calexico DOT inf DOT ed DOT ac DOT uk> <20130302202911 DOT GA1371 AT ednor DOT casa DOT cgf DOT cx> <f5bbob0pu70 DOT fsf AT calexico DOT inf DOT ed DOT ac DOT uk> <20130303180626 DOT GA5313 AT ednor DOT casa DOT cgf DOT cx>
From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson)
Date: Mon, 04 Mar 2013 12:36:48 +0000
In-Reply-To: <20130303180626.GA5313@ednor.casa.cgf.cx> (Christopher Faylor's message of "Sun\, 3 Mar 2013 13\:06\:26 -0500")
Message-ID: <f5b6217wdcv.fsf@calexico.inf.ed.ac.uk>
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b32 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Christopher Faylor writes:

>>> And, if it is segfaulting then there is a stackdump file.
>>> Post that.
>>
>>Exception: STATUS_ACCESS_VIOLATION at eip=003D0000
>>eax=003D0000 ebx=00000000 ecx=7792389A edx=006F017C esi=61006C50 edi=0028CD78
>>ebp=0028AC88 esp=0028AC4C program=C:\Cygwin\bin\psql.exe, pid 11572, thread main
>>cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
>>Stack trace:
>>Frame     Function  Args
>>0028AC88  003D0000  (61273B28, 00000000, 00000000, 00000000)
>>0028ACF8  61006CF5  (00000000, 0028CD78, 61006C50, 00000000)
>>End of stack trace
>>
>>Exception: STATUS_ACCESS_VIOLATION at eip=003D0000
>>eax=003D0000 ebx=00000000 ecx=7792389A edx=0112017C esi=61006C50 edi=0028CD78
>>ebp=0028AC88 esp=0028AC4C program=C:\cygwin\usr\local\bin\xemacs-21.5-b33.exe, pid 10904, thread main
>>cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
>>Stack trace:
>>Frame     Function  Args
>>0028AC88  003D0000  (61273B28, 00000000, 00000000, 00000000)
>>0028ACF8  61006CF5  (00000000, 0028CD78, 61006C50, 00000000)
>>End of stack trace
>>
>
> This address indicates that the error is in user code, so this again
> devolves to something that Marco would likely have to look into.  The
> "003D0000" looks like a DLL which has not been properly rebased.
>
> If you can duplicate this under gdb then "info shared" should tell you
> which dll is associated with that address.

Sorry if I've not understood correctly, but when I catch the segfault
in gdb, info shared doesn't show anything loaded in that address
range:

(gdb) info shared
From        To          Syms Read   Shared Object Library
0x778f1000  0x77a55d1c  Yes (*)     /c/Windows/system32/ntdll.dll
0x75251000  0x7534bd58  Yes (*)     /c/Windows/syswow64/kernel32.dll
0x76581000  0x765c6a18  Yes (*)     /c/Windows/syswow64/KERNELBASE.dll
0x61001000  0x61480000  Yes         /c/Cygwin/bin/cygwin1.dll
0x6da81000  0x6db6cac8  Yes (*)     /c/Cygwin/bin/cygdb-4.5.dll
0x6b0b1000  0x6b0b60e4  Yes (*)     /c/Cygwin/bin/cyggdbm_compat-4.dll
0x6b0e1000  0x6b0ea168  Yes (*)     /c/Cygwin/bin/cyggdbm-4.dll
0x683a1000  0x683d6748  Yes (*)     /c/Cygwin/bin/cygjpeg-8.dll
0x6d541000  0x6d5575b4  Yes (*)     /c/Cygwin/bin/cyggcc_s-1.dll
0x67861000  0x67894e00  Yes (*)     /c/Cygwin/bin/cygncurses-10.dll
0x65e01000  0x65e27018  Yes (*)     /c/Cygwin/bin/cygpng15-15.dll
0x64fc1000  0x64fd63c0  Yes (*)     /c/Cygwin/bin/cygz.dll
0x67d11000  0x67d33c60  Yes (*)     /c/Cygwin/bin/cygpq.dll
0x6dcb1000  0x6de3301c  Yes (*)     /c/Cygwin/bin/cygcrypto-1.0.0.dll
0x684c1000  0x684ce508  Yes (*)     /c/Cygwin/bin/cygintl-8.dll
0x69b41000  0x69c3bdcc  Yes (*)     /c/Cygwin/bin/cygiconv-2.dll
0x68071000  0x680b301c  Yes (*)     /c/Cygwin/bin/cygldap_r-2-4-2.dll
0x68211000  0x6821f01c  Yes (*)     /c/Cygwin/bin/cyglber-2-4-2.dll
0x67c61000  0x67c7aafc  Yes (*)     /c/Cygwin/bin/cygsasl2-2.dll
0x65581000  0x655e101c  Yes (*)     /c/Cygwin/bin/cygssl-1.0.0.dll
0x6fcd1000  0x6fcdf430  Yes (*)     /c/Cygwin/bin/cygXpm-noX-4.dll
0x76eb1000  0x76f2292c  Yes (*)     /c/Windows/syswow64/GDI32.dll
0x769c1000  0x76aa4198  Yes (*)     /c/Windows/syswow64/USER32.dll
0x76ac1000  0x76b5f04c  Yes (*)     /c/Windows/syswow64/ADVAPI32.dll
0x76631000  0x766db2c4  Yes (*)     /c/Windows/syswow64/msvcrt.dll
0x76801000  0x76818ed8  Yes (*)     /c/Windows/SysWOW64/sechost.dll
0x76f41000  0x77015e04  Yes (*)     /c/Windows/syswow64/RPCRT4.dll
0x74fd1000  0x750121f0  Yes (*)     /c/Windows/syswow64/SspiCli.dll
0x74fc1000  0x74fcb474  Yes (*)     /c/Windows/syswow64/CRYPTBASE.dll
0x75651000  0x756592f8  Yes (*)     /c/Windows/syswow64/LPK.dll
0x76df1000  0x76e8c9fc  Yes (*)     /c/Windows/syswow64/USP10.dll
0x718e1000  0x71963f0c  Yes (*)     /c/Windows/WinSxS/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af/COMCTL32.DLL
0x75661000  0x756da39c  Yes (*)     /c/Windows/syswow64/COMDLG32.DLL
0x755f1000  0x75646b60  Yes (*)     /c/Windows/syswow64/SHLWAPI.dll
0x75841000  0x76489898  Yes (*)     /c/Windows/syswow64/SHELL32.dll
0x76521000  0x76561ce0  Yes (*)     /c/Windows/syswow64/IMM32.DLL
0x76b61000  0x76c2bebc  Yes (*)     /c/Windows/syswow64/MSCTF.dll
0x70261000  0x702719d4  Yes (*)     /c/Windows/SysWOW64/MPR.DLL
0x756e1000  0x7583b0cc  Yes (*)     /c/Windows/syswow64/ole32.dll
0x72b91000  0x72bc1264  Yes (*)     /c/Windows/SysWOW64/WINMM.DLL
0x70281000  0x702d07a0  Yes (*)     /c/Windows/SysWOW64/WINSPOOL.DRV
0x73461000  0x734ab464  Yes (*)     /c/Windows/SysWOW64/apphelp.dll
0x6d001000  0x6d08c524  Yes (*)     /c/Windows/AppPatch/AcLayers.DLL
0x76491000  0x7651e644  Yes (*)     /c/Windows/syswow64/OLEAUT32.dll
0x73371000  0x73386f9c  Yes (*)     /c/Windows/SysWOW64/USERENV.dll
0x749a1000  0x749aa440  Yes (*)     /c/Windows/SysWOW64/profapi.dll

Am I missing something?

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

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