kusuzhu / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

crash just after put or receive a call on Motorola Flipout mb511 #678

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was using Sipdroid on Motorola Milestone (mod.A583 - android 2.1). Now I'm 
using a Motorola Flipout MB511 and Sipdroid Version 1.5.7 (beta), installed 
from Android Market. It crashs just after put or receive a call.
Device: Motorola MB511
System: Blur_Version.0.45.204.mb511.Vivo.en.BR
Firmware: 2.1-update1
Kernel: 2.6.29-omap1 wea034@zbr05lnxdroid06#1
sipdroid: 1.5.7 beta

Original issue reported on code.google.com by fmgu...@gmail.com on 4 Oct 2010 at 10:23

GoogleCodeExporter commented 9 years ago
I see this on the Flipout as well.  To be more precise, shortly after each 
successful call, the entire Android user interface crashes and restarts 
(blinking MotoBlur logo).

Maybe sipdroid has a resource leak that depletes some critical resource (such 
as memory)?

Original comment by michael....@gmail.com on 18 Jan 2012 at 1:29

GoogleCodeExporter commented 9 years ago
(PS.: Using Sipdroid 2.4 beta.)

Original comment by michael....@gmail.com on 18 Jan 2012 at 1:31

GoogleCodeExporter commented 9 years ago
Interestingly, the same problem occurs with CSipSimple (see 
http://code.google.com/p/csipsimple/issues/detail?id=1539).  Do the two 
projects share a common component (library, SIP stack, ...)?

Original comment by michael....@gmail.com on 26 Jan 2012 at 7:45

GoogleCodeExporter commented 9 years ago
I have developed a API that uses android.media.AudioRecord that suffers a bad 
behavior on read() after a second start record sequence:
// first time, works fine
audio = new AudioRecord(...)
audio.startRecording();
audio.read(buff, off, size);
audio.stop();
audio.release();
audio=null;
// second try, bad behavior
audio = new AudioRecord(...)
audio.startRecording();
audio.read(buff, off, size); // the internal native call to 
AudioRecord.native_read_in_short_array() seems to return but it's very, very 
slow. Just happens on MB511.
audio.stop();
audio.release();
audio=null;

...

I tried to reuse the object (without calling release()) but it seems to give a 
single extra recorder. The third one fails too.
I guess this is a problem on native code implementation.
Hope this helps someone else having issues with this device.

Original comment by gilson...@gmail.com on 15 Jun 2012 at 5:25