bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Current version crashes in buffer.c


From: Pavel Roskin
Subject: Current version crashes in buffer.c
Date: Thu, 3 May 2001 18:41:12 -0400 (EDT)

Hello!

The CVS version of CVS (CVS squared :-)) dumps the core on update if
compression is used.

In this case the protocol is pserver. It's the anonymous CVS repository of
CVS, head branch, all up-to-date.

$ gdb --quiet src/cvs
(gdb) set args -f -z3 -q up
(gdb) r
Starting program: /home/proski/src/ccvs/src/cvs -f -z3 -q up
? src/buffer.c.v0

Program received signal SIGSEGV, Segmentation fault.
0x804dbf5 in buf_output (buf=0x0,
    data=0xbfffe850
"\204@\r\b\224ÂîeÊá~ÞÕã®Ø\036]\027c]¢·aËjÖL\177\217\213±9}u>?±ÜA\bP\016\b",
len=4096) at buffer.c:176
176         if (buf->data != NULL
(gdb) where
#0  0x804dbf5 in buf_output (buf=0x0,
    data=0xbfffe850
"\204@\r\b\224ÂîeÊá~ÞÕã®Ø\036]\027c]¢·aËjÖL\177\217\213±9}u>?±ÜA\bP\016\b",
len=4096) at buffer.c:176
#1  0x8090e64 in compress_buffer_shutdown_output (closure=0x80d4080) at
zlib.c:411
#2  0x804eec1 in buf_shutdown (buf=0x80d4080) at buffer.c:1201
#3  0x805579c in get_responses_and_close () at client.c:3615
#4  0x808bc17 in update (argc=1, argv=0xbffff9a4) at update.c:334
#5  0x806e1d8 in main (argc=1, argv=0xbffff9a4) at main.c:987
#6  0x400fbf31 in __libc_start_main (main=0x806d734 <main>, argc=5,
ubp_av=0xbffff994,
    init=0x804a2b4 <_init>, fini=0x80a7cbc <_fini>, rtld_fini=0x4000e274
<_dl_fini>,
    stack_end=0xbffff98c) at ../sysdeps/generic/libc-start.c:129
(gdb) up
#1  0x8090e64 in compress_buffer_shutdown_output (closure=0x80d4080) at
zlib.c:411
411                 buf_output (cb->buf, buffer,
(gdb) p cb->buf
$1 = (struct buffer *) 0x0

-- 
Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]