[Libevent-users] bug report

David Chin david.w.h.chin at gmail.com
Thu May 3 17:08:19 EDT 2007


Mac OS X 10.3.9
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)
CFLAGS=-Os -mcpu=7450 -mtune=7450 -Wall

I had to modify http.c by adding the following var definition to the
function evhttp_get_body_length():

      struct evhttp_connection *evcon = NULL;

Without it, compilation with USE_DEBUG would fail
because evcon is not defined in the function or
arguments.

Anyway, here's the output from "make verify":

Running tests:
KQUEUE
 test-eof: OKAY
 test-weof: OKAY
 test-time: OKAY
 regress: type: 1, count: 1, ttl: 300: 152.160.49.201 type: 3, count:
1, ttl: 1800: 2610:a0:c779:b::d1ad:35b4 type: 2, count: 1, ttl: 3600:
localhost OKAY
DEVPOLL
Skipping test
POLL
 test-eof: OKAY
 test-weof: OKAY
 test-time: poll.c:282: failed assertion `pArray != (struct pollfd *) NULL'
./test.sh: line 70: 16166 Abort trap              ./test-time >/dev/null
FAILED
 regress: type: 1, count: 1, ttl: 300: 152.160.49.201 type: 3, count:
1, ttl: 1800: 2610:a0:c779:b::d1ad:35b4 type: 2, count: 1, ttl: 3600:
localhost OKAY
SELECT
 test-eof: OKAY
 test-weof: OKAY
 test-time: OKAY
 regress: type: 1, count: 1, ttl: 300: 152.160.49.201 type: 3, count:
1, ttl: 1800: 2610:a0:c779:b::d1ad:35b4 type: 2, count: 1, ttl: 3600:
localhost OKAY
RTSIG
Skipping test
EPOLL
Skipping test


This output and the full debug output can be seen here:

http://david.w.h.chin.googlepages.com/verify_output.txt
http://david.w.h.chin.googlepages.com/test-time_output.txt.gz

Cheers,
    Dave

-- 
Email: david.w.h.chin AT gmail.com    dwchin AT lroc.harvard.edu
Public key: http://gallatin.physics.lsa.umich.edu/~dwchin/crypto.html
      pub   1024D/1C557DDF 2006-07-21 [expires: 2007-07-21]
      Key fingerprint = 4EEB A409 5010 3679 4EA7  D420 4E52 202A 1C55 7DDF


More information about the Libevent-users mailing list