{"action":"created","issue":{"url":"https://api.github.com/repos/myriadrf/LimeSuite/issues/135","repository_url":"https://api.github.com/repos/myriadrf/LimeSuite","labels_url":"https://api.github.com/repos/myriadrf/LimeSuite/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/myriadrf/LimeSuite/issues/135/comments","events_url":"https://api.github.com/repos/myriadrf/LimeSuite/issues/135/events","html_url":"https://github.com/myriadrf/LimeSuite/issues/135","id":247531010,"node_id":"MDU6SXNzdWUyNDc1MzEwMTA=","number":135,"title":"Segmentation violation on splash screen destroy (Linux)","user":{"login":"ChuckM","id":532407,"node_id":"MDQ6VXNlcjUzMjQwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/532407?v=4","gravatar_id":"","url":"https://api.github.com/users/ChuckM","html_url":"https://github.com/ChuckM","followers_url":"https://api.github.com/users/ChuckM/followers","following_url":"https://api.github.com/users/ChuckM/following{/other_user}","gists_url":"https://api.github.com/users/ChuckM/gists{/gist_id}","starred_url":"https://api.github.com/users/ChuckM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChuckM/subscriptions","organizations_url":"https://api.github.com/users/ChuckM/orgs","repos_url":"https://api.github.com/users/ChuckM/repos","events_url":"https://api.github.com/users/ChuckM/events{/privacy}","received_events_url":"https://api.github.com/users/ChuckM/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-02T21:40:55Z","updated_at":"2018-06-22T10:35:58Z","closed_at":"2018-06-22T10:35:58Z","author_association":"NONE","body":"Hi All,\r\n\r\nBuilt the suite from source on my Ubuntu (Xenial) system. LimeSuiteGUI would segfault, it flicked open the tiny splash window, the console prints:\r\n```sh\r\ncmcmanis@qbert:build$ LimeSuiteGUI\r\n[INFO] LMS7002M cache /home/cmcmanis/.limesuite/LMS7002M_cache_values.db\r\nVisible GUI update time: 0\r\nVisible GUI update time: 0\r\nCreate time 0 ms\r\nSegmentation fault (core dumped)\r\ncmcmanis@qbert:build$ \r\n```\r\nI reran Cmake to build a debug version and tracked the segfault to line 47 of lms7suiteApp.cpp\r\n\r\n```\r\n(gdb) run\r\nStarting program: /usr/bin/LimeSuiteGUI\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n[New Thread 0x7fffec74a700 (LWP 16536)]\r\n[New Thread 0x7fffebf49700 (LWP 16544)]\r\nVisible GUI update time: 0\r\nVisible GUI update time: 0\r\nCreate time 0 ms\r\n\r\nThread 1 \"LimeSuiteGUI\" received signal SIGSEGV, Segmentation fault.\r\n0x0000000000e0b7e0 in ?? ()\r\n(gdb) where\r\n#0  0x0000000000e0b7e0 in ?? ()\r\n#1  0x000000000058994a in lms7suiteApp::OnInit (this=0xcd6920)\r\n    at **/home/cmcmanis/src/limesuite/src/lms7suiteApp.cpp:47**\r\n#2  0x0000000000589aed in wxAppConsoleBase::CallOnInit (this=0xcd6920)\r\n    at /usr/include/wx-3.0/wx/app.h:93\r\n#3  0x00007ffff68cbf92 in wxEntry(int&, wchar_t**) ()\r\n   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0\r\n#4  0x00000000005897a8 in main (argc=1, argv=0x7fffffffe538)\r\n    at /home/cmcmanis/src/limesuite/src/lms7suiteApp.cpp:25\r\n(gdb)\r\n```\r\nWhich calls `splash->Destroy();`. If I comment out that line and re-build then it runs without segfaulting. Very strange but perhaps a WX bug? \r\n"},"comment":{"url":"https://api.github.com/repos/myriadrf/LimeSuite/issues/comments/399400099","html_url":"https://github.com/myriadrf/LimeSuite/issues/135#issuecomment-399400099","issue_url":"https://api.github.com/repos/myriadrf/LimeSuite/issues/135","id":399400099,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQwMDA5OQ==","user":{"login":"IgnasJarusevicius","id":18307728,"node_id":"MDQ6VXNlcjE4MzA3NzI4","avatar_url":"https://avatars0.githubusercontent.com/u/18307728?v=4","gravatar_id":"","url":"https://api.github.com/users/IgnasJarusevicius","html_url":"https://github.com/IgnasJarusevicius","followers_url":"https://api.github.com/users/IgnasJarusevicius/followers","following_url":"https://api.github.com/users/IgnasJarusevicius/following{/other_user}","gists_url":"https://api.github.com/users/IgnasJarusevicius/gists{/gist_id}","starred_url":"https://api.github.com/users/IgnasJarusevicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgnasJarusevicius/subscriptions","organizations_url":"https://api.github.com/users/IgnasJarusevicius/orgs","repos_url":"https://api.github.com/users/IgnasJarusevicius/repos","events_url":"https://api.github.com/users/IgnasJarusevicius/events{/privacy}","received_events_url":"https://api.github.com/users/IgnasJarusevicius/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T10:35:58Z","updated_at":"2018-06-22T10:35:58Z","author_association":"COLLABORATOR","body":"Current, LimeSuiteGUI is being tested and does not crash on splash screen on Ubuntu 16.04 (xenial) with wxWidgets installed from libwxgtk3.0-dev packages or compiled from source (current latest stable release: 3.0.4) . "}}
{"actor":{"display_login":"IgnasJarusevicius"}}