Ethereal-dev: [Ethereal-dev] Crash in latest svn: tethereal colinfo protocolinfo_init() sigsev

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

From: Jaime Fournier <ober@xxxxxxxxxx>
Date: Tue, 1 Mar 2005 01:35:11 -0600 (CST)
I was testing from the latest svn, and I end up getting a segmentation violation anytime I try to use tethereal with the -z "proto,colinfo,$var,$var" line.
In this case I just run
tethereal -r TRACEfile -z "proto,colinfo,dcerpc.time,dcerpc.time"


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 30884)]
0x080585c9 in protocolinfo_init (optarg=0x0) at tap-protocolinfo.c:98
98              if(!strncmp("proto,colinfo,",optarg,14)){
(gdb) bt full
#0  0x080585c9 in protocolinfo_init (optarg=0x0) at tap-protocolinfo.c:98
        rs = (pci_t *) 0x0
        field = 0x0
        filter = 0x0
        hfi = (header_field_info *) 0x8063354
        error_string = (GString *) 0x8063354
#1  0x0805cccd in main (argc=3, argv=0xbffff464) at tethereal.c:1244
        opt = 136008984
        i = 1
        arg_error = 0
        gpf_path = 0x0
        pf_path = 0x0
        gdp_path = 0x0
        dp_path = 0x0
        gpf_open_errno = 134526442
        gpf_read_errno = 1086609832
        pf_open_errno = 0
        pf_read_errno = 0
        gdp_open_errno = 0
        gdp_read_errno = 0
        dp_open_errno = 0
        dp_read_errno = 1073791177
        err = 0
        if_list = (GList *) 0x0
        if_entry = (GList *) 0x40ced3d4
        if_info = (if_info_t *) 0x1
        adapter_index = 1
        p = 0x0
err_str = "Fz\000@i@|\004\b\000\000\000\000\000\000\000\000 ", '\0' <repeats 11 times>, ",@D]@@Y@\r\000\000\000\030^@p^@\004g\001@\000\000\000\000pj\001@}\000@\202\004\b\216w\001\234\004\b\234 j\001@\v\000\000\000p^@\001\000\000\000\000\000\000\000\001", '\0' <repeats 11 times>, "\234", '\0' <repeats 16 times>, "\216w\001\020h\001@\202\004\b\000\000\000\000\000\000\000\000O@Y@\000\000\000\000\000\000\000\0009@\000\000\000\0009-@\204{@ ?@"... cant_get_if_list_errstr = (gchar *) 0x1 <Address 0x1 out of bounds>
        list_link_layer_types = 0
        quiet = 0
        save_file = (gchar *) 0x0
        out_file_type = 2
        cf_name = (gchar *) 0x0
        rfilter = (gchar *) 0x0
        start_capture = 0
        lt_list = (GList *) 0x0
        lt_entry = (GList *) 0x1
        data_link_info = (data_link_info_t *) 0x1
        fcode = {bf_len = 1, bf_insns = 0x0}
        rfcode = (dfilter_t *) 0x0
        prefs = (e_prefs *) 0x80684f8
        badopt = 0 '\0'
        tli = (ethereal_tap_list *) 0x81b5518
        got_tap = 1
(gdb)