{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/2697","repository_url":"https://api.github.com/repos/espressif/esp-idf","labels_url":"https://api.github.com/repos/espressif/esp-idf/issues/2697/labels{/name}","comments_url":"https://api.github.com/repos/espressif/esp-idf/issues/2697/comments","events_url":"https://api.github.com/repos/espressif/esp-idf/issues/2697/events","html_url":"https://github.com/espressif/esp-idf/issues/2697","id":380456135,"node_id":"MDU6SXNzdWUzODA0NTYxMzU=","number":2697,"title":"[TW#27413] BLE stack crash while repairing with PC","user":{"login":"dhavalpatel0114","id":40304290,"node_id":"MDQ6VXNlcjQwMzA0Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/40304290?v=4","gravatar_id":"","url":"https://api.github.com/users/dhavalpatel0114","html_url":"https://github.com/dhavalpatel0114","followers_url":"https://api.github.com/users/dhavalpatel0114/followers","following_url":"https://api.github.com/users/dhavalpatel0114/following{/other_user}","gists_url":"https://api.github.com/users/dhavalpatel0114/gists{/gist_id}","starred_url":"https://api.github.com/users/dhavalpatel0114/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhavalpatel0114/subscriptions","organizations_url":"https://api.github.com/users/dhavalpatel0114/orgs","repos_url":"https://api.github.com/users/dhavalpatel0114/repos","events_url":"https://api.github.com/users/dhavalpatel0114/events{/privacy}","received_events_url":"https://api.github.com/users/dhavalpatel0114/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-13T22:39:33Z","updated_at":"2018-11-15T02:41:37Z","closed_at":null,"author_association":"NONE","body":"I was running gatts_security_server example. It works fine with android devices but having some problems with PC (windows).\r\n\r\nhttps://github.com/espressif/esp-idf/blob/master/examples/bluetooth/gatt_security_server/main/example_ble_sec_gatts_demo.c\r\n\r\n\r\nI can pair it once or twice after removing pairing device on PC. but some time during the pairing process BLE stack is crashing. \r\n\r\nAnd every time it crashing at same location [SEC_GATTS_DEMO: key type = ESP_LE_KEY_LID ] while pairing with pc.\r\n\r\nBelow is attached log.\r\n\r\n`[1B][0;32mI` (154767) SEC_GATTS_DEMO: c4 9d ed a8 cf 4b [1B][0m\r\n[1B][0;32mI (154777) SEC_GATTS_DEMO: 50 7f af 53 e8 aa [1B][0m\r\n[1B][0;32mI (159677) SEC_GATTS_DEMO: ESP_GATTS_DISCONNECT_EVT, disconnect reason 0x13[1B][0m\r\n[1B][0;32mI (159687) SEC_GATTS_DEMO: advertising start success[1B][0m\r\n[1B][0;32mI (177357) SEC_GATTS_DEMO: ESP_GATTS_CONNECT_EVT[1B][0m\r\n[1B][0;32mI (177927) SEC_GATTS_DEMO: key type = ESP_LE_KEY_LENC[1B][0m\r\n[1B][0;32mI (177927) SEC_GATTS_DEMO: key type = ESP_LE_KEY_LID[1B][0m`\r\n**Guru Meditation Error: Core  0 panic'ed (Cache disabled but cached memory region accessed)\r\nCore 0 register dump:**\r\nPC      : 0x401284c0  PS      : 0x00060934  A0      : 0x80044715  A1      : 0x3ffbe1e0  \r\nA2      : 0x00000000  A3      : 0x00000006  A4      : 0x3ffb30e4  A5      : 0x3ffb2fc6  \r\nA6      : 0x3ffb2fc4  A7      : 0x3ffafd68  A8      : 0x80042786  A9      : 0x3ffae70c  \r\nA10     : 0x00000000  A11     : 0x00000001  A12     : 0x3ff98af0  A13     : 0x00000021  \r\nA14     : 0x000000b0  A15     : 0x3ffbe968  SAR     : 0x0000001a  EXCCAUSE: 0x00000007  \r\nEXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  \r\nCore 0 was running in ISR context:\r\nEPC1    : 0x4008d243  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x401284c0\r\n\r\nBacktrace: 0x401284c0:0x3ffbe1e0 0x40044712:0x3ffbe220 0x400876fa:0x3ffbe250 0x40086005:0x3ffbe280 0x40086c5a:0x3ffbe2a0 0x4008799e:0x3ffbe2c0 0x40088783:0x3ffbe2e0 0x400825ad:0x3ffbe300 `0x400621be:0x00000000`\r\n\r\n`Rebooting...`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/comments/438896086","html_url":"https://github.com/espressif/esp-idf/issues/2697#issuecomment-438896086","issue_url":"https://api.github.com/repos/espressif/esp-idf/issues/2697","id":438896086,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODg5NjA4Ng==","user":{"login":"dhavalpatel0114","id":40304290,"node_id":"MDQ6VXNlcjQwMzA0Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/40304290?v=4","gravatar_id":"","url":"https://api.github.com/users/dhavalpatel0114","html_url":"https://github.com/dhavalpatel0114","followers_url":"https://api.github.com/users/dhavalpatel0114/followers","following_url":"https://api.github.com/users/dhavalpatel0114/following{/other_user}","gists_url":"https://api.github.com/users/dhavalpatel0114/gists{/gist_id}","starred_url":"https://api.github.com/users/dhavalpatel0114/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhavalpatel0114/subscriptions","organizations_url":"https://api.github.com/users/dhavalpatel0114/orgs","repos_url":"https://api.github.com/users/dhavalpatel0114/repos","events_url":"https://api.github.com/users/dhavalpatel0114/events{/privacy}","received_events_url":"https://api.github.com/users/dhavalpatel0114/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T02:41:37Z","updated_at":"2018-11-15T02:41:37Z","author_association":"NONE","body":"I update to the latest master still having same problem.\r\n\r\n![image](https://user-images.githubusercontent.com/40304290/48526523-d2602c00-e83c-11e8-9305-8e88373fd16f.png)\r\n last time that code updated 2 months ago.\r\n\r\n"}}
{"actor":{"display_login":"dhavalpatel0114"}}