Ethereal-users: [Ethereal-users] tethereal -h core dump

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Eddie Luc <eddie@xxxxxxxxxxxxxxxxxx>
Date: Mon, 27 May 2002 10:28:02 +1000
Hi all,

    I've build ethereal/tethereal 9.4 on SunOS 5.8 Solaris 8

    Ethereal runs fine so far but when I run help I get


./tethereal -h
This is GNU tethereal 0.9.4, compiled with GLib 1.2.10, with libpcap
(version unknown), with libz 1.1.3, without UCD SNMP
tethereal [ -DvVhlp ] [ -a <capture autostop condition> ] ...
        [ -b <number of ring buffer files> ] [ -c <count> ]
        [ -f <capture filter> ] [ -F <capture file type> ]
        [ -i <interface> ] [ -n ] [ -N <resolving> ]
        [ -o <preference setting> ] ... [ -r <infile> ] [ -R <read
filter> ]
        [ -s <snaplen> ] [ -t <time stamp format> ] [ -w <savefile> ] [
-x ]
Valid file type arguments to the "-F" flag:
        libpcap - libpcap (tcpdump, Ethereal, etc.)
        rh6_1libpcap - Red Hat Linux 6.1 libpcap (tcpdump)
        suse6_3libpcap - SuSE Linux 6.3 libpcap (tcpdump)
        modlibpcap - modified libpcap (tcpdump)
        nokialibpcap - Nokia libpcap (tcpdump)
        ngsniffer - Network Associates Sniffer (DOS-based)
        snoop - Sun snoop
        netmon1 - Microsoft Network Monitor 1.x
        netmon2 - Microsoft Network Monitor 2.x
        ngwsniffer_1_1 - Network Associates Sniffer (Windows-based) 1.1
Segmentation Fault (core dumped)


    ie. I get a core dump. I trace the code and it leads to print_usage
somewhere in

 fprintf(stderr, "Valid file type arguments to the \"-F\" flag:\n");
  for (i = 0; i < WTAP_NUM_FILE_TYPES; i++) {
    if (wtap_dump_can_open(i))
      fprintf(stderr, "\t%s - %s\n",
        wtap_file_type_short_string(i), wtap_file_type_string(i));
  }


What can I do?

    Thanks in advance.

--
cheers
Eddie Luc
Developer