[Freeswitch-users] crash stack interpretation

Freeswitch Freeswitch freeswitch at 2ride.com
Wed Dec 5 08:02:16 PST 2007


Yes - issue is pretty easily reproduce-able.

I have cores running with Valgrind and without.

I believe there is something strange in the media that my customer is
sending that is causing this issue.

I'm willing to do whatever anyone thinks is helpful to isolate further.

-T


On 12/5/07, Brian West <brian.west at mac.com> wrote:
>
> Can you reproduce the issue?   Running under Valgrind could by itself
> cause this to happen depending on your hardware.  Can you try to get
> it to crash without valgrind?  Be sure to set "ulimited -c unlimited"
> before you start freeswitch so we can get a valid core file to inspect.
>
> /b
>
> On Dec 5, 2007, at 9:40 AM, Freeswitch Freeswitch wrote:
>
> > Hi,
> >
> > Running Freeswitch under Valgrind this morning and had a crash happen.
> >
> > Can someone interpret and maybe suggest where problem lies?
> >
> > ==4766==
> > ==4766== Thread 19:
> > ==4766== Invalid read of size 4
> > ==4766==    at 0x4096743: apr_socket_sendto (sendrecv.c:119)
> > ==4766==    by 0x4045DF8: switch_socket_sendto (switch_apr.c:606)
> > ==4766==    by 0x4066F55: rtp_common_write (switch_rtp.c:1469)
> > ==4766==    by 0x4068A1B: rtp_common_read (switch_rtp.c:901)
> > ==4766==    by 0x406921C: switch_rtp_zerocopy_read_frame
> > (switch_rtp.c:1230)
> > ==4766==    by 0x4948209: sofia_read_frame (mod_sofia.c:492)
> > ==4766==    by 0x4058113: switch_core_session_read_frame
> > (switch_core_io.c:113)
> > ==4766==    by 0x406A736: audio_bridge_thread (switch_ivr_bridge.c:
> > 168)
> > ==4766==    by 0x406AE47: audio_bridge_on_loopback
> > (switch_ivr_bridge.c:237)
> > ==4766==    by 0x4055F51: switch_core_session_run
> > (switch_core_state_machine.c:409)
> > ==4766==    by 0x4053CE3: switch_core_session_thread
> > (switch_core_session.c:681)
> > ==4766==    by 0x40989E5: dummy_worker (thread.c:138)
> > ==4766==  Address 0x14 is not stack'd, malloc'd or (recently) free'd
> > ==4766==
> > ==4766== Process terminating with default action of signal 11
> > (SIGSEGV): dumping core
> > ==4766==  Access not within mapped region at address 0x14
> > ==4766==    at 0x4096743: apr_socket_sendto (sendrecv.c :119)
> > ==4766==    by 0x4045DF8: switch_socket_sendto (switch_apr.c:606)
> > ==4766==    by 0x4066F55: rtp_common_write (switch_rtp.c:1469)
> > ==4766==    by 0x4068A1B: rtp_common_read (switch_rtp.c:901)
> > ==4766==    by 0x406921C: switch_rtp_zerocopy_read_frame
> > (switch_rtp.c:1230)
> > ==4766==    by 0x4948209: sofia_read_frame (mod_sofia.c:492)
> > ==4766==    by 0x4058113: switch_core_session_read_frame
> > (switch_core_io.c:113)
> > ==4766==    by 0x406A736: audio_bridge_thread (switch_ivr_bridge.c:
> > 168)
> > ==4766==    by 0x406AE47: audio_bridge_on_loopback
> > (switch_ivr_bridge.c:237)
> > ==4766==    by 0x4055F51: switch_core_session_run
> > (switch_core_state_machine.c:409)
> > ==4766==    by 0x4053CE3: switch_core_session_thread
> > (switch_core_session.c:681)
> > ==4766==    by 0x40989E5: dummy_worker (thread.c:138)
> >
> >
> > --T
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20071205/3f0f36a8/attachment-0002.html 


More information about the FreeSWITCH-users mailing list