Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] WireShark + LUA

From: "Verriere Joseph" <j.verriere@xxxxxxxxxxxx>
Date: Tue, 27 Feb 2007 17:29:46 +0100
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.

----------------------------------------------------------------------------------------------------