[httperf] Problem: " failed: file "object.c" , line 179

Martin Arlitt httperf@napali.hpl.hp.com
Sun, 14 Oct 2001 10:50:58 PDT


Alvaro

I believe I've experienced the same problem in the past.  If so, the
following patch should correct the problem.  the fix is only two lines
(three counting the blank line for white space...) which are added to
the gen/wsesslog.c file (please see the diff output below; the lines
to add start with '+'; ++priv->num_calls_destroyed is already there,
so don't add it.)  the changed lines should be inserted around line
312.  

Martin

diff -urN httperf-0.8/gen/wsesslog.c httperf/httperf-0.8/gen/wsesslog.c
--- httperf-0.8/gen/wsesslog.c.original Wed Oct 11 16:40:46 2000
+++ httperf-0.8/gen/wsesslog.c Tue Jan  9 09:47:34 2001
@@ -312,6 +312,9 @@
   sess = session_get_sess_from_call (call);
   priv = SESS_PRIVATE_DATA (sess);

+  if (sess->failed)
+    return;
+
   ++priv->num_calls_destroyed;

   if (priv->num_calls_destroyed >= priv->total_num_reqs)




> 
> 	Dear Sirs
> 
> We executed the command httperf --server=www --wsesslog=1000,5,file
> --rate=10 > teste. The result was: assertion "obj->ref_count > 0" failed:
> object.c", line 179
> Abort (core dumped)
> But if we do the same using 500 instead of 1000 in wsesslog we got a
> result OK.
> 	Could you tell us why is so?
> 	Thanks for any help.
> 	Alvaro.
> 
> 
> --
> To unsubscribe: echo unsubscribe httperf | mail majordomo@linux.hpl.hp.com
> 


--
To unsubscribe: echo unsubscribe httperf | mail majordomo@linux.hpl.hp.com