3.6p2 build errors on buffer_get with latest portable/SNAP

Darren Tucker dtucker at zip.com.au
Thu Sep 11 10:40:59 EST 2003


"STEWARD, Curtis (Jamestown)" wrote:
> FYI, I tried a 2nd machine (this time with VMWare and 8.0)
> had the same results.  The 2nd machine had identical gcc,
> ssl, zlib, etc.  Here's the debug.  From what I could figure
> out I could get the error on both buffer_init()
> and buffer_get().  xmalloc()?

The error you posted earlier shows the error coming from buffer_get.

[snip]

> # gdb -q ./sshd
> (gdb) set args -t
> (gdb) break buffer.c:124
> Breakpoint 1 at 0x8068896: file buffer.c, line 124.
> (gdb) break buffer.c:125
> Breakpoint 2 at 0x806886f: file buffer.c, line 125.
> (gdb) info break
> Num Type           Disp Enb Address    What
> 1   breakpoint     keep y   0x08068896 in buffer_get at buffer.c:124
> 2   breakpoint     keep y   0x0806886f in buffer_get at buffer.c:125
> (gdb) run
> Starting program: /root/gz/openssh/sshd -t
> 
> Breakpoint 1, buffer_get (buffer=0xbffff1f0, buf=0x0, len=1) at buffer.c:124
> 124                     fatal("buffer_get: trying to get more bytes %d than
> in buffer %d",
> (gdb) c

The bit I wanted to see is the stack trace at this point.  Could you plese
repeat this test, but do "bt" here instead of continuing?

> Continuing.
> buffer_get: trying to get more bytes 1 than in buffer 0


-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list