[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#569644: marked as done (antennavis TkAnt crashes if no GW lines present in antenna file)

Your message dated Sat, 24 Jul 2010 14:48:55 +0000
with message-id <E1Ocg23-0006YB-Fh@franck.debian.org>
and subject line Bug#569644: fixed in antennavis 0.3.1-1
has caused the Debian Bug report #569644,
regarding antennavis TkAnt crashes if no GW lines present in antenna file
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

569644: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569644
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: antennavis
Version: 0.3-6
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Originally reported by [jsefija@gmail.com] as

Loading an antenna file (or any file) which contains no "GW" geometry
tube lines causes antennavis TkAnt to crash with segmentation fault.

Easy to reproduce:
1. $ touch /tmp/empty.nec
2. $ antennavis
3. Load File "/tmp/empty.nec" --> TkAnt: Segmentation fault

Attached patch fixes the bug.
--- antennavis-0.3.orig/pcard.c
+++ antennavis-0.3/pcard.c
@@ -564,6 +564,13 @@
     }  /**  For each card  **/
+    /**  Check whether we read any tubes at all before proceeding. **/
+    if ( antData->first_tube == NULL ) {
+      fprintf(stderr, "No geometry tubes (GW lines) specified in file %s\n",
+              file_name);
+      return;
+    }
     /**  Traverse list of elements to find dynamic range  **/
     /**  We will need to scale things to accomodate all   **/
     /**  sizes of antennas.                               **/

--- End Message ---
--- Begin Message ---
Source: antennavis
Source-Version: 0.3.1-1

We believe that the bug you reported is fixed in the latest version of
antennavis, which is due to be installed in the Debian FTP archive:

  to main/a/antennavis/antennavis_0.3.1-1.debian.tar.gz
  to main/a/antennavis/antennavis_0.3.1-1.dsc
  to main/a/antennavis/antennavis_0.3.1-1_i386.deb
  to main/a/antennavis/antennavis_0.3.1.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 569644@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Nanakos Chrysostomos <nanakos@wired-net.gr> (supplier of updated antennavis 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sat, 24 Jul 2010 16:19:29 +0200
Source: antennavis
Binary: antennavis
Architecture: source i386
Version: 0.3.1-1
Distribution: unstable
Urgency: low
Maintainer: Nanakos Chrysostomos <nanakos@wired-net.gr>
Changed-By: Nanakos Chrysostomos <nanakos@wired-net.gr>
 antennavis - antenna radiation pattern visualization software
Closes: 553390 569644
 antennavis (0.3.1-1) unstable; urgency=low
   [ Nanakos Chrysostomos ]
   * New upstream release.
   * New maintainer (Closes: Bug#553390).
   * Took over upstream, updated watch file, and set Homepage field.
   * Revised short package description.
   * Added in copyright file the real path to GPL-2.
   * Modified debian/rules to dynamically generate the Makefile.
   * Added a few more checks in configure file relevant to required
   * Fixed segfault crash when loading a file with no GW lines.
     Thanks to Kamal Mostafa <kamal@whence.com> for the patch.
     (Closes: Bug#569644).
   * Update S-V to 3.9.0
        - debian/copyright file is now UTF-8 encoded.
   * Added ${misc:Depends} to control file.
   * Added debian/source/format file.
   * Bumped debhelper versioned Build-Depends to 7, and updated
 095836d1ab4e9be1bf102f8204aa76aa6a50dbb8 1149 antennavis_0.3.1-1.dsc
 c7654e75be8dd3df55b0e15f45b9a93bf2cc5b00 137207 antennavis_0.3.1.orig.tar.gz
 ec9af83988f84ee8b5184a8b8255e6c1d2a1a6d4 4874 antennavis_0.3.1-1.debian.tar.gz
 10a52d9b82898c3df1507ea2079c14af1d7bce07 55566 antennavis_0.3.1-1_i386.deb
 c2340d163a286906b7a4d8b3006d81fa32d52173fd8c4a95e9072e46ccc843d4 1149 antennavis_0.3.1-1.dsc
 4993757c03a3fcde8ea3da47fcbdc9ae4f5a97cc789d85d72c1a4cf3e8e28880 137207 antennavis_0.3.1.orig.tar.gz
 93ddb09ffbf1b5f1883df9be74038ac80ad616ac7dc013bb12820aa70551007b 4874 antennavis_0.3.1-1.debian.tar.gz
 f3af237290483497d94359e41648a4ec596f23eff3a95590623895bf370ea95b 55566 antennavis_0.3.1-1_i386.deb
 49256a92b1455a8ed313dd8757f9a65a 1149 hamradio optional antennavis_0.3.1-1.dsc
 f58508e799134ec1d966237cbbf798a1 137207 hamradio optional antennavis_0.3.1.orig.tar.gz
 9afb468301977bd344f1523e560f5230 4874 hamradio optional antennavis_0.3.1-1.debian.tar.gz
 8ab0f523e2776e6ab6e030d42bd3fe83 55566 hamradio optional antennavis_0.3.1-1_i386.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: