[Home]

Summary:ASTERISK-11527: unload res_smdi.so crash asterisk (from rev. 104119)
Reporter:Francesco Romano (francesco_r)Labels:
Date Opened:2008-02-27 05:39:09.000-0600Date Closed:2008-02-27 09:54:51.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_smdi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt.txt
Description:I have no bt, i have only tested quickly in a test machine, but is 100% reproducible.
Comments:By: Francesco Romano (francesco_r) 2008-02-27 05:42:45.000-0600

Asterisk is 1.4, not tested with trunk/1.6.

By: Caio Begotti (caio1982) 2008-02-27 06:36:19.000-0600

"I have no bt, i have only tested quickly in a test machine"

So could you please test it again later and upload both bt full and the related log lines when you unload it?

By: Francesco Romano (francesco_r) 2008-02-27 07:12:39.000-0600

Because i have no more this machine available now. However i'll install in another server and attach the bt.

By: Francesco Romano (francesco_r) 2008-02-27 09:45:28.000-0600

Bt attached

By: Jason Parker (jparker) 2008-02-27 09:48:13.000-0600

I'm able to reproduce trivially.  Fix should be simple.

By: Digium Subversion (svnbot) 2008-02-27 09:48:50.000-0600

Repository: asterisk
Revision: 104536

U   branches/1.4/res/res_smdi.c

------------------------------------------------------------------------
r104536 | file | 2008-02-27 09:48:33 -0600 (Wed, 27 Feb 2008) | 4 lines

Only stop the MWI monitor thread if it was actually started.
(closes issue ASTERISK-11527)
Reported by: francesco_r

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=104536

By: Jason Parker (jparker) 2008-02-27 09:49:16.000-0600

or, file beat me to it.

By: Digium Subversion (svnbot) 2008-02-27 09:54:51.000-0600

Repository: asterisk
Revision: 104537

_U  trunk/
U   trunk/res/res_smdi.c

------------------------------------------------------------------------
r104537 | file | 2008-02-27 09:54:49 -0600 (Wed, 27 Feb 2008) | 12 lines

Merged revisions 104536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104536 | file | 2008-02-27 11:52:02 -0400 (Wed, 27 Feb 2008) | 4 lines

Only stop the MWI monitor thread if it was actually started.
(closes issue ASTERISK-11527)
Reported by: francesco_r

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=104537