[Exim] More on the segfaults

Pàgina inicial
Delete this message
Reply to this message
Autor: Juha Saarinen
Data:  
A: Exim-Users@Exim. Org
Assumpte: [Exim] More on the segfaults
Ran ktrace -- here's the end of it, where the SIGSEGV occurs:


######################################################################
        #                      REWRITE CONFIGURATION
#


######################################################################

        # There are no rewriting specifications in this default
configuration file.


        # End of Exim configuration file
       "
 80123 exim     RET   read 5728/0x1660
 80123 exim     CALL  read(0x5,0x80dc000,0x2000)
 80123 exim     GIO   fd 5 read 0 bytes
       ""
 80123 exim     RET   read 0
 80123 exim     CALL  close(0x5)
 80123 exim     RET   close 0
 80123 exim     CALL  geteuid
 80123 exim     RET   geteuid 0
 80123 exim     CALL  stat(0x2822b428,0xbfbff350)
 80123 exim     NAMI  "/etc/spwd.db"
 80123 exim     RET   stat 0
 80123 exim     CALL  open(0x2822b428,0,0)
 80123 exim     NAMI  "/etc/spwd.db"
 80123 exim     RET   open 5
 80123 exim     CALL  fcntl(0x5,0x2,0x1)
 80123 exim     RET   fcntl 0
 80123 exim     CALL  read(0x5,0x80dc000,0x104)
 80123 exim     GIO   fd 5 read 260 bytes


"\0\^F\^Ua\0\0\0\^B\0\0\^D\M-R\0\0\^P\0\0\0\0\f\0\0\^A\0\0\0\^A\0\0\0\0\b\0\
0\0\^C\0\0\0\^B\0\0\0\a\0\0\0\^O\0\0\0\a\0\0\
        \0
\0\0\08\0\0\0\^A\M^Un}\M-c\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^D\0\0\0\^D\0\0\0\0
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\


\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\

\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^X\^A\0\0\0\0\0\0\0\0\0\0\0
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
 80123 exim     RET   read 260/0x104
 80123 exim     CALL  lseek(0x5,0,0x4000,0,0)
 80123 exim     RET   lseek 16384/0x4000
 80123 exim     CALL  read(0x5,0x80dd000,0x1000)
 80123 exim     GIO   fd 5 read 4096 bytes


Whole lot of '\0\'s snipped, plus what looks like the contents of
/etc/passwd

 80123 exim     RET   read 4096/0x1000
 80123 exim     CALL  close(0x5)
 80123 exim     RET   close 0
 80123 exim     CALL  close(0xffffffff)
 80123 exim     RET   close -1 errno 9 Bad file descriptor
 80123 exim     CALL  close(0)
 80123 exim     RET   close 0
 80123 exim     CALL  close(0x1)
 80123 exim     RET   close 0
 80123 exim     CALL  close(0x2)
 80123 exim     RET   close 0
 80123 exim     CALL  getppid
 80123 exim     RET   getppid 33787/0x83fb
 80123 exim     CALL  fork
 80123 exim     RET   fork 80124/0x138fc
 80123 exim     CALL  sigprocmask(0x1,0x280cfb80,0xbfbff1c0)
 80123 exim     RET   sigprocmask 0
 80123 exim     CALL  sigprocmask(0x3,0x280cfb90,0)
 80123 exim     RET   sigprocmask 0
 80123 exim     CALL  setitimer(0x2,0xbfbff1e0,0)
 80123 exim     RET   setitimer 0
 80123 exim     CALL  close(0x3)
 80123 exim     RET   close 0
 80123 exim     CALL  close(0x4)
 80123 exim     RET   close 0
 80123 exim     CALL  fcntl(0,0x3,0)
 80123 exim     RET   fcntl -1 errno 9 Bad file descriptor
 80123 exim     PSIG  SIGSEGV SIG_DFL




--
Juha

The malformed orange
Fails to satisfy the eye:
Segmentation fault.