X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B203F3C.3010806@gmail.com> Date: Thu, 10 Dec 2009 00:22:20 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Cygwin Mailing List Subject: Re: [1.7] problems with compiling geos References: <4B1F8EC9 DOT 5080805 AT cryptelium DOT net> <4B1FB774 DOT 7030307 AT gmail DOT com> <4B1FB5F6 DOT 6030400 AT cryptelium DOT net> <4B1FBEA3 DOT 8090809 AT gmail DOT com> <4B1FCC14 DOT 5000900 AT cryptelium DOT net> <4B2009EA DOT 9030505 AT cryptelium DOT net> In-Reply-To: <4B2009EA.9030505@cryptelium.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com kiorky wrote: > > kiorky a écrit : >> (gdb) >> 0x610bc6e2 in __small_vsprintf () from /usr/bin/cygwin1.dll >> (gdb) >> 0x610bc6e6 in __small_vsprintf () from /usr/bin/cygwin1.dll >> (gdb) >> 0x610bc6e9 in __small_vsprintf () from /usr/bin/cygwin1.dll >> (gdb) >> 0x61140ff0 in SetLastError AT 4 () from /usr/bin/cygwin1.dll >> (gdb) >> 0x7c94a156 in ntdll!RtlSetOwnerSecurityDescriptor () from >> /cygdrive/c/WINDOWS/system32/ntdll.dll >> (gdb) >> 0x7c94a158 in ntdll!RtlSetOwnerSecurityDescriptor () from >> /cygdrive/c/WINDOWS/system32/ntdll.dll >> (gdb) >> 0x7c94a159 in ntdll!RtlSetOwnerSecurityDescriptor () from >> /cygdrive/c/WINDOWS/system32/ntdll.dll >> (gdb) >> 0x7c94a15b in ntdll!RtlSetOwnerSecurityDescriptor () from >> /cygdrive/c/WINDOWS/system32/ntdll.dll >> (gdb) >> 0x7c94a161 in ntdll!RtlSetOwnerSecurityDescriptor () from >> /cygdrive/c/WINDOWS/system32/ntdll.dll >> (gdb) >> 0x7c94a164 in ntdll!RtlSetOwnerSecurityDescriptor () from >> /cygdrive/c/WINDOWS/system32/ntdll.dll >> (gdb) >> 0x7c94a167 in ntdll!RtlSetOwnerSecurityDescriptor () from >> /cygdrive/c/WINDOWS/system32/ntdll.dll >> (gdb) >> Cannot access memory at address 0x8003 >> (gdb) >> 0x610bc6ee in __small_vsprintf () from /usr/bin/cygwin1.dll I think that "cannot access" message is just an artifact of something going on in the internals of the win32 SetLastError function, and not a real problem (also the symbols aren't accurate, it's not really in that rtl function). Looking at the code around the addresses you indicate: > 610bc6e2: 8b 54 24 2c mov 0x2c(%esp),%edx > 610bc6e6: 89 14 24 mov %edx,(%esp) > 610bc6e9: e8 02 49 08 00 call 61140ff0 <_SetLastError AT 4> > 610bc6ee: 83 ec 04 sub $0x4,%esp > 610bc6f1: 2b b4 24 60 80 00 00 sub 0x8060(%esp),%esi ... it sure seems like it has called SetLastError and then managed to return to the __small_vsprintf routine successfully. So that error message is /probably/ just a red herring. > Uhm, i don't know how to advance on this one. Sorry about the delay, I was AFK for a while, then had to download the latest dll version to take a look at what those addresses indicate, and my usual mirrors have been running a bit slow. > I tried to reinstall all cygwin applications. > Then recompile my geos stuff, but no success. > Is there anything else to try? Yeh. Maybe there's a DLL base-address collision going on and something's forcing libstdc++ out of the way at runtime. Run it up to the crash under the debugger, then take a look at the output from "info files". The addresses where the DLLs are loaded should match what the output of "objdump -p | grep ImageBase" shows. > When will we have a libstdc++ rebase-safe out to try ? Can i have it (email, or > such) to try it waiting for that release? Sure, I'll send it off-list. cheers, DaveK -- 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