antennavis TkAnt crashes if no GW lines present in antenna file

Bug #120923 reported by jsefija@gmail.com
20
Affects Status Importance Assigned to Milestone
antennavis (Debian)
Fix Released
Unknown
antennavis (Ubuntu)
Fix Released
Low
Stephan Rügamer

Bug Description

Binary package hint: antennavis

when i've tried to load this antenna it crach

ProblemType: Crash
Architecture: i386
Date: Mon Jun 18 03:11:18 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/TkAnt
Package: antennavis 0.3-2ubuntu1
PackageArchitecture: i386
ProcCmdline: TkAnt /usr/bin/antennavis
ProcCwd: /home/jsefija
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/local/open2x/bin
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: antennavis
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Uname: Linux ojancano-i386 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner sudo video

Related branches

Revision history for this message
jsefija@gmail.com (jsefija) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()
?? ()
?? ()
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in antennavis:
importance: Undecided → Low
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote : Re: [apport] TkAnt crashed with SIGSEGV

Thank you for taking the time to report this bug and helping to make Ubuntu better. I would like to help resolve the problem, or determine if it has already been fixed. Please answer these questions:

1. Are you still able reproduce the problem with more a more recent version of Ubuntu, such as Ubuntu 9.10 "Karmic"? (You reported this bug against an older version of antennavis and TkAnt, so the problem may have been fixed in the meantime).

2. You mentioned that the crash occurs when you load "this antenna" but no data file is attached. Please attach the file(s) necessary to reproduce the bug to this bug report.

Thanks again.

Changed in antennavis (Ubuntu):
status: New → Incomplete
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

I did locate the reporter's antenna file which provokes the problem, attached to one of the duplicate bugs. I have attached it here as "example-antenna-120923.nec".

I confirm that the reported TkAnt Segmentation fault crash does still occur in Ubuntu Karmic with antennavis 0.3-5.

Changed in antennavis (Ubuntu):
status: Incomplete → Confirmed
summary: - [apport] TkAnt crashed with SIGSEGV
+ [apport] antennavis crashes TkAnt when loading this antenna file
Changed in antennavis (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: Confirmed → In Progress
summary: - [apport] antennavis crashes TkAnt when loading this antenna file
+ antennavis TkAnt crashes if no GW lines present in antenna file
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

I have fixed this bug in antennavis TkAnt. The bug actually occurs when loading _any_ file which contains no "GW" geometry tube lines -- even an empty file provokes the bug. Unfortunately, antennavis cannot render the submitter's antenna file anyway, since that file uses a different type of geometry specification not supported by antennavis. With the fix, an explanatory error message is printed and the program doesn't crash, at least.

Attached branch contains the fix, and I have forwarded the bug report and patch upstream to Debian.

Update packages containing the fix for Ubuntu Karmic and Lucid are available in my PPA:
    https://launchpad.net/~kamalmostafa/+archive/antennavis-fixes

Thanks for reporting this bug.

Changed in antennavis (Ubuntu):
assignee: Kamal Mostafa (kamalmostafa) → nobody
status: In Progress → Confirmed
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

working on it

Changed in antennavis (Ubuntu):
assignee: nobody → Stephan Hermann (shermann)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package antennavis - 0.3-6ubuntu1

---------------
antennavis (0.3-6ubuntu1) lucid; urgency=low

  * Fix segfault crash when no loading a file with no GW lines. (LP: #120923)
 -- Kamal Mostafa <email address hidden> Fri, 12 Feb 2010 19:40:14 -0800

Changed in antennavis (Ubuntu):
status: In Progress → Fix Released
Changed in antennavis (Debian):
status: Unknown → New
Changed in antennavis (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.