Your message dated Wed, 03 Jan 2007 21:17:34 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#391840: fixed in zaptel 1:1.2.12~dfsg-2
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: zaptel
Version: 1:1.2.9.1.dfsg-1
Severity: important
When compiled with -finline-functions (implied by -O4), ztcfg segfaults:
$ sudo gdb --args ztcfg -vvv
[...]
(gdb) r
Starting program: /usr/sbin/ztcfg -vvv
Notice: Configuration file is /etc/zaptel.conf
line 221: Cannot get number of tones for channel 1
line 221: Cannot init tones for channel 1
line 221: Cannot set rxtone on channel 1
[...]
line 221: Cannot set txtone on channel 2
line 221: Cannot set txtone on channel 2
Program received signal SIGSEGV, Segmentation fault.
rad_chanconfig (keyword=<value optimized out>, args=<value optimized out>) at
ztcfg.c:937
937 if (rxtones[i])
(gdb) p i
$1 = 33992
(gdb) bt
#0 rad_chanconfig (keyword=<value optimized out>, args=<value optimized out>)
at ztcfg.c:937
#1 0x0000000000401430 in main (argc=<value optimized out>, argv=<value
optimized out>) at ztcfg.c:1213
(gdb) quit
(I guess the segfault condition only happens when you get the rxtone errors
shown above, so it's possible you can't reproduce this)
You might want to add -fno-inline-functions to CFLAGS as a workaround (tested
and known to work). Besides, I'm not sure if this also qualifies as a gcc bug
and should be reported separately. Could someone enlighten me? :-)
Ah, there's also this check I added to ensure 'i' will never be bigger than
the array size. Not that it was any useful because gcc was screwing our
stack, but you might like to apply it as well.
diff -ur zaptel-1.2.9.1.dfsg.old/ztcfg.c zaptel-1.2.9.1.dfsg/ztcfg.c
--- zaptel-1.2.9.1.dfsg.old/ztcfg.c 2006-02-01 03:33:54.000000000 +0100
+++ zaptel-1.2.9.1.dfsg/ztcfg.c 2006-10-08 21:22:27.000000000 +0200
@@ -929,6 +929,8 @@
if (ind_ioctl(x,fd,ZT_RADIO_GETPARAM,&p) == -1)
error("Cannot get number of tones for channel
%d\n",x);
n = p.data;
+ if (n > NUM_TONES)
+ error("Too many tones for channel %d:
%d\n",x,n);
p.radpar = ZT_RADPAR_INITTONE;
if (ind_ioctl(x,fd,ZT_RADIO_SETPARAM,&p) == -1)
error("Cannot init tones for channel %d\n",x);
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ca_AD.UTF-8)
Versions of packages zaptel depends on:
ii fxload 0.0.20020411-1 Firmware download to EZ-USB device
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libnewt0.52 0.52.2-7 Not Erik's Windowing Toolkit - tex
ii libusb-0.1-4 2:0.1.12-2 userspace USB programming library
ii procps 1:3.2.7-3 /proc file system utilities
Versions of packages zaptel recommends:
ii zaptel-modules-2.6. 1:1.2.9.1.dfsg-1+rmh zaptel modules for Linux (kernel 2
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: zaptel
Source-Version: 1:1.2.12~dfsg-2
We believe that the bug you reported is fixed in the latest version of
zaptel, which is due to be installed in the Debian FTP archive:
libtonezone-dev_1.2.12~dfsg-2_amd64.deb
to pool/main/z/zaptel/libtonezone-dev_1.2.12~dfsg-2_amd64.deb
libtonezone1_1.2.12~dfsg-2_amd64.deb
to pool/main/z/zaptel/libtonezone1_1.2.12~dfsg-2_amd64.deb
zaptel-source_1.2.12~dfsg-2_all.deb
to pool/main/z/zaptel/zaptel-source_1.2.12~dfsg-2_all.deb
zaptel_1.2.12~dfsg-2.diff.gz
to pool/main/z/zaptel/zaptel_1.2.12~dfsg-2.diff.gz
zaptel_1.2.12~dfsg-2.dsc
to pool/main/z/zaptel/zaptel_1.2.12~dfsg-2.dsc
zaptel_1.2.12~dfsg-2_amd64.deb
to pool/main/z/zaptel/zaptel_1.2.12~dfsg-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kilian Krause <[EMAIL PROTECTED]> (supplier of updated zaptel package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 3 Jan 2007 21:00:43 +0100
Source: zaptel
Binary: libtonezone1 zaptel-source zaptel libtonezone-dev
Architecture: source all amd64
Version: 1:1.2.12~dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <[EMAIL PROTECTED]>
Changed-By: Kilian Krause <[EMAIL PROTECTED]>
Description:
libtonezone-dev - tonezone library (development)
libtonezone1 - tonezone library (runtime)
zaptel - zapata telephony utilities
zaptel-source - Zapata telephony interface (source code for kernel driver)
Closes: 391840
Changes:
zaptel (1:1.2.12~dfsg-2) unstable; urgency=low
.
* Remove -O4 from all Makefiles (Closes: #391840)
* Remove gcc hardcoded as HOSTCC
Files:
3a485aa7706c9c1b35e787c8d30a5a25 961 comm optional zaptel_1.2.12~dfsg-2.dsc
cdfbf05fb06dec0247f4a589ead1354b 114003 comm optional
zaptel_1.2.12~dfsg-2.diff.gz
bd66071f85fc1e36dbca2f9969036fbb 1059632 devel optional
zaptel-source_1.2.12~dfsg-2_all.deb
dc8035fc0efaf80f5b2ce7d2abf98eba 239018 comm optional
zaptel_1.2.12~dfsg-2_amd64.deb
cf4885804d28119409aea132afb6896e 28622 libs optional
libtonezone1_1.2.12~dfsg-2_amd64.deb
3dd9c437c8c8439036d91e04d7c40180 29498 libdevel optional
libtonezone-dev_1.2.12~dfsg-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFFnBb9vdkzt4X+wX8RAjXTAJ9Z3vVlupb8gXxph1sC9G30BHnX9wCfbY3z
tfh4gCCu9jlncf5QGroNvqA=
=Y3H5
-----END PGP SIGNATURE-----
--- End Message ---