This is the mail archive of the cygwin 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]
Other format: [Raw text]

"/usr/bin/clear" crash


Hi,

I found a problem in clear.exe program only when console it's not 80x25.

-- snip --
Francisco Sáa Muñoz@tf04052-PC ~
$ clear
     10 [main] clear 4440 _cygtls::handle_exceptions: Error while dumping state
(probably corrupted stack)
Segmentation fault (core dumped)

Francisco Sáa Muñoz@tf04052-PC ~
$ gdb clear
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/clear.exe
[New thread 1788.0x1104]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New thread 1788.0x11d8]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x69804545 in nc_get_screensize () from /usr/bin/cygtinfo-9.dll
(gdb) thread apply all backtrace

Thread 2 (thread 1584.0xb60):
#0  0x774b9a94 in ntdll!LdrAccessResource ()
   from /cygdrive/c/Windows/system32/ntdll.dll
#1  0x774b8c74 in ntdll!ZwReadFile ()
   from /cygdrive/c/Windows/system32/ntdll.dll
#2  0x7733046b in ReadFile () from /cygdrive/c/Windows/system32/kernel32.dll
#3  0x00000114 in ?? ()
#4  0x00000000 in ?? ()

Thread 1 (thread 1584.0x17b4):
#0  0x69804545 in nc_get_screensize () from /usr/bin/cygtinfo-9.dll
#1  0x698049fb in nc_setupterm () from /usr/bin/cygtinfo-9.dll
#2  0x69804d85 in setupterm () from /usr/bin/cygtinfo-9.dll
#3  0x004010a3 in ?? ()
#4  0x00000000 in ?? ()
--- snip ---

-- 
Francisco Sáa Muñoz aka Nuno Treez
--
Security isn't a state of being, it's a journey.
--
One Google to rule them all, one Google to find them, one Google to
bring them all, and in the knowledge bind them.
--

Attachment: cygcheck.out
Description: Binary data

Attachment: clear.exe.stackdump
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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