0 Replies Latest reply: Jun 5, 2014 3:42 PM by 2687850 RSS

    Problem with Enotty and EBadF errors

    2687850

      Can some one please help me am trying to run a binary file and it keeps crashing I did  a truss debug log but I don't really understand it much I see the errors but am unsure were the errors are happening, can some one point me in right direction please thanks.

       

      9874:execve("/usr/bin/sh", 0xFFBEF524, 0xFFBEF534)  argc = 3
      9874:open("/dev/zero", O_RDONLY)= 3
      9874:mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF3A0000
      9874:stat("/usr/bin/sh", 0xFFBEF218)= 0
      9874:open("/usr/lib/libgen.so.1", O_RDONLY)= 4
      9874:fstat(4, 0xFFBEEFD4)= 0
      9874:mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF390000
      9874:mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF370000
      9874:munmap(0xFF376000, 57344)= 0
      9874:mmap(0xFF384000, 9847, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 16384) = 0xFF384000
      9874:close(4)= 0
      9874:open("/usr/lib/libc.so.1", O_RDONLY)= 4
      9874:fstat(4, 0xFFBEEFD4)= 0
      9874:mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFF390000
      9874:mmap(0x00000000, 770048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF280000
      9874:munmap(0xFF324000, 57344)= 0
      9874:mmap(0xFF332000, 31764, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 663552) = 0xFF332000
      9874:mmap(0xFF33A000, 5480, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF33A000
      9874:close(4)= 0
      9874:open("/usr/lib/libdl.so.1", O_RDONLY)= 4
      9874:fstat(4, 0xFFBEEFD4)= 0
      9874:mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xFF390000
      9874:close(4)= 0
      9874:open("/usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1", O_RDONLY) = 4
      9874:fstat(4, 0xFFBEEE44)= 0
      9874:mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF360000
      9874:mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF350000
      9874:close(4)= 0
      9874:close(3)= 0
      9874:munmap(0xFF360000, 8192)= 0
      9874:getpid()= 9874 [9873]
      9874:getpgid(9874)= 9722
      9874:getsid(9874)= 9722
      9874:brk(0x00039090)= 0
      9874:sysconfig(_CONFIG_SIGRT_MIN)= 38
      9874:sysconfig(_CONFIG_SIGRT_MAX)= 45
      9874:sigaltstack(0xFFBEF41C, 0x00000000)= 0
      9874:sigaction(SIGHUP, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGHUP, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGINT, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGQUIT, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGILL, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGILL, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGTRAP, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGTRAP, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGABRT, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGABRT, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGEMT, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGEMT, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGFPE, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGFPE, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGBUS, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGBUS, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGSEGV, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGSYS, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGSYS, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGPIPE, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGPIPE, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGALRM, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGALRM, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGTERM, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGTERM, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGUSR1, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGUSR1, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGUSR2, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGUSR2, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGPWR, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGPWR, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGURG, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGURG, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGPOLL, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGPOLL, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGVTALRM, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGVTALRM, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGPROF, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGPROF, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGXCPU, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGXCPU, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGXFSZ, 0x00000000, 0xFFBEF398)= 0
      9874:sigaction(SIGXFSZ, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMIN, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMIN+1, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMIN+2, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMIN+3, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMAX-3, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMAX-2, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMAX-1, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:sigaction(SIGRTMAX, 0xFFBEF2F8, 0xFFBEF378)= 0
      9874:brk(0x00039290)= 0
      9874:brk(0x00039648)= 0
      9874:brk(0x00039948)= 0
      9874:getuid()= 0 [0]
      9874:getuid()= 0 [0]
      9874:getgid()= 1 [1]
      9874:getgid()= 1 [1]
      9874:open64("./start-dbfront", O_RDONLY)= 3
      9874:close(19)Err#9 EBADF
      9874:fcntl(3, F_DUPFD, 0x00000013)= 19
      9874:close(3)= 0
      9874:fcntl(19, F_SETFD, 0x00000001)= 0
      9874:ioctl(2, TCGETA, 0xFFBEF344)Err#25 ENOTTY
      9874:read(19, 0x00038478, 128)= 0
      9874:ioctl(19, TCGETA, 0xFFBEF2DC)Err#25 ENOTTY
      9874:ioctl(19, TCGETA, 0xFFBEF33C)Err#25 ENOTTY
      9874:close(19)= 0
      9874:llseek(0, 0, SEEK_CUR)= 0
      9874:_exit(0)