{"action":"created","issue":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/1074","repository_url":"https://api.github.com/repos/telegramdesktop/tdesktop","labels_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/1074/labels{/name}","comments_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/1074/comments","events_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/1074/events","html_url":"https://github.com/telegramdesktop/tdesktop/issues/1074","id":105169240,"number":1074,"title":"Segmentation fault when using diacritics","user":{"login":"tarcisioe","id":774694,"avatar_url":"https://avatars.githubusercontent.com/u/774694?v=3","gravatar_id":"","url":"https://api.github.com/users/tarcisioe","html_url":"https://github.com/tarcisioe","followers_url":"https://api.github.com/users/tarcisioe/followers","following_url":"https://api.github.com/users/tarcisioe/following{/other_user}","gists_url":"https://api.github.com/users/tarcisioe/gists{/gist_id}","starred_url":"https://api.github.com/users/tarcisioe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarcisioe/subscriptions","organizations_url":"https://api.github.com/users/tarcisioe/orgs","repos_url":"https://api.github.com/users/tarcisioe/repos","events_url":"https://api.github.com/users/tarcisioe/events{/privacy}","received_events_url":"https://api.github.com/users/tarcisioe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/labels/linux","name":"linux","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":28,"created_at":"2015-09-07T08:15:18Z","updated_at":"2016-06-24T10:19:49Z","closed_at":null,"body":"With a \"brazil abnt2\" keyboard layout under Linux (Gentoo), Telegram Desktop segfaults sometimes when trying to add diacritics through dead keys (like \"á, ã, é\"). Unfortunately this happens very unreliably, so it is somewhat hard to reproduce. A reliable way of causing a segfault that is very likely related to the one that happens arbitrarily, though, is using \"reply\" on a message, and on the very first character of the reply typing something through a dead key (for example, \"^\" through `^` + `SPACE`, or an accented letter.\r\n\r\nI am using Telegram Desktop downloaded from the website, not compiled by myself, so I don't have all the debug information. I ran it with GDB and reproduced the bug, leading to this trace:\r\n\r\n```\r\n(gdb) bt full\r\n#0  0x0000000000000000 in ?? ()\r\nNo symbol table info available.\r\n#1  0x0000000000a85d4b in QApplication::notify(QObject*, QEvent*) ()\r\nNo symbol table info available.\r\n#2  0x0000000000000001 in ?? ()\r\nNo symbol table info available.\r\n#3  0x00007fffffffc760 in ?? ()\r\nNo symbol table info available.\r\n#4  0x0000000000000001 in ?? ()\r\nNo symbol table info available.\r\n#5  0x00007ffff768b6d7 in ?? () from /usr/lib64/libxcb.so.1\r\nNo symbol table info available.\r\n#6  0x00007ffff768b8d6 in xcb_flush () from /usr/lib64/libxcb.so.1\r\nNo symbol table info available.\r\n#7  0x0000000000dee5ff in QXcbBackingStore::flush(QWindow*, QRegion const&, QPoint const&) ()\r\nNo symbol table info available.\r\n#8  0x3ff0000000000000 in ?? ()\r\nNo symbol table info available.\r\n#9  0x00007ffff64fe640 in ?? () from /lib64/libc.so.6\r\nNo symbol table info available.\r\n#10 0x0000000000000018 in ?? ()\r\nNo symbol table info available.\r\n#11 0x0000000000000000 in ?? ()\r\nNo symbol table info available.\r\n```\r\n\r\nA friend of mine has confirmed the bug under similar circumstances, using Arch Linux.\r\n\r\nI can try to provide more info if needed, or if the bug turns out to be harder to reproduce than thought."},"comment":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/comments/228310228","html_url":"https://github.com/telegramdesktop/tdesktop/issues/1074#issuecomment-228310228","issue_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/1074","id":228310228,"user":{"login":"john-preston","id":17900494,"avatar_url":"https://avatars.githubusercontent.com/u/17900494?v=3","gravatar_id":"","url":"https://api.github.com/users/john-preston","html_url":"https://github.com/john-preston","followers_url":"https://api.github.com/users/john-preston/followers","following_url":"https://api.github.com/users/john-preston/following{/other_user}","gists_url":"https://api.github.com/users/john-preston/gists{/gist_id}","starred_url":"https://api.github.com/users/john-preston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-preston/subscriptions","organizations_url":"https://api.github.com/users/john-preston/orgs","repos_url":"https://api.github.com/users/john-preston/repos","events_url":"https://api.github.com/users/john-preston/events{/privacy}","received_events_url":"https://api.github.com/users/john-preston/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T10:19:49Z","updated_at":"2016-06-24T10:19:49Z","body":"@Ziul I press reply:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/17900494/16335231/2fc1a868-3a0e-11e6-8bfe-04869967b072.png)\r\n\r\nand then the input field is focused well (the cursor is blinking). When it crashes for you, the cursor does not blink in the input field, right?"}}
{"actor":{"display_login":"john-preston"}}