[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Segfault in exec.c?
From: |
Robert Zilbauer |
Subject: |
Re: [Help-gnu-radius] Segfault in exec.c? |
Date: |
06 Aug 2002 10:45:32 -0700 |
Thanks for the quick response. Unfortunately, that didn't seem to do the
trick. I had tried a couple other patches from savannah.gnu.org so I
went back to the original 0.96.3 source, patched it with the util.c
patch you suggested, and it still produces the same errors:
>From radius.debug:
Aug 06 10:37:18: [28807]: Main.debug: radiusd.c:1259:rad_spawn_child:
adding ACCT request to the list. 1 requests held.
Aug 06 10:37:18: [28838]: Acct.crit: CHILD: exit on signal (11)
Aug 06 10:37:18: [28807]: Main.debug: radiusd.c:1297:rad_spawn_child:
started handler at pid 28838
Aug 06 10:37:48: [28807]: Main.debug: radiusd.c:1127:rad_spawn_child:
deleting completed ACCT request
Aug 06 10:37:48: [28807]: Main.debug: radiusd.c:1259:rad_spawn_child:
adding ACCT request to the list. 1 requests held.
Aug 06 10:37:48: [28855]: Acct.crit: CHILD: exit on signal (11)
Aug 06 10:37:48: [28807]: Main.debug: radiusd.c:1297:rad_spawn_child:
started handler at pid 28855
Aug 06 10:38:39: [28807]: Main.debug: radiusd.c:1127:rad_spawn_child:
deleting completed ACCT request
Is there another possible patch for this? Thanks for your help with
this, I really appreciate it.
PS: In case this helps, here's a truss of the freshly patched process --
28807: poll(0xFFBEEFD0, 2, 1000) = 0
28807: poll(0xFFBEEFD0, 2, 1000) = 1
28807: recvfrom(4, "04F0\095 9 _ GC6CEDC 9D8".., 16384, 0, 0xFFBEF110,
0xFFBEF084) = 149
28807: time() = 1028655438
28807: time() = 1028655438
28807: open("/usr/local/gnu-radius/var/log/radius.debug",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 6
28807: llseek(6, 0, SEEK_END) = 412597
28807: fstat64(6, 0xFFBEDDA0) = 0
28807: brk(0x000A0C70) = 0
28807: brk(0x000A2C70) = 0
28807: ioctl(6, TCGETA, 0xFFBEDD2C) Err#25 ENOTTY
28807: getpid() = 28807 [1]
28807: write(6, " A u g 0 6 1 0 : 3 7".., 120) = 120
28807: close(6) = 0
28807: time() = 1028655438
28807: open("/usr/local/gnu-radius/var/log/radius.log",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 6
28807: llseek(6, 0, SEEK_END) = 379068
28807: fstat64(6, 0xFFBEDDA0) = 0
28807: ioctl(6, TCGETA, 0xFFBEDD2C) Err#25 ENOTTY
28807: write(6, " A u g 0 6 1 0 : 3 7".., 111) = 111
28807: close(6) = 0
28807: fork() = 28838
28838: fork() (returning as child ...) = 28807
28838: sigaction(SIGCLD, 0xFFBEEE00, 0xFFBEEE80) = 0
28838: sigaction(SIGHUP, 0xFFBEEE00, 0xFFBEEE80) = 0
28838: sigaction(SIGUSR1, 0xFFBEEE00, 0xFFBEEE80) = 0
28838: sigaction(SIGUSR2, 0xFFBEEE00, 0xFFBEEE80) = 0
28838: sigaction(SIGINT, 0xFFBEEE00, 0xFFBEEE80) = 0
28838: chdir("/tmp") = 0
28838: Incurred fault #6, FLTBOUNDS %pc = 0x00034ED0
28838: siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000C
28838: Received signal #11, SIGSEGV [caught]
28838: siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000C
28838: getpid() = 28838 [28807]
28838: time() = 1028655438
28838: open("/usr/local/gnu-radius/var/log/radius.debug",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 6
28838: llseek(6, 0, SEEK_END) = 412717
28838: fstat64(6, 0xFFBED628) = 0
28838: ioctl(6, TCGETA, 0xFFBED5B4) Err#25 ENOTTY
28838: getpid() = 28838 [28807]
28838: write(6, " A u g 0 6 1 0 : 3 7".., 64) = 64
28838: close(6) = 0
28838: time() = 1028655438
28838: open("/usr/local/gnu-radius/var/log/radius.info",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 6
28838: llseek(6, 0, SEEK_END) = 72933
28838: fstat64(6, 0xFFBED628) = 0
28838: ioctl(6, TCGETA, 0xFFBED5B4) Err#25 ENOTTY
28838: getpid() = 28838 [28807]
28838: write(6, " A u g 0 6 1 0 : 3 7".., 64) = 64
28807: time() = 1028655438
28807: open("/usr/local/gnu-radius/var/log/radius.debug",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 6
28807: llseek(6, 0, SEEK_END) = 412781
28807: fstat64(6, 0xFFBEDDA0) = 0
28807: ioctl(6, TCGETA, 0xFFBEDD2C) Err#25 ENOTTY
28807: getpid() = 28807 [1]
28807: write(6, " A u g 0 6 1 0 : 3 7".., 99) = 99
28807: close(6) = 0
28807: time() = 1028655438
28807: open("/usr/local/gnu-radius/var/log/radius.log",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 6
28807: llseek(6, 0, SEEK_END) = 379179
28807: fstat64(6, 0xFFBEDDA0) = 0
28807: ioctl(6, TCGETA, 0xFFBEDD2C) Err#25 ENOTTY
28807: write(6, " A u g 0 6 1 0 : 3 7".., 90) = 90
28807: close(6) = 0
28807: waitid(P_ALL, 0, 0xFFBEF038, WEXITED|WTRAPPED|WNOHANG) = 0
28838: close(6) = 0
28838: time() = 1028655438
28838: open("/usr/local/gnu-radius/var/log/radius.log",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 6
28838: llseek(6, 0, SEEK_END) = 379269
28838: fstat64(6, 0xFFBED628) = 0
28838: ioctl(6, TCGETA, 0xFFBED5B4) Err#25 ENOTTY
28838: write(6, " A u g 0 6 1 0 : 3 7".., 55) = 55
28838: close(6) = 0
28838: sigaction(SIGABRT, 0x00000000, 0xFFBEE6C8) = 0
28838: llseek(0, 0, SEEK_CUR) = 97944
28838: sigaction(SIGABRT, 0xFFBEE598, 0xFFBEE618) = 0
28838: sigfillset(0xFF23C734) = 0
28838: sigprocmask(SIG_UNBLOCK, 0xFFBEE648, 0x00000000) = 0
28838: getpid() = 28838 [28807]
28838: kill(28838, SIGABRT) = 0
28838: Received signal #6, SIGABRT [default]
28838: siginfo: SIGABRT pid=28838 uid=0
28838: *** process killed ***
28807: Received signal #18, SIGCLD, in poll() [caught]
28807: siginfo: SIGCLD CLD_KILLED pid=28838 status=0x0006
28807: poll(0xFFBEEFD0, 2, 1000) Err#4 EINTR
28807: sigaction(SIGCLD, 0xFFBEEAB8, 0xFFBEEB38) = 0
28807: setcontext(0xFFBEECB8)
28807: waitid(P_ALL, 0, 0xFFBEF038, WEXITED|WTRAPPED|WNOHANG) = 0
28807: time() = 1028655438
28807: waitid(P_ALL, 0, 0xFFBEF038, WEXITED|WTRAPPED|WNOHANG) Err#10
ECHILD
28807: poll(0xFFBEEFD0, 2, 1000) = 0
28807: poll(0xFFBEEFD0, 2, 1000) = 0
On Tue, 2002-08-06 at 04:25, Sergey Poznyakoff wrote:
>
> > Does anyone have any wisdom they could impart to me on this?
>
> Try the following patch:
>
> http://savannah.gnu.org/patch/?func=detailpatch&group_id=92&patch_id=420
>
> Regards,
> Sergey
--
I tell you, I have struck depths that your little brain can't picture!
I have seen beyond the bounds of infinity and drawn down daemons from
the stars... I have harnessed the shadows that stride from world to
world to sow death and madness... Space belongs to me, do you hear?
-- Crawford Tillinghast