Summary: | ASTERISK-13247: Asterisk 1.6.1-beta4 and 1.6.0.3-rc1 always crash when dialing or receiving a call trough wcb4xxp | ||
Reporter: | Francesco Romano (francesco_r) | Labels: | |
Date Opened: | 2008-12-19 07:59:20.000-0600 | Date Closed: | 2008-12-23 09:20:15.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_dahdi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 14113.patch ( 1) bt.txt ( 2) bt2.txt | |
Description: | Installed are libri-1.4.8 and dahdi-linux-complete-2.1.0.3+2.1.0.2. It's impossible to dial o receive a call. Always crash with the cable conntected. All ports are configured in PtMP. Attached a full bt. | ||
Comments: | By: Leif Madsen (lmadsen) 2008-12-19 09:12:12.000-0600 You will need to upload a backtrace with DONT_OPTIMIZE enabled. By: Francesco Romano (francesco_r) 2008-12-19 09:40:34.000-0600 Perhaps i didn't 'do make install' after the 'make menuconfig'... New bt attached of asterisk compiled with DONT_OPTIMIZE and DEBUG_THREADS By: Leif Madsen (lmadsen) 2008-12-19 09:42:00.000-0600 Thanks! That looks better. And yes, I've done that before too :) By: Mark Michelson (mmichelson) 2008-12-22 11:08:43.000-0600 I've assigned this to Corydon76. The issue is that there is a new datastore being used in app_macro, which has its inheritance value set to be non-zero, but which does not define a duplicate callback. By: Mark Michelson (mmichelson) 2008-12-22 11:20:56.000-0600 I discussed this with russell and file online, and I'll fix it myself. By: Mark Michelson (mmichelson) 2008-12-22 11:22:18.000-0600 Try 14113.patch. It should fix the problem for you. By: Francesco Romano (francesco_r) 2008-12-23 04:44:31.000-0600 No more crashes with this patch. You can close this issue. Thank you. By: Mark Michelson (mmichelson) 2008-12-23 09:10:46.000-0600 Wonderful. Thanks for testing and reporting back. By: Digium Subversion (svnbot) 2008-12-23 09:16:22.000-0600 Repository: asterisk Revision: 166568 U branches/1.4/main/channel.c ------------------------------------------------------------------------ r166568 | mmichelson | 2008-12-23 09:16:21 -0600 (Tue, 23 Dec 2008) | 12 lines Fix a crash resulting from a datastore with inheritance but no duplicate callback The fix for this is to simply set the newly created datastore's data pointer to NULL if it is inherited but has no duplicate callback. (closes issue ASTERISK-13247) Reported by: francesco_r Patches: 14113.patch uploaded by putnopvut (license 60) Tested by: francesco_r ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=166568 By: Digium Subversion (svnbot) 2008-12-23 09:17:50.000-0600 Repository: asterisk Revision: 166569 _U trunk/ U trunk/main/channel.c ------------------------------------------------------------------------ r166569 | mmichelson | 2008-12-23 09:17:49 -0600 (Tue, 23 Dec 2008) | 20 lines Merged revisions 166568 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r166568 | mmichelson | 2008-12-23 09:16:26 -0600 (Tue, 23 Dec 2008) | 12 lines Fix a crash resulting from a datastore with inheritance but no duplicate callback The fix for this is to simply set the newly created datastore's data pointer to NULL if it is inherited but has no duplicate callback. (closes issue ASTERISK-13247) Reported by: francesco_r Patches: 14113.patch uploaded by putnopvut (license 60) Tested by: francesco_r ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=166569 By: Digium Subversion (svnbot) 2008-12-23 09:18:39.000-0600 Repository: asterisk Revision: 166570 _U branches/1.6.0/ U branches/1.6.0/main/channel.c ------------------------------------------------------------------------ r166570 | mmichelson | 2008-12-23 09:18:38 -0600 (Tue, 23 Dec 2008) | 28 lines Merged revisions 166569 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r166569 | mmichelson | 2008-12-23 09:17:54 -0600 (Tue, 23 Dec 2008) | 20 lines Merged revisions 166568 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r166568 | mmichelson | 2008-12-23 09:16:26 -0600 (Tue, 23 Dec 2008) | 12 lines Fix a crash resulting from a datastore with inheritance but no duplicate callback The fix for this is to simply set the newly created datastore's data pointer to NULL if it is inherited but has no duplicate callback. (closes issue ASTERISK-13247) Reported by: francesco_r Patches: 14113.patch uploaded by putnopvut (license 60) Tested by: francesco_r ........ ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=166570 By: Digium Subversion (svnbot) 2008-12-23 09:20:15.000-0600 Repository: asterisk Revision: 166571 _U branches/1.6.1/ U branches/1.6.1/main/channel.c ------------------------------------------------------------------------ r166571 | mmichelson | 2008-12-23 09:20:14 -0600 (Tue, 23 Dec 2008) | 28 lines Merged revisions 166569 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r166569 | mmichelson | 2008-12-23 09:17:54 -0600 (Tue, 23 Dec 2008) | 20 lines Merged revisions 166568 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r166568 | mmichelson | 2008-12-23 09:16:26 -0600 (Tue, 23 Dec 2008) | 12 lines Fix a crash resulting from a datastore with inheritance but no duplicate callback The fix for this is to simply set the newly created datastore's data pointer to NULL if it is inherited but has no duplicate callback. (closes issue ASTERISK-13247) Reported by: francesco_r Patches: 14113.patch uploaded by putnopvut (license 60) Tested by: francesco_r ........ ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=166571 |