Wireshark-dev: Re: [Wireshark-dev] WireShark + LUA
From: "Luis Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Sun, 4 Mar 2007 03:38:10 +0100
As I'm the one that wrote both the Lua interface and a good part of the h248 dissector I think I can help you... There are probably two bugs that cause this crash: one I know already regarding the way rethrown exceptions are mis-handled in windows which is the cause of the actual crash. I'm still deciding how to approach this: either I remove the code that rethrows exceptions or modify the way exceptions are handled. This is not going to be fixed soon. And there's probably another one triggered by your code. For that I need two things from you the lua code and the capture file that triggered the crash. BR Luis On 2/27/07, Verriere Joseph <j.verriere@xxxxxxxxxxxx> wrote:
Hello, I'm trying to use LUA but I get a bug on Tshark when I launch my program. I do this: local numFrames = Field.new ("h248.ctx.cmd") local extract_com = Listener.new() function extract_com.packet(pinfo, Tvb) local frames = { numFrames() } end There, without doing anything with frames, I get an error but not at the beginning but after a while (about 1000 frames from a capture file which has more than 175000 of them). I get an error in a window which tells me that TShark has encountered a problem and must shut down. If I launch the debug program, I get in Visual C++ and I get the message: unhandled exception. Can someone help me? Thanks ---------------------------------------------------------------------------------------------------- Ce message et tout document joint sont confidentiels et à l'intention exclusive des destinataires. S'ils vous ont été adressés par erreur, merci d'en informer immédiatement l'expéditeur et de les détruire. Toute copie, diffusion ou utilisation non autorisée est interdite. Tout message électronique est susceptible d'altération : Astellia décline toute responsabilité si le message ou les documents joints ont subi une quelconque modification. This message and any attachment are confidential and intended solely to its addressees. If you are not the intended recipient please cancel it and inform immediately the sender. Any unauthorised copy or dissemination is prohibited. Electronic messages may be altered: Astellia shall not be liable for those circumstances. ---------------------------------------------------------------------------------------------------- _______________________________________________ Wireshark-dev mailing list Wireshark-dev@xxxxxxxxxxxxx http://www.wireshark.org/mailman/listinfo/wireshark-dev
-- This information is top security. When you have read it, destroy yourself. -- Marshall McLuhan
- Follow-Ups:
- Re: [Wireshark-dev] WireShark + LUA
- From: Luis Ontanon
- Re: [Wireshark-dev] WireShark + LUA
- Prev by Date: Re: [Wireshark-dev] [Patch] Add "Copy as Filter" menu item
- Next by Date: Re: [Wireshark-dev] User information in the packet
- Previous by thread: Re: [Wireshark-dev] [patch] update for ETHERNET Powerlink dissector
- Next by thread: Re: [Wireshark-dev] WireShark + LUA
- Index(es):
- Get Wireshark
- Download
- Code of Conduct