Ethereal-dev: Re: [Ethereal-dev] Unhandled exception...

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

From: Ashok Narayanan <ashokn@xxxxxxxxx>
Date: Fri, 11 Oct 2002 16:15:34 -0400 (EDT)
You probably need to send out more information:

1) A diff of your changes

2) If you got a core dump, the backtrace of that core dump

-Ashok

> 
> Please can someone who knows about the GUI help me. I had to include a text field for entering an IP address which would call a routine
> for bringing HDLC traffic from a remote terminal.
> 
> These were the changes I made.
> 
> I modified the capture file structure in file.h to add
> the IP address field. (gchar *ipaddr)
> I initialized the capture file variable in main.c 
> (cfile.ipaddr = NULL)
> I added the GUI text entry construct in the capture_dlg.c 
> When an IP address is entered, I trigger the remote
> capture by calling a routine.
> 
> What happened was that initially, ethereal just quit.
> Then I commented out the portion of calling of the routine and recompiled. I then encountered Unhandled exception:0xC0000005:Access Violation. It was at the instruction do_capture(save_file) in capture_dlg.c
> 
> I then commented out all the extra additions and having brought
> to the original state, no longer faced the unhandled exception.
> That however doesn't solve my problem. I don't understand why the
> GUI additions caused the error.
> 
> Did I miss updating somewhere else? 
> Please can someone help in resolving this issue.
> 
> with regards,
> Gautham Thavva
> 
> 
> ____________________________________________________________
> Watch a championship game with Elway or McGwire.
> Enter Now at http://champions.lycos.com 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev



--- Asok the Intern ----------------------------------------
Ashok Narayanan
IOS Network Protocols, Cisco Systems
250 Apollo Drive, Chelmsford, MA 01824
Ph: 978-497-8387.  Fax: 978-497-8513 (Attn: Ashok Narayanan)