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