pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Wireshark drops core on Floating Point Exception
List:
I re-purposed my wife's old laptop into a tool that I plan to use for network
monitoring and packet filter queue tuning. This was a clean disk virgin load
of NetBSD 6.1.5 and only the Fluxbox screen manager was loaded from a package
after the initial install. I next performed a pkg_add for Wireshark. The
following installed libraries were newer than the prebuilt package so the
Wireshark program refused to start:
libkrb5
libpthreads
libpcap
I updated my pkgsrc tree and built and installed the program from source in
order for the program to find the existing updated library files. Wireshark
drops core on the a floating point error but Tshark component runs as
expected and I was able to capture and analyze a packet filter log in pcap
format.
I started the gdb debugger to gather more information:
(gdb) target exec /usr/pkg/bin/wireshark
(gdb) run
Starting program: /usr/pkg/bin/wireshark
(wireshark:203): Pango-WARNING **: failed to choose a font, expect ugly
output. engine-type='PangoRenderFc', script='latin'
(wireshark:203): Pango-WARNING **: failed to choose a font, expect ugly
output. engine-type='PangoRenderFc', script='common'
Program received signal SIGFPE, Arithmetic exception.
[Switching to LWP 1]
0x081275b3 in ?? ()
(gdb)
Here is the startup DMESG from my system that shows the processor type and
some additional information:
Jan 17 19:08:43 slaptop /netbsd: NetBSD 6.1.5 (CARDBUS) #0: Fri Jan 16
18:25:30 EST 2015
Jan 17 19:08:43 slaptop /netbsd:
root%slaptop.laus.org@localhost:/usr/src/sys/arch/i386/compile/CARDBUS
Jan 17 19:08:43 slaptop /netbsd: total memory = 759 MB
Jan 17 19:08:43 slaptop /netbsd: avail memory = 733 MB
Jan 17 19:08:43 slaptop /netbsd: timecounter: Timecounters tick every 10.000
msec
Jan 17 19:08:43 slaptop /netbsd: timecounter: Timecounter "i8254" frequency
1193182 Hz quality 100
Jan 17 19:08:43 slaptop /netbsd: Hewlett-Packard HP Pavilion Notebook PC (HP
Pavilion Notebook Model GF)
Jan 17 19:08:43 slaptop /netbsd: PCI BIOS rev. 2.1 found at 0xfd98a
Jan 17 19:08:43 slaptop /netbsd: pcibios: config mechanism [1][x], special
cycles [x][x], last bus 2
Jan 17 19:08:43 slaptop /netbsd: PCI IRQ Routing Table rev. 1.0 found at
0xfdf10, size 208 bytes (11 entries)
Jan 17 19:08:43 slaptop /netbsd: PCI Interrupt Router at 000:31:0 (vendor
0x8086 product 0x122e compatible)
Jan 17 19:08:43 slaptop /netbsd: mainbus0 (root)
Jan 17 19:08:43 slaptop /netbsd: cpu0 at mainbus0: Intel 686-class, 930MHz,
id 0x68a
Jan 17 19:08:43 slaptop /netbsd: acpi0 at mainbus0: Intel ACPICA 20110623
Jan 17 19:08:43 slaptop /netbsd: acpi0: X/RSDT: OemId <HP-MCD, RSDT
,06040000>, AslId < LTP,00000000>
This is the Wireshark pkgsrc information:
# $NetBSD: Makefile,v 1.127 2014/11/14 12:06:10 tron Exp $
DISTNAME= wireshark-1.10.11
CATEGORIES= net
MASTER_SITES= http://www.wireshark.org/download/src/ \
${MASTER_SITE_SOURCEFORGE:=wireshark/}
EXTRACT_SUFX= .tar.bz2
OWNER= tron%NetBSD.org@localhost
HOMEPAGE= http://www.wireshark.org/
COMMENT= Network protocol analyzer
LICENSE= gnu-gpl-v2
I contacted the Wireshark port maintainer and he had me run a few tests:
>> Here are a few questions that might help to narrow the problem down: 1.
>> What does "grep npx /var/run/dmesg.boot" print?
>
npx1 at acpi0(MATH, PNP0C04): io 0xf0 irq13
>> 2.) Are you using native X11 or modular X11 from "pkgsrc"?
>>
Native X11
>> 5.) Does "/usr/pkg/bin/gtk-demo" work?
>>
Not really! It gets the same Pango warnings about failing to choose a font
that Wireshark does and a lot of little squares but no text. There must be
some additional dependencies that are not installed when the Wireshark
package is installed on a virgin system. The gtk-demo program does not panic
or abort, however.
>> Well. It still indicates that there is a problem with GTK+ applications
>> in general and not Wireshark in particular. And I'm afraid I cannot really
>> help you with debugging that. Please consider sending an e-mail to
>> "pkgsrc-users%NetBSD.org@localhost".
>>
If there is any other additional information required, just ask.
Tom
--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF
Home |
Main Index |
Thread Index |
Old Index