Hi.

I've just tested on fresh VM (FreeBSD 8.2 amd64) and got a same situation -
segfault in announcement.
Also, a new bug - when I'm using early_announce application then SEMS
doesn't response to a CANCEL request but plays announcement every time I'm
calling it without crash.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
[email protected]
www.oyster-telecom.ru



> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Anton Zagorskiy
> Sent: Tuesday, April 05, 2011 8:07 PM
> To: [email protected]
> Subject: [Sems] announcement segfault
> 
> Hi.
> 
> I'm getting segfault in announcement on FreeBSD 8.2 amd64.
> SEMS is configured only for announcement application
> SEGFAULT occurs when I'm calling again SEMS (new session) after finished
> previous first session (it was OK).
> 
> 
> Some gdb:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 801009b00 (LWP 100530)]
> 0x00000000004445de in AmAudio::decode (this=0x80162e508, size=320) at
> AmAudio.cpp:364
> 364       amci_codec_t* codec = fmt->getCodec();
> 
> 
> (gdb) info threads
>   21 Thread 801679c80 (LWP 100545)  0x0000000800db41ac in nanosleep ()
> from
> /lib/libc.so.7
>   20 Thread 801009080 (LWP 100542)  0x0000000800d7008c in recvmsg () from
> /lib/libc.so.7
>   19 Thread 801009240 (LWP 100541)  0x0000000800d7008c in recvmsg () from
> /lib/libc.so.7
>   18 Thread 801009400 (LWP 100540)  0x0000000800d7008c in recvmsg () from
> /lib/libc.so.7
>   17 Thread 8010095c0 (LWP 100539)  0x0000000800d7008c in recvmsg () from
> /lib/libc.so.7
>   16 Thread 801009780 (LWP 100538)  0x0000000800db41ac in nanosleep ()
> from
> /lib/libc.so.7
>   15 Thread 801009940 (LWP 100537)  0x0000000800d7006c in poll () from
> /lib/libc.so.7
> * 14 Thread 801009b00 (LWP 100530)  0x00000000004445de in
> AmAudio::decode
> (this=0x80162e508, size=320) at AmAudio.cpp:364
>   13 Thread 801009cc0 (LWP 100528)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   12 Thread 801009e80 (LWP 100524)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   11 Thread 80100a040 (LWP 100523)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   10 Thread 80100a200 (LWP 100521)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   9 Thread 80100a3c0 (LWP 100389)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   8 Thread 80100a580 (LWP 100359)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   7 Thread 80100a740 (LWP 100336)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   6 Thread 80100a900 (LWP 100306)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   5 Thread 80100aac0 (LWP 100211)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   4 Thread 80100ac80 (LWP 100105)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   3 Thread 80100ae40 (LWP 100069)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
>   2 Thread 8010041c0 (LWP 100342)  0x0000000800bd33cc in __error () from
> /lib/libthr.so.3
> 
> (gdb) bt
> #0  0x00000000004445de in AmAudio::decode (this=0x80162e508, size=320)
> at
> AmAudio.cpp:364
> #1  0x00000000004448ac in AmAudio::get (this=0x80162e508,
> user_ts=Variable
> "user_ts" is not available.
> ) at AmAudio.cpp:304
> #2  0x0000000000482ab6 in AmMediaProcessorThread::processAudio
> (this=0x801135000, ts=273120) at AmMediaProcessor.cpp:358
> #3  0x0000000000483715 in AmMediaProcessorThread::run
> (this=0x801135000) at
> AmMediaProcessor.cpp:255
> #4  0x00000000004eb093 in AmThread::_start (_t=Variable "_t" is not
> available.
> ) at AmThread.cpp:70
> #5  0x0000000800bc94f1 in pthread_getprio () from /lib/libthr.so.3
> #6  0x0000000000000000 in ?? ()
> Error accessing memory address 0x7fffff0f4000: Bad address.
> 
> (gdb) bt full
> #0  0x00000000004445de in AmAudio::decode (this=0x80162e508, size=320)
> at
> AmAudio.cpp:364
>         s = 320
>         codec = Variable "codec" is not available.
> 
> 
> 
> 
> A log part (second session) http://pastebin.com/AEvvqrjN
> Please note that after SEMS established session, Asterisk sends re-invite
to
> change RTP destination.
> 
> 
> WBR, Anton Zagorskiy
> VoIP Developer, Oyster Telecom
> Phone.: +7 812 601-0666
> Fax: +7 812 601-0593
> [email protected]
> www.oyster-telecom.ru
> 
> 
> 
> 
> _______________________________________________
> Sems mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/sems

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to