Summary: | ASTERISK-13640: [patch] crash during AGI call (regression, it works under 1.6.0.1) | ||
Reporter: | Grant Murray (grant) | Labels: | |
Date Opened: | 2009-02-24 13:28:22.000-0600 | Date Closed: | 2009-02-26 10:44:55.000-0600 |
Priority: | Critical | Regression? | Yes |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20090204__bug14541.diff.txt ( 1) 20090226__bug14541.diff.txt ( 2) bt-full-20090225-0928.txt ( 3) gdb-bt.txt ( 4) valgrind.txt | |
Description: | I am deducing it is in the AGI call from the gdb bt. | ||
Comments: | By: Tilghman Lesher (tilghman) 2009-02-24 17:21:02.000-0600 Please apply the attached patch. Also, please recompile with DONT_OPTIMIZE and see if you can reproduce this issue. By: Grant Murray (grant) 2009-02-25 11:34:45.000-0600 bt-full-20090225-0928.txt I applied the patch to svn revision 178511 and got a similar crash I also rebuilt without optimization. By: Tilghman Lesher (tilghman) 2009-02-25 16:25:31.000-0600 Well, you have memory corruption. The way to track this down is by following the instructions in doc/valgrind.txt. By: Grant Murray (grant) 2009-02-25 18:35:06.000-0600 malloc_debug.txt was empty I could not reproduce the crash under valgrind, I attached its output anyway, hopefully that is of use. By: Tilghman Lesher (tilghman) 2009-02-25 21:06:24.000-0600 grant: Yes, this output is VERY helpful. Thank you for getting back so quickly on this. By: Tilghman Lesher (tilghman) 2009-02-26 00:26:48.000-0600 New patch uploaded that supercedes the previous. You shouldn't need to run this one under valgrind, as I believe this solves the issue. By: Digium Subversion (svnbot) 2009-02-26 10:43:08.000-0600 Repository: asterisk Revision: 178801 U trunk/main/file.c ------------------------------------------------------------------------ r178801 | file | 2009-02-26 10:43:08 -0600 (Thu, 26 Feb 2009) | 5 lines Fix an issue where the timer for file playback would not be stopped if DAHDI was not installed. (closes issue ASTERISK-13640) Reported by: grant ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=178801 By: Digium Subversion (svnbot) 2009-02-26 10:44:08.000-0600 Repository: asterisk Revision: 178802 _U branches/1.6.0/ ------------------------------------------------------------------------ r178802 | file | 2009-02-26 10:44:08 -0600 (Thu, 26 Feb 2009) | 11 lines Blocked revisions 178801 via svnmerge ........ r178801 | file | 2009-02-26 12:42:36 -0400 (Thu, 26 Feb 2009) | 5 lines Fix an issue where the timer for file playback would not be stopped if DAHDI was not installed. (closes issue ASTERISK-13640) Reported by: grant ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=178802 By: Digium Subversion (svnbot) 2009-02-26 10:44:54.000-0600 Repository: asterisk Revision: 178803 _U branches/1.6.1/ U branches/1.6.1/main/file.c ------------------------------------------------------------------------ r178803 | file | 2009-02-26 10:44:54 -0600 (Thu, 26 Feb 2009) | 12 lines Merged revisions 178801 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r178801 | file | 2009-02-26 12:42:36 -0400 (Thu, 26 Feb 2009) | 5 lines Fix an issue where the timer for file playback would not be stopped if DAHDI was not installed. (closes issue ASTERISK-13640) Reported by: grant ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=178803 |