Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Segmentation fault with record_session


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





PostPosted: Mon Jun 15, 2009 4:40 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Hi Team,

I've been using the record_session feature to record call sessions. Here's how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA 2909/userBBB

The call can be established and the data.wav file was generated without any problem. However, once userAAA hung up, a segmentation fault occurred and freeswitch was automatically shut down. Here are what I got from the console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA 2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602 switch_channel_set_name() New Channel skypiax/skypiax2/userAAA [66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing() Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered() Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349 switch_ivr_session_transfer() Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing FreeSWITCH->2909/userBBB in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602 switch_channel_set_name() New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing() Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered() Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680 skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA [CS_EXECUTE] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505 audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085 switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087 switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA [CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085 switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087 switch_core_session_thread() Close Channel skypiax/ANY/userBBB [CS_DESTROY]
Segmentation fault (core dumped)


Please kindly let me know whether there's anything wrong with the dialplan or the way how I originated the call.

Thanks!
-Jingwei
Back to top
gmaruzz at celliax.org
Guest





PostPosted: Mon Jun 15, 2009 7:18 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:
http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039




On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com> wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions. Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated without any
problem. However, once userAAA hung up, a segmentation fault occurred and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602 switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA [66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349 switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602 switch_channel_set_name()
New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA [CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB [CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the dialplan
or the way how I originated the call.

Thanks!
-Jingwei


_______________________________________________
Freeswitch-users mailing list
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



_______________________________________________
Freeswitch-users mailing list
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
Back to top
jingwei.yang at gmail.com
Guest





PostPosted: Tue Jun 16, 2009 3:18 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Hi Giovanni,

I've reported it in Jira. Here's the bug url:

http://jira.freeswitch.org/browse/MODSKYPIAX-35

Thanks,
-Jingwei

On Mon, Jun 15, 2009 at 8:16 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)> wrote:
Quote:
Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:
http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039





On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions. Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated without any
problem. However, once userAAA hung up, a segmentation fault occurred and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602 switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA [66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349 switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602 switch_channel_set_name()
New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA [CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB [CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the dialplan
or the way how I originated the call.

Thanks!
-Jingwei




Quote:
_______________________________________________
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



_______________________________________________
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
Back to top
gmaruzz at celliax.org
Guest





PostPosted: Tue Jun 16, 2009 3:44 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Hi Jingwei,

Thanks a lot! I'll take care of as soon as possible.

Btw, before I read the Jira, are you testing in linux?

If you are testing on linux, would you please report how it is
performing under load? I mean, what is the load average with, let say,
10 or 20 or more concurrent Skype call?

This has nothing to do with your bug, but will help me in getting
better performances.

Ciao for now, and thanks again for reporting!

-giovanni




On Tue, Jun 16, 2009 at 10:15 AM, Jingwei Yang<jingwei.yang@gmail.com> wrote:
Quote:
Hi Giovanni,

I've reported it in Jira. Here's the bug url:

http://jira.freeswitch.org/browse/MODSKYPIAX-35

Thanks,
-Jingwei

On Mon, Jun 15, 2009 at 8:16 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>
wrote:
Quote:

Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:

http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039




On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com>
wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions.
Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated without
any
problem. However, once userAAA hung up, a segmentation fault occurred
and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA
[66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349
switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing
FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA
[CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB
[CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the
dialplan
or the way how I originated the call.

Thanks!
-Jingwei


_______________________________________________
Freeswitch-users mailing list
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



_______________________________________________
Freeswitch-users mailing list
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


_______________________________________________
Freeswitch-users mailing list
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



_______________________________________________
Freeswitch-users mailing list
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
Back to top
jingwei.yang at gmail.com
Guest





PostPosted: Tue Jun 16, 2009 4:33 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Sure, I'll append to you the result tomorrow.

Regards,
-Jingwei

On Tue, Jun 16, 2009 at 4:42 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)> wrote:
Quote:
Hi Jingwei,

Thanks a lot! I'll take care of as soon as possible.

Btw, before I read the Jira, are you testing in linux?

If you are testing on linux, would you please report how it is
performing under load? I mean, what is the load average with, let say,
10 or 20 or more concurrent Skype call?

This has nothing to do with your bug, but will help me in getting
better performances.

Ciao for now, and thanks again for reporting!

-giovanni





On Tue, Jun 16, 2009 at 10:15 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Giovanni,

I've reported it in Jira. Here's the bug url:

http://jira.freeswitch.org/browse/MODSKYPIAX-35

Thanks,
-Jingwei

On Mon, Jun 15, 2009 at 8:16 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)>
wrote:
Quote:

Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:

http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039




On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)>
wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions.
Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated without
any
problem. However, once userAAA hung up, a segmentation fault occurred
and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA
[66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349
switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing
FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA
[CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB
[CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the
dialplan
or the way how I originated the call.

Thanks!
-Jingwei


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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



_______________________________________________
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


Back to top
jingwei.yang at gmail.com
Guest





PostPosted: Wed Jun 17, 2009 4:41 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Hi Giovanni,

Sorry, pretty busy and fully occupied by other stuff today. Have to delay the testing and give you the result tomorrow.

Regards,
-Jingwei

On Tue, Jun 16, 2009 at 5:32 PM, Jingwei Yang <jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Sure, I'll append to you the result tomorrow.

Regards,
-Jingwei


On Tue, Jun 16, 2009 at 4:42 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)> wrote:
Quote:
Hi Jingwei,

Thanks a lot! I'll take care of as soon as possible.

Btw, before I read the Jira, are you testing in linux?

If you are testing on linux, would you please report how it is
performing under load? I mean, what is the load average with, let say,
10 or 20 or more concurrent Skype call?

This has nothing to do with your bug, but will help me in getting
better performances.

Ciao for now, and thanks again for reporting!

-giovanni





On Tue, Jun 16, 2009 at 10:15 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Giovanni,

I've reported it in Jira. Here's the bug url:

http://jira.freeswitch.org/browse/MODSKYPIAX-35

Thanks,
-Jingwei

On Mon, Jun 15, 2009 at 8:16 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)>
wrote:
Quote:

Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:

http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039




On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)>
wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions.
Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated without
any
problem. However, once userAAA hung up, a segmentation fault occurred
and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA
[66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349
switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing
FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA
[CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB
[CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the
dialplan
or the way how I originated the call.

Thanks!
-Jingwei


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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



_______________________________________________
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






Back to top
gmaruzz at celliax.org
Guest





PostPosted: Wed Jun 17, 2009 4:59 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Thanks Jingwei,
have a good night!

-giovanni

On Wed, Jun 17, 2009 at 11:39 AM, Jingwei Yang<jingwei.yang@gmail.com> wrote:
Quote:
Hi Giovanni,

Sorry, pretty busy and fully occupied by other stuff today. Have to delay
the testing and give you the result tomorrow.

Regards,
-Jingwei

On Tue, Jun 16, 2009 at 5:32 PM, Jingwei Yang <jingwei.yang@gmail.com>
wrote:
Quote:

Sure, I'll append to you the result tomorrow.

Regards,
-Jingwei

On Tue, Jun 16, 2009 at 4:42 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>
wrote:
Quote:

Hi Jingwei,

Thanks a lot! I'll take care of as soon as possible.

Btw, before I read the Jira, are you testing in linux?

If you are testing on linux, would you please report how it is
performing under load? I mean, what is the load average with, let say,
10 or 20 or more concurrent Skype call?

This has nothing to do with your bug, but will help me in getting
better performances.

Ciao for now, and thanks again for reporting!

-giovanni




On Tue, Jun 16, 2009 at 10:15 AM, Jingwei Yang<jingwei.yang@gmail.com>
wrote:
Quote:
Hi Giovanni,

I've reported it in Jira. Here's the bug url:

http://jira.freeswitch.org/browse/MODSKYPIAX-35

Thanks,
-Jingwei

On Mon, Jun 15, 2009 at 8:16 PM, Giovanni Maruzzelli
<gmaruzz@celliax.org>
wrote:
Quote:

Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:


http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039




On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com>
wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions.
Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number"
expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate
skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated
without
any
problem. However, once userAAA hung up, a segmentation fault
occurred
and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA
[66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349
switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing
FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/ANY/userBBB
[4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA
[CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA)
Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB
[CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the
dialplan
or the way how I originated the call.

Thanks!
-Jingwei


_______________________________________________
Freeswitch-users mailing list
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



_______________________________________________
Freeswitch-users mailing list
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


_______________________________________________
Freeswitch-users mailing list
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



_______________________________________________
Freeswitch-users mailing list
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



_______________________________________________
Freeswitch-users mailing list
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



_______________________________________________
Freeswitch-users mailing list
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Jun 17, 2009 8:19 am    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

You should not report bugs on the mailing list.
please report your bug to jira http://jira.freeswitch.org

http://wiki.freeswitch.org/wiki/Reporting_Bugs

Make sure you attach a backtrace of your issue and file it under skypeiax so giovanni can track it.

On Wed, Jun 17, 2009 at 4:39 AM, Jingwei Yang <jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Giovanni,

Sorry, pretty busy and fully occupied by other stuff today. Have to delay the testing and give you the result tomorrow.

Regards,
-Jingwei


On Tue, Jun 16, 2009 at 5:32 PM, Jingwei Yang <jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Sure, I'll append to you the result tomorrow.

Regards,
-Jingwei


On Tue, Jun 16, 2009 at 4:42 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)> wrote:
Quote:
Hi Jingwei,

Thanks a lot! I'll take care of as soon as possible.

Btw, before I read the Jira, are you testing in linux?

If you are testing on linux, would you please report how it is
performing under load? I mean, what is the load average with, let say,
10 or 20 or more concurrent Skype call?

This has nothing to do with your bug, but will help me in getting
better performances.

Ciao for now, and thanks again for reporting!

-giovanni





On Tue, Jun 16, 2009 at 10:15 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Giovanni,

I've reported it in Jira. Here's the bug url:

http://jira.freeswitch.org/browse/MODSKYPIAX-35

Thanks,
-Jingwei

On Mon, Jun 15, 2009 at 8:16 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)>
wrote:
Quote:

Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:

http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039




On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)>
wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions.
Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated without
any
problem. However, once userAAA hung up, a segmentation fault occurred
and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA
[66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349
switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing
FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA
[CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB
[CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the
dialplan
or the way how I originated the call.

Thanks!
-Jingwei


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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



_______________________________________________
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











_______________________________________________
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/

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
jingwei.yang at gmail.com
Guest





PostPosted: Wed Jun 17, 2009 9:54 pm    Post subject: [Freeswitch-users] Segmentation fault with record_session Reply with quote

Hi Anthony,

I've filed the report earlier on. This is the url of the bug: http://jira.freeswitch.org/browse/MODSKYPIAX-35.

Hi Giovanni,

Since the work is still under the development phase, I only managed to get 8 concurrent calls. Here's the cpu and memory consumption data:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3822 root      15   0  123m  39m  10m S  8.6  1.0   0:37.60 skype
 4801 root      18   0 48304  20m 5352 S  4.0  0.5   0:12.24 freeswitch
 3862 root      15   0  122m  37m  10m S  3.3  0.9   0:18.73 skype
 3842 root      15   0  120m  36m  10m S  2.3  0.9   0:26.36 skype
 3882 root      15   0  121m  37m  10m S  2.3  0.9   0:20.63 skype
 3922 root      15   0 98.0m  33m 9604 S  2.3  0.8   0:12.77 skype
 3902 root      15   0  120m  36m  10m S  2.0  0.9   0:15.89 skype
 3942 root      15   0 99.9m  34m 9628 S  1.3  0.9   0:12.05 skype
 4065 root      15   0 71272  33m 9180 S  0.7  0.8   0:06.50 skype
 4100 root      15   0 14060 8708 1804 S  0.7  0.2   0:04.55 Xvfb

Regards,
-Jingwei

On Wed, Jun 17, 2009 at 9:18 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
You should not report bugs on the mailing list.
please report your bug to jira http://jira.freeswitch.org

http://wiki.freeswitch.org/wiki/Reporting_Bugs


Make sure you attach a backtrace of your issue and file it under skypeiax so giovanni can track it.


On Wed, Jun 17, 2009 at 4:39 AM, Jingwei Yang <jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Giovanni,

Sorry, pretty busy and fully occupied by other stuff today. Have to delay the testing and give you the result tomorrow.

Regards,
-Jingwei


On Tue, Jun 16, 2009 at 5:32 PM, Jingwei Yang <jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Sure, I'll append to you the result tomorrow.

Regards,
-Jingwei


On Tue, Jun 16, 2009 at 4:42 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)> wrote:
Quote:
Hi Jingwei,

Thanks a lot! I'll take care of as soon as possible.

Btw, before I read the Jira, are you testing in linux?

If you are testing on linux, would you please report how it is
performing under load? I mean, what is the load average with, let say,
10 or 20 or more concurrent Skype call?

This has nothing to do with your bug, but will help me in getting
better performances.

Ciao for now, and thanks again for reporting!

-giovanni





On Tue, Jun 16, 2009 at 10:15 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)> wrote:
Quote:
Hi Giovanni,

I've reported it in Jira. Here's the bug url:

http://jira.freeswitch.org/browse/MODSKYPIAX-35

Thanks,
-Jingwei

On Mon, Jun 15, 2009 at 8:16 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)>
wrote:
Quote:

Hi Jingwel,
thanks for reporting.

Could you please add a Jira issue with as much details as possible?

general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

what to add for skypiax:

http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests

mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX


Sincerely,

Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039




On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang@gmail.com (jingwei.yang@gmail.com)>
wrote:
Quote:
Hi Team,

I've been using the record_session feature to record call sessions.
Here's
how I prepared the dialplan:

    <extension name="skypiax">
      <condition field="destination_number" expression="^2909/(.*)$">
        <action application="record_session" data="/tmp/data.wav"/>
        <action application="bridge" data="skypiax/ANY/$1"/>
      </condition>
    </extension>

And here's how I trigger it:

    freeswitch@localhost.localdomain>originate skypiax/skypiax2/userAAA
2909/userBBB

The call can be established and the data.wav file was generated without
any
problem. However, once userAAA hung up, a segmentation fault occurred
and
freeswitch was automatically shut down. Here are what I got from the
console:

freeswitch@localhost.localdomain> originate skypiax/skypiax2/userAAA
2909/userBBB
2009-06-15 17:25:07 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/skypiax2/userAAA
[66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/skypiax2/userAAA
2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/skypiax2/userAAA] has been answered
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349
switch_ivr_session_transfer()
Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]
API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b

freeswitch@localhost.localdomain> 2009-06-15 17:25:10 [INFO]
mod_dialplan_xml.c:252 dialplan_hunt() Processing
FreeSWITCH->2909/userBBB
in context default
2009-06-15 17:25:10 [NOTICE] switch_channel.c:602
switch_channel_set_name()
New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270
remote_party_is_ringing()
Ring-Ready skypiax/ANY/userBBB!
2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333
outbound_channel_answered()
Channel [skypiax/ANY/userBBB] has been answered
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA
[CS_EXECUTE]
[NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505
audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
[CS_DESTROY]
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel skypiax/ANY/userBBB
[CS_DESTROY]
Segmentation fault (core dumped)

Please kindly let me know whether there's anything wrong with the
dialplan
or the way how I originated the call.

Thanks!
-Jingwei


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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



_______________________________________________
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











_______________________________________________
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/

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

_______________________________________________
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

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