On Thu, Jun 13, 2002 at 09:36:42PM +0300, Jarkko Hietaniemi wrote:
> 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...
$ perl -le 'print pack "i", hex $_ foreach @ARGV' 0x646e4128 0x73616572 0x202e4a20
0x6eb6c34b 0x20296769 0x69736976 0x20646574 0x20656874 0x53554150 0x20200a45
0x20646e61
(And
reas
J.
Kön
ig)
visi
ted
the
PAUS
E
>
> > _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_"}
$ perl -le 'print pack "i", hex $_ foreach @ARGV' 0x20646e61 0x75716572
and
requ
$ perl -le 'print pack "i", $_ foreach @ARGV' 1702130533 1851859044 1819309344
este
d an
upl
$ perl -le 'print pack "s", $_ foreach @ARGV' 24943
oa
'd' " "
perl -le 'print pack "i", hex $_ foreach @ARGV' 0x6f746e69
into
perl13693-64 -le 'print pack "Q", 8243109245980600352'
his/her
perl -le 'print pack "i", hex $_ foreach @ARGV' 0x72696420 0x6f746365
dir
ecto
perl -le 'print pack "i", $_ foreach @ARGV' 170817906
ry.
> 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.
"08\cZ@"
"08\cZ@"
"(Andreas J. König) visited the PAUSE and reqested an upload into his/her
directory.\n" .
"The request used the following parameters\n\n SUBMIT_"
I think. (that's K�nig in utf8, isn't it?)
I don't think we're in FILE* any longer, Toto.
(and I didn't get the misquote quite correct, did I?)
What's a good memory leak checker for running PAUSE under? valgrind with
showleaks turned on?
Nicholas Clark
--
Even better than the real thing: http://nms-cgi.sourceforge.net/