[Asterisk-Dev] chan_oss.c (load_module)

Santosh Prasad sprasad at hubris.net
Tue Jul 1 13:57:57 MST 2003


Hello,

I am getting these warnings when the modules are loaded :

 [chan_oss.so] => (OSS Console Channel Driver)
WARNING[16384]: File chan_oss.c, Line 974 (load_module): XXX I don't 
work right with non-full duplex sound cards XXX
  == Registered channel type 'Console' (OSS Console Channel Driver)
  == Parsing '/etc/asterisk/oss.conf': Found
[New Thread 98311 (LWP 23806)]
 [chan_modem_bestdata.so]WARNING[98311]: File chan_oss.c, Line 232 
(sound_thread): Read error on sound device: Resource temporarily 
unavailable

I am getting a segmentation fault once the call is established between 
SIP endpoint ATA 186 and H323 end point ATA 186.

The  gdb is as follows:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 294931 (LWP 23840)]
ast_smoother_feed (s=0x298a2d77, f=0x80cefa0) at frame.c:72
72              if (!s->format) {
(gdb) bt
#0  ast_smoother_feed (s=0x298a2d77, f=0x80cefa0) at frame.c:72
#1  0x408b893b in oh323_write (c=0x80ed800, f=0x80cefa0) at 
chan_oh323.c:955
#2  0x08057ffb in ast_write (chan=0x80ed800, fr=0x80cefa0) at 
channel.c:1317
#3  0x0805a3a1 in ast_channel_bridge (c0=0x80cefa0, c1=0x80cefa0, 
flags=0, fo=0xbd5feeb4, rc=0xbd5feeb8)
    at channel.c:2138
#4  0x4022cc0e in ast_bridge_call (chan=0x80eb0e0, peer=0x80ed800, 
allowredirect=0, allowdisconnect=0)
    at res_parking.c:207
#5  0x40686f11 in dial_exec (chan=0x80eb0e0, data=0x40687ffb) at 
app_dial.c:640
#6  0x0806051a in pbx_exec (c=0x80eb0e0, app=0x40705230, 
data=0xbd5ff74c, newstack=1) at pbx.c:388
#7  0x080673b8 in pbx_extension_helper (c=0x80eb0e0, context=0xbd5ff74c 
"OH323/BYEXTENSION",
    exten=0x80eb2a4 "4050", priority=1, callerid=0x80ec8d8 "5011", 
action=135180512) at pbx.c:1130
#8  0x0806237c in ast_pbx_run (c=0x80eb0e0) at pbx.c:1614
#9  0x08067a71 in pbx_thread (data=0x80eceb8) at pbx.c:1830
#10 0x4002f463 in pthread_start_thread () from /lib/libpthread.so.0
#11 0x4002f4df in pthread_start_thread_event () from 
/lib/libpthread.so.0
(gdb) print *s
Cannot access memory at address 0x298a2d77
(gdb) print *f
$1 = {frametype = 2, subclass = 4, datalen = 160, samples = 160, mallocd 
= 0, offset = 76,
  src = 0x80a8506 "RTP", data = 0x80cf014, prev = 0x0, next = 0x0}
(gdb)


Please suggest.

Thanks

Santosh



More information about the asterisk-dev mailing list