[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] RE: What's the story with cygevent-1-4-2.dll?



Hi Again, 

I forgot to mention that I've been using libevent-1.4.13.

Earlier I ran make verify which failed the regress tests.

I've also tried other releases to see if I get a different response; make verify fails for 1.4.3, 1.4.14b, 2.0.6-rc. I'm starting to wonder if my cygwin installation is missing something.

Running ./test/regress for 1.4.3 gives
evutil_stroll: OK
Testing Priorities 1: OK
Testing Priorities 2: OK
Testing Priorities 3: OK
Testing Evbuffer: OK
Testing evbuffer_find 1: OK
Testing evbuffer_find 2: OK
Testing evbuffer_find 3: OK
Bufferevent: OK
Free active base: OK
Event base new: OK
Testing HTTP Server Event Base: OK
Testing HTTP Header filtering: OK
Testing Basic HTTP Server: OK
Testing Request Connection Pipeline : OK
Testing Request Connection Pipeline (persistent): OK
Testing Connection Close Detection: OK
Testing HTTP POST Request: OK
Testing Bad HTTP Request: OK
Testing HTTP Server with high port: OK
Testing HTTP Dispatcher: OK
Testing Basic RPC Support: OK
Testing Good RPC Post: OK
Testing RPC Client: OK
Testing RPC (Queued) Client: OK
Testing RPC Client Timeout: OK
DNS server support: [err] clock_gettime: Function not implemented

Running ./test/regress for 1.4.3 gives
Testing register fds: OK
evutil_stroll: OK
Testing Priorities 1: OK
Testing Priorities 2: OK
Testing Priorities 3: OK
Testing Evbuffer: OK
Testing evbuffer_find 1: OK
Testing evbuffer_find 2: OK
Testing evbuffer_find 3: OK
Testing evbuffer_readln EOL_ANY: OK
Testing evbuffer_readln EOL_CRLF: OK
Testing evbuffer_readln CRLF_STRICT: OK
Testing evbuffer_readln LF: OK
Testing evbuffer_readln CRLF_STRICT across boundaries: OK
Testing evbuffer_readln memory problem: OK
Bufferevent: OK
Bufferevent Watermarks: OK
Free active base: OK
Event base new: OK
Testing HTTP Server Event Base: OK
Testing HTTP Header filtering: OK
Testing HTTP query parsing: OK
Testing Basic HTTP Server: OK
Testing Request Connection Pipeline : OK
Testing Request Connection Pipeline (persistent): OK
Testing Connection Close Detection: OK
Testing Connection Close Detection (with delay): OK
Testing "Bad Request" on connection close: OK
Testing HTTP POST Request: OK
Testing Bad HTTP Request: OK
Testing HTTP Server with high port: OK
Testing HTTP Dispatcher: OK
Testing HTTP Server with multi line: OK
Testing HTTP Negative Content Length: OK
Testing Chunked HTTP Reply: OK
Testing Terminated Chunked Connection: OK
Testing Basic RPC Support: OK
Testing Good RPC Post: OK
Testing RPC Client: OK
Testing RPC (Queued) Client: OK
Testing RPC Client Timeout: OK
DNS server support: OK
Simple DNS resolve: [Timed out] FAILED

Running ./test/regress for 2.0.6 gives
$ ./test/regress
main/methods: [forking] OK
main/version: OK
main/base_features: [forking] OK
main/base_environ: [forking] OK
main/event_base_new: [forking] OK
main/free_active_base: [forking] OK
main/manipulate_active_events: [forking] OK
main/bad_assign: [forking] OK
main/bad_reentrant: [forking] OK
main/persistent_timeout: [forking] OK
main/persistent_active_timeout: [forking] OK
main/priorities: [forking] OK
main/common_timeout: [forking] OK
main/simpleread: [forking] OK
main/simpleread_multiple: [forking] OK
main/simplewrite: [forking] OK
main/simpleclose: [forking] 
  FAIL regress.c:460: assert(premature_event == 0): 1 vs 0
  [simpleclose FAILED]
main/multiple: [forking] OK
main/persistent: [forking] OK
main/combined: [forking] OK
main/simpletimeout: [forking] OK
main/loopbreak: [forking] OK
main/loopexit: [forking] OK
main/loopexit_multiple: [forking] OK
main/nonpersist_readd: [forking] OK
main/multiple_events_for_same_fd: [forking] OK
main/want_only_once: [forking] OK
main/event_once: [forking] OK
main/event_pending: [forking] OK
main/mm_functions: [forking] OK
main/many_events: [forking] OK
main/struct_event_size: OK
main/fork: [forking] OK
heap/randomized: OK
et/et: [forking] OK
et/et_mix_error: [forking] OK
evbuffer/evbuffer: OK
evbuffer/reserve2: OK
evbuffer/reserve_many: OK
evbuffer/reserve_many2: OK
evbuffer/reserve_many3: OK
evbuffer/expand: OK
evbuffer/reference: OK
evbuffer/iterative: OK
evbuffer/readln: OK
evbuffer/find: OK
evbuffer/ptr_set: OK
evbuffer/search: OK
evbuffer/callbacks: OK
evbuffer/add_reference: OK
evbuffer/prepend: [forking] OK
evbuffer/peek: OK
evbuffer/freeze_start: OK
evbuffer/freeze_end: OK
evbuffer/add_file_sendfile: [forking] SKIPPED
evbuffer/add_file_mmap: [forking] OK
evbuffer/add_file_linear: [forking] OK
signal/simplesignal: [forking] OK
signal/multiplesignal: [forking] OK
signal/immediatesignal: [forking] OK
signal/signal_dealloc: [forking] OK
signal/signal_pipeloss: [forking] OK
signal/signal_switchbase: [forking] OK
signal/signal_restore: [forking] OK
signal/signal_assert: [forking] OK
signal/signal_while_processing: [forking] OK
util/ipv4_parse: OK
util/ipv6_parse: OK
util/sockaddr_port_parse: OK
util/sockaddr_port_format: OK
util/sockaddr_predicates: OK
util/evutil_snprintf: OK
util/evutil_strtoll: OK
util/evutil_casecmp: OK
util/strlcpy: OK
util/log: [forking] OK
util/upcast: OK
util/integers: OK
util/rand: [forking] OK
util/getaddrinfo: [forking] 
  FAIL regress_util.c:882: assert(r == 0): 8 vs 0
  [getaddrinfo FAILED]
bufferevent/bufferevent: [forking] OK
bufferevent/bufferevent_pair: [forking] OK
bufferevent/bufferevent_watermarks: [forking] OK
bufferevent/bufferevent_pair_watermarks: [forking] OK
bufferevent/bufferevent_filters: [forking] OK
bufferevent/bufferevent_pair_filters: [forking] OK
bufferevent/bufferevent_connect: [forking] OK
bufferevent/bufferevent_connect_defer: [forking] OK
bufferevent/bufferevent_connect_lock: [forking] OK
bufferevent/bufferevent_connect_lock_defer: [forking] OK
bufferevent/bufferevent_connect_unlocked_cbs: [forking] OK
bufferevent/bufferevent_connect_fail: [forking] OK
bufferevent/bufferevent_timeout: [forking] OK
bufferevent/bufferevent_timeout_pair: [forking] OK
bufferevent/bufferevent_timeout_filter: [forking] OK
bufferevent/bufferevent_timeout_filter_pair: [forking] OK
bufferevent/bufferevent_zlib: [forking] OK
http/primitives: OK
http/base: [forking] OK
http/bad_headers: OK
http/parse_query: OK
http/basic: [forking] OK
http/cancel: [forking] OK
http/virtual_host: [forking] OK
http/post: [forking] OK
http/put: [forking] OK
http/delete: [forking] OK
http/failure: [forking] OK
http/connection: [forking] OK
http/persist_connection: [forking] OK
http/connection_async: [forking] OK
http/close_detection: [forking] OK
http/close_detection_delay: [forking] OK
http/bad_request: [forking] OK
http/incomplete: [forking] OK
http/incomplete_timeout: [forking] OK
http/terminate_chunked: [forking] OK
http/highport: [forking] OK
http/dispatcher: [forking] OK
http/multi_line_header: [forking] OK
http/negative_content_length: [forking] OK
http/chunk_out: [forking] OK
http/stream_out: [forking] OK
http/stream_in: [forking] OK
http/stream_in_cancel: [forking] OK
http/connection_retry: [forking] 
  FAIL regress_http.c:2184: assert(req)
  FAIL regress_http.c:2245: assert(tv_end.tv_sec < 1): 1 vs 1[Lost connection!] 
  [connection_retry FAILED]
http/data_length_constraints: [forking] 
  FAIL regress_http.c:2444: assert(req)
  [data_length_constraints FAILED]
dns/server: [forking] OK
dns/gethostbyname: [forking] [Timed out] 
  FAIL regress_dns.c:151: assert(dns_ok == DNS_IPv4_A): 0 vs 1
  FAIL regress_main.c:303: Legacy unit test failed
  [gethostbyname FAILED]
dns/gethostbyname6: [forking] [Timed out] 
  FAIL regress_main.c:303: Legacy unit test failed
  [gethostbyname6 FAILED]
dns/gethostbyaddr: [forking] [Timed out] 
  FAIL regress_dns.c:183: assert(dns_ok == DNS_PTR): 0 vs 2
  FAIL regress_main.c:303: Legacy unit test failed
  [gethostbyaddr FAILED]
dns/resolve_reverse: [forking] [Timed out] 
  FAIL regress_dns.c:208: assert(dns_ok == DNS_PTR): 0 vs 2
  [resolve_reverse FAILED]
dns/search: [forking] OK
dns/search_cancel: [forking] OK
dns/retry: [forking] OK
dns/reissue: [forking] OK
dns/inflight: [forking] OK
dns/bufferevent_connect_hostname: [forking] OK
dns/getaddrinfo_async: [forking] OK
evtag/int: [forking] OK
evtag/fuzz: [forking] OK
evtag/encoding: [forking] OK
evtag/peek: OK
rpc/basic_test: [forking] OK
rpc/basic_message: [forking] OK
rpc/basic_client: [forking] OK
rpc/basic_queued_client: [forking] OK
rpc/basic_client_with_pause: [forking] OK
rpc/client_timeout: [forking] OK
rpc/test: [forking] OK
thread/pthreads: [forking] OK
listener/randport: [forking] OK
8/151 TESTS FAILED. (1 skipped)

-----Original Message-----
From: owner-libevent-users@xxxxxxxxxxxxx [mailto:owner-libevent-users@xxxxxxxxxxxxx] On Behalf Of Chris Brown
Sent: Monday, 6 September 2010 3:37 PM
To: 'libevent-users@xxxxxxxx'
Subject: [Libevent-users] What's the story with cygevent-1-4-2.dll?

Hi,

I've been investigating gearman-0.14 under Cygwin which uses libevent. I've managed to build and run the exe file from the commandline. I'm also using Perl's Gearman::Client & Gearman::Worker to get send requests to the server and get a worker to perform a job.

So far this has all been via the commandline. I'd now like to set up a service using cygrunsrv. I run the following commands.

$ cygrunsrv -I "Gearman" -a '-vvvv -l /cygdrive/c/cygwin/var/log/gearman.log' -p /usr/local/sbin/gearmand.exe

$ cygrunsrv -S Gearman
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

The logfile contains the following ...

/usr/local/sbin/gearmand.exe: error while loading shared libraries: cygevent-1-4-2.dll: cannot open shared object file: No such file or directory

Can anyone explain why gearmand.exe runs from the commandline but not as a service? I've tried running the service using my login credentials (just in case there is something about my environment I'm overlooking) but this fails with a login error.

Also, the cygevent-1-4-2 dlls are in /usr/local/bin; is this correct?

Cheers
Chris
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.