{"action":"created","issue":{"url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/issues/185","labels_url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/issues/185/comments","events_url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/issues/185/events","html_url":"https://github.com/sqlitebrowser/sqlitebrowser/pull/185","id":54660256,"number":185,"title":"tests: fix QCoreApplication parameters","user":{"login":"pinotree","id":1129322,"avatar_url":"https://avatars.githubusercontent.com/u/1129322?v=3","gravatar_id":"","url":"https://api.github.com/users/pinotree","html_url":"https://github.com/pinotree","followers_url":"https://api.github.com/users/pinotree/followers","following_url":"https://api.github.com/users/pinotree/following{/other_user}","gists_url":"https://api.github.com/users/pinotree/gists{/gist_id}","starred_url":"https://api.github.com/users/pinotree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinotree/subscriptions","organizations_url":"https://api.github.com/users/pinotree/orgs","repos_url":"https://api.github.com/users/pinotree/repos","events_url":"https://api.github.com/users/pinotree/events{/privacy}","received_events_url":"https://api.github.com/users/pinotree/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/milestones/5","labels_url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/milestones/5/labels","id":841768,"number":5,"title":"3.5 - Space Pizza Express","description":"","creator":{"login":"justinclift","id":406299,"avatar_url":"https://avatars.githubusercontent.com/u/406299?v=3","gravatar_id":"","url":"https://api.github.com/users/justinclift","html_url":"https://github.com/justinclift","followers_url":"https://api.github.com/users/justinclift/followers","following_url":"https://api.github.com/users/justinclift/following{/other_user}","gists_url":"https://api.github.com/users/justinclift/gists{/gist_id}","starred_url":"https://api.github.com/users/justinclift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinclift/subscriptions","organizations_url":"https://api.github.com/users/justinclift/orgs","repos_url":"https://api.github.com/users/justinclift/repos","events_url":"https://api.github.com/users/justinclift/events{/privacy}","received_events_url":"https://api.github.com/users/justinclift/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":14,"state":"open","created_at":"2014-10-27T10:30:25Z","updated_at":"2015-01-17T13:32:17Z","due_on":"2015-01-11T00:00:00Z","closed_at":null},"comments":1,"created_at":"2015-01-17T12:22:11Z","updated_at":"2015-01-17T13:33:16Z","closed_at":"2015-01-17T13:32:17Z","pull_request":{"url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/pulls/185","html_url":"https://github.com/sqlitebrowser/sqlitebrowser/pull/185","diff_url":"https://github.com/sqlitebrowser/sqlitebrowser/pull/185.diff","patch_url":"https://github.com/sqlitebrowser/sqlitebrowser/pull/185.patch"},"body":"The argument count (first parameter) is a reference, and thus must be kept alive for the whole lifetime of the QCoreApplication instance, as also the Qt apidocs say.\r\n\r\nAlso properly create a \"string array\" for the actual args, instead of badly casting a string to that.\r\n\r\nThis fixes sporadic crashes in this test, for example as seen for some architectures in the Debian build of 3.4.0: https://buildd.debian.org/status/logs.php?pkg=sqlitebrowser&ver=3.4.0-1 & http://buildd.debian-ports.org/status/logs.php?pkg=sqlitebrowser&ver=3.4.0-1 (click on texts in the \"Result\" column to see the logs)."},"comment":{"url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/issues/comments/70367082","html_url":"https://github.com/sqlitebrowser/sqlitebrowser/pull/185#issuecomment-70367082","issue_url":"https://api.github.com/repos/sqlitebrowser/sqlitebrowser/issues/185","id":70367082,"user":{"login":"MKleusberg","id":3153504,"avatar_url":"https://avatars.githubusercontent.com/u/3153504?v=3","gravatar_id":"","url":"https://api.github.com/users/MKleusberg","html_url":"https://github.com/MKleusberg","followers_url":"https://api.github.com/users/MKleusberg/followers","following_url":"https://api.github.com/users/MKleusberg/following{/other_user}","gists_url":"https://api.github.com/users/MKleusberg/gists{/gist_id}","starred_url":"https://api.github.com/users/MKleusberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MKleusberg/subscriptions","organizations_url":"https://api.github.com/users/MKleusberg/orgs","repos_url":"https://api.github.com/users/MKleusberg/repos","events_url":"https://api.github.com/users/MKleusberg/events{/privacy}","received_events_url":"https://api.github.com/users/MKleusberg/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T13:33:16Z","updated_at":"2015-01-17T13:33:16Z","body":"Thank you very much for that pull request! Nice work tracking that error messages down to these lines of code :+1: "}}