lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2012-10-17 10:36 AM, "David Collier" <myshkin@cix.co.uk> wrote:
>
>
>
> > *From:* "Rena" <hyperhacker@gmail.com>
> > *To:* <myshkin@cix.co.uk>, "Lua mailing list" <lua-l@lists.lua.org>
> > *Date:* Tue, 16 Oct 2012 14:09:05 -0500
> >
> > On 2012-10-16 12:52 PM, "David Collier" <myshkin@cix.co.uk> wrote:
> > >
> > >
> > > Ok - so I gather the silent hang isn't "quite expected" for some
> > > subtle
> > > reason I haven't twigged.
> > >
> > > > I'll make a guess that you're using Lua inside an application
> > > that
> > > > is
> > > > using [lua_]pcall() without appropriate error handling in place
> > > to
> > > > report the error to you.
> > >
> > > not knowingly - and I get other error messages just fine
> > >
> > > > Another possibility is that the error
> > > > happened inside a coroutine, you need to check the return value
> > > from
> > > > coroutine.resume() in this case.
> > >
> > > Well I'm not intentionally invoking coroutines. Simple
> > > single-thread bit
> > > of equipment test s/w running on windoze.
> > >
> > > Thanks - will cut bits out of my prog till it says something :-)
> > >
> > > David
> > > >
> > > > Regards,
> > > > Matthew
> > > >
> > >
> >
> > By some coincidence, is payLoad:subs() an actual existing function
> > that
> > loops for a long time? (Maybe payLoad is not the type you expect?)
> > Wouldn't
> > be the first time I've seen such an unlikely-seeming scenario on
> > this list.
>
> no - payload is a string and everything works fine if I kill the 's'
>
>
>
>
> >
> >
> > --
> > *Included Files:*
> > am2file:001-HTML_Message.html
>

And you haven't unknowingly defined a string.subs ()?