Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <3814410E.6BA45D66@1c.ru> Date: Mon, 25 Oct 1999 15:37:50 +0400 From: Vadim Egorov X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: "cygwin-developers AT sourceware DOT cygnus DOT com" Subject: 19991024 snapshot problems Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-MDaemon-Deliver-To: cygwin-developers AT sourceware DOT cygnus DOT com X-Return-Path: EgorovV AT 1c DOT ru Hello, After installing 19991024 cygwin snapshot I came across couple of problems. First it broke mc which start to crash after getgrent call because gr_mem member of group structure is always 0. I think it's a bug and it can be fixed as follows --- grp.cc.orig Mon Oct 25 15:19:10 1999 +++ grp.cc Mon Oct 25 15:18:05 1999 @@ -89,6 +89,7 @@ namearray[i++] = dp; namearray[i] = NULL; } + grp.gr_mem = namearray; } else grp.gr_mem = NULL; Next I started to get 'Application failed to initialize properly (0xc0000005)' message during x-applications startup. GDB shows the following stack: #0 0x0 in ?? () #1 0x610235cb in malloc (size=33) at /home/src/cygwin/winsup/malloc.cc:99 #2 0x6105f6f5 in strdup ( str=0x261f8e4 "f:\\unix\\usr\\X11R6\\bin\\libICE.dll") at /home/src/cygwin/newlib/libc/stdlib/strdup.c:8 #3 0x61006a7b in add (h=0x67290000, name=0x261f8e4 "f:\\unix\\usr\\X11R6\\bin\\libICE.dll", p=0x672a2140, type=LINK) at /home/src/cygwin/winsup/dll_init.cc:129 #4 0x61006d20 in DllList::recordDll (this=0x61077b90, h=0x67290000, p=0x672a2140) at /home/src/cygwin/winsup/dll_init.cc:233 #5 0x6100789b in dll_dllcrt0 (h=0x67290000, p=0x672a2140) at /home/src/cygwin/winsup/dll_init.cc:685 #6 0x672a0b9c in _libkernel32_a_iname () #7 0x672a08b4 in _libkernel32_a_iname () #8 0x77f63565 in ?? () #9 0x77f61c97 in ?? () #10 0x77f611f6 in ?? () At this point user_data->malloc is 0 Regards, Vadim -- ********************************************* Vadim Egorov, 1C * Вадим Егоров,1C egorovv AT 1c DOT ru * egorovv AT 1c DOT ru *********************************************