[asterisk-bugs] [Asterisk 0012668]: [patch] fix module loading of chan_oss when you already got chan_console loaded (channel type conflict)
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Aug 25 11:37:38 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12668
======================================================================
Reported By: caio1982
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12668
Category: Channels/chan_oss
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for testing
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 116795
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-05-16 13:37 CDT
Last Modified: 2008-08-25 11:37 CDT
======================================================================
Summary: [patch] fix module loading of chan_oss when you
already got chan_console loaded (channel type conflict)
Description:
Until now chan_oss didn't handle its own loading very well. As it has the
same channel type 'Console' as chan_console, if you use autoload=yes at
modules.conf and chan_console loads up before chan_oss, the later would
fail miserably and Asterisk wouldn't start up. Hopefully this patch will
fix it by making it act more like chan_console when handling this.
======================================================================
----------------------------------------------------------------------
(0091702) caio1982 (reporter) - 2008-08-25 11:37
http://bugs.digium.com/view.php?id=12668#c91702
----------------------------------------------------------------------
Sorry for the delay but I might be doing something wrong or something else
because this patch Corydo76 attached does not solve the failed loading of
Asterisk. Sometimes it works, sometimes it does not. I even got a segfault
testing the patch on 1.4 (!). My last test was this:
*CLI> module load chan_oss.so
== Parsing '/etc/asterisk/oss.conf': Found
[Aug 25 13:43:21] WARNING[14488]: channel.c:506 ast_channel_register:
Already have a handler for type 'Console'
[Aug 25 13:43:21] ERROR[14488]: chan_oss.c:1898 load_module: Unable to
register channel type 'OSS'
Falha de segmentação (core dumped)
Full backtrace attached.
Issue History
Date Modified Username Field Change
======================================================================
2008-08-25 11:37 caio1982 Note Added: 0091702
======================================================================
More information about the asterisk-bugs
mailing list