Wireshark-dev: Re: [Wireshark-dev] [SPAM] - Re: WireShark + LUA - Email found in subject

From: "Verriere Joseph" <j.verriere@xxxxxxxxxxxx>
Date: Mon, 5 Mar 2007 09:33:34 +0100
Hi,

I installed the last version: build 20973 and it crashes the same way.
Trying to debug, the part of my code which crashes is the one I gave you:

local numFrames = Field.new ("h248.ctx.cmd")

local extract_com = Listener.new()

function extract_com.packet(pinfo, Tvb)

         local frames = { numFrames() }

end

I'm sorry but I can't send you the capture file because of confidentiality. I'm working for a society whichs works with phone companies and this capture comes from one of them.
I hope you can still help me.

Joseph Verrière

-----Message d'origine-----
De : wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]De la part de Luis Ontanon
Envoyé : dimanche 4 mars 2007 17:03
À : Developer support list for Wireshark
Objet : [SPAM] - Re: [Wireshark-dev] WireShark + LUA - Email found in
subject


Before sending in a huge file can you try a buidbot build >= 20972
from http://www.wireshark.org/download/automated/

I checked in a fix that might solve your issue.

Luis

On 3/4/07, Luis Ontanon <luis.ontanon@xxxxxxxxx> wrote:
> 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
>


-- 
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev