NickD-NLUG
March 23rd, 2009, 02:09 PM
If I run /usr/bin/sxid I get a segmentation fault.
If I run "strace /usr/bin/sxid" the program runs fine.
If I run "strace /etc/cron.daily/sxid" I get a segmentation fault:
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x40f810, ~[RTMIN RT_1], SA_RESTORER, 0x7f65e206e0a0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh\n\nSXID_OPTS=\n\nif [ -x /"..., 8192) = 84
stat("/usr/bin/sxid", {st_mode=S_IFREG|0755, st_size=27792, ...}) = 0
geteuid() = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7f65e25af770) = 2213
wait4(4294967295, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 2213
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "Segmentation fault\n", 19Segmentation fault
) = 19
read(10, "", 8192) = 0
exit_group(139) = ?
Any ideas where I should start with this one?
If I run "strace /usr/bin/sxid" the program runs fine.
If I run "strace /etc/cron.daily/sxid" I get a segmentation fault:
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x40f810, ~[RTMIN RT_1], SA_RESTORER, 0x7f65e206e0a0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh\n\nSXID_OPTS=\n\nif [ -x /"..., 8192) = 84
stat("/usr/bin/sxid", {st_mode=S_IFREG|0755, st_size=27792, ...}) = 0
geteuid() = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC HLD, child_tidptr=0x7f65e25af770) = 2213
wait4(4294967295, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 2213
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "Segmentation fault\n", 19Segmentation fault
) = 19
read(10, "", 8192) = 0
exit_group(139) = ?
Any ideas where I should start with this one?