Debian Bug report logs -
#400866
guessnet: Caught unexpected expectation
Reported by: atanaka@hotcake.halfmoon.jp
Date: Wed, 29 Nov 2006 09:33:01 UTC
Severity: serious
Found in version guessnet/0.41-1
Fixed in version guessnet/0.42-1
Done: Enrico Zini <enrico@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#400866; Package guessnet.
(full text, mbox, link).
Acknowledgement sent to atanaka@hotcake.halfmoon.jp:
New Bug report received and forwarded. Copy sent to Enrico Zini <enrico@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: guessnet
Version: 0.41-1
Severity: important
guesset fails on our xeon box. Here is a shell script to reproduce a bug:
#!/bin/sh
# guessnet-debug
/usr/sbin/guessnet -v --debug <<EOF
debugEntry peer 192.168.0.1
EOF
# end of the script
The result is the following:
guessnet: 1 candidates found in input
guessnet: Guessnet 0.41 starting...
guessnet: Trying MII detection
guessnet: 1 candidate profiles
guessnet: Trying MII detection
guessnet: Initialized test subsystems
guessnet: Added "default" test none
guessnet: Default test is none
guessnet: Will check network debugEntry for IP address 192.168.0.1 (MAC 00:00:00:00:00:00)
guessnet: Starting peer test subsystem
guessnet: Sending 10 ARP probes, 1 every second...
guessnet: Listen ARP
guessnet: Started tests
guessnet: 2 candidates
Caught unexpected exception, 15 stack frames unwound:
/usr/sbin/guessnet [0x43a583]
/usr/lib/libstdc++.so.6 [0x2ba4b1e5f606]
/usr/lib/libstdc++.so.6 [0x2ba4b1e5f623]
/usr/lib/libstdc++.so.6(__gxx_personality_v0+0x472) [0x2ba4b1e5f582]
/lib/libgcc_s.so.1 [0x2ba4b212e392]
/lib/libgcc_s.so.1(_Unwind_ForcedUnwind+0xac) [0x2ba4b212e65c]
/lib/libpthread.so.0(__pthread_unwind+0x40) [0x2ba4b1b7abe0]
/lib/libpthread.so.0 [0x2ba4b1b752ab]
/lib/libpthread.so.0 [0x2ba4b1b7c410]
/lib/libpthread.so.0(recvfrom+0x70) [0x2ba4b1b7b640]
/usr/lib/libpcap.so.0.7(pcap_read+0x81) [0x2ba4b1c8a071]
/usr/lib/libpcap.so.0.7(pcap_next+0x1c) [0x2ba4b1c8b70c]
/usr/sbin/guessnet [0x42513f]
/lib/libpthread.so.0 [0x2ba4b1b75f1a]
/lib/libc.so.6(__clone+0x72) [0x2ba4b22fc612]
terminate called without an active exception
./guessnet-debug: line 6: 4929 Aborted /usr/sbin/guessnet -v --debug <<EOF
debugEntry peer 192.168.0.1
EOF
The result does not depend on the choice of IP address "192.168.0.1".
If you need more appropriate infomation, please let me know.
Sincerely
TANAKA Atushi
-- System Information:
Debian Release: 4.0
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=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages guessnet depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-19 GCC support library
ii libnet1 1.1.2.1-2 library for the construction and h
ii libpcap0.7 0.7.2-7 System interface for user-level pa
ii libstdc++6 4.1.1-19 The GNU Standard C++ Library v3
guessnet recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#400866; Package guessnet.
(full text, mbox, link).
Acknowledgement sent to Alexander B�rger <acfb@users.sf.net>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>.
(full text, mbox, link).
Message #10 received at 400866@bugs.debian.org (full text, mbox, reply):
Package: guessnet
Version: 0.41-1
Followup-For: Bug #400866
There is an exception from pcap_next in line 149 of Netwatcher.cc.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages guessnet depends on:
ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-21 GCC support library
ii libnet1 1.1.2.1-2 library for the construction and h
ii libpcap0.7 0.7.2-7 System interface for user-level pa
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
guessnet recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#400866; Package guessnet.
(full text, mbox, link).
Acknowledgement sent to Marcus Better <marcus@better.se>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>.
(full text, mbox, link).
Message #15 received at 400866@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I have the same problem. This is a Thinkpad R60 with Intel Core 2 Duo running Debian/amd64.
~# uname -a
Linux melech 2.6.20-melech #1 SMP Mon Feb 19 11:33:33 CET 2007 x86_64 GNU/Linux
~# ifup -v eth0
Running mapping script guessnet-ifupdown on eth0
guessnet: 1 candidate profiles
guessnet: Starting peer test subsystem
guessnet: Sending 10 ARP probes, 1 every second...
Caught unexpected exception, 15 stack frames unwound:
guessnet-ifupdown [0x43a583]
/usr/lib/libstdc++.so.6 [0x2b5cff1ef5e6]
/usr/lib/libstdc++.so.6 [0x2b5cff1ef603]
/usr/lib/libstdc++.so.6(__gxx_personality_v0+0x472) [0x2b5cff1ef562]
/lib/libgcc_s.so.1 [0x2b5cff4be392]
/lib/libgcc_s.so.1(_Unwind_ForcedUnwind+0xac) [0x2b5cff4be65c]
/lib/libpthread.so.0(__pthread_unwind+0x40) [0x2b5cfef0abe0]
/lib/libpthread.so.0 [0x2b5cfef052ab]
/lib/libpthread.so.0 [0x2b5cfef0c410]
/lib/libpthread.so.0(recvfrom+0x70) [0x2b5cfef0b640]
/usr/lib/libpcap.so.0.7(pcap_read+0x81) [0x2b5cff01a071]
/usr/lib/libpcap.so.0.7(pcap_next+0x1c) [0x2b5cff01b70c]
guessnet-ifupdown [0x42513f]
/lib/libpthread.so.0 [0x2b5cfef05f1a]
/lib/libc.so.6(__clone+0x72) [0x2b5cff68c602]
terminate called without an active exception
Ignoring unknown interface eth0=eth0.
[Message part 2 (application/pgp-signature, inline)]
Severity set to `serious' from `important'
Request was from Enrico Zini <enrico@debian.org>
to control@bugs.debian.org.
(Mon, 19 Mar 2007 15:00:11 GMT) (full text, mbox, link).
Tags added: pending
Request was from Enrico Zini <enrico@debian.org>
to control@bugs.debian.org.
(Mon, 19 Mar 2007 15:00:13 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#400866; Package guessnet.
(full text, mbox, link).
Acknowledgement sent to Enrico Zini <enrico@enricozini.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>.
(full text, mbox, link).
Message #24 received at 400866@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hello,
I managed to reproduce and find a fix.
What happened here is that somehow thread semantics have changed, and
now a thread gets canceled with a very strange type of exception,
somehow described in [1].
This exception didn't interact well with some throw() clauses in
guessnet code, causing the unexpected exception behaviour to happen.
This indeed renders guessnet mostly unusable, as when a test succeeds
cancelation is used to stop all the other running tests.
I committed a fix and I'm about to upload a fixed version.
Ciao,
Enrico
[1] http://groups.google.com/group/comp.programming.threads/browse_thread/thread/652bcf186fbbf697/f63757846514e5e5
--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>
[signature.asc (application/pgp-signature, inline)]
Reply sent to Enrico Zini <enrico@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to atanaka@hotcake.halfmoon.jp:
Bug acknowledged by developer.
(full text, mbox, link).
Message #29 received at 400866-close@bugs.debian.org (full text, mbox, reply):
Source: guessnet
Source-Version: 0.42-1
We believe that the bug you reported is fixed in the latest version of
guessnet, which is due to be installed in the Debian FTP archive:
guessnet_0.42-1.dsc
to pool/main/g/guessnet/guessnet_0.42-1.dsc
guessnet_0.42-1.tar.gz
to pool/main/g/guessnet/guessnet_0.42-1.tar.gz
guessnet_0.42-1_amd64.deb
to pool/main/g/guessnet/guessnet_0.42-1_amd64.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 400866@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Enrico Zini <enrico@debian.org> (supplier of updated guessnet 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 19 Mar 2007 15:00:13 +0000
Source: guessnet
Binary: guessnet
Architecture: source amd64
Version: 0.42-1
Distribution: unstable
Urgency: high
Maintainer: enrico@debian.org
Changed-By: Enrico Zini <enrico@debian.org>
Description:
guessnet - Guess which LAN a network device is connected to
Closes: 400866
Changes:
guessnet (0.42-1) unstable; urgency=high
.
* Remove throw() handlers to allow the new strange new exception raised by
thread cancellation to do its job. Closes: #400866.
* Urgency is high as this bug makes guessnet mostly unusable. Changes since
0.41-1 have been kept to a minimum.
Files:
ec4930b8178603e53e8cb4a0ae4d91b9 731 net optional guessnet_0.42-1.dsc
82ffe1a3fab09a2927b1eed2d4c1b044 195971 net optional guessnet_0.42-1.tar.gz
cfadf16a7f11d8784891e33e547c880d 298892 net optional guessnet_0.42-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF/qm59LSwzHl+v6sRAjx3AJ9e/KHxe9+W0+O/YaSejU5+qp8JqgCeIdWx
Utm07cA413KaW9/ovb/6w+A=
=+SaL
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 26 Jun 2007 07:52:38 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 02:59:22 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.