Package: libevent1
Version: 1.0b-1.1
Severity: normal

I updated libevent1 from 0.8-2 to 1.0b-1.1 at 2005-04-12T23:15,
and now I see my tinysnmp-agent 0.8.1 installation has not been
working since.  I get lines like this in syslog:

Apr 14 12:55:02 [tinysnmpd] recvfrom failed: Bad address

Downgrading libevent1 back to 0.8-2 and restarting tinysnmpd
fixed this.

Comparing the versions of /usr/include/event.h from libevent-dev
0.8-2 and 1.0b-1.1, I see that structures have been changed
incompatibly: struct event has new members ev_base and ev_pri,
the functions pointed by recalc and dispatch in struct eventop
now take an additional first parameter, and struct evbuffer has a
new member misalign.  I can only assume that these changes broke
tinysnmpd.

When you change the ABI like this, please change the soname of
the shared library so that programs clearly fail to load rather
than just randomly crash later, and please set up the shlibdeps
so that dpkg and apt detect incompatibilities at install time.
It would also be good to make the ABI-incompatible versions
installable side by side, but that is not as important.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.23-kon.astalo.1
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages libevent1 depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information

Attachment: pgpJbljS6IVxQ.pgp
Description: PGP signature

Reply via email to