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, 3 Feb 2011 17:42:19 +0100

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


reply via email to

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