xnec2c crashes for horizontal polarization
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xnec2c (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xnec2c
~/xnec2c
*** stack smashing detected ***: xnec2c terminated
======= Backtrace: =========
/lib/tls/
/lib/tls/
xnec2c[0x809f0a5]
xnec2c[0x809f1b1]
xnec2c[0x808ae55]
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
xnec2c[0x804e025]
/lib/tls/
xnec2c[0x804d521]
======= Memory map: ========
08048000-080d5000 r-xp 00000000 08:06 1214336 /usr/bin/xnec2c
080d5000-080d6000 rw-p 0008c000 08:06 1214336 /usr/bin/xnec2c
080d6000-0843b000 rw-p 080d6000 00:00 0 [heap]
b6ebc000-b6fd6000 r-xp 00000000 08:06 1213037 /usr/lib/
b6fd6000-b6fdb000 rw-p 00119000 08:06 1213037 /usr/lib/
b6fdb000-b6fdc000 rw-p b6fdb000 00:00 0
b6fdc000-b700e000 r-xp 00000000 08:06 1213891 /usr/lib/
b700e000-b7011000 rw-p 00031000 08:06 1213891 /usr/lib/
b7011000-b7041000 r-xp 00000000 08:06 1214145 /usr/lib/
b7041000-b7044000 rw-p 0002f000 08:06 1214145 /usr/lib/
b7044000-b7045000 rw-p b7044000 00:00 0
b7045000-b7075000 r-xp 00000000 08:06 1214468 /usr/lib/
b7075000-b7076000 rw-p 00030000 08:06 1214468 /usr/lib/
b7076000-b7090000 r-xp 00000000 08:06 1213919 /usr/lib/
b7090000-b7091000 rw-p 0001a000 08:06 1213919 /usr/lib/
b7091000-b7099000 r-xp 00000000 08:06 1212919 /usr/lib/
b7099000-b709a000 rw-p 00007000 08:06 1212919 /usr/lib/
b70a0000-b70af000 r-xp 00000000 08:06 1146918 /lib/libbz2.
b70af000-b70b0000 rw-p 0000f000 08:06 1146918 /lib/libbz2.
b70b0000-b70d0000 r-xp 00000000 08:06 1171569 /usr/lib/
b70d0000-b70d1000 rw-p 0001f000 08:06 1171569 /usr/lib/
b70d1000-b70d8000 r-xp 00000000 08:06 1164294 /lib/tls/
b70d8000-b70da000 rw-p 00006000 08:06 1164294 /lib/tls/
b70da000-b70de000 r-xp 00000000 08:06 71114 /usr/lib/
b70de000-b70df000 rw-p 00003000 08:06 71114 /usr/lib/
b70df000-b7113000 r-xp 00000000 08:06 1213176 /usr/lib/
b7113000-b7115000 rw-p 00033000 08:06 1213176 /usr/lib/
b7115000-b7124000 r-xp 00000000 08:06 1214071 /usr/lib/
b7124000-b7125000 rw-p 0000e000 08:06 1214071 /usr/lib/
b7125000-b7142000 r-xp 00000000 08:06 1171567 /usr/lib/
b7142000-b7143000 rw-p 0001c000 08:06 1171567 /usr/lib/
b7143000-b715a000 r-xp 00000000 08:06 1147005 /lib/libselinux
b715a000-b715c000 rw-p 00016000 08:06 1147005 /lib/libselinux
b715c000-b71bb000 r-xp 00000000 08:06 1212647 /usr/lib/
b71bb000-b71bd000 rw-p 0005f000 08:06 1212647 /usr/lib/
b71c0000-b71c1000 rw-p b71c0000 00:00 0
b71c1000-b71d2000 r--s 00000000 08:06 24955 /usr/share/
b71d2000-b71d3000 r--s 00000000 08:06 25338 /usr/local/
b71d3000-b71d9000 r-xp 00000000 08:06 1237458 /usr/lib/
b71d9000-b71da000 rw-p 00006000 08:06 1237458 /usr/lib/
b71da000-b723a000 rw-s 00000000 00:09 6225980 /SYSV00000000 (deleted)
b723a000-b723e000 r-xp 00000000 08:06 1237019 /usr/lib/
b723e000-b723f000 rw-p 00003000 08:06 1237019 /usr/lib/
b723f000-b72ea000 r--p 00000000 08:06 150140 /usr/share/
b72ea000-b730c000 r--p 00000000 08:06 294988 /usr/share/
b730c000-b730e000 r-xp 00000000 08:06 11290 /usr/lib/
b730e000-b730f000 rw-p 00001000 08:06 11290 /usr/lib/
b730f000-b7315000 r--s 00000000 08:xnec2c: abort signal received, exiting
~/
source deck:
CM --- NEC2 Input File created by xnec2c-0.1 ---
CE --- End Comments ---
GW 1 15 0.00000E+00 -1.00000E-01 4.62000E+00 3.05000E+00 -2.55000E+00 1.60000E+00 1.50000E-03
GW 3 15 0.00000E+00 1.00000E-01 4.62000E+00 3.05000E+00 2.55000E+00 1.60000E+00 1.50000E-03
GW 5 1 0.00000E+00 -1.00000E-01 4.62000E+00 0.00000E+00 1.00000E-01 4.62000E+00 1.50000E-03
GE 0 0 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
EX 0 5 1 0 1.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
FR 0 11 0 0 5.00000E+01 5.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
NH 0 0 0 0 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
NE 0 10 1 10 -1.35000E+00 0.00000E+00 -1.35000E+00 3.00000E-01 0.00000E+00 3.00000E-01
RP 0 19 37 0 0.00000E+00 0.00000E+00 1.00000E+01 1.00000E+01 0.00000E+00 0.00000E+00
XQ 0 0 0 0 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
EN 0 0 0 0 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
Set freq to 14 MHz and horizontal polarization
Version 0.1
Thank you for taking the time to report this bug and helping to make Ubuntu better. I tested the example .nec file you provided with xnec2c in Ubuntu 9.10 Karmic but I was unable to reproduce the problem (nice sloper dipole by the way). It may be that the bug has already been fixed.
To test, I loaded the file, set the frequency to 14MHz (and other values) and the polarization to horizontal, then viewed the antenna, radiation patterns display, graphs, etc. -- everything worked fine and no crash occurred.
Please answer these questions:
1. Can you still reproduce the problem, and if so, with what release of Ubuntu?
2. If you can still reproduce it using Ubuntu 9.10, what specific steps should we take to recreate this bug? Be as detailed as possible.
This will help us to find and resolve the problem.