Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Reply-To: From: "Norman Vine" To: Subject: RE: PostgreSQL and CVS DLL Date: Wed, 9 Jan 2002 15:00:52 -0500 Message-ID: <017b01c19948$57dbc440$a300a8c0@nhv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 In-Reply-To: <20020109191040.GA6891@redhat.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Christopher Faylor writes: >>>> >>>>On Wed, Jan 09, 2002 at 11:39:56AM -0500, Norman Vine wrote: >>>>> >>>>> postgres runs fine using snapshot DLL dated 20011231 >>>>> crashes for me with all DLL's dated 20020104 and later >>>>> >>>>> I have a locally built DLL 20020103 that also crashes >>>> >>>>Please try to determine what specific Cygwin change is causing the >>>>postmaster problem. Since the date range is small, searching >>>>cygwin-cvs should not take too long. >>> >>>Where is the analysis of *where* the program died? That should be >>>pretty simple to show. Look at how-to-debug-cygwin.txt for details. >I am trying to reorient your (and everyone's) thinking. :-) >If you are not set up to do this or don't want to do this then send "it >crashes" bug reports to cygwin AT cygwin DOT com. OK Here is the backtrace of attempting the postgres regression test with the todays Cygwin CVS files HTH Norman (gdb) bt full #0 strncpy (dst0=0xa01d712 "", src0=0x0, count=109) at /src/cygwin/src/newlib/libc/string/strncpy.c:116 dst0 = 0xa01d712 "" count = 109 dst = 0xa01d712 "" src = 0x0 aligned_dst = (long int *) 0xa01d712 aligned_src = (long int *) 0x22f924 #1 0x61033758 in cygwin_getsockname (fd=7, addr=0xa01d710, namelen=0x22f924) at /src/cygwin/src/winsup/cygwin/net.cc:1380 namelen = (int *) 0x22f924 res = 0 sock = (fhandler_socket *) 0xa01d712 #2 0x004bf0a6 in StreamConnection (server_fd=3, port=0xa01d5d0) at pqcomm.c:401 addrlen = 112 #3 0x004f5a52 in ConnCreate (serverFd=3) at postmaster.c:1298 port = (Port *) 0xa01d5d0 #4 0x004f4cda in ServerLoop () at postmaster.c:905 port = (Port *) 0x0 rmask = {fds_bits = {8, 0}} wmask = {fds_bits = {0, 0}} timeout = (struct timeval *) 0x0 timeout_tv = {tv_sec = 0, tv_usec = 0} readmask = {fds_bits = {8, 0}} writemask = {fds_bits = {0, 0}} nSockets = 4 curr = (Dlelem *) 0x10000000 now = {tv_sec = 1010605539, tv_usec = 604000} later = {tv_sec = 1010605539, tv_usec = 614000} tz = {tz_minuteswest = 300, tz_dsttime = 1} #5 0x004f410a in PostmasterMain (argc=4, argv=0x615665c0) at postmaster.c:685 opt = -1 status = 0 original_extraoptions = "\000\000\000\000I+Fw\000\000\000\000\234¦\"\000 \0006\na\\tmp\a\000\001\000ck\\install\\usr\\bin\\postgres.exe\000\000\000#\ 000F f#\000\000\000\000\000\224·\"\000\210\006#\000Hv\"\000º\235vwP)°w    Xv\"\00 0¦¦n w=·\"\000\000\000\000\0003)°w\000\000#\000HN#\000\000\000\000\000¦·\"\000\21 0\00 6#\000\200v\"\000º\235vwP)°w    @L\na˜n\"\000\034\000?\000\000\000\000\0008\ 000\ 000\000 \000\000\000 \000\000\000\214:\na\b \"\000\0006\na\200fFw    "... potential_DataDir = 0x61565d18 "/usr/src/postgresql-7.1.3/src/test/regre ss/./tmp_check/data" #6 0x004c058e in main (argc=4, argv=0x615665c0) at main.c:171 len = 82 pw = (struct passwd *) 0xd0 pw_name_persist = 0x1
#7 0x61003f6e in dll_crt0_1 () at /src/cygwin/src/winsup/cygwin/dcrt0.cc:769 cygwin_except_entry = {prev = 0x22ffe0, ---Type to continue, or q to quit--- handler = 0x6100d938 } envc = 1628042088 envp = (char **) 0x4 #8 0x61004262 in _dll_crt0 () at /src/cygwin/src/winsup/cygwin/dcrt0.cc:863 zeros = '\000' #9 0x610042a1 in dll_crt0 (uptr=0x0) at /src/cygwin/src/winsup/cygwin/dcrt0.cc:876 uptr = (per_process *) 0x0 #10 0x0059b133 in cygwin_crt0 () at /src/cygwin/src/winsup/cygwin/lib/cygwin_crt0.c:32 f = 0x4c0424
u = (struct per_process *) 0x0 (gdb)