Your message dated Tue, 10 Oct 2006 02:21:20 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#391840: fixed in zaptel 1:1.2.9.1.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.9.1.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.9.1.dfsg-2_i386.deb to pool/main/z/zaptel/libtonezone-dev_1.2.9.1.dfsg-2_i386.deb libtonezone1_1.2.9.1.dfsg-2_i386.deb to pool/main/z/zaptel/libtonezone1_1.2.9.1.dfsg-2_i386.deb zaptel-source_1.2.9.1.dfsg-2_all.deb to pool/main/z/zaptel/zaptel-source_1.2.9.1.dfsg-2_all.deb zaptel_1.2.9.1.dfsg-2.diff.gz to pool/main/z/zaptel/zaptel_1.2.9.1.dfsg-2.diff.gz zaptel_1.2.9.1.dfsg-2.dsc to pool/main/z/zaptel/zaptel_1.2.9.1.dfsg-2.dsc zaptel_1.2.9.1.dfsg-2_i386.deb to pool/main/z/zaptel/zaptel_1.2.9.1.dfsg-2_i386.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. Mark Purcell <[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: Tue, 10 Oct 2006 09:36:58 +1000 Source: zaptel Binary: libtonezone1 zaptel-source zaptel libtonezone-dev Architecture: source all i386 Version: 1:1.2.9.1.dfsg-2 Distribution: unstable Urgency: low Maintainer: Debian VoIP Team <[EMAIL PROTECTED]> Changed-By: Mark Purcell <[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: 388756 390903 391840 Changes: zaptel (1:1.2.9.1.dfsg-2) unstable; urgency=low . [ Tzafrir Cohen ] * zaptel 1.4 compatibility changes: - place zaptel.h and tonezone.h in /usr/include/zaptel (through symlinks) - zaptelh_14.dpatch: declare some zaptel 1.4 interfaces (not implemented anywhere, though). . [ Mark Purcell ] * debian/rules patch from Robert Millan - the package doesn't compile (Closes: #390903) * add debian/patches/dbug391840.dpatch - ztcfg segfaults because of -O4 (Closes: #391840) * add debian/patches/wct4xxp-dfsg.dpatch - wct4xxp and other modules are not built anymore on zaptel- 1.2.8.dfsg-1 (Closes: #388756) Files: d9c1f0fc733324ef164d552a82a351a1 964 comm optional zaptel_1.2.9.1.dfsg-2.dsc 915c3c9e6bbc1484ab4e5519e77dce50 141363 comm optional zaptel_1.2.9.1.dfsg-2.diff.gz d0ead5dcdc67a1e4388fc98f3f771513 737680 devel optional zaptel-source_1.2.9.1.dfsg-2_all.deb 833e661287ea4723211f155dc060c0be 106022 comm optional zaptel_1.2.9.1.dfsg-2_i386.deb ce68c91d1c0d000e240848a312c6992b 24962 libs optional libtonezone1_1.2.9.1.dfsg-2_i386.deb 5f10ab48bb3bf4bfca59a41b0b8e06cc 26046 libdevel optional libtonezone-dev_1.2.9.1.dfsg-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFKt2RoCzanz0IthIRAkaYAJ4u8lF1AbqLNvl3irBhN5WbzZTdBwCfU//5 1Xth/U6573J0YBUnD6n1skk= =eVQy -----END PGP SIGNATURE-----
--- End Message ---

