[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] linphonec/speak crashing in mediastrea mer,sender_get_s
From: |
Denys Fedoryshchenko |
Subject: |
[Linphone-users] linphonec/speak crashing in mediastrea mer,sender_get_sr |
Date: |
Sun, 22 May 2011 16:44:58 +0300 |
User-agent: |
VISP Webmail/0.5.1 |
Hi
Linux Gentoo, x86, gcc 4.1.2
linphone 3.4.3 , mediastreamer 2.7.3
Trying to do simple thing, use TTS engine in linphonec and getting
crash. Probably related to VoIP provider, but maybe it is not the case,
it is worked few times, so it looks like some kind of race condition
maybe.
Some details
(gdb) print *pt
$2 = {type = 134816296, clock_rate = 134805744, bits_per_sample = 0
'\000', zero_pattern = 0x8088b18 "(\213\b\b\004\221\b\b", pattern_length
= 134777640, normal_bitrate = 134777812,
mime_type = 0x0, channels = 0, recv_fmtp = 0x0, send_fmtp = 0x11
<Address 0x11 out of bounds>, flags = 134813552, user_data = 0xb7ea23b8}
Here is full backtrace
(gdb) bt full
#0 0xb7dd7821 in strcasecmp () from /lib/libc.so.6
No symbol table info available.
#1 0xb7ee7ed0 in sender_get_sr (f=0x80910a0, arg=0xbfac7538) at
msrtp.c:150
d = 0x806bac0
pt = 0x8084328
#2 0xb7ee43b3 in ms_filter_call_method (f=0x80910a0, id=131332,
arg=0xbfac7538) at msfilter.c:202
mm = 2
methods = 0xb7f026c0
i = 5
magic = 2
#3 0xb7ef63d5 in audio_stream_configure_resampler
(resampler=0x8091d78, from=0x808ff68, to=0x80910a0) at audiostream.c:111
from_rate = 22050
to_rate = 0
#4 0xb7ef7608 in audio_stream_play (st=0x8090f08, name=0x80870f8
"/tmp/linph0Ebnaj") at audiostream.c:435
No locals.
#5 0xb7f51aae in linphone_core_set_play_file (lc=0x805a048,
file=0x80870f8 "/tmp/linph0Ebnaj") at linphonecore.c:3539
call = 0x8084180
#6 0x08051c48 in lpc_cmd_speak (lc=0x805a048, args=0x808a7d6 "default
test") at commands.c:2075
voice = "default", '\000' <repeats 56 times>
sentence = 0x808a7dd " test"
cl = "espeak -v default -s 100 -w /tmp/linph0Ebnaj
--stdin\000\"\335\267\002\000\000\000\353t\254\277\370t\254\277\364\017\352\267\200#\352\267\364?\363\267\320\247\b\b\240\034\t\bHv\254\277\242\303\362\267\023\000\000\000\310u\254\277\370t\254\277\364?\363\267\364?\363\267\320\247\b\bhv\254\277|\311\362\267"
wavfile = 0x80870f8 "/tmp/linph0Ebnaj"
status = 0
file = 0x8087b00
#7 0x0804e403 in linphonec_parse_command_line (lc=0x805a048,
cl=0x808a7d0 "speak") at commands.c:397
ptr = 0x808a7d5 ""
args = 0x808a7d6 "default test"
cmd = 0x80585f0
#8 0x0804d7df in linphonec_main_loop (opm=0x805a048, sipAddr=0x0) at
linphonec.c:1126
iptr = 0x808a7d0 "speak"
input_len = 18
buf =
"\314u\254\277\264v\254\277\207\360\226|\030\000\000\000\210]\326\267T]\326\267\020\a\a\b\000\000\000\000\000\000\000\000\005\000\000\000\372\b\000\000\030u\232\267\200M\367\267\251\312\360\267\370\355\326\267py\360\267\001\000\000\000\304\257\371\267\250v\254\277\210D\367\267\000\000\000\000\000\000\000\000\223\323\004\b\002",
'\000' <repeats 130 times>, "\020
#\352\267\364\017\352\267\200\254\371\267\000\000\000\000\bx\254\277\200\323\004\b\002\000\000\000\223\323\004\b"
input = 0x808a7d0 "speak"
#9 0x0804d124 in main (argc=0, argv=0x1) at linphonec.c:633
- [Linphone-users] linphonec/speak crashing in mediastrea mer,sender_get_sr,
Denys Fedoryshchenko <=