linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] linphone blackberry error 523 on device


From: Jehan Monnier
Subject: Re: [Linphone-developers] linphone blackberry error 523 on device
Date: Thu, 10 Feb 2011 08:25:28 +0100

Hi,

Well done Aleksei. You might want to contribute your patch ;-)
Regarding pcmu/pcma, we didn't implement those two codecs because we where not able to both capture and play PCM16 audio but AMR-NB only. Did you managed that ?
Cheers
 

Le 10 févr. 2011 à 06:57, aleksei drassen a écrit :

solved, steps to reproduce the solved method:
 
1.- implements a BB log cleaner at 1 minute of traces...
2.- implements catch of IOExeption on sender 
3.- Implements a runnable thread on packet sender.
 
 
Thanks jehan for sugestions, now i read some rfcs to implement some codecs i think be usefull to anyone who want test or use the BB client. (including me)
 
I'll start with g711 pcmu and pcma and Broadvoice.
 
cheers

 

Date: Sun, 6 Feb 2011 18:23:39 +0100
Subject: Re: [Linphone-developers] linphone blackberry error 523 on device
From: address@hidden
To: address@hidden

Hi,

Well, from the traces, nothing seams wrong to me. Backtrace shows the BB recorder thread blocked in the rtp send method(I.E This might cause the reset). Maybe something went wrong at the network level so the udp datagram cnx blocks for too long. To confirm this hypotheses, you might create a new thread responsible for sending data at the rtp BB transport level. 

Cheers


-- 
Jehan Monnier
www.linphone.org


2011/2/3 aleksei drassen <address@hidden>
hi, this log file seem to be better, the last file attached does'nt contain application logs (i comment these on the code), so this log file contain all logs from the application and consecutively 523 deadlock sysmtem.
 
cheers
 

Date: Thu, 3 Feb 2011 19:39:20 +0100

Subject: Re: [Linphone-developers] linphone blackberry error 523 on device
From: address@hidden
To: address@hidden

Good,

Can you send us those traces you managed to get before the crash ?
You can copy traces from menu->console->copy day content
Cheers



-- 
Jehan Monnier
www.linphone.org

2011/2/3 aleksei drassen <address@hidden>

 yes, i get some traces before the crash, i tested on device and from emulator too.
 
The problem resides on streaming (mediaplayer), so i try to change the mode of that operates, my initial theory is transmit and receive in different formats, (transmit and receive on amr) but recieve and decoding in pcm, i don't understand cleary what is problem with the aplication but when i modify the mediaplayer to stop sending the aplication run too long times, but when i test with the code without no changes the crash start at 1:30 sec of voip conversation.
 
 
my coding skills is not good than yours but i want to contribute also.
 
 
cheers

From: address@hidden
Subject: Re: [Linphone-developers] linphone blackberry error 523 on device
Date: Thu, 3 Feb 2011 17:42:19 +0100

To: address@hidden

Hi Aleksei,

Few questions:
First did you get some traces just before the crash from the console view ?

Regarding the code change you suggested, what the purpose of creating 2 players ?


Le 3 févr. 2011 à 17:28, aleksei drassen a écrit :

Hi list, i'm trying to determine what portion of code may cause the deadlock on the blackberry device, so, yesterday i found (reading dozens of undocumented code thank you) the problem is in the mediastreamer maybe on the initialization of syncronize sendstream and recstream (the last call a instance of sendstream) who operate in asyncronuous mode (i think),  so, i'll try today (on the nigth because my childrens don't want me coding all day) to change two classes.
 
If anyone try to test the blackberry device found the application crash at 1:30 secs more less.
 
 
so, please see that code i think now, i'll try to implement that but i need opinions and code to solve the crash system (error 523) at 1:30 secs of client test...
 
 
changing the buffering mode  first:
 
 
 
player=Manager.createPlayer(rawData,"audio/x-wav");
player=Manager.createPlayer(new RtpDataSource(rawData));
player.realize();
Control [] controls=player.getControls();
AudioFormatControl control=(AudioFormatControl)player.getControl("AudioFormatControl");
player.prefetch();
player.start();

 ..
..
 
to start audio:
 
rawData = new PipedOutputStream();
        PipedInputStream rawData;
        try {
            rawData = new PipedInputStream(rawData,"in");
        } catch (IOException e) {
            Logger.error("i/o error", e);
            return;
        }

 
cheers

From: address@hidden
To: address@hidden
Date: Tue, 1 Feb 2011 17:36:42 +0000
Subject: [Linphone-developers] linphone blackberry error 523 on device

device test1: blackberry 8520 OS 5.0
device test2: Android HTC Nexus One
device test3: emulator.
 
Hi again list, finally i implement asterisk with amr and finally i can test the blackberry application live.
 
When i package the aplication, sign and install i don't have any error, but when i stablish comunication betwen the peers, at 3 minutes more less my blackberry device stops (white screen)  and say: "error 523"  reset ...
 
Ok, i see the error and the log say me the guilty seems appear net_rim_services_impl(4), so i start the emulator to try reproduce the error and emulator says me message queue full (image attached).
 
Finally i try to debug and find the module who cause the original reset state of the blackberry device. 
 
 
I attach the screen with the module error on streamingmediaplyer (see attached file error2.jpg)
 
 
cheers
 
 

attached image 1:  http://img4.imageshack.us/img4/6355/errorrs.jpg
attached image 2:  http://img151.imageshack.us/img151/1050/error2ej.jpg

_______________________________________________ Linphone-developers mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________ Linphone-developers mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________ Linphone-developers mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________ Linphone-developers mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-developers_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

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