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]

2.2.0:ls segfault:Windows 7(6.1)


I just updated my cygwin and I am getting a segfault when I do a "ls
-l" on my c drive at the root.

I don't get this if i do a "ls -l" in my home directory.

I am including details from strace and info on my install (see below
and attached).

I also attached the "cygcheck -s -v -r > /tmp/cygcheck.out" file.

Is there anything else I should report?

Anything else I should try?

(2015-08-13T14:42:36Z) fennellb@fenngsi:/cygdrive/c $ ls
!Fenn.lnk*               HP CLJ3600 Driver/          Program Files
(x86)/        VC_RED.MSI*           eula.1036.txt*  install.ini*
    java/              t1b8.1*
$Recycle.Bin/            HP Universal Print Driver/  ProgramData/
          VC_RED.cab*           eula.1040.txt*  install.res.1028.dll*
ls.exe.stackdump*  t1b8.2*
%APPDATA%/               IBM/                        Python27/
          Windows/              eula.1041.txt*  install.res.1031.dll*
msdia80.dll*       t1ck.1*
ActivePython27/          Intel/                      Python32/
          XEClient/             eula.1042.txt*  install.res.1033.dll*
opt/               temp/
COPY/                    JavaScriptEbooks.cue*       Recovery/
          XUnit-wiki-page.pdf*  eula.2052.txt*  install.res.1036.dll*
pagefile.sys       usr/
Documents and Settings@  MSOCache/                   Ruby200/
          cygwin/               eula.3082.txt*  install.res.1040.dll*
s/                 vcredist.bmp*
Eclipse/                 New folder/                 SuperWabaSDK/
          cygwinpkg/            globdata.ini*   install.res.1041.dll*
swsetup/           webdev/
Fenn.lnk*                PerfLogs/                   Symantec/
          eula.1028.txt*        hiberfil.sys    install.res.1042.dll*
system.sav/        windowsicons/
GDIPFONTCACHEV1.DAT*     Perl64/                     System Volume
Information/  eula.1031.txt*        iTunes/
install.res.2052.dll*  t1ak.1*
Google/                  Program Files/              Users/
          eula.1033.txt*        install.exe*    install.res.3082.dll*
t1b0.1*
(2015-08-13T14:42:41Z) fennellb@fenngsi:/cygdrive/c $ ls -l
Segmentation fault (core dumped)
(2015-08-13T14:42:44Z) fennellb@fenngsi:/cygdrive/c $ df -h
Filesystem        Size  Used Avail Use% Mounted on
C:                298G  228G   71G  77% /cygdrive/c
//GSI-NT1/PUBLIC  2.6T  2.6T   14G 100% /net/gsi-nt1/public
D:                4.8M  4.8M     0 100% /cygdrive/d
(2015-08-13T14:42:54Z) fennellb@fenngsi:/cygdrive/c $ xinv-linux
GSI-15323 CPU_MHz:                 2594.000
GSI-15323 CPU_Processors_Physical: 4
GSI-15323 CPU_model_name:          Intel(R)_Core(TM)_i5-2540M_CPU_@_2.60GHz
GSI-15323 CPU_vendor_id:           GenuineIntel
GSI-15323 Disk_Tot:                298.00GB
GSI-15323 Mem_RAM_GiB:             7.91
GSI-15323 Mem_Swap_GiB:            7.91
GSI-15323 OS_Kernel_version:
CYGWIN_NT-6.1-WOW_2.2.0(0.289/5/3)_2015-08-03_12:49_i686_Cygwin
GSI-15323 OS_LSB_Codename:         Defenestrating_Deneb
GSI-15323 OS_LSB_Description:
Cygwin_Release_2.2.0(0.289/5/3)_Version_2015-08-03_12:49
GSI-15323 OS_LSB_Distributor_ID:   Cygwin
GSI-15323 OS_LSB_Release:          2.2.0(0.289/5/3)
(2015-08-13T14:43:21Z) fennellb@fenngsi:/cygdrive/c $ xinv
gsi-15323    Kernel_version:
Windows_7_Professional,_Multiprocessor_Free
gsi-15323    Product_type:               Professional
gsi-15323    Product_version:            6.1
gsi-15323    Service_pack:
gsi-15323    Kernel_build_number:        7601
gsi-15323    Processors:                 4
gsi-15323    Processor_speed:            2.5 GHz
gsi-15323    Physical_memory:            3056 MB
gsi-15323    Windows-is-64-bit:          true
gsi-15323    VOLUME                                                NUM GB
gsi-15323    C:                                                 298.00 GB
gsi-15323    TOTL-DSK                                           298.00 GB
(2015-08-13T14:45:29Z) fennellb@fenngsi:/cygdrive/c $ strace -o
/tmp/strace-ls-log.txt /bin/ls -l
  76242 [main] ls 5696 cygwin_exception::open_stackdumpfile: Dumping
stack trace to ls.exe.stackdump
(2015-08-13T14:47:00Z) fennellb@fenngsi:/cygdrive/c $ tail -80
/tmp/strace-ls-log.txt
   29   74247 [main] ls 5696 path_conv::check:
this->path(C:\hiberfil.sys), has_acls(1)
   29   74276 [main] ls 5696 build_fh_pc: fh 0x61303B84, dev 000000C3
   29   74305 [main] ls 5696 fhandler_base::open:
(\??\C:\hiberfil.sys, 0x110000)
   41   74346 [main] ls 5696 seterrno_from_nt_status:
/home/corinna/src/cygwin/cygwin-2.2.0/cygwin-2.2.0-1.i686/src/newlib-cygwin/winsup/cygwin/fhandler.cc:693
status 0xC0000043 -> windows error 32
   31   74377 [main] ls 5696 geterrno_from_win_error: windows error 32
== errno 16
   28   74405 [main] ls 5696 fhandler_base::open: 0xC0000043 =
NtCreateFile (0x0, 0x20000, \??\C:\hiberfil.sys, io, NULL, 0x0, 0x7,
0x1, 0x4000, NULL, 0)
   28   74433 [main] ls 5696 fhandler_base::open: 0 =
fhandler_base::open(\??\C:\hiberfil.sys, 0x110000)
   29   74462 [main] ls 5696 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\C:\hiberfil.sys, 0x10000)
   27   74489 [main] ls 5696 fhandler_base::open:
(\??\C:\hiberfil.sys, 0x110000)
   40   74529 [main] ls 5696 seterrno_from_nt_status:
/home/corinna/src/cygwin/cygwin-2.2.0/cygwin-2.2.0-1.i686/src/newlib-cygwin/winsup/cygwin/fhandler.cc:693
status 0xC0000043 -> windows error 32
   32   74561 [main] ls 5696 geterrno_from_win_error: windows error 32
== errno 16
   28   74589 [main] ls 5696 fhandler_base::open: 0xC0000043 =
NtCreateFile (0x0, 0x20000, \??\C:\hiberfil.sys, io, NULL, 0x0, 0x7,
0x1, 0x4000, NULL, 0)
   28   74617 [main] ls 5696 fhandler_base::open: 0 =
fhandler_base::open(\??\C:\hiberfil.sys, 0x110000)
   27   74644 [main] ls 5696 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\C:\hiberfil.sys, 0x10000)
   29   74673 [main] ls 5696 fhandler_base::open:
(\??\C:\hiberfil.sys, 0x110000)
   40   74713 [main] ls 5696 seterrno_from_nt_status:
/home/corinna/src/cygwin/cygwin-2.2.0/cygwin-2.2.0-1.i686/src/newlib-cygwin/winsup/cygwin/fhandler.cc:693
status 0xC0000043 -> windows error 32
   30   74743 [main] ls 5696 geterrno_from_win_error: windows error 32
== errno 16
   26   74769 [main] ls 5696 fhandler_base::open: 0xC0000043 =
NtCreateFile (0x0, 0x20080, \??\C:\hiberfil.sys, io, NULL, 0x0, 0x7,
0x1, 0x4000, NULL, 0)
   27   74796 [main] ls 5696 fhandler_base::open: 0 =
fhandler_base::open(\??\C:\hiberfil.sys, 0x110000)
   29   74825 [main] ls 5696 fhandler_base::open_fs: 0 =
fhandler_disk_file::open(\??\C:\hiberfil.sys, 0x10000)
  116   74941 [main] ls 5696 seterrno_from_nt_status:
/home/corinna/src/cygwin/cygwin-2.2.0/cygwin-2.2.0-1.i686/src/newlib-cygwin/winsup/cygwin/security.cc:75
status 0xC0000043 -> windows error 32
   29   74970 [main] ls 5696 geterrno_from_win_error: windows error 32
== errno 16
   27   74997 [main] ls 5696 fhandler_base::fstat_helper: 0 = fstat
(\??\C:\hiberfil.sys, 0x28B7C0) st_size=6371954688, st_mode=0100640,
st_ino=562949953478829st_atim=4DDC2E09.1D3B1204
st_ctim=55CCAAED.1939C254 st_mtim=55CCAAED.1939C254
st_birthtim=4DDC2E09.1D3B1204
   31   75028 [main] ls 5696 acl32: 3 = acl(hiberfil.sys)
--- Process 5696, exception c0000005 at 77BF0DBF
  174   75202 [main] ls 5696 exception::handle: In
cygwin_except_handler exception 0xC0000005 at 0x77BF0DBF sp 0x28C698
   37   75239 [main] ls 5696 exception::handle: In
cygwin_except_handler signal 11 at 0x77BF0DBF
   61   75300 [main] ls 5696 _cygtls::inside_kernel: pc 0x77BF0DBF, h
0x77BB0000, inside_kernel 1
   35   75335 [main] ls 5696 normalize_posix_path: src /dev/kmsg
   28   75363 [main] ls 5696 normalize_posix_path: /dev/kmsg =
normalize_posix_path (/dev/kmsg)
   26   75389 [main] ls 5696 mount_info::conv_to_win32_path:
conv_to_win32_path (/dev/kmsg)
   31   75420 [main] ls 5696 mount_info::conv_to_win32_path: src_path
/dev/kmsg, dst \Device\MailSlot\cygwin\dev\kmsg, flags 0x2, rc 0
   37   75457 [main] ls 5696 build_fh_pc: fh 0x61304034, dev 0001000B
   38   75495 [main] ls 5696 seterrno_from_nt_status:
/home/corinna/src/cygwin/cygwin-2.2.0/cygwin-2.2.0-1.i686/src/newlib-cygwin/winsup/cygwin/fhandler_mailslot.cc:134
status 0xC0000034 -> windows error 2
   31   75526 [main] ls 5696 geterrno_from_win_error: windows error 2 == errno 2
   29   75555 [main] ls 5696 sig_send: sendsig 0x94, pid 5696, signal
11, its_me 1
   30   75585 [main] ls 5696 sig_send: wakeup 0x1BC
   33   75618 [main] ls 5696 sig_send: Waiting for pack.wakeup 0x1BC
   30   75648 [sig] ls 5696 sigpacket::process: signal 11 processing
   42   75690 [sig] ls 5696 sigpacket::process: signal 11, signal
handler 0x610324D0
   30   75720 [sig] ls 5696 sigpacket::setup_handler: controlled
interrupt. stackptr 0x28DD5C, stack 0x28DD58, stackptr[-1] 0x4083CD
   29   75749 [sig] ls 5696 proc_subproc: args: 5, 1
   34   75783 [sig] ls 5696 proc_subproc: clear waiting threads
   26   75809 [sig] ls 5696 proc_subproc: finished clearing
   27   75836 [sig] ls 5696 proc_subproc: returning 1
   28   75864 [sig] ls 5696 _cygtls::interrupt_setup: armed
signal_arrived 0x1C0, signal 11
   26   75890 [sig] ls 5696 sigpacket::setup_handler: signal 11 delivered
   26   75916 [sig] ls 5696 sigpacket::process: returning 1
   26   75942 [sig] ls 5696 wait_sig: signalling pack.wakeup 0x1BC
   31   75973 [main] ls 5696 set_process_mask_delta: oldmask 0,
newmask 0, deltamask 0
   40   76013 [main] ls 5696 signal_exit: exiting due to signal 11
  229   76242 [main] ls 5696 cygwin_exception::open_stackdumpfile:
Dumping stack trace to ls.exe.stackdump
10030   86272 [main] ls 5696 signal_exit: about to call do_exit (8B)
   71   86343 [main] ls 5696 do_exit: do_exit (139), exit_state 2
   36   86379 [main] ls 5696 void: 0x0 = signal (20, 0x1)
   33   86412 [main] ls 5696 void: 0x0 = signal (1, 0x1)
   33   86445 [main] ls 5696 void: 0x0 = signal (2, 0x1)
   29   86474 [main] ls 5696 void: 0x0 = signal (3, 0x1)
   33   86507 [main] ls 5696 fhandler_base::close_with_arch: line
1142:  /dev/pty0<0x61303230> usecount + -1 = 3
   26   86533 [main] ls 5696 fhandler_base::close_with_arch: not
closing archetype
   28   86561 [main] ls 5696 fhandler_base::close_with_arch: line
1142:  /dev/pty0<0x61303230> usecount + -1 = 2
   26   86587 [main] ls 5696 fhandler_base::close_with_arch: not
closing archetype
   28   86615 [main] ls 5696 fhandler_base::close_with_arch: line
1142:  /dev/pty0<0x61303230> usecount + -1 = 1
   25   86640 [main] ls 5696 fhandler_base::close_with_arch: not
closing archetype
   38   86678 [main] ls 5696 fhandler_base::close: closing
'/cygdrive/c' handle 0x1A8
   58   86736 [main] ls 5696 init_cygheap::close_ctty: closing
cygheap->ctty 0x61303230
   28   86764 [main] ls 5696 fhandler_base::close_with_arch: closing
passed in archetype 0x0, usecount 0
   27   86791 [main] ls 5696 fhandler_pty_slave::cleanup: /dev/pty0
closed, usecount 0
   26   86817 [main] ls 5696 fhandler_pty_slave::close: closing last
open /dev/pty0 handle
   80   86897 [main] ls 5696 fhandler_console::free_console: freed
console, res 1
   40   86937 [main] ls 5696 fhandler_pty_common::close: pty0
<0x178,0x180> closing
   35   86972 [main] ls 5696 dtable::delete_archetype: deleting
element 0 for /dev/pty0(136/0)
   33   87005 [main] ls 5696 getpid: 5696 = getpid()
   26   87031 [main] ls 5696 proc_terminate: nprocs 0
   25   87056 [main] ls 5696 proc_terminate: leaving
   44   87100 [main] ls 5696 pinfo::exit: Calling ExitProcess n 0x8B,
exitcode 0x8B00
--- Process 5696 thread 5540 exited with status 0x8b00
--- Process 5696 thread 2260 exited with status 0x8b00
--- Process 5696 thread 5880 exited with status 0x8b00
--- Process 5696 exited with status 0x8b00
(2015-08-13T14:47:09Z) fennellb@fenngsi:/cygdrive/c $
(2015-08-13T14:47:14Z) fennellb@fenngsi:/cygdrive/c $
(2015-08-13T14:48:51Z) fennellb@fenngsi:/cygdrive/c $ mount
C:/Docume~1/fennellb/MyDocu~1/Fenn/cygwindirs/home/fennellb on
/home/fennellb type ntfs (binary,user)
//gsi-fs1/projectcentral on /net/gsi-fs1/projectcentral type cifs
(binary,cygexec,noacl,posix=0,user)
//GSI-NT1/PUBLIC on /net/gsi-nt1/public type cifs (binary,cygexec,posix=0,user)
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C:/temp on /tmp type ntfs (binary,user)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type iso9660 (binary,posix=0,user,noumount,auto)

explorer.exe > C: > Properties > Hardware > TOSHIBA MK3261GSYN >
Properties > Driver
TOSHIBA MK3261GSYN
Driver Provider: Microsoft
Driver Date: 2006-06-21
Driver Version: 6.1.7600.16385
Digital Signer: Microsoft Windows

(2015-08-13T15:14:43Z) fennellb@fenngsi:/cygdrive/c $ ls --version
ls (GNU coreutils) 8.23
Packaged by Cygwin (8.23-4)
Copyright (C) 2014 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.

Written by Richard M. Stallman and David MacKenzie.

Attachment: 2015-08-13-cygwin-bug-report.txt
Description: Text document

Attachment: cygcheck.out
Description: Binary data

Attachment: strace-ls-log.txt
Description: Text document

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

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