{ "id": "133254", "key": "AC-907", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-08-26T04:50:16.000+0000", "created": "2014-07-16T10:56:55.000+0000", "labels": [ "android", "map", "module" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:12.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "This simple code always crashes.\r\n{code}\r\nvar window = Ti.UI.createWindow();\r\n\tvar map = Map.createView({\r\n\t\ttop:0,\r\n \tleft:0,\r\n \twidth: \"100%\",\r\n\t\theight: \"100%\"\r\n\t});\r\n\t\r\n\twindow.add(map);\r\n\twindow.open();\r\n\t\r\n\tsetTimeout(function(){\r\n\t\tTi.API.info(\"Removing map\");\r\n\t\twindow.remove(map);\r\n\t}, 15000);\r\n\r\n{code}", "attachment": [ { "id": "49822", "filename": "avd_details.png", "author": { "name": "xafilox", "key": "xafilox", "displayName": "Alejandro Vera", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-16T10:56:55.000+0000", "size": 40209, "mimeType": "image/png" }, { "id": "49821", "filename": "log.txt", "author": { "name": "xafilox", "key": "xafilox", "displayName": "Alejandro Vera", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-16T10:56:55.000+0000", "size": 15724, "mimeType": "text/plain" } ], "flagged": false, "summary": "Map SIGSEGV when removing it from the window", "creator": { "name": "xafilox", "key": "xafilox", "displayName": "Alejandro Vera", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "xafilox", "key": "xafilox", "displayName": "Alejandro Vera", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.2.GA\r\nJavascript Engine: V8\r\nPlatform & version: Android 4.4.2\r\nDevice Details: Android emulator (see avd_details.png)\r\nHost Operating System: Windows 7\r\nTitanium Studio version: 3.2.1.201402041146", "comment": { "comments": [ { "id": "314931", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi,\r\nI have tested this issue. It’s not a bug.Its working good without any crashes. \r\n \r\nh3.Testing Environment:\r\nTitanium SDK: 3.2.3.GA, 3.3.0.RC\r\nTitanium CLI: 3.3.0 \r\nAndroid SDK: 4.2.2,4.4.2,\r\nOS X Version: 10.9.3,\r\nAppcelerator Studio: 3.2.3\r\n\r\nh3.Steps to Test:\r\n 1.Create a Classic project.\r\n 2.Paste this code in app.js file.\r\n 3. Add map module in tiapp.xml file.\r\n 4.Configure your tiapp.xml file with Google API key.\r\n 5.Run this code with testing environment.\r\n\r\nh3.Test Case\r\n{code:title=app.js}\r\nvar window = Ti.UI.createWindow({\r\n\tbackgroundColor : 'red',\r\n\tlayout : 'vertical'\r\n});\r\n\r\n// Create a Button.\r\nvar add = Ti.UI.createButton({\r\n\ttitle : 'Add',\r\n\theight : Ti.UI.SIZE,\r\n\twidth : Ti.UI.SIZE,\r\n\ttop : 20,\r\n\tleft : 20\r\n});\r\n\r\n// Listen for click events.\r\nadd.addEventListener('click', function() {\r\n\twindow.add(map);\r\n});\r\nwindow.add(add);\r\n\r\n// Create a Button.\r\nvar remove = Ti.UI.createButton({\r\n\ttitle : 'Remove',\r\n\theight : Ti.UI.SIZE,\r\n\twidth : Ti.UI.SIZE,\r\n\ttop : 20,\r\n\tleft : 20\r\n});\r\n\r\n// Listen for click events.\r\nremove.addEventListener('click', function() {\r\n\twindow.remove(map);\r\n});\r\n\r\n// Add to the parent view.\r\nwindow.add(remove);\r\n\r\nvar MapModule = require('ti.map');\r\nvar map = MapModule.createView({\r\n\ttop : 0,\r\n\tleft : 0,\r\n\twidth : \"100%\",\r\n\theight : \"100%\"\r\n});\r\n\r\nwindow.open();\r\n\r\n{code}\r\n\r\nFor more details:[http://docs.appcelerator.com/titanium/latest/#!/guide/Google_Maps_v2_for_Android]\r\n\r\nThanks.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-19T05:06:46.000+0000", "updated": "2014-08-10T07:38:43.000+0000" }, { "id": "317842", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello [~xafilox]! \r\n\r\nDo you mind to take a look into the code sample and let us know if your device is SIGSEGV with it?\r\n\r\nTIA!\r\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-10T07:39:23.000+0000", "updated": "2014-08-10T07:39:23.000+0000" }, { "id": "320276", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Please check our testcase. Will reopen if the reporter can provide a testcase that reproduces the issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-26T04:50:16.000+0000", "updated": "2014-08-26T04:50:16.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }