Bug#511907: /usr/bin/nec2: Nec2 Segfaults on any input deck
tags 511907 + patch thanks Hello, There's a out of bound loop: DO 5 I=1, LD 5 ZARRAY( I)=(0.,0.) MPCNT=0 LD is 15000, and ZARRAY is 1..NM (1). The attached patch fix things for me on all examples/ The various observed behaviors are probably due to different allocation roundups. Samuel --- nec/nec2.f.orig 2009-02-01 15:28:43.0 +0100 +++ nec/nec2.f 2009-02-01 15:30:59.0 +0100 @@ -183,7 +183,7 @@ C4 CONTINUE - DO 5 I=1, LD + DO 5 I=1, NM 5 ZARRAY( I)=(0.,0.) MPCNT=0 C
Bug#511907: /usr/bin/nec2: Nec2 Segfaults on any input deck
On Mon, Jan 19, 2009 at 03:47:34PM +0100, Evgeni Golov wrote: > On Mon, 19 Jan 2009 15:41:08 +0100 Evgeni Golov wrote: > > > nec2 segfaults for me on sid/amd64 and also when rebuilt on sid/i386. > > But it does not when I build the same version of nec (with libf2c2 from > > sid) in an etch chroot. I have no idea how to continue on that :( > > Oh, and it of course do not segfault when using the nec binary built on > etch with libf2c2 coming from sid :( Different versions of libc, may be? -- Fernando M. Maresca - - - - - - - - - - - - - Cel: 221 15 545 8196 Tel: 221 450 5378 signature.asc Description: Digital signature
Bug#511907: /usr/bin/nec2: Nec2 Segfaults on any input deck
On Mon, 19 Jan 2009 15:41:08 +0100 Evgeni Golov wrote: > nec2 segfaults for me on sid/amd64 and also when rebuilt on sid/i386. > But it does not when I build the same version of nec (with libf2c2 from > sid) in an etch chroot. I have no idea how to continue on that :( Oh, and it of course do not segfault when using the nec binary built on etch with libf2c2 coming from sid :( -- Bruce Schneier Fact Number 343: Bruce Schneier knows the Universe's random seed. pgp1TZtNqg8o3.pgp Description: PGP signature
Bug#511907: /usr/bin/nec2: Nec2 Segfaults on any input deck
On Fri, 16 Jan 2009 11:19:35 -0200 Fernando M. Maresca wrote: > Hello, > On Fri, Jan 16, 2009 at 02:01:10PM +0100, Evgeni Golov wrote: > > > ii libf2c2 20061008-4.1 Shared libraries for use > > > with FORT > > > > Did nec2 work with libf2c2 20061008-4? If so, that sounds like a > > breakage because of my NMU of libf2c2 :( > > Actually it should not have worked at all on amd64 before that. > > Don't know. Few months ago (around may 2007) nec2 was working here > because I've working with it and this is the last modification of the > files I've used then. Don't know what library was. > > > Strange. Will try to reproduce tomorrow when I have access to a amd64 > > box, could you provide a .nec file for testing? > > Attached little one that's working with nec2small. > > nec2 segfaults with all the .nec files provided with nec2 under > /usr/share/doc/nec/examples, except w7gq.nec wich has an error in the CE > card. All of these are usefull with nec2small. > > Also there are some files provided with xnec2c under > /usr/share/doc/xnec2c/examples which also work with nec2small. Mh, that one is strange. nec2 segfaults for me on sid/amd64 and also when rebuilt on sid/i386. But it does not when I build the same version of nec (with libf2c2 from sid) in an etch chroot. I have no idea how to continue on that :( Regards Evgeni -- Bruce Schneier Fact Number 570: Understand your enemy, and you will win half of the time. Understand yourself, and you will win all of the time. Even if you think you understand Bruce Schneier, you will still taste defeat. pgp1vyZkQj8H2.pgp Description: PGP signature
Bug#511907: /usr/bin/nec2: Nec2 Segfaults on any input deck
Hello, On Fri, Jan 16, 2009 at 02:01:10PM +0100, Evgeni Golov wrote: > > ii libf2c2 20061008-4.1 Shared libraries for use with > > FORT > > Did nec2 work with libf2c2 20061008-4? If so, that sounds like a > breakage because of my NMU of libf2c2 :( > Actually it should not have worked at all on amd64 before that. Don't know. Few months ago (around may 2007) nec2 was working here because I've working with it and this is the last modification of the files I've used then. Don't know what library was. > Strange. Will try to reproduce tomorrow when I have access to a amd64 > box, could you provide a .nec file for testing? Attached little one that's working with nec2small. nec2 segfaults with all the .nec files provided with nec2 under /usr/share/doc/nec/examples, except w7gq.nec wich has an error in the CE card. All of these are usefull with nec2small. Also there are some files provided with xnec2c under /usr/share/doc/xnec2c/examples which also work with nec2small. Regards, -- Fernando M. Maresca - - - - - - - - - - - - - Cel: 221 15 545 8196 Tel: 221 450 5378 CM Yagi for 145 MHz CM boom de 2m de largo, diam. 20mm CM elementos de 10mm de diam. CM CM -- CM Dimensiones en cm CM -- CM Ele LongLong/2 Dist. dde. ref. CM Reflector 98.7550.9 CM Excitado 93.9048.4 40.0 CM Director 189.0045.9 70.0 CM Director 287.3045.0 110.0 CM Director 385.3644.0 150.0 CM Director 483.4243.0 190.0 CM -- CE End Comments GW 125 0.0E+00 4.93730E-01 0.0E+00 0.0E+00 -4.93730E-01 0.0E+00 1.0E-02 GW 225 4.0E-01 4.69480E-01 0.0E+00 4.0E-01 -4.69480E-01 0.0E+00 1.0E-02 GW 322 7.0E-01 4.45230E-01 0.0E+00 7.0E-01 -4.45230E-01 0.0E+00 1.0E-02 GW 422 1.1E+00 4.36500E-01 0.0E+00 1.1E+00 -4.36500E-01 0.0E+00 1.0E-02 GW 522 1.5E+00 4.26800E-01 0.0E+00 1.5E+00 -4.26800E-01 0.0E+00 1.0E-02 GW 621 1.9E+00 4.17100E-01 0.0E+00 1.9E+00 -4.17100E-01 0.0E+00 1.0E-02 GW 721 0.0E+00 0.0E+00 0.0E+00 2.0E+00 0.0E+00 0.0E+00 2.0E-02 GE 0 0 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 FR 021 0 0 1.4E+02 5.0E-01 1.5E+02 0.0E+00 0.0E+00 0.0E+00 EX 0 213 0 1.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 LD 5 0 0 0 3.7E+07 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 NH 0 0 0 0 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 NE 02015 1 -1.4E+00 -1.4E+00 5.0E-02 2.0E-01 2.0E-01 0.0E+00 RP 03773 1000 0.0E+00 0.0E+00 5.0E+00 5.0E+00 0.0E+00 0.0E+00 EN 0 0 0 0 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 0.0E+00 signature.asc Description: Digital signature
Bug#511907: /usr/bin/nec2: Nec2 Segfaults on any input deck
Hi, On Thu, 15 Jan 2009 13:42:33 -0200 Fernando M. Maresca wrote: > Hello. > nec2 seems to segfault here with any input .nec deck file I have. > However, I can get the output from nec2small in the same set of files. > Architecture: amd64 (x86_64) > ii libf2c2 20061008-4.1 Shared libraries for use with > FORT Did nec2 work with libf2c2 20061008-4? If so, that sounds like a breakage because of my NMU of libf2c2 :( Actually it should not have worked at all on amd64 before that. Strange. Will try to reproduce tomorrow when I have access to a amd64 box, could you provide a .nec file for testing? Regards -- Bruce Schneier Fact Number 514: When Bruce Schneier does a brute force search, it never needs to be exhaustive. pgpM97S30LBbu.pgp Description: PGP signature
Bug#511907: /usr/bin/nec2: Nec2 Segfaults on any input deck
Package: nec Version: 2-14+b1 Severity: grave File: /usr/bin/nec2 Justification: renders package unusable Hello. nec2 seems to segfault here with any input .nec deck file I have. However, I can get the output from nec2small in the same set of files. This problem affects also the antennavis since it uses nec2. Thanks a lot, Fernando, LU2DFM -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages nec depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libf2c2 20061008-4.1 Shared libraries for use with FORT nec recommends no packages. nec suggests no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org