delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/02/09:11:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 2 Aug 2000 19:09:23 +0600
From: Igor Afanasyev <goga AT raid DOT ru>
X-Mailer: The Bat! (v1.44) UNREG / CD5BF9353B3B7091
Reply-To: Igor Afanasyev <goga AT raid DOT ru>
Organization: RAID-Internet
X-Priority: 3 (Normal)
Message-ID: <16729718563.20000802190923@raid.ru>
To: cygwin AT sources DOT redhat DOT com
Subject: login crashes
Mime-Version: 1.0

I run login with a username: login blahblah,
then I type something on password prompt,
login says 'Login incorrect',
on the next login prompt I press Ctrl-D and login crashes with the
message:

login:       0 [main] login 1160 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
   9413 [main] login 1160 stackdump: Dumping stack trace to login.exe.stackdump

   
If I type something on the second login and password prompts and
press Ctrl-D on the third login prompt then login exits normally
without crash.


cygwin versions 1.1.2, 1.1.3-1
login versions 1.3, 1.4-1


gdb backtrace:

#0  0x61071d51 in _free_r (reent_ptr=0x61081020, mem=0xa0518d8)
    at ./mallocr.c:2678
#1  0x61021819 in export_free (p=0xa0518d8) at malloc.cc:135
#2  0x6102175c in free (p=0xa0518d8) at malloc.cc:106
#3  0x6100e2b2 in fhandler_base::~fhandler_base (this=0xa0517f0, __in_chrg=3)
    at fhandler.cc:1158
#4  0x61076062 in fhandler_dev_null::~fhandler_dev_null (this=0xa0517f0,
    __in_chrg=3) at fhandler.cc:1529
#5  0x6101e015 in hinfo::release (this=0x61082450, fd=3) at hinfo.cc:144
#6  0x61043c3e in _close (fd=3) at syscalls.cc:459
#7  0x61075a88 in _close_r (ptr=0x61081020, fd=3) at closer.c:53
#8  0x6107438a in __sclose (cookie=0xa0511b4) at stdio.c:116
#9  0x610692a6 in fclose (fp=0xa0511b4) at fclose.c:72
#10 0x61047599 in pass_handler::shutdown (this=0x244fa54) at syslog.cc:142
#11 0x61047647 in pass_handler::initialize (this=0x244fa54, pass_number=1)
    at syslog.cc:152
#12 0x61047bce in syslog (priority=5,
    message=0x401e23 "%d LOGIN FAILURE%s ON %s, %s") at syslog.cc:292
#13 0x401ec0 in badlogin (name=0x244fedd "asasas") at login.c:442
#14 0x4019df in getloginname () at login.c:342
#15 0x4013ab in main (argc=2, argv=0xa051768) at login.c:168
#16 0x6100246a in dll_crt0_1 () at dcrt0.cc:793
#17 0x6100273d in _dll_crt0 () at dcrt0.cc:878
#18 0x6100277c in dll_crt0 (uptr=0x0) at dcrt0.cc:890
#19 0x4023cc in cygwin_crt0 ()

Any ideas?



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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