[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] evdns.c error (libevent 2.0.10)
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] evdns.c error (libevent 2.0.10)
- From: Mr Dash Four <mr.dash.four@xxxxxxxxxxxxxx>
- Date: Sun, 17 Apr 2011 00:14:00 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Sat, 16 Apr 2011 19:14:18 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:disposition-notification-to:date :from:user-agent:mime-version:to:subject:content-type; bh=QdBjdrs3yiDhcfR9KjRwoNSjyxfaqrvyB8nBDEQkZ2U=; b=Oa8bKoyVCbPGNn9GVXE2ZuyMXcQJ2E1dfBRQI/IpLbr8/vlDYOwnj8UrHyLPjTs+Yj kyOZ0CCg3iaSuOfBMS/aynf2S9M0MvyEl30jhe8xEFkDQ6zb1A2xyYhmIFWawBOB0rPg j7fOn0O4t/hpC/4UO1NBykAgWWjgFm1OxpVl4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:subject:content-type; b=xVOLgp63hfG0jLx9+orRc3zY2dhmgpBeQn24QOm5gty+3fXQc4FZ8+hdum55AHP8Uc 7eLtAPpm/Sc9eEqLkRnENIEawxgJX6hblhpyvfWbxoZ7cR76aCbK7s8UGLl9SEHAhmmQ 8yItPfTDeLe4ojtm345FHx23o6ORcn/tTuyl0=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23
I am getting the following error message in syslog:
Error from libevent: evdns.c:1360: Assertion req !=
port->pending_replies failed in server_port_flush
I do not know what that error means, but it happens when I get
disconnected and the application which uses the network interface (tor)
cannot send any packets - temporarily - over the tun0 device while
openvpn reconnects again. I do not know whether this is a bug with tor
or libevent, but thought to check here first. Any idea what is causing
this and how I could fix this would be appreciated!
Also, I have submitted a bug for libevent 1.x a couple of months ago
(https://bugzilla.redhat.com/show_bug.cgi?id=658858), and although that
was not fixed in version 1.x I was hoping to be corrected in the new
release, but as I can see this hasn't happened.
It is to do with cross-compilation - currently without modification of
event-config.h that is, simply put, impossible!
I have amended my patch and made it possible again for both 32- and
64-bit versions of libevent to co-exist on the same host, though I am
not sure whether I should submit this as a bug for the new version
judging by the progress (or lack thereof) of my last submission.
I attach the newly modified event-config.h, which requires a simple
rename of (x86_64) event-config.h to event-config-64.h and, likewise,
(ix86) event-config.h to event-config-32.h to allow both versions of
this file to co-exist, enabling cross compilation.
/* This file is here to prevent a file conflict on multiarch systems. A
* conflict will frequently occur because arch-specific build-time
* configuration options are stored (and used, so they can't just be stripped
* out) in event-config.h. The original event-config.h has been renamed.
* DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
#ifdef event2_eventconfig_multilib_redirection_h
#undef event2_eventconfig_multilib_redirection_h
/*#error "Do not define event2_eventconfig_multilib_redirection_h!"*/
#endif
#define event2_eventconfig_multilib_redirection_h
#if defined(__x86_64__)
#include "event2/event-config-64.h"
#else
#include "event2/event-config-32.h"
#endif
#undef event2_eventconfig_multilib_redirection_h