On Mon, 14 May 2001, Gilles Detillieux wrote:
> According to J. op den Brouw:
> > I tried without any optimizations (-Ox is gone), but still
> > fails the test....
> ...
> > ././t_htnet[15]: 27760 Bus error(coredump)
> > FAIL: t_htnet
> ...
> > #0 0x24f18 in Connection::Timeout (this=0x0, value=10) at Connection.cc:162
> > 162 timeout_value = value;
> > (gdb) bt
> > #0 0x24f18 in Connection::Timeout (this=0x0, value=10) at Connection.cc:162
> > #1 0x27cf0 in Transport::AssignConnectionTimeOut (this=0x40017cf8) at
> > Transport.h:254
> > #2 0x28e94 in HtHTTP::HTTPRequest (this=0x40017cf8) at HtHTTP.cc:221
> > #3 0x28bcc in HtHTTP::Request (this=0x40017cf8) at HtHTTP.cc:159
> > #4 0x2449c in Retrieve () at testnet.cc:388
> > #5 0x22da8 in main (ac=3, av=0x7b03a568) at testnet.cc:139
>
> Well this is really odd. A NULL value for "this" in Timout() would
> explain the bus error, but when you were optimizing, "this" was 0x4000,
> not 0x0. Transport::AssignConnectionTimeOut() actually checks to make
> sure the connection object pointer isn't 0 before calling the Timeout()
> method, so it's very bizarre indeed that Timeout() gets called anyway.
But this IS HP-UX! It would not surprise me if something was wrong just because
it's UX......
>
> Just a hunch, but did you try configuring with or without the
> --disable-shared option? If you didn't use it, try it and see if it
> makes a difference.
Yes, otherwise you cannot build it anyway on UX.
> Also, Gabriele made some changes to pointer initialisations in the HtHTTP,
> Transport and Connection classes on May 3rd, so maybe the latest snapshot
> will behave differently here.
Hmm, will try THAT one too.
--jesse
--------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Faculty of Engeneering Netherlands
Electrical Engeneering +31 70 4458936
-------------------- [EMAIL PROTECTED] --------------------
Linux - because reboots are for hardware changes
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev