W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2000

no textInterrupted!

From: Mahesh <mahesh@ccs.uky.edu>
Date: Mon, 2 Oct 2000 17:48:13 -0400 (EDT)
To: www-lib@w3.org
Message-ID: <Pine.SGI.4.10.10010021733230.2760-100000@crimson>
 
 Hi,

 I started looking at the APIs provided by libwww since a week ago. I might 
 use it in my project work. I tried compiling the example "chunk.c" given
 at "http://www.w3.org/Library/Examples/chunk.c" by changing the client
 profile from "HTProfile_newPreemptiveClient" to "HTProfile_newClient". It
 compiled successfully but while running, it core dumped giving the following
 error: 

-----------------------------------------------------------------------
Looking up www.web.site
Contacting www.web.site
no textInterrupted!
Segmentation fault (core dumped)
-----------------------------------------------------------------------

gdb showed the following:

-----------------------------------------------------------------------
0x5fe6c224 in HTTPCleanup (req=0x10015008, status=200) at HTTP.c:159

159         if (http->timer) {
(gdb) bt
#0  0x5fe6c224 in HTTPCleanup (req=0x10015008, status=200) at HTTP.c:159
#1  0x5fe6f2d4 in HTTPEvent (soc=7, pVoid=0x1001a750, type=HTEvent_CLOSE)
    at HTTP.c:1028
#2  0x745e8c8 in HTNet_kill (net=0x1001c910) at HTNet.c:989
#3  0x745ea7c in HTNet_killAll () at HTNet.c:1015
#4  0x745a0f0 in HTLibTerminate () at HTLib.c:190
#5  0x5fdb14d0 in HTProfile_delete () at HTProfil.c:47
#6  0x100018d8 in main (argc=2, argv=0x7fff2f24) at mychunk.c:60
-----------------------------------------------------------------------

 I am unable to figure out the cause of this error (probably i may have to 
 go through other parts of the code). If you have an idea what's going on, 
 please let me know. 

 thanks in advance.

 -mahesh
Received on Monday, 2 October 2000 17:49:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT