Bug#318189: asterisk-oh323: chan_oh323.so cannot find symbol and Asterisk crashes
Juan Jose Comellas
Juan Jose Comellas <juanjo@comellas.com.ar>, 318189@bugs.debian.org
Wed Jul 13 23:08:33 UTC 2005
Package: asterisk-oh323
Version: 0.6.6pre3-3
Severity: grave
Justification: renders package unusable
The asterisk-oh323 package version 0.6.6pre3-3 was linked expecting the
ast_smoother_feed symbol to be in the /usr/sbin/asterisk executable. The
problem is that the symbol is present as __ast_smoother_feed and thus
chan_oh323.so does not find it. Because of this, when Asterisk starts
and tries to load the chan_oh323.so module it aborts because the symbol
cannot be found.
The following error message is logged to /var/log/asterisk/messages when
this happens:
Jul 13 19:37:26 WARNING[2373]: /usr/lib/asterisk/modules/chan_oh323.so:
undefined symbol: ast_smoother_feed
Jul 13 19:37:26 WARNING[2373]: Loading module chan_oh323.so failed!
The problem can be seen by running these commands:
# objdump -T /usr/sbin/asterisk | grep ast_smoother_feed
08054698 g DF .text 000001bd Base __ast_smoother_feed
~# objdump -T /usr/lib/asterisk/modules/chan_oh323.so | grep
ast_smoother_feed
00000000 D *UND* 00000000 ast_smoother_feed
Looking at the Asterisk headers it looks like the asterisk package is at
fault, because in line 378 of /usr/include/asterisk/frame.h the
function's prototype is:
extern int ast_smoother_feed(struct ast_smoother *s, struct ast_frame *f);
A workaround to this problem without uninstalling asterisk-oh323 is to
add the following line to /etc/asterisk/modules.conf:
noload => chan_oh323.so
-- System Information:
Debian Release: testing/unstable
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages asterisk-oh323 depends on:
ii asterisk 1:1.0.9.dfsg-1 open source Private Branch Exchang
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libldap2 2.1.30-11 OpenLDAP libraries
ii libopenh323-1.1 1.15.3-2 H.323 aka VoIP library
ii libpt-1.8.3 1.8.4-1 Portable Windows Library
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii libsdl1.2debian 1.2.7+1.2.8cvs20041007-5 Simple DirectMedia Layer
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
asterisk-oh323 recommends no packages.
-- no debconf information
More information about the Pkg-voip-maintainers
mailing list