[Home]

Summary:ASTERISK-08894: Asterisk crashes as soon as chan_misdn.so is unloaded
Reporter:alexb (alexb)Labels:
Date Opened:2007-02-27 07:00:40.000-0600Date Closed:2007-07-11 19:59:00
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_misdn
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) log.txt
Description:If I unload chan_misdn, Asterisk crashes after typing some chars on the CLI using autocomplete or sending the first command. See attached backtrace.

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

Ubuntu 6.06 LTS Server (Dapper Drake): Linux pbx-test 2.6.15-27-server 1 SMP Fri Dec 8 18:43:54 UTC 2006 i686 GNU/Linux
Asterisk 1.2.15 (with chan_misdn embedded)
mISDN/mISDNuser from CVS


kernel was updated to 2.6.15-28-server *after* the backtrace was made, nevertheless the issue is still valid
Comments:By: Till Stoermer (tstoermer) 2007-02-27 08:28:45.000-0600

I can confirm that.

Same here on:
- Debian Sarge 3.1 (2.6.8-2-386)
- Asterisk 1.2.14
- chan_misdn-0.3.1-rc29

If unload chan_misdn, Asterisk crashes after typing some chars on the CLI using autocomplete or sending the first command, i.e. SIP ->

By: Brandon Kruse (bkruse) 2007-02-27 20:23:37.000-0600

please go into your zaptel source and type make b410p, if that doesnt work, remove the chan_misdn module, and then go configure, make, make install.

-bkruse

By: alexb (alexb) 2007-02-28 09:44:48.000-0600

Why should I use the drivers from Digium rather than the official ones? Please see http://bugs.digium.com/view.php?id=9064 (ASTERISK-5783386).

Anyway, what do you exactly mean with "go configure", please?

By: crich (crich) 2007-02-28 09:55:04.000-0600

hi alex,

he meant:

go:

./configure && make && make install

bkruse: on asterisk 1.2 there is no ./configure script as far as i know.. :)

to clarify versioning: you should use the official mISDN+mISDNuser from www.misdn.org, but you can indeed use chan_misdn from the asterisk source which is inbuilt, that's the latest code with the latest bufixes. But anyway the 0.3.1-rcX releases are kept up to date.

but these thoughts might go to ASTERISK-8805

By: crich (crich) 2007-02-28 09:57:25.000-0600

Regarding the issue:

I have tried that with asterisk 1.4 and the issue does not happen, i can load/unload chan_misdn and no segfault will happen when i later type in CLI commands or complete them.

I have tried with asterisk 1.2 and  *bingo* !! a completion <TAB> results in a segfault ;) so the problem is acknowledged by me :) i'll try fixing that ASAP

By: crich (crich) 2007-02-28 10:09:27.000-0600

resolved in svn revision: 57034