Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] lua script causing FreeSwitch to crash?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
larclap at yahoo.com
Guest





PostPosted: Tue Oct 13, 2009 2:46 pm    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

http://pastebin.freeswitch.org/10686

I am trying to use a lua script for inbound calls. The caller hears a busy signal. After this call fails to go through, FreeSwitch is no longer in memory – it does not appear in ‘ps –ef’ output.

I don’t have a clue what I might be doing incorrectly in the script in order to cause this to happen. There is no indication in the log that FreeSwitch has terminated. But it is not resident in memory.

I am using v15134. I had been using this same script without incident as late as v14929. Until I can resolve the issue, I have removed the call to lua from the dialplan and done all I could in it instead.

I have included the dialplan, the script and the cli log in the pastebin. I would appreciate any help or suggestions.

Thanks, Lars
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Oct 13, 2009 3:23 pm    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

On Tue, Oct 13, 2009 at 12:38 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote:

http://pastebin.freeswitch.org/10686
 
I am trying to use a lua script for inbound calls. The caller hears a busy signal. After this call fails to go through, FreeSwitch is no longer in memory – it does not appear in  ‘ps –ef’ output.
 
I don’t have a clue what I might be doing incorrectly in the script in order to cause this to happen. There is no indication in the log that FreeSwitch has terminated. But it is not resident in memory.
 
I am using v15134. I had been using this same script without incident as late as v14929. Until I can resolve the issue, I have removed the call to lua from the dialplan and done all I could in it instead.

We sent out a notice about a bug in event socket between revs 15119 and 15134. Update to latest trunk. (FYI, the fix was in r15135, so you just barely missed it.)

After you update, let us know if the problem persists.
-MC
Back to top
larclap at yahoo.com
Guest





PostPosted: Wed Oct 14, 2009 10:47 am    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

Michael,

I upgraded to v15152. There is no apparent change in the behavior. When I call into a number handled by the lua script, I may get a fast busy signal, or a recording saying the connection cannot be made.

But FreeSwitch is removed from memory as a result. I cannot see from the log that the FreeSwitch ended.

Is there anything I can try on my side?

http://pastebin.freeswitch.org/10707

Lars

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Tuesday, October 13, 2009 1:12 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] lua script causing FreeSwitch to crash?




On Tue, Oct 13, 2009 at 12:38 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
http://pastebin.freeswitch.org/10686

I am trying to use a lua script for inbound calls. The caller hears a busy signal. After this call fails to go through, FreeSwitch is no longer in memory – it does not appear in ‘ps –ef’ output.

I don’t have a clue what I might be doing incorrectly in the script in order to cause this to happen. There is no indication in the log that FreeSwitch has terminated. But it is not resident in memory.

I am using v15134. I had been using this same script without incident as late as v14929. Until I can resolve the issue, I have removed the call to lua from the dialplan and done all I could in it instead.


We sent out a notice about a bug in event socket between revs 15119 and 15134. Update to latest trunk. (FYI, the fix was in r15135, so you just barely missed it.)

After you update, let us know if the problem persists.
-MC
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Oct 14, 2009 11:16 am    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

By which process did you upgrade?
Did you use "make current"
if so, run freeswitch from the directory you built it from then reporduce the problem and watch for it to crash and type

./support-d/fscore_pb

at your shell to upload a crash report to pastebin and tell us the url it generated.


On Wed, Oct 14, 2009 at 10:28 AM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote:

Michael,
 
I upgraded to v15152. There is no apparent change in the behavior. When I call into a number handled by the lua script, I may get a fast busy signal, or a recording saying the connection cannot be made.
 
But FreeSwitch is removed from memory as a result. I cannot see from the log that the FreeSwitch ended.
 
Is there anything I can try on my side?
 
http://pastebin.freeswitch.org/10707
 
Lars
 
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Michael Collins
Sent: Tuesday, October 13, 2009 1:12 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] lua script causing FreeSwitch to crash?



 
 
On Tue, Oct 13, 2009 at 12:38 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
http://pastebin.freeswitch.org/10686
 
I am trying to use a lua script for inbound calls. The caller hears a busy signal. After this call fails to go through, FreeSwitch is no longer in memory – it does not appear in  ‘ps –ef’ output.
 
I don’t have a clue what I might be doing incorrectly in the script in order to cause this to happen. There is no indication in the log that FreeSwitch has terminated. But it is not resident in memory.
 
I am using v15134. I had been using this same script without incident as late as v14929. Until I can resolve the issue, I have removed the call to lua from the dialplan and done all I could in it instead.


We sent out a notice about a bug in event socket between revs 15119 and 15134. Update to latest trunk. (FYI, the fix was in r15135, so you just barely missed it.)

After you update, let us know if the problem persists.
-MC


 





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
larclap at yahoo.com
Guest





PostPosted: Wed Oct 14, 2009 12:27 pm    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

I did svn up, ./configure, make and make install.

Do you want me to do make current before proceeding, or just try to make it stop with the current build from the above commands?

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Wednesday, October 14, 2009 9:02 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] lua script causing FreeSwitch to crash?



By which process did you upgrade?
Did you use "make current"
if so, run freeswitch from the directory you built it from then reporduce the problem and watch for it to crash and type

./support-d/fscore_pb

at your shell to upload a crash report to pastebin and tell us the url it generated.


On Wed, Oct 14, 2009 at 10:28 AM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Michael,

I upgraded to v15152. There is no apparent change in the behavior. When I call into a number handled by the lua script, I may get a fast busy signal, or a recording saying the connection cannot be made.

But FreeSwitch is removed from memory as a result. I cannot see from the log that the FreeSwitch ended.

Is there anything I can try on my side?

http://pastebin.freeswitch.org/10707

Lars

From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Michael Collins
Sent: Tuesday, October 13, 2009 1:12 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] lua script causing FreeSwitch to crash?




On Tue, Oct 13, 2009 at 12:38 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
http://pastebin.freeswitch.org/10686

I am trying to use a lua script for inbound calls. The caller hears a busy signal. After this call fails to go through, FreeSwitch is no longer in memory – it does not appear in ‘ps –ef’ output.

I don’t have a clue what I might be doing incorrectly in the script in order to cause this to happen. There is no indication in the log that FreeSwitch has terminated. But it is not resident in memory.

I am using v15134. I had been using this same script without incident as late as v14929. Until I can resolve the issue, I have removed the call to lua from the dialplan and done all I could in it instead.


We sent out a notice about a bug in event socket between revs 15119 and 15134. Update to latest trunk. (FYI, the fix was in r15135, so you just barely missed it.)

After you update, let us know if the problem persists.
-MC









_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Oct 14, 2009 1:57 pm    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

On Wed, Oct 14, 2009 at 10:09 AM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote:

I did svn up, ./configure, make and make install.
 
Do you want me to do make current before proceeding, or just try to make it stop with the current build from the above commands?


Lars,

The "make current" method was designed exactly for the scenario you are in: to upgrade smoothly and cleanly. It help prevents build skew among other things. Please go do "make current" and then run your test again and report back.

Thanks!
-MC
Back to top
larclap at yahoo.com
Guest





PostPosted: Thu Oct 15, 2009 10:13 am    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

Thanks, Michael, using “make current” resolved the issue. I will use only that command in the future.

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Tuesday, October 13, 2009 1:12 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] lua script causing FreeSwitch to crash?




On Tue, Oct 13, 2009 at 12:38 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
http://pastebin.freeswitch.org/10686

I am trying to use a lua script for inbound calls. The caller hears a busy signal. After this call fails to go through, FreeSwitch is no longer in memory – it does not appear in ‘ps –ef’ output.

I don’t have a clue what I might be doing incorrectly in the script in order to cause this to happen. There is no indication in the log that FreeSwitch has terminated. But it is not resident in memory.

I am using v15134. I had been using this same script without incident as late as v14929. Until I can resolve the issue, I have removed the call to lua from the dialplan and done all I could in it instead.


We sent out a notice about a bug in event socket between revs 15119 and 15134. Update to latest trunk. (FYI, the fix was in r15135, so you just barely missed it.)

After you update, let us know if the problem persists.
-MC
Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Oct 15, 2009 1:21 pm    Post subject: [Freeswitch-users] lua script causing FreeSwitch to crash? Reply with quote

On Thu, Oct 15, 2009 at 7:56 AM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote:

Thanks, Michael, using “make current” resolved the issue. I will use only that command in the future.

Excellent! Thanks for the feedback.
-MC
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services