delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/10/25/07:39:31

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <egorovv AT 1c DOT ru>
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"
<cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: 19991024 snapshot problems
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
*********************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019