linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Segmentation Fault with snd_card_create_read_f


From: Simon Morlat
Subject: Re: [Linphone-developers] Segmentation Fault with snd_card_create_read_filter
Date: Wed, 31 Jan 2007 11:26:40 +0100
User-agent: KMail/1.9.5

Hi,

The problem is that the playcard and captcard parameters given to 
audio_stream_start_full() are NULL, thus it cause SIGSEGV when deferencing 
them.
As I don't know libjingle at all, I can't help you about finding why libjingle 
called mediastreamer with erroneous arguments.

Simon

Le mardi 30 janvier 2007 03:20, George A. Papayiannis a écrit :
> Hi folks,
>
> When using mediastreamer through libjingle I'm getting a segmentation fault
> in snd_card_create_read_filter.
> I'm having a hard time understanding whats going wrong or how to fix it.
> I've pasted the gdb output below -- if someone, anyone, knows whats going
> on, please help me -- i've been killing myself trying to get this to work.
>
> Thanks,
> George
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1221321840 (LWP 19005)]
> snd_card_create_read_filter (obj=0x0) at sndcard.c:123
> 123             g_return_val_if_fail(obj->_create_read_filter!=NULL,NULL);
> Current language:  auto; currently c
> (gdb) bt full
> #0  snd_card_create_read_filter (obj=0x0) at sndcard.c:123
>         __PRETTY_FUNCTION__ = "snd_card_create_read_filter"
> #1  0x0820235e in audio_stream_start_full (profile=0xb7f39860,
> locport=2000, remip=0x820a476 "127.0.0.1", remport=3000, payload=0,
> jitt_comp=250, infile=0x0,
>     outfile=0x0, playcard=0x0, captcard=0x0) at audiostream.c:191
>         stream = (AudioStream *) 0x82969d0
>         rtps = <value optimized out>
>         rtpr = (RtpSession *) 0x82969f8
>         pt = <value optimized out>
> #2  0x082024a2 in audio_stream_start (prof=0xb7f39860, locport=2000,
> remip=0x820a476 "127.0.0.1", remport=3000, profile=0, jitt_comp=250) at
> audiostream.c:256
>         sndcard = <value optimized out>
> #3  0x080ddd63 in cricket::LinphoneMediaChannel::SetCodec (this=0x82942c0,
> codec=<value optimized out>) at linphonemediaengine.cc:86
> No locals.
> #4  0x080dacaa in cricket::VoiceChannel::SetSendCodec_w (this=0x8296510) at
> voicechannel.cc:141
>         codec = 0x8209541 "PCMU"
>         __PRETTY_FUNCTION__ = "void
> cricket::VoiceChannel::SetSendCodec_w()" #5  0x080dad44 in
> cricket::VoiceChannel::OnMessage (this=0x0,
> pmsg=0xb7341380) at voicechannel.cc:97
> No locals.
> #6  0x08141b27 in cricket::MessageQueue::Dispatch (this=0x82a0f80,
> pmsg=0xb7341380) at messagequeue.cc:318
> No locals.
> #7  0x08144a5c in cricket::Thread::Loop (this=0x82a0f80, cmsLoop=-1) at
> thread.cc:159
>         msg = {phandler = 0x8296510, message_id = 5, pdata = 0x0}
>         msEnd = 3073643416
>         cmsNext = -1
> #8  0x08144bc2 in cricket::Thread::PreLoop (pv=0x82a0f80) at thread.cc:145
> No locals.
> #9  0xb7f14112 in start_thread () from /lib/libpthread.so.0
> ---Type <return> to continue, or q <return> to quit---
> No symbol table info available.
> #10 0xb7c392ee in clone () from /lib/libc.so.6
> No symbol table info available.
> (gdb)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]