You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Laurens Boekhorst (JIRA)" <ji...@apache.org> on 2016/10/20 13:33:59 UTC

[jira] [Created] (CB-12043) Error callback is not invoked on timeout

Laurens Boekhorst created CB-12043:
--------------------------------------

             Summary: Error callback is not invoked on timeout
                 Key: CB-12043
                 URL: https://issues.apache.org/jira/browse/CB-12043
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Contacts
    Affects Versions: 2.1.0
         Environment: Huawei Ascend Mate 7, Android 5.1.1
            Reporter: Laurens Boekhorst


When calling {{navigator.contacts.find}} on the Huawei Ascend Mate 7 running Android 5.1.1, the request may time out without invoking the error callback:

{quote}
W/SQLiteConnectionPool(12147): The connection pool for database '/data/user/0/com.android.providers.contacts/databases/contacts2.db' has been unable to grant a connection to thread 3638 (Binder_8) with flags 0x1 for 90.004005 seconds.
W/SQLiteConnectionPool(12147): Connections: 1 active, 0 idle, 0 available.
W/SQLiteConnectionPool(12147): 
W/SQLiteConnectionPool(12147): Requests in progress:
W/SQLiteConnectionPool(12147):   executeForCursorWindow started 139680ms ago - running, sql="SELECT data1, contact_id, data4, data5, data2, data3, data8, data9, data6, data7, data10, mimetype, _id, raw_contact_id FROM view_data_restricted data LEFT OUTER JOIN (SELECT data_usage_stat.data_id, SUM(data_usage_stat.times_used) as times_used, MAX(data_usage_stat.last_time_used) as last_time_used FROM data_usage_stat GROUP BY data_id) as data_usage_stat ON (data_usage_stat.data_id=data._id) WHERE (1) AND (contact_id IN ('5233','338','5231','5374','5373','333','36','5372','330','5371','331','39','37','38','40','740','5229','5228','742','5226','741','349','203','5645','5644','5363','5362','344','5365','345','5364','347','168','5647','5366','348','209','5357','735','409','734','737','736','739','405','738','407','32','5651','406','31','401','547','403','4793','733','732','5253','210','318','215','5256','319','5255','316','213','5254','2458','317','5356','219','315','178','313','218','176','310','5351','311','5350','723','722','5247','412','411','5240','220','221','5242','5343','323','229','5345','5344','189','320','5341','321','322','5339','180','5236','5237','423','78','77','110','111','119','433','431','700','5327','82','5326','83','5325','80','81','5136','578','86','84','5328','5602','66','300','69','302','5321','301','303','306','5607','309','5506','5500','5316','71','5315','5318','73','5317','74','5509','75','5319','5312','5310','59','58','57','55','64','65','62','63','60','61','5303','5302','49','48','5300','5301','47','5531','5532','51','52','53','54','50','5436','5434','5166','5167','5164','280','282','289','286','5178','5449','273','5142','5143','5146','5415','5147','5412','5145','5557','5558','5559','108','107','106','5139','105','104','5137','103','99','101','5151','98','5152','97','5153','96','693','390','95','94','395','294','90','293','290','5150','291','297','5573','396','5148','89','195','384','194','382','196','380','192','5484','389','5487','388','387','199','5486','385','245','5264','244','5268','246','505','230','5489','371','372','379','5493','5494','5590','5495','3183','374','5271','376','232','5596','5597','5274','5598','5275','233','5277','5490','5278','5491','5279','237','260','5660','362','5384','5281','5659','369','5386','368','367','5285','267','266','2520','5284','350','5393','5290','353','352','5292','5398','359','358','5296')) ORDER BY contact_id ASC"
{quote}

This issue does not occur on a Nexus 5 running Android 6.0.1, or a Samsung Galaxy S2 running Android 4.4.2. An emulator running Android 5.1.1 does not suffer from this issue either so the impact seems to be pretty limited.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org