On Thu, Jun 13, 2002 at 08:26:30PM +0200, Andreas J. Koenig wrote:
> >>>>> On Thu, 13 Jun 2002 10:32:01 -0700 (PDT), Doug MacEachern <[EMAIL PROTECTED]>
>said:
>
> > On Thu, 13 Jun 2002, Andreas J. Koenig wrote:
> >> Program received signal SIGSEGV, Segmentation fault.
> >> 0x400ed761 in _IO_fflush (fp=0x877f1e0) at iofflush.c:43
> >> 43 iofflush.c: No such file or directory.
> >> (gdb) bt
> >> #0 0x400ed761 in _IO_fflush (fp=0x877f1e0) at iofflush.c:43
>
> > also, if possible could you:
> > (gdb) p *fp
>
> (gdb) p *fp
>
> I'll try the other suggestions next.
Mine probably doesn't help much since the pointer seems to be non-NULL...
> $1 = {_flags = 1075460144,
> _IO_read_ptr = 0x401a3830
>"0�\210\b0�\210\b��w\b��w\b88\032@88\032@@8\032@@8\032@H8\032@H8\032@P8\032@P8\032@X8\032@X8\032@`8\032@`8\032@h8\032@h8\032@p8\032@p8\032@x8\032@x8\032@\2008\032@\2008\032@\2108\032@\2108\032@\2208\032@\2208\032@\2308\032@\2308\032@�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@0�\213\b0�\213\b�8\032@�8\032@�8\032@�8\032@�8\032@�8\032@"...,
This doesn't look good...
> _IO_read_end = 0x646e4128 <Address 0x646e4128 out of bounds>,
> _IO_read_base = 0x73616572 <Address 0x73616572 out of bounds>,
> _IO_write_base = 0x202e4a20 <Address 0x202e4a20 out of bounds>,
> _IO_write_ptr = 0x6eb6c34b <Address 0x6eb6c34b out of bounds>,
> _IO_write_end = 0x20296769 <Address 0x20296769 out of bounds>,
> _IO_buf_base = 0x69736976 <Address 0x69736976 out of bounds>,
> _IO_buf_end = 0x20646574 <Address 0x20646574 out of bounds>,
> _IO_save_base = 0x20656874 <Address 0x20656874 out of bounds>,
> _IO_backup_base = 0x53554150 <Address 0x53554150 out of bounds>,
> _IO_save_end = 0x20200a45 <Address 0x20200a45 out of bounds>,
These look fishy...
> _markers = 0x20646e61, _chain = 0x75716572, _fileno = 1702130533,
> _blksize = 1851859044, _old_offset = 1819309344, _cur_column = 24943,
> _vtable_offset = 100 'd', _shortbuf = " ", _lock = 0x6f746e69,
> _offset = 8243109245980600352, _codecvt = 0x72696420,
> _wide_data = 0x6f746365, _mode = 170817906,
> _unused2 = "The request used the following parameters\n\n SUBMIT_"}
If this is an unused field why does it contain a very readable string :-)
In my Linux stdio.h unused2 is int _unused2[16], but off-hand I don't
even think it should be part of a FILE, so I really don't know what to say.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen