This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

19991024 snapshot problems


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@1c.ru         *         egorovv@1c.ru
*********************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]