[syslog-ng]segfault on solaris 2.7

Jon Drukman jsd@cluttered.com
Mon, 24 Sep 2001 12:31:59 -0700


just grabbed 1.4.12 from the site and built from source.  solaris 2.7, all 
recommended sun patches installed.

here's what happens:

lwp_create(0xFFBEF598, LWP_DETACHED|LWP_SUSPENDED, 0xFF105DFC) = 3
lwp_continue(3)                                 = 0
lwp_create()    (returning as new lwp ...)      = 0
lwp_schedctl(SC_STATE|SC_BLOCK, -1, 0xFF105CFC) = 0
lwp_schedctl(SC_DOOR, 0, 0x00000000)            = 4
door_bind(4)                                    = 0
close(4)                                        = 0
close(3)                                        = 0
sigaction(SIGWAITING, 0xFF13D7F8, 0x00000000)   = 0
lwp_self()                                      = 1
     Incurred fault #6, FLTBOUNDS  %pc = 0x81C7E008
       siginfo: SIGSEGV SEGV_MAPERR addr=0x81C7E008
     Received signal #11, SIGSEGV [caught]
       siginfo: SIGSEGV SEGV_MAPERR addr=0x81C7E008
sysconfig(_CONFIG_SIGRT_MIN)                    = 38
sigprocmask(SIG_SETMASK, 0xFF13D9A8, 0x00000000) = 0
sigaction(SIGSEGV, 0xFFBEF6D0, 0x00000000)      = 0
sigprocmask(SIG_SETMASK, 0xFF1496D8, 0x00000000) = 0
sysconfig(_CONFIG_SIGRT_MIN)                    = 38
setcontext(0xFFBEF888)
     Incurred fault #6, FLTBOUNDS  %pc = 0x81C7E008
       siginfo: SIGSEGV SEGV_MAPERR addr=0x81C7E008
     Received signal #11, SIGSEGV [default]
       siginfo: SIGSEGV SEGV_MAPERR addr=0x81C7E008
         *** process killed ***

# sotruss /usr/local/sbin/syslog-ng -d
syslog-ng       ->       libc.so.1:*atexit(0xff3babf8, 0x0, 0x0)
syslog-ng       ->       libc.so.1:*atexit(0x1f364, 0xff3babf8, 0xff0b8048)
syslog-ng       ->       libc.so.1:*malloc(0x3c, 0x71239160, 0x0)
syslog-ng       ->   libc_psr.so.1:*memset(0x35a30, 0x0, 0x30)
syslog-ng       ->   libc_psr.so.1:*memcpy(0xffbefb30, 0x334d4, 0x70)
syslog-ng       ->       libc.so.1:*getenv(0x22538, 0x34800, 0x1)
syslog-ng       ->       libc.so.1:*strcmp(0xffbefd2e, 0x226f8, 0x2)
/usr/bin/sotruss[86]: 29449 Segmentation Fault(coredump)