[tchintal@bngddia5 wls]$ strace dos2unix infra/build/check_files.sh execve("/usr/bin/dos2unix", ["dos2unix", "infra/build/check_files.sh"], [/* 26 vars */]) = 0 uname({sys="Linux", node="bngddia5", ...}) = 0 brk(0) = 0x6000000000008000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=113522, ...}) = 0 mmap(NULL, 113522, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2000000000044000 close(3) = 0 open("/lib/tls/libc.so.6.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0002\0\1\0\0\0`\226\2"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2690949, ...}) = 0 mmap(NULL, 2523696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2000000000060000 mprotect(0x20000000002b0000, 98864, PROT_NONE) = 0 mmap(0x20000000002bc000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24c000) = 0x20000000002bc000 mmap(0x20000000002c8000, 560, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000002c8000 close(3) = 0 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000000002cc000 mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000000002d0000 munmap(0x2000000000044000, 113522) = 0 brk(0) = 0x6000000000008000 brk(0x600000000002c000) = 0x600000000002c000 write(2, "dos2unix: converting file infra/"..., 72dos2unix: converting file infra/build/check_files.sh to UNIX format ... ) = 72 stat("infra/build/check_files.sh", {st_mode=S_IFREG|0644, st_size=251, ...}) = 0 gettimeofday({1156953666, 158658}, NULL) = 0 getpid() = 6592 open("infra/build/d2utmpmjqlZI", O_RDWR|O_CREAT|O_EXCL, 0600) = 3 fchmod(3, 0100644) = 0 --- SIGSEGV (Segmentation fault) @ 20000000001290e1 (75622f6172666e81) --- +++ killed by SIGSEGV +++ Process 6592 detached On 8/30/06, Manuel Arostegui Ramirez <manuel@xxxxxxxxxxxxxx> wrote:
El Miércoles, 30 de Agosto de 2006 18:09, unix syzadmin escribió: > Hi, > > I am getting segmentation fault using dos2unix command, please suggest. > > [tchintal@bngddia5 ~]$ more /etc/redhat-release > Red Hat Enterprise Linux AS release 4 (Nahant Update 3) > > [tchintal@bngddia5 wls]$ pwd > /home/tchintal/tools_stage/783464/dev/src_stable/wls > > [tchintal@bngddia5 wls]$ dos2unix infra/build/check_files.sh > dos2unix: converting file infra/build/check_files.sh to UNIX format ... > Segmentation fault > > Thanks & Regards, Try running it with strace, in order to see what's really happening, and paste us the output. Greetings. -- Manuel Arostegui Ramirez. Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list