[Home]

Summary:ASTERISK-00135: Asterisk crashes when plaing file in own application
Reporter:izo (izo)Labels:
Date Opened:2003-08-20 15:28:33Date Closed:2011-06-07 14:05:10
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When using own application that plays file using ast_streamfile and ast_readstring asterisk crashes.


****** ADDITIONAL INFORMATION ******


file to play
# file ask_for_dest.wav
ask_for_dest.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz

==16415==
==16415== Thread 11:
==16415== Invalid read of size 4
==16415==    at 0x8051DA6: ast_sched_wait (sched.c:147)
==16415==    by 0x8060795: ast_waitstream (file.c:785)
==16415==    by 0x805BA8C: ast_readstring (channel.c:1671)
==16415==    by 0x42AC46BB: ??? (app_twostage.c:1061)
==16415==    Address 0x756F2808 is not stack'd, malloc'd or free'd
Comments:By: Tilghman Lesher (tilghman) 2003-08-20 17:57:40

You might do well to upload the source to your application, so that others may verify this bug.

By: x martinp (martinp) 2003-08-20 18:14:09

Did you try to steram this file in asterisk ? If it works in it then it's not asterisk but your application that is crashing ....

By: Mark Spencer (markster) 2003-08-20 18:16:22

Build environment problem