Package: pure-ftpd-postgresql Version: 1.0.22-1 Severity: grave Justification: renders package unusable
pure-ftpd-postgresql crashes with Segmentation fault error if a unix user or a user from a DB logs in the system. At the same time anonymous is able ro wirk normally. Below is a piece od strace report around the issue [pid 21725] select(1, [0], NULL, NULL, {900, 0}) = 1 (in [0], left {899, 990678}) [pid 21725] read(0, "USER username\r\n", 4112) = 12 [pid 21725] getcwd("/", 4096) = 2 [pid 21725] setsockopt(1, SOL_TCP, TCP_CORK, [1], 4) = 0 [pid 21725] write(1, "331 User photo OK. Password requ"..., 38) = 38 [pid 21725] setsockopt(1, SOL_TCP, TCP_CORK, [0], 4) = 0 [pid 21725] alarm(1800) = 1800 [pid 21725] select(1, [0], NULL, NULL, {900, 0}) = 1 (in [0], left {899, 990737}) [pid 21725] read(0, "PASS password\r\n", 4112) = 12 [pid 21725] nanosleep({0, 4590000}, NULL) = 0 [pid 21725] socket(PF_NETLINK, SOCK_RAW, 0) = 6 [pid 21725] bind(6, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 [pid 21725] getsockname(6, {sa_family=AF_NETLINK, pid=21725, groups=00000000}, [12]) = 0 [pid 21725] time(NULL) = 1241440172 [pid 21725] sendto(6, "\24\0\0\0\26\0\1\3\254\337\376I\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 [pid 21725] recvmsg(6, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\254\337\376I\335T\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 160 [pid 21725] recvmsg(6, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\254\337\376I\335T\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128 [pid 21725] recvmsg(6, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\254\337\376I\335T\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 [pid 21725] close(6) = 0 [pid 21725] stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=160, ...}) = 0 [pid 21725] open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 6 [pid 21725] fstat64(6, {st_mode=S_IFREG|0644, st_size=1294, ...}) = 0 [pid 21725] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb80cd000 [pid 21725] read(6, "127.0.0.1\tlocalhost\n10.250.0.1\tt"..., 4096) = 1294 [pid 21725] read(6, "", 4096) = 0 [pid 21725] close(6) = 0 [pid 21725] munmap(0xb80cd000, 4096) = 0 [pid 21725] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6 [pid 21725] setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = 0 [pid 21725] fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 [pid 21725] fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 [pid 21725] connect(6, {sa_family=AF_INET, sin_port=htons(5432), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress) [pid 21725] poll([{fd=6, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) [pid 21725] getsockopt(6, SOL_SOCKET, SO_ERROR, [0], [4]) = 0 [pid 21725] getsockname(6, {sa_family=AF_INET, sin_port=htons(58685), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 [pid 21725] poll([{fd=6, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] send(6, "\0\0\0\10\4\322\26/", 8, 0) = 8 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) [pid 21725] recv(6, "S", 16384, 0) = 1 [pid 21725] open("/usr/lib/ssl/openssl.cnf", O_RDONLY|O_LARGEFILE) = 8 [pid 21725] fstat64(8, {st_mode=S_IFREG|0644, st_size=9374, ...}) = 0 [pid 21725] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb80cd000 [pid 21725] read(8, "#\n# OpenSSL example configuratio"..., 4096) = 4096 [pid 21725] read(8, "_name ]\ncountryName\t\t\t= Country "..., 4096) = 4096 [pid 21725] read(8, " an SSL server.\n# nsCertType\t\t\t="..., 4096) = 1182 [pid 21725] read(8, "", 4096) = 0 [pid 21725] close(8) = 0 [pid 21725] munmap(0xb80cd000, 4096) = 0 [pid 21725] open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 8 [pid 21725] fstat64(8, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0 [pid 21725] poll([{fd=8, events=POLLIN}], 1, 10) = 1 ([{fd=8, revents=POLLIN}]) [pid 21725] read(8, "\213\353d\v\24Y\302A\210\220O\317F\27\32\302k\375^Y\22513\330\265\273\34P\273\315\32w", 32) = 32 [pid 21725] close(8) = 0 [pid 21725] getuid32() = 0 [pid 21725] time(NULL) = 1241440172 [pid 21725] geteuid32() = 0 [pid 21725] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 8 [pid 21725] _llseek(8, 0, [0], SEEK_CUR) = 0 [pid 21725] fstat64(8, {st_mode=S_IFREG|0644, st_size=3769, ...}) = 0 [pid 21725] mmap2(NULL, 3769, PROT_READ, MAP_SHARED, 8, 0) = 0xb80cd000 [pid 21725] _llseek(8, 3769, [3769], SEEK_SET) = 0 [pid 21725] munmap(0xb80cd000, 3769) = 0 [pid 21725] close(8) = 0 [pid 21725] stat64("/root/.postgresql/root.crt", 0xbfded0d8) = -1 ENOENT (No such file or directory) [pid 21725] time(NULL) = 1241440172 [pid 21725] brk(0x9f4b000) = 0x9f4b000 [pid 21725] time(NULL) = 1241440172 [pid 21725] time(NULL) = 1241440172 [pid 21725] write(6, "\26\3\1\0X\1\0\0T\3\1I\376\337\254\317\365\201-\224F\352\357!P\273\240\365T%2I"..., 93) = 93 [pid 21725] read(6, 0x9f21500, 5) = -1 EAGAIN (Resource temporarily unavailable) [pid 21725] poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) [pid 21725] time(NULL) = 1241440172 [pid 21725] read(6, "\26\3\1\0000", 5) = 5 [pid 21725] read(6, "\2\0\0,\3\1I\376\337\254\266\177\236\325\32b\2t\2522\261\316\332oN\233\230\261EO\236\242"..., 48) = 48 [pid 21725] read(6, "\26\3\1\3\31", 5) = 5 [pid 21725] read(6, "\v\0\3\25\0\3\22\0\3\0170\202\3\v0\202\2t\2\t\0\250n\371<\307\336\221\2360\r\6"..., 793) = 793 [pid 21725] read(6, "\26\3\1\1\215", 5) = 5 [pid 21725] read(6, "\f\0\1\211\0\200\364\210\375XNI\333\315 \264\235\344\221\0076k3l8\rE\35\17|\210\263"..., 397) = 397 [pid 21725] read(6, "\26\3\1\0\4", 5) = 5 [pid 21725] read(6, "\16\0\0\0", 4) = 4 [pid 21725] time(NULL) = 1241440172 [pid 21725] brk(0x9f72000) = 0x9f72000 [pid 21725] write(6, "\26\3\1\0\206\20\0\0\202\0\200\2520s\25\353/\345\246;\\\237\374`\256|\252\0031\357m\212"..., 198) = 198 [pid 21725] read(6, 0x9f21500, 5) = -1 EAGAIN (Resource temporarily unavailable) [pid 21725] poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) [pid 21725] time(NULL) = 1241440172 [pid 21725] read(6, "\26\3\1\0\252", 5) = 5 [pid 21725] read(6, "\4\0\0\246\0\0\0\0\0\240\7\3752Z|Cj\226\215I\272\3160\327&\270\224\340P<J\10"..., 170) = 170 [pid 21725] read(6, "\24\3\1\0\1", 5) = 5 [pid 21725] read(6, "\1", 1) = 1 [pid 21725] brk(0x9f95000) = 0x9f95000 [pid 21725] brk(0x9fb6000) = 0x9fb6000 [pid 21725] brk(0x9fdb000) = 0x9fdb000 [pid 21725] read(6, "\26\3\1\0000", 5) = 5 [pid 21725] read(6, "\v\0\254\217\336\10Bl\36\326['\0009<I\23 \33I\355\270[\252\267\rt\331J\37[W"..., 48) = 48 [pid 21725] poll([{fd=6, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] write(6, "\27\3\1\0 \254v\221\244\352R'\236\222S;)\6x\274\244h\250\302gR\244\362\202\202\4\33"..., 106) = 106 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] read(6, "\27\3\1\0 ", 5) = 5 [pid 21725] read(6, "\364\371I\255\246/\1\354\374\20\304\340#\242\251G4ip\231\4gn\27\235F\242uyy#\v", 32) = 32 [pid 21725] read(6, "\27\3\1\0000", 5) = 5 [pid 21725] read(6, "e\371\303\376\256z\365\232z\221\226\314\275\331\354I\312\372Kz\337\7V\7[\327\v\243XP\307\236"..., 48) = 48 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] write(6, "\27\3\1\0 >\361\3274\361\n\0\\\10\205\r\212\215\335\227\204,um\7\212\34\37\326\345\2554"..., 122) = 122 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] read(6, "\27\3\1\0 ", 5) = 5 [pid 21725] read(6, "\300y\r\234!\334\v\250\243\10\223\357\312\367=\206\363-\266\\\230\177$\32,\242\356\321\16\351=\315", 32) = 32 [pid 21725] read(6, "\27\3\1\0\340", 5) = 5 [pid 21725] read(6, "3cT\243{rh\247\216\361\312nc}1\23!)\310\360\23^\243\340\210\212\225\36\257M\345\324"..., 224) = 224 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 8 [pid 21725] read(8, "?\327\2007", 4) = 4 [pid 21725] close(8) = 0 [pid 21725] open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 8 [pid 21725] read(8, "\227&\263\364", 4) = 4 [pid 21725] close(8) = 0 [pid 21725] open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 8 [pid 21725] read(8, "\347\327R[", 4) = 4 [pid 21725] close(8) = 0 [pid 21725] open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 8 [pid 21725] read(8, "\256\217\336\274", 4) = 4 [pid 21725] close(8) = 0 [pid 21725] open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 8 [pid 21725] read(8, "\335t\17\37", 4) = 4 [pid 21725] close(8) = 0 [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] write(6, "\27\3\1\0 \0226\n\336\2531\f\2041s\316\335\303\347\16\227\327\210q\353|\237x\231\271\332|"..., 90) = 90 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] read(6, "\27\3\1\0 ", 5) = 5 [pid 21725] read(6, ".\3528\263._WX\201\330\"\242\345\353fi\344ex\224\351\242\2000\210Z'\251\230\4\215\342", 32) = 32 [pid 21725] read(6, "\27\3\1\0000", 5) = 5 [pid 21725] read(6, "\304\335\222\336\34\214c\22\376`\254\333,RE\r\2yv\t\241\0\315s\275A2\314q\242`\313"..., 48) = 48 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] write(6, "\27\3\1\0 ^\3456\246\241n\263dq\235\365\36t\207\36\312M\346M\316L\331N\360p*U"..., 122) = 122 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) [pid 21725] rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0 [pid 21725] read(6, "\27\3\1\0 ", 5) = 5 [pid 21725] read(6, "X\322M\205\324\363\353\6\r\no\337\375p\370\243leU\267\360j3\245\21\345\7\314O`\236I", 32) = 32 [pid 21725] read(6, "\27\3\1\0p", 5) = 5 [pid 21725] read(6, "\227D\235\313\362\\\r\204\225k\1\246\353H;n\251\267\307\0\220q\333C\203\221\372(\...@\"x"..., 112) = 112 [pid 21725] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 21725] --- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 21725 detached [pid 21726] <... recv resumed> "", 136, 0) = 0 [pid 7624] <... select resumed> ) = ? ERESTARTNOHAND (To be restarted) [pid 21726] exit_group(-1) = ? Process 21726 detached --- SIGCHLD (Child exited) @ 0 (0) --- sigreturn() = ? (mask now []) wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], WNOHANG, NULL) = 21725 wait4(-1, 0xbf8639a8, WNOHANG, NULL) = -1 ECHILD (No child processes) select(13, [4 5 6 7 8 9 10 11 12], NULL, NULL, NULL^C <unfinished ...> -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.29.1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages pure-ftpd-postgresql depends on: ii libc6 2.9-9 GNU C Library: Shared libraries ii libcap2 1:2.16-5 support for getting/setting POSIX. ii libpam0g 1.0.1-9 Pluggable Authentication Modules l ii libpq5 8.3.7-1 PostgreSQL C client library ii libssl0.9.8 0.9.8g-16 SSL shared libraries ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip ii openbsd-inetd [inet-su 0.20080125-2 The OpenBSD Internet Superserver ii pure-ftpd-common 1.0.22-1 Pure-FTPd FTP server (Common Files ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime pure-ftpd-postgresql recommends no packages. pure-ftpd-postgresql suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org