On 2002.01.24, David Valentine <[EMAIL PROTECTED]> wrote:
> (gdb) frame 0
> #0  0xfe761b90 in gazserver (context=0x0, conn=0x1d0220) at gazserver.c:158
> 158                   sprintf(box, "HG_BOX(%f,%f,%f,%f)",
> (gdb) backtrace
> #0  0xfe761b90 in gazserver (context=0x0, conn=0x1d0220) at gazserver.c:158
> #1  0x4df00 in ?? ()
> #2  0x584f0 in ?? ()
> #3  0x57b74 in ?? ()
> #4  0x13c900 in ?? ()

Could you set a breakpoint on line 157, and inspect the 4
variables that are to be %f'ed into variable 'box'?  Tell
us what their contents are ... I'm thinking that one of
them is either a null pointer, or you're overrunning the
'box' variable.

And, what's the definition of 'box'?  I assume it's
char box[1500], to correspond with your other email
saying 'char out[1500]'?

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)

Reply via email to