[Home]

Summary:ASTERISK-00789: Unload and load chan_zap.so make asterisk crash
Reporter:mochouinard (mochouinard)Labels:
Date Opened:2004-01-11 23:02:56.000-0600Date Closed:2004-09-25 02:52:04
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When unloading and loading chan_zap.so, it make asterisk segmentation fault.

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

*CLI> unload chan_zap.so
*CLI> unload chan_zap.so
Unable to unload resource chan_zap.so
*CLI> load chan_zap.so  
Loaded /usr/lib/asterisk/modules/chan_zap.so => (Zapata Telephony w/PRI)
 == Parsing '/etc/asterisk/zapata.conf': Found
WARNING[1074398976]: File chan_zap.c, Line 7345 (setup_zap): Ignoring rxwink
WARNING[1074398976]: File chan_zap.c, Line 636 (zt_open): Unable to specify channel 1: Device or resource busy
ERROR[1074398976]: File chan_zap.c, Line 5116 (mkintf): Unable to open channel 1: Device or resource busy
here = 0, tmp->channel = 1, channel = 1
ERROR[1074398976]: File chan_zap.c, Line 7085 (setup_zap): Unable to register channel '1'
 == Registered channel type 'Zap' (Zapata Telephony Driver w/PRI)
 == Registered channel type 'Tor' (Zapata Telephony Driver w/PRI)
WARNING[1074398976]: File cli.c, Line 691 (ast_cli_register): Command 'pridebugspan' already registered (or something close enough)
WARNING[1074398976]: File pbx.c, Line 2199 (ast_register_application): Already have an application 'CallingPres'
 == Manager registered action ZapTransfer
 == Manager registered action ZapHangup
 == Manager registered action ZapDialOffhook
WARNING[1074398976]: File loader.c, Line 312 (ast_load_resource): chan_zap.so: load_module failed, returning -1
Segmentation fault
[root@asterisk root]#
Comments:By: zoa (zoa) 2004-01-11 23:09:22.000-0600

i can confirm this behaviour on cvs of some hours ago

By: mochouinard (mochouinard) 2004-01-11 23:28:13.000-0600

These modules does the same thing

chan_iax.so
chan_iax2.so
chan_sip.so

By: Brian West (bkw918) 2004-01-11 23:33:55.000-0600

Dupe 726

By: jrollyson (jrollyson) 2004-01-11 23:49:02.000-0600

This is still a bug, in that unloading chan_zap shouldn't be allowed.

By: ww (ww) 2004-01-12 11:11:15.000-0600

duplicate of 726, and 726 has been resolved