LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-22-2004, 06:28 PM   #1
winword10
LQ Newbie
 
Registered: Sep 2003
Location: New Jersey, USA
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
Lightbulb su causing segmentation fault


Hi. I'm having issues with the 'su' command resulting in a segmentation fault. This started yesterday after installing some system updates with portage (I use Gentoo).

Code:
[henry in ~ at 23:35:27]: su
Segmentation fault
I've tried running, recompiling and/or installing the following packages, all to no avail:

revdep-rebuild
util-linux
fileutils
coreutils
pam
shadow
sudo
pam-login
emerge -uD world

My /etc/make.conf file looks like this:
Code:
# These settings were set by the catalyst build script that automatically built$
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
PORTDIR_OVERLAY=/usr/local/portage
PORT_LOGDIR=/var/log/portage
And my system specs are:
Pentium 4 @ 1400 MHz

I've posted this thread on the Gentoo Linux foroum also, but nobody there has been able to solve my problem yet, so I thought I'd try here.

Since this forum is really, really ghey, I can't post an actual link to that thread, so you'll have to do some copy and pasting.

The link to the thread on Gentoo's forum is forums.gentoo.org/viewtopic.php?p=1903442#1903442
Please help. Thanks.

H

Last edited by winword10; 12-22-2004 at 10:09 PM.
 
Old 12-22-2004, 09:37 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Try re-emerging coreutils and sudo if you have that installed.

I show su being apart of the following packages:

Searching for /bin/su in * ...
app-admin/sudo-1.6.7_p5-r2
sys-apps/daemontools-0.76-r4
sys-apps/shadow-4.0.6
sys-apps/coreutils-5.2.1-r2

Unless you use qmail I imagine you don't even have daemontools installed. Sudo might not be installed either, obviously if it isn't then it isn't the problem.

You said you already redid shadow so that can't be it, but you definitely have coreutils installed so maybe it is the culprit.

Another good idea is to do an etcat -b /bin/su to see if it shows up in any other packages you have on your system.

Last edited by jtshaw; 12-22-2004 at 09:39 PM.
 
Old 12-22-2004, 10:02 PM   #3
winword10
LQ Newbie
 
Registered: Sep 2003
Location: New Jersey, USA
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Looks like sudo is installed. I'll try re-emerging it now.

Code:
[henry in ~ at 23:00:21]: sudo etcat -b /bin/su
Searching for /bin/su in * ...
app-admin/sudo-1.6.7_p5-r2
sys-apps/shadow-4.0.5-r2
sys-apps/coreutils-5.2.1
 
Old 12-22-2004, 10:16 PM   #4
winword10
LQ Newbie
 
Registered: Sep 2003
Location: New Jersey, USA
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Ok, I've just re-emerged sudo and coreutils, and I'm still getting the segmentation fault error =(
 
Old 12-23-2004, 12:43 AM   #5
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Quote:
rm -rf /
Yes. Usually less than helpfull.

Do you get a core file from the segfault?

If yes, open the core file in gdb and get a stack trace with the where command. It will identify where the segfault is occuring. Even with debugging turned off you should get some sort of trace.

if you don't get a core file then I'd suggest removing the -O adding a -g to the CPP flags and recompile. Run su in gdb and when it crashes you'll have a stack trace.
 
Old 12-23-2004, 02:30 AM   #6
winword10
LQ Newbie
 
Registered: Sep 2003
Location: New Jersey, USA
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Aight, new drink
one part alazhay one part chrystal
^_^ 5th post ^_^

-------

Someone over at the Gentoo forums advised me to emerge strace and trace it. Here are the results of that trace (done yesterday).

Code:
[henry in ~ at 00:32:05]: strace su | tail -n 50
execve("/bin/su", ["su"], [/* 41 vars */]) = 0
brk(0) = 0x8054000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe9000
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35750, ...}) = 0
old_mmap(NULL, 35750, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe0000
close(3) = 0
open("/lib/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0008\t\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=18732, ...}) = 0
old_mmap(NULL, 176732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7fb4000
old_mmap(0xb7fb8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb7fb8000
old_mmap(0xb7fb9000, 156252, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fb9000
close(3) = 0
open("/lib/libpam.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\23\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=28592, ...}) = 0
old_mmap(NULL, 30076, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7fac000
old_mmap(0xb7fb3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xb7fb3000
close(3) = 0
open("/lib/libpam_misc.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=8880, ...}) = 0
old_mmap(NULL, 11412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7fa9000
old_mmap(0xb7fab000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb7fab000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\1U\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1169088, ...}) = 0
old_mmap(NULL, 1099428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e9c000
old_mmap(0xb7fa3000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x106000) = 0xb7fa3000
old_mmap(0xb7fa6000, 9892, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fa6000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0002\33\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10256, ...}) = 0
old_mmap(NULL, 12012, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e99000
old_mmap(0xb7e9b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb7e9b000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e98000
munmap(0xb7fe0000, 35750) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\224\266\373y", 4) = 4
close(3) = 0
brk(0) = 0x8054000
brk(0x8075000) = 0x8075000
getuid32() = 1000
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
readlink("/proc/self/fd/0", 0x80540c8, 4095) = -1 EACCES (Permission denied)
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
stat64("/dev/pts", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/dev/pts", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 4 entries */, 1024) = 96
stat64("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
close(3) = 0
readlink("/proc/self/fd/0", 0xbffff37c, 511) = -1 EACCES (Permission denied)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
stat64("/dev/pts/", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/dev/pts/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 4 entries */, 1024) = 96
stat64("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
close(3) = 0
access("/var/run/utmpx", F_OK) = -1 ENOENT (No such file or directory)
open("/var/run/utmp", O_RDWR) = -1 EACCES (Permission denied)
open("/var/run/utmp", O_RDONLY) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
_llseek(3, 0, [0], SEEK_SET) = 0
alarm(0) = 0
rt_sigaction(SIGALRM, {0xb7f78635, [], 0}, {SIG_DFL}, 8) = 0
alarm(1) = 0
fcntl64(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3, "\10\0\0\0\305\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\1\0\0\0003N\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\10\0\0\0\335\25\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\7\0\0\0\342\30\0\0vc/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\6\0\0\0\344\30\0\0tty2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\6\0\0\0\345\30\0\0tty3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\6\0\0\0\346\30\0\0tty4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\6\0\0\0\347\30\0\0tty5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\6\0\0\0\351\30\0\0tty6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\7\0\0\0#r\0\0pts/0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
read(3, "\7\0\0\0\'r\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
fcntl64(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
alarm(0) = 1
rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0
close(3) = 0
getuid32() = 1000
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=498, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe8000
read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 498
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7fe8000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35750, ...}) = 0
old_mmap(NULL, 35750, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe0000
close(3) = 0
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\21"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=27452, ...}) = 0
old_mmap(NULL, 29824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e90000
old_mmap(0xb7e97000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xb7e97000
close(3) = 0
open("/lib/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\350;\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=76472, ...}) = 0
old_mmap(NULL, 80512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e7c000
old_mmap(0xb7e8d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0xb7e8d000
old_mmap(0xb7e8e000, 6784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e8e000
close(3) = 0
munmap(0xb7fe0000, 35750) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35750, ...}) = 0
old_mmap(NULL, 35750, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe0000
close(3) = 0
open("/lib/libnss_nis.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\34"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34408, ...}) = 0
old_mmap(NULL, 36196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e73000
old_mmap(0xb7e7b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0xb7e7b000
close(3) = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\4\35\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34640, ...}) = 0
old_mmap(NULL, 36696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e6a000
old_mmap(0xb7e72000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0xb7e72000
close(3) = 0
munmap(0xb7fe0000, 35750) = 0
open("/etc/passwd", O_RDONLY) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
_llseek(3, 0, [0], SEEK_CUR) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1944, ...}) = 0
mmap2(NULL, 1944, PROT_READ, MAP_SHARED, 3, 0) = 0xb7fe8000
_llseek(3, 1944, [1944], SEEK_SET) = 0
munmap(0xb7fe8000, 1944) = 0
close(3) = 0
stat64("/etc/pam.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/pam.d/su", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1373, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe8000
read(3, "#%PAM-1.0\n\nauth sufficient"..., 4096) = 1373
open("/lib/security/pam_rootok.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\5\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=3956, ...}) = 0
old_mmap(NULL, 6544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7fe6000
old_mmap(0xb7fe7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0) = 0xb7fe7000
close(4) = 0
open("/lib/security/pam_wheel.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\v\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=10464, ...}) = 0
old_mmap(NULL, 8740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7fe3000
old_mmap(0xb7fe5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) = 0xb7fe5000
close(4) = 0
open("/lib/security/pam_stack.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\n\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=10900, ...}) = 0
old_mmap(NULL, 13488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7e66000
old_mmap(0xb7e69000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) = 0xb7e69000
close(4) = 0
time([1103693528]) = 1103693528
open("/etc/localtime", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e65000
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0"..., 4096) = 286
close(4) = 0
munmap(0xb7e65000, 4096) = 0
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
socket(PF_FILE, SOCK_DGRAM, 0) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 81, 0) = 81
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 79, 0) = 79
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("/lib/security/1", O_RDONLY) = -1 ENOENT (No such file or directory)
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 68, 0) = 68
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 120, 0) = 120
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 72, 0) = 72
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 81, 0) = 81
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 79, 0) = 79
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("/lib/security/2", O_RDONLY) = -1 ENOENT (No such file or directory)
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 68, 0) = 68
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 120, 0) = 120
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 72, 0) = 72
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("/lib/security/pam_env.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \n\0\000"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=10248, ...}) = 0
old_mmap(NULL, 12836, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7e62000
old_mmap(0xb7e65000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2000) = 0xb7e65000
close(5) = 0
time([1103693528]) = 1103693528
getpid() = 29229
rt_sigaction(SIGPIPE, {0xb7f4a6a7, [], 0}, {SIG_DFL}, 8) = 0
send(4, "<83>Dec 22 00:32:08 su[29229]: P"..., 81, 0) = 81
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
=)

Last edited by winword10; 12-23-2004 at 02:33 AM.
 
Old 12-23-2004, 03:01 AM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Well done winword10. You have posted 10 times, but only 5 of them count. In future, think before posting. Just because you want to have enough posts to create a clickable link does not mean you should wreck other people's posts. Great start to the forum.
 
Old 12-23-2004, 05:11 AM   #8
winword10
LQ Newbie
 
Registered: Sep 2003
Location: New Jersey, USA
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks XavierP. Glad to see you're as enthusiastic as I am, although it does just break me that only 5 of those posts count. That matters to me. Actually, I'm honored to have emanated such a productive, helpful response. From obtrusive anti-spam policies to contemptuous moderators, this forum has really done its share to welcome my question, and I can only hope to return the favor with my first impressions.

H
 
Old 12-23-2004, 06:23 AM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
So what, you believe yourself to be a revolutionary? Yeeesh. If you don't like the rules (which you have agreed to) and you don't like the moderators (contemptuous? you are the contemptuous one), why on earth did you go through with the sign up?
 
Old 12-23-2004, 07:38 PM   #10
winword10
LQ Newbie
 
Registered: Sep 2003
Location: New Jersey, USA
Distribution: Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
I'm wondering that myself. My question isn't getting answered, and my thread has turned from a simple, harmless question into a dispute over 5 posts that mostly said things along the lines of "my favorite color is blue," not exactly "wrecking" those posts by any stretch of the imagination. That's what private messages are for buddy. What a waste of time this has been. Hopefully your demeanor will convince others in my situation to seek help elsewhere.

H
 
Old 12-24-2004, 09:58 AM   #11
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Yea, I saw the strace on the gentoo forums, but strace only traces out system calls and does not show anything definitive.

An internal stack trace given in either a core file or a running program via gdb will show every internal method call in the su program. After looking at the stack trace there, it would point to a spot in the source code to start investigating.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Help! Segmentation Fault qieqie Linux - Newbie 3 06-03-2005 09:10 PM
Segmentation Fault OGreenOLeaf Slackware 7 01-03-2004 08:57 PM
What is segmentation fault? Tommi Linux - General 11 05-06-2003 12:34 PM
C Segmentation Fault fatman Programming 20 04-02-2003 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration