elkwasik Napisano Luty 3, 2009 Zgłoszenie Share Napisano Luty 3, 2009 (edytowane) Czesc, wiecie moze co moze powodowac ten blad? i jak sie tego pozbyc? [root@server51372 ~]# groupmems -a sage_user -g sage_users Segmentation fault teraz przy kazdym uzyciu groupmems wywala mi to: [root@server51372 ~]# groupmems -a rn -g samba_users *** glibc detected *** groupmems: free(): invalid pointer: 0x09a295f8 *** ======= Backtrace: ========= /lib/libc.so.6[0x875ac1] /lib/libc.so.6(cfree+0x90)[0x8790f0] groupmems[0x8049970] groupmems[0x804a3bb] groupmems[0x8049a99] groupmems[0x8049570] /lib/libc.so.6(__libc_start_main+0xe0)[0x822390] groupmems[0x8049251] ======= Memory map: ======== 00110000-00111000 r-xp 00110000 00:00 0 [vdso] 007ed000-00808000 r-xp 00000000 08:03 31196651 /lib/ld-2.7.so 00808000-00809000 r-xp 0001a000 08:03 31196651 /lib/ld-2.7.so 00809000-0080a000 rwxp 0001b000 08:03 31196651 /lib/ld-2.7.so 0080c000-0095f000 r-xp 00000000 08:03 31196652 /lib/libc-2.7.so 0095f000-00961000 r-xp 00153000 08:03 31196652 /lib/libc-2.7.so 00961000-00962000 rwxp 00155000 08:03 31196652 /lib/libc-2.7.so 00962000-00965000 rwxp 00962000 00:00 0 00967000-0096a000 r-xp 00000000 08:03 31196654 /lib/libdl-2.7.so 0096a000-0096b000 r-xp 00002000 08:03 31196654 /lib/libdl-2.7.so 0096b000-0096c000 rwxp 00003000 08:03 31196654 /lib/libdl-2.7.so 009b4000-009cd000 r-xp 00000000 08:03 31196663 /lib/libselinux.so.1 009cd000-009cf000 rwxp 00018000 08:03 31196663 /lib/libselinux.so.1 009e6000-009ef000 r-xp 00000000 08:03 31196659 /lib/libcrypt-2.7.so 009ef000-009f0000 r-xp 00008000 08:03 31196659 /lib/libcrypt-2.7.so 009f0000-009f1000 rwxp 00009000 08:03 31196659 /lib/libcrypt-2.7.so 009f1000-00a18000 rwxp 009f1000 00:00 0 00b21000-00b2c000 r-xp 00000000 08:03 31195531 /lib/libgcc_s-4.1.2-20070925.so .1 00b2c000-00b2d000 rwxp 0000a000 08:03 31195531 /lib/libgcc_s-4.1.2-20070925.so .1 08048000-0804d000 r-xp 00000000 08:03 4499725 /usr/sbin/groupmems 0804d000-0804e000 rw-p 00004000 08:03 4499725 /usr/sbin/groupmems 09a25000-09a46000 rw-p 09a25000 00:00 0 b7c00000-b7c21000 rw-p b7c00000 00:00 0 b7c21000-b7d00000 ---p b7c21000 00:00 0 b7d1e000-b7f1e000 r--p 00000000 08:03 4492399 /usr/lib/locale/locale-archive b7f1e000-b7f20000 rw-p b7f1e000 00:00 0 b7f29000-b7f2a000 rw-p b7f29000 00:00 0 bfb6a000-bfb7f000 rw-p bffea000 00:00 0 [stack] Aborted Pozdrawiam, Pawel ---------------------- Listingi do 12-15 linijek umieszczaj między znacznikami [code] i [/code], dłuższe niż 15 linii pomiędzy [codebox] i [/codebox] - tak jest czytelniej. Przeczytaj "BB Code Help" Edytowane Luty 3, 2009 przez WalDo Edycja znaczników code → codebox Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
morsik Napisano Luty 3, 2009 Zgłoszenie Share Napisano Luty 3, 2009 Sprawdź programem strace. strace polecenie Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
elkwasik Napisano Luty 3, 2009 Autor Zgłoszenie Share Napisano Luty 3, 2009 (edytowane) strace wypuscilo mi to: czarna magia [root@server51372 /]# strace groupmems execve("/usr/sbin/groupmems", ["groupmems"], [/* 21 vars */]) = 0 brk(0) = 0x9250000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=40002, ...}) = 0 mmap2(NULL, 40002, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ff5000 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\0 g\236\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=45316, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ff4000 mmap2(0x9e6000, 201020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9e6000 mmap2(0x9ef000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x9ef000 mmap2(0x9f1000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x9f1000 close(3) = 0 open("/lib/libselinux.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@z\233\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=105968, ...}) = 0 mmap2(0x9b4000, 109468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9b4000 mmap2(0x9cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18) = 0x9cd000 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\360$\202\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1692524, ...}) = 0 mmap2(0x80c000, 1410608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x80c000 mmap2(0x95f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0x95f000 mmap2(0x962000, 9776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x962000 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\0\220z\226\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=20564, ...}) = 0 mmap2(0x967000, 16504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x967000 mmap2(0x96a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x96a000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ff3000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ff3920, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x9ef000, 4096, PROT_READ) = 0 mprotect(0x95f000, 8192, PROT_READ) = 0 mprotect(0x96a000, 4096, PROT_READ) = 0 mprotect(0x808000, 4096, PROT_READ) = 0 munmap(0xb7ff5000, 40002) = 0 brk(0) = 0x9250000 brk(0x9271000) = 0x9271000 open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=501, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ffe000 read(3, "\n# This file controls the state "..., 4096) = 501 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7ffe000, 4096) = 0 statfs64("/selinux", 84, {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 stat64("/selinux/class", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/selinux/mls", O_RDONLY|O_LARGEFILE) = 3 read(3, "1", 19) = 1 close(3) = 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=77962480, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7df3000 close(3) = 0 getuid32() = 0 getuid32() = 0 getgid32() = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 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=1696, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ffe000 read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7ffe000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=40002, ...}) = 0 mmap2(NULL, 40002, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ff5000 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\300\30\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=50768, ...}) = 0 mmap2(NULL, 45712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x111000 mmap2(0x11b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0x11b000 close(3) = 0 mprotect(0x11b000, 4096, PROT_READ) = 0 munmap(0xb7ff5000, 40002) = 0 open("/etc/group", O_RDONLY|0x80000 /* O_??? */) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) fstat64(3, {st_mode=S_IFREG|0644, st_size=1038, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ffe000 read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1038 close(3) = 0 munmap(0xb7ffe000, 4096) = 0 getgid32() = 0 open("/etc/group", O_RDONLY|0x80000 /* O_??? */) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1038, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ffe000 read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1038 close(3) = 0 munmap(0xb7ffe000, 4096) = 0 getuid32() = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2544, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ffe000 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2544 close(3) = 0 munmap(0xb7ffe000, 4096) = 0 open("/etc/.pwd.lock", O_WRONLY|O_CREAT|0x80000, 0600) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) rt_sigaction(SIGALRM, {0x8e5760, ~[], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM], [], 8) = 0 alarm(15) = 0 fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 alarm(0) = 15 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0 getpid() = 10291 open("/etc/group.10291", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 4 write(4, "10291\0", 6) = 6 close(4) = 0 link("/etc/group.10291", "/etc/group.lock") = -1 EEXIST (File exists) open("/etc/group.lock", O_RDWR|O_LARGEFILE) = 4 read(4, "5625\0", 31) = 5 close(4) = 0 kill(5625, SIG_0) = -1 ESRCH (No such process) unlink("/etc/group.lock") = 0 link("/etc/group.10291", "/etc/group.lock") = 0 stat64("/etc/group.10291", {st_mode=S_IFREG|0600, st_size=6, ...}) = 0 unlink("/etc/group.10291") = 0 open("/etc/group", O_RDWR|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 gettid() = 10291 open("/proc/self/task/10291/attr/current", O_RDONLY|O_LARGEFILE) = 5 read(5, "system_u:system_r:unconfined_t:s"..., 4095) = 46 close(5) = 0 fgetxattr(4, "security.selinux"..., "system_u:object_r:etc_t:s0", 255) = 27 socket(PF_FILE, SOCK_STREAM, 0) = 5 connect(5, {sa_family=AF_FILE, path="/var/run/setrans/.setrans-unix"}, 110) = -1 ENOENT (No such file or directory) close(5) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=1038, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ffe000 read(4, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1038 read(4, "", 4096) = 0 close(4) = 0 munmap(0xb7ffe000, 4096) = 0 gettid() = 10291 open("/proc/self/task/10291/attr/fscreate", O_RDWR|O_LARGEFILE) = 4 write(4, NULL, 0) = 0 close(4) = 0 unlink("/etc/group.lock") = 0 close(3) = 0 exit_group(0) = ? --------------------- Listingi do 12-15 linijek umieszczaj między znacznikami [code] i [/code], dłuższe niż 15 linii pomiędzy [codebox] i [/codebox] - tak jest czytelniej. Przeczytaj "BB Code Help" Edytowane Luty 3, 2009 przez WalDo Edycja znaczników code → codebox Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
morsik Napisano Luty 3, 2009 Zgłoszenie Share Napisano Luty 3, 2009 Najpierw uruchamiasz tak: [root@server51372 ~]# groupmems -a rn -g samba_users A potem strace'm jedziesz tak: [root@server51372 /]# strace groupmems Zdecyduj się... Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
elkwasik Napisano Luty 4, 2009 Autor Zgłoszenie Share Napisano Luty 4, 2009 ok morsik, [root@server51372 ~]# groupmems -a rn -g samba_users *** glibc detected *** groupmems: free(): invalid pointer: 0x08cd5628 *** ======= Backtrace: ========= /lib/libc.so.6[0x875ac1] /lib/libc.so.6(cfree+0x90)[0x8790f0] groupmems[0x8049970] groupmems[0x804a3bb] groupmems[0x8049a99] groupmems[0x8049570] /lib/libc.so.6(__libc_start_main+0xe0)[0x822390] groupmems[0x8049251] ======= Memory map: ======== 00110000-00111000 r-xp 00110000 00:00 0 [vdso] 007ed000-00808000 r-xp 00000000 08:03 31196651 /lib/ld-2.7.so 00808000-00809000 r-xp 0001a000 08:03 31196651 /lib/ld-2.7.so 00809000-0080a000 rwxp 0001b000 08:03 31196651 /lib/ld-2.7.so 0080c000-0095f000 r-xp 00000000 08:03 31196652 /lib/libc-2.7.so 0095f000-00961000 r-xp 00153000 08:03 31196652 /lib/libc-2.7.so 00961000-00962000 rwxp 00155000 08:03 31196652 /lib/libc-2.7.so 00962000-00965000 rwxp 00962000 00:00 0 00967000-0096a000 r-xp 00000000 08:03 31196654 /lib/libdl-2.7.so 0096a000-0096b000 r-xp 00002000 08:03 31196654 /lib/libdl-2.7.so 0096b000-0096c000 rwxp 00003000 08:03 31196654 /lib/libdl-2.7.so 009b4000-009cd000 r-xp 00000000 08:03 31196663 /lib/libselinux.so.1 009cd000-009cf000 rwxp 00018000 08:03 31196663 /lib/libselinux.so.1 009e6000-009ef000 r-xp 00000000 08:03 31196659 /lib/libcrypt-2.7.so 009ef000-009f0000 r-xp 00008000 08:03 31196659 /lib/libcrypt-2.7.so 009f0000-009f1000 rwxp 00009000 08:03 31196659 /lib/libcrypt-2.7.so 009f1000-00a18000 rwxp 009f1000 00:00 0 00b21000-00b2c000 r-xp 00000000 08:03 31195531 /lib/libgcc_s-4.1.2-20070925.so.1 00b2c000-00b2d000 rwxp 0000a000 08:03 31195531 /lib/libgcc_s-4.1.2-20070925.so.1 08048000-0804d000 r-xp 00000000 08:03 4499725 /usr/sbin/groupmems 0804d000-0804e000 rw-p 00004000 08:03 4499725 /usr/sbin/groupmems 08cd1000-08cf2000 rw-p 08cd1000 00:00 0 b7c00000-b7c21000 rw-p b7c00000 00:00 0 b7c21000-b7d00000 ---p b7c21000 00:00 0 b7d72000-b7f72000 r--p 00000000 08:03 4492399 /usr/lib/locale/locale-archive b7f72000-b7f74000 rw-p b7f72000 00:00 0 b7f7d000-b7f7e000 rw-p b7f7d000 00:00 0 bfc3a000-bfc4f000 rw-p bffea000 00:00 0 [stack] Aborted [root@server51372 ~]# strace groupmems execve("/usr/sbin/groupmems", ["groupmems"], [/* 20 vars */]) = 0 brk(0) = 0x8e8f000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=40002, ...}) = 0 mmap2(NULL, 40002, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fb6000 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\0 g\236\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=45316, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb5000 mmap2(0x9e6000, 201020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9e6000 mmap2(0x9ef000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x9ef000 mmap2(0x9f1000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x9f1000 close(3) = 0 open("/lib/libselinux.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@z\233\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=105968, ...}) = 0 mmap2(0x9b4000, 109468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9b4000 mmap2(0x9cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18) = 0x9cd000 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\360$\202\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1692524, ...}) = 0 mmap2(0x80c000, 1410608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x80c000 mmap2(0x95f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0x95f000 mmap2(0x962000, 9776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x962000 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\0\220z\226\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=20564, ...}) = 0 mmap2(0x967000, 16504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x967000 mmap2(0x96a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x96a000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb4000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fb4920, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x9ef000, 4096, PROT_READ) = 0 mprotect(0x95f000, 8192, PROT_READ) = 0 mprotect(0x96a000, 4096, PROT_READ) = 0 mprotect(0x808000, 4096, PROT_READ) = 0 munmap(0xb7fb6000, 40002) = 0 brk(0) = 0x8e8f000 brk(0x8eb0000) = 0x8eb0000 open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=501, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbf000 read(3, "\n# This file controls the state "..., 4096) = 501 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7fbf000, 4096) = 0 statfs64("/selinux", 84, {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 stat64("/selinux/class", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/selinux/mls", O_RDONLY|O_LARGEFILE) = 3 read(3, "1", 19) = 1 close(3) = 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=77962480, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7db4000 close(3) = 0 getuid32() = 0 getuid32() = 0 getgid32() = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 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=1696, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbf000 read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7fbf000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=40002, ...}) = 0 mmap2(NULL, 40002, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fb6000 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\300\30\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=50768, ...}) = 0 mmap2(NULL, 45712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x111000 mmap2(0x11b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0x11b000 close(3) = 0 mprotect(0x11b000, 4096, PROT_READ) = 0 munmap(0xb7fb6000, 40002) = 0 open("/etc/group", O_RDONLY|0x80000 /* O_??? */) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) fstat64(3, {st_mode=S_IFREG|0644, st_size=1044, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbf000 read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1044 close(3) = 0 munmap(0xb7fbf000, 4096) = 0 getgid32() = 0 open("/etc/group", O_RDONLY|0x80000 /* O_??? */) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1044, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbf000 read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1044 close(3) = 0 munmap(0xb7fbf000, 4096) = 0 getuid32() = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2544, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbf000 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2544 close(3) = 0 munmap(0xb7fbf000, 4096) = 0 open("/etc/.pwd.lock", O_WRONLY|O_CREAT|0x80000, 0600) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) rt_sigaction(SIGALRM, {0x8e5760, ~[], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM], [], 8) = 0 alarm(15) = 0 fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 alarm(0) = 15 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0 getpid() = 31329 open("/etc/group.31329", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 4 write(4, "31329\0", 6) = 6 close(4) = 0 link("/etc/group.31329", "/etc/group.lock") = -1 EEXIST (File exists) open("/etc/group.lock", O_RDWR|O_LARGEFILE) = 4 read(4, "31325\0", 31) = 6 close(4) = 0 kill(31325, SIG_0) = -1 ESRCH (No such process) unlink("/etc/group.lock") = 0 link("/etc/group.31329", "/etc/group.lock") = 0 stat64("/etc/group.31329", {st_mode=S_IFREG|0600, st_size=6, ...}) = 0 unlink("/etc/group.31329") = 0 open("/etc/group", O_RDWR|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 gettid() = 31329 open("/proc/self/task/31329/attr/current", O_RDONLY|O_LARGEFILE) = 5 read(5, "system_u:system_r:unconfined_t:s"..., 4095) = 46 close(5) = 0 fgetxattr(4, "security.selinux"..., "system_u:object_r:etc_t:s0", 255) = 27 socket(PF_FILE, SOCK_STREAM, 0) = 5 connect(5, {sa_family=AF_FILE, path="/var/run/setrans/.setrans-unix"}, 110) = -1 ENOENT (No such file or directory) close(5) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=1044, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbf000 read(4, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1044 read(4, "", 4096) = 0 close(4) = 0 munmap(0xb7fbf000, 4096) = 0 gettid() = 31329 open("/proc/self/task/31329/attr/fscreate", O_RDWR|O_LARGEFILE) = 4 write(4, NULL, 0) = 0 close(4) = 0 unlink("/etc/group.lock") = 0 close(3) = 0 exit_group(0) = ? Dzieki za zainteresowanie. Pozdrawiam, Pawel Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
elkwasik Napisano Luty 4, 2009 Autor Zgłoszenie Share Napisano Luty 4, 2009 no chyba, ze masz na mysli to: [root@server51372 ~]# strace groupmems -a rn -g samba_users execve("/usr/sbin/groupmems", ["groupmems", "-a", "rn", "-g", "samba_users"], [/* 20 vars */]) = 0 brk(0) = 0x99ad000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=40002, ...}) = 0 mmap2(NULL, 40002, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f98000 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\0 g\236\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=45316, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f97000 mmap2(0x9e6000, 201020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9e6000 mmap2(0x9ef000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x9ef000 mmap2(0x9f1000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x9f1000 close(3) = 0 open("/lib/libselinux.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@z\233\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=105968, ...}) = 0 mmap2(0x9b4000, 109468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9b4000 mmap2(0x9cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18) = 0x9cd000 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\360$\202\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1692524, ...}) = 0 mmap2(0x80c000, 1410608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x80c000 mmap2(0x95f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0x95f000 mmap2(0x962000, 9776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x962000 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\0\220z\226\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=20564, ...}) = 0 mmap2(0x967000, 16504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x967000 mmap2(0x96a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x96a000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f96000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f96920, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x9ef000, 4096, PROT_READ) = 0 mprotect(0x95f000, 8192, PROT_READ) = 0 mprotect(0x96a000, 4096, PROT_READ) = 0 mprotect(0x808000, 4096, PROT_READ) = 0 munmap(0xb7f98000, 40002) = 0 brk(0) = 0x99ad000 brk(0x99ce000) = 0x99ce000 open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=501, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa1000 read(3, "\n# This file controls the state "..., 4096) = 501 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7fa1000, 4096) = 0 statfs64("/selinux", 84, {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 stat64("/selinux/class", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/selinux/mls", O_RDONLY|O_LARGEFILE) = 3 read(3, "1", 19) = 1 close(3) = 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=77962480, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d96000 close(3) = 0 getuid32() = 0 getuid32() = 0 open("/etc/.pwd.lock", O_WRONLY|O_CREAT|0x80000, 0600) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) rt_sigaction(SIGALRM, {0x8e5760, ~[], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM], [], 8) = 0 alarm(15) = 0 fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 alarm(0) = 15 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0 getpid() = 555 open("/etc/group.555", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 4 write(4, "555\0", 4) = 4 close(4) = 0 link("/etc/group.555", "/etc/group.lock") = -1 EEXIST (File exists) open("/etc/group.lock", O_RDWR|O_LARGEFILE) = 4 read(4, "495\0", 31) = 4 close(4) = 0 kill(495, SIG_0) = -1 ESRCH (No such process) unlink("/etc/group.lock") = 0 link("/etc/group.555", "/etc/group.lock") = 0 stat64("/etc/group.555", {st_mode=S_IFREG|0600, st_size=4, ...}) = 0 unlink("/etc/group.555") = 0 open("/etc/group", O_RDWR|O_LARGEFILE) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 gettid() = 555 open("/proc/self/task/555/attr/current", O_RDONLY|O_LARGEFILE) = 5 read(5, "system_u:system_r:unconfined_t:s"..., 4095) = 46 close(5) = 0 fgetxattr(4, "security.selinux"..., "system_u:object_r:etc_t:s0", 255) = 27 socket(PF_FILE, SOCK_STREAM, 0) = 5 connect(5, {sa_family=AF_FILE, path="/var/run/setrans/.setrans-unix"}, 110) = -1 ENOENT (No such file or directory) close(5) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=1044, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa1000 read(4, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 1044 read(4, "", 4096) = 0 open("/dev/tty", O_RDWR|O_NOCTTY|O_NONBLOCK) = 5 writev(5, [{"*** glibc detected *** ", 23}, {"groupmems", 9}, {": ", 2}, {"free(): invalid pointer", 23}, {": 0x", 4}, {"099b1628", 8}, {" ***\n", 5}], 7*** glibc detected *** groupmems: free(): invalid pointer: 0x099b1628 *** ) = 74 open("/etc/ld.so.cache", O_RDONLY) = 6 fstat64(6, {st_mode=S_IFREG|0644, st_size=40002, ...}) = 0 mmap2(NULL, 40002, PROT_READ, MAP_PRIVATE, 6, 0) = 0xb7d8c000 close(6) = 0 open("/lib/libgcc_s.so.1", O_RDONLY) = 6 read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260&\262\0004\0\0\0"..., 512) = 512 mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0xb7b8c000 munmap(0xb7b8c000, 475136) = 0 munmap(0xb7d00000, 573440) = 0 mprotect(0xb7c00000, 135168, PROT_READ|PROT_WRITE) = 0 fstat64(6, {st_mode=S_IFREG|0755, st_size=46808, ...}) = 0 mmap2(0xb21000, 48228, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xb21000 mmap2(0xb2c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0xa) = 0xb2c000 close(6) = 0 munmap(0xb7d8c000, 40002) = 0 write(5, "======= Backtrace: =========\n", 29======= Backtrace: ========= ) = 29 writev(5, [{"/lib/libc.so.6", 14}, {"[0x", 3}, {"875ac1", 6}, {"]\n", 2}], 4/lib/libc.so.6[0x875ac1] ) = 25 writev(5, [{"/lib/libc.so.6", 14}, {"(", 1}, {"cfree", 5}, {"+0x", 3}, {"90", 2}, {")", 1}, {"[0x", 3}, {"8790f0", 6}, {"]\n", 2}], 9/lib/libc.so.6(cfree+0x90)[0x8790f0] ) = 37 writev(5, [{"groupmems", 9}, {"[0x", 3}, {"8049970", 7}, {"]\n", 2}], 4groupmems[0x8049970] ) = 21 writev(5, [{"groupmems", 9}, {"[0x", 3}, {"804a3bb", 7}, {"]\n", 2}], 4groupmems[0x804a3bb] ) = 21 writev(5, [{"groupmems", 9}, {"[0x", 3}, {"8049a99", 7}, {"]\n", 2}], 4groupmems[0x8049a99] ) = 21 writev(5, [{"groupmems", 9}, {"[0x", 3}, {"8049570", 7}, {"]\n", 2}], 4groupmems[0x8049570] ) = 21 writev(5, [{"/lib/libc.so.6", 14}, {"(", 1}, {"__libc_start_main", 17}, {"+0x", 3}, {"e0", 2}, {")", 1}, {"[0x", 3}, {"822390", 6}, {"]\n", 2}], 9/lib/libc.so.6(__libc_start_main+0xe0)[0x822390] ) = 49 writev(5, [{"groupmems", 9}, {"[0x", 3}, {"8049251", 7}, {"]\n", 2}], 4groupmems[0x8049251] ) = 21 write(5, "======= Memory map: ========\n", 29======= Memory map: ======== ) = 29 open("/proc/self/maps", O_RDONLY) = 6 read(6, "00110000-00111000 r-xp 00110000 "..., 1024) = 1024 write(5, "00110000-00111000 r-xp 00110000 "..., 102400110000-00111000 r-xp 00110000 00:00 0 [vdso] 007ed000-00808000 r-xp 00000000 08:03 31196651 /lib/ld-2.7.so 00808000-00809000 r-xp 0001a000 08:03 31196651 /lib/ld-2.7.so 00809000-0080a000 rwxp 0001b000 08:03 31196651 /lib/ld-2.7.so 0080c000-0095f000 r-xp 00000000 08:03 31196652 /lib/libc-2.7.so 0095f000-00961000 r-xp 00153000 08:03 31196652 /lib/libc-2.7.so 00961000-00962000 rwxp 00155000 08:03 31196652 /lib/libc-2.7.so 00962000-00965000 rwxp 00962000 00:00 0 00967000-0096a000 r-xp 00000000 08:03 31196654 /lib/libdl-2.7.so 0096a000-0096b000 r-xp 00002000 08:03 31196654 /lib/libdl-2.7.so 0096b000-0096c000 rwxp 00003000 08:03 31196654 /lib/libdl-2.7.so 009b4000-009cd000 r-xp 00000000 08:03 31196663 /lib/libselinux.so.1 009cd000-009cf000 rwxp 00018000 08:03 31196663 /lib/libselinux.so.1 009e6000-009ef000 r-xp 00000000 08:03 31196659 /lib/libcrypt-2.7.so 009ef000-009f0000 r-xp 00008000 08:03 31196659 /lib/libcrypt-2.7.so 009f0000-009f1000 rwxp 00009000 08:03 31196659 /lib/li) = 1024 read(6, "bcrypt-2.7.so\n009f1000-00a18000 "..., 1024) = 701 write(5, "bcrypt-2.7.so\n009f1000-00a18000 "..., 701bcrypt-2.7.so 009f1000-00a18000 rwxp 009f1000 00:00 0 00b21000-00b2c000 r-xp 00000000 08:03 31195531 /lib/libgcc_s-4.1.2-20070925.so.1 00b2c000-00b2d000 rwxp 0000a000 08:03 31195531 /lib/libgcc_s-4.1.2-20070925.so.1 08048000-0804d000 r-xp 00000000 08:03 4499725 /usr/sbin/groupmems 0804d000-0804e000 rw-p 00004000 08:03 4499725 /usr/sbin/groupmems 099ad000-099ce000 rw-p 099ad000 00:00 0 b7c00000-b7c21000 rw-p b7c00000 00:00 0 b7c21000-b7d00000 ---p b7c21000 00:00 0 b7d96000-b7f96000 r--p 00000000 08:03 4492399 /usr/lib/locale/locale-archive b7f96000-b7f98000 rw-p b7f96000 00:00 0 b7fa1000-b7fa2000 rw-p b7fa1000 00:00 0 bfa14000-bfa29000 rw-p bffea000 00:00 0 [stack] ) = 701 read(6, "", 1024) = 0 close(6) = 0 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(555, 555, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++ Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
morsik Napisano Luty 4, 2009 Zgłoszenie Share Napisano Luty 4, 2009 Tak to na końcu. W końcu program po podaniu argumentów robi zupełnie co innego niż jak go włączysz bez argumentów. Skąd masz ten program? To binarka czy ręcznie kompilowałeś? Nie znam się za bardzo, ale mi to wygląda na problem z zapisem do pamięci. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
elkwasik Napisano Luty 4, 2009 Autor Zgłoszenie Share Napisano Luty 4, 2009 To binarka. To jest preinstalowany system na zdalnym serwerze dedykowanym. Nie mam do niego fizycznego dostepu. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi