Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5668 - can't cvs pacman

Attached to Project: Arch Linux
Opened by tejinder (tejinderss) - Wednesday, 25 October 2006, 12:14 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

cvs crashes when i try to get pacman using cvs. I entered the following commands:

export CVSROOT=:pserver:anonymous@cvs.archlinux.org:/home/cvs-pacman
touch ~/.cvspass
cvs login
Logging in to :pserver:anonymous@cvs.archlinux.org:2401/home/cvs-pacman
CVS password: anonymous

After entering the password, i get the following error:
*** glibc detected *** cvs: double free or corruption (fasttop): 0x080df6c8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7cb9750]
/lib/libc.so.6(__libc_free+0x84)[0xb7cbada4]
cvs[0x807308c]
cvs[0x80754fb]
/lib/libc.so.6(__libc_start_main+0xd8)[0xb7c6b808]
cvs[0x804aea1]
======= Memory map: ========
08048000-080d7000 r-xp 00000000 03:06 171308 /usr/bin/cvs
080d7000-080db000 rwxp 0008e000 03:06 171308 /usr/bin/cvs
080db000-080fc000 rwxp 080db000 00:00 0 [heap]
b7a00000-b7a21000 rwxp b7a00000 00:00 0
b7a21000-b7b00000 ---p b7a21000 00:00 0
b7b3a000-b7b42000 r-xp 00000000 03:06 2268 /lib/libnss_files-2.4.so
b7b42000-b7b44000 rwxp 00007000 03:06 2268 /lib/libnss_files-2.4.so
b7b44000-b7b45000 rwxp b7b44000 00:00 0
b7b45000-b7c2a000 r-xp 00000000 03:06 8380 /usr/lib/libdb-4.4.so
b7c2a000-b7c2c000 rwxp 000e5000 03:06 8380 /usr/lib/libdb-4.4.so
b7c2c000-b7c2d000 rwxp b7c2c000 00:00 0
b7c2d000-b7c2f000 r-xp 00000000 03:06 2261 /lib/libdl-2.4.so
b7c2f000-b7c31000 rwxp 00001000 03:06 2261 /lib/libdl-2.4.so
b7c31000-b7c40000 r-xp 00000000 03:06 2264 /lib/libpthread-2.4.so
b7c40000-b7c42000 rwxp 0000f000 03:06 2264 /lib/libpthread-2.4.so
b7c42000-b7c44000 rwxp b7c42000 00:00 0
b7c44000-b7c52000 r-xp 00000000 03:06 2265 /lib/libresolv-2.4.so
b7c52000-b7c54000 rwxp 0000d000 03:06 2265 /lib/libresolv-2.4.so
b7c54000-b7c56000 rwxp b7c54000 00:00 0
b7c56000-b7d70000 r-xp 00000000 03:06 2258 /lib/libc-2.4.so
b7d70000-b7d72000 r-xp 00119000 03:06 2258 /lib/libc-2.4.so
b7d72000-b7d74000 rwxp 0011b000 03:06 2258 /lib/libc-2.4.so
b7d74000-b7d77000 rwxp b7d74000 00:00 0
b7d77000-b7d88000 r-xp 00000000 03:06 2275 /lib/libnsl-2.4.so
b7d88000-b7d8a000 rwxp 00010000 03:06 2275 /lib/libnsl-2.4.so
b7d8a000-b7d8c000 rwxp b7d8a000 00:00 0
b7d8c000-b7d8e000 r-xp 00000000 03:06 11927 /lib/libcom_err.so.2.1
b7d8e000-b7d8f000 rwxp 00001000 03:06 11927 /lib/libcom_err.so.2.1
b7d8f000-b7d90000 rwxp b7d8f000 00:00 0
b7d90000-b7dc1000 r-xp 00000000 03:06 45244 /usr/lib/libasn1.so.6.1.0
b7dc1000-b7dc2000 rwxp 00031000 03:06 45244 /usr/lib/libasn1.so.6.1.0
b7dc2000-b7eea000 r-xp 00000000 03:06 19440 /usr/lib/libcrypto.so.0.9.8
b7eea000-b7eff000 rwxp 00127000 03:06 19440 /usr/lib/libcrypto.so.0.9.8
b7eff000-b7f02000 rwxp b7eff000 00:00 0
b7f02000-b7f12000 r-xp 00000000 03:06 45241 /usr/lib/libroken.so.16.1.0
b7f12000-b7f13000 rwxp 00010000 03:06 45241 /usr/lib/libroken.so.16.1.0
b7f13000-b7f57000 r-xp 00000000 03:06 45224 /usr/lib/libkrb5.so.17.4.0
b7f57000-b7f5a000 rwxp 00044000 03:06 45224 /usr/lib/libkrb5.so.17.4.0
b7f5a000-b7f6f000 r-xp 00000000 03:06 45248 /usr/lib/libgssapi.so.4.0.0
b7f6f000-b7f70000 rwxp 00014000 03:06 45248 /usr/lib/libgssapi.so.4.0.0
b7f70000-b7f75000 r-xp 00000000 03:06 2263 /lib/libcrypt-2.4.so
b7f75000-b7f77000 rwxp 00004000 03:06 2263 /lib/libcrypt-2.4.so
b7f77000-b7f9f000 rwxp b7f77000 00:00 0
b7fa7000-b7fb1000 r-xp 00000000 03:06 7559 /usr/lib/libgcc_s.so.1
b7fb1000-b7fb2000 rwxp 00009000 03:06 7559 /usr/lib/libgcc_s.so.1
b7fb2000-b7fb6000 r-xp 00000000 03:06 2266 /lib/libnss_dns-2.4.so
b7fb6000-b7fb8000 rwxp 00003000 03:06 2266 /lib/libnss_dns-2.4.so
b7fb8000-b7fb9000 rwxp b7fb8000 00:00 0
b7fb9000-b7fba000 r-xp b7fb9000 00:00 0 [vdso]
b7fba000-b7fd4000 r-xp 00000000 03:06 2257 /lib/ld-2.4.so
b7fd4000-b7fd5000 r-xp 00019000 03:06 2257 /lib/ld-2.4.so
b7fd5000-b7fd6000 rwxp 0001a000 03:06 2257 /lib/ld-2.4.so
bfdef000-bfe03000 rwxp bfdef000 00:00 0 [stack]
bfe03000-bfe04000 rw-p bfe03000 00:00 0
cvs [login aborted]: received abort signal
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 31 October 2006, 23:12 GMT
Reason for closing:  Fixed
Comment by Dan McGee (toofishes) - Wednesday, 25 October 2006, 23:09 GMT
I got the same error today, following the same steps, so this does not seem to be an isolated issue. However, after the error, you are able to still run a 'cvs update' or 'cvs checkout', so it appears you are logged in. Neither of these two operations error out.
Comment by Jan de Groot (JGC) - Thursday, 26 October 2006, 06:23 GMT
Do you have more entries in the .cvslogin file? Also, did it exist before?
I've heard about this bug before from one of our developers, but I can't reproduce it myself.
Comment by tejinder (tejinderss) - Friday, 27 October 2006, 05:31 GMT
there is only single entry in my .cvspass file:
/1 :pserver:anonymous@cvs.archlinux.org:2401/home/cvs-pacman Ay=0=a%0bZ

it did'nt exist before. i created it using touch command before doing cvs.
and also i noted i get this error always regardless of what i am downloading. i tried with arch cvs difference repositories, get the same error.
Comment by Dan McGee (toofishes) - Friday, 27 October 2006, 05:35 GMT
I don't believe a .cvslogin is ever created. If so, I can't find it.

If I follow the exact steps above, deleting any existing .cvspass, this is what I get. Before logging in and getting the error, the .cvspass file is empty. After exporting CVSROOT and attempting to log in I get this in the .cvspass file:

$ more ~/.cvspass
/1 :pserver:anonymous@cvs.archlinux.org:2401/home/cvs-pacman Ay=0=a%0bZ

At this point a 'cvs co' or 'cvs up' is possible.

Loading...