{"action":"created","issue":{"url":"https://api.github.com/repos/idaholab/moose/issues/6784","repository_url":"https://api.github.com/repos/idaholab/moose","labels_url":"https://api.github.com/repos/idaholab/moose/issues/6784/labels{/name}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/6784/comments","events_url":"https://api.github.com/repos/idaholab/moose/issues/6784/events","html_url":"https://github.com/idaholab/moose/issues/6784","id":149283555,"number":6784,"title":"Debug/show_actions output bug","user":{"login":"friedmud","id":870705,"avatar_url":"https://avatars.githubusercontent.com/u/870705?v=3","gravatar_id":"","url":"https://api.github.com/users/friedmud","html_url":"https://github.com/friedmud","followers_url":"https://api.github.com/users/friedmud/followers","following_url":"https://api.github.com/users/friedmud/following{/other_user}","gists_url":"https://api.github.com/users/friedmud/gists{/gist_id}","starred_url":"https://api.github.com/users/friedmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedmud/subscriptions","organizations_url":"https://api.github.com/users/friedmud/orgs","repos_url":"https://api.github.com/users/friedmud/repos","events_url":"https://api.github.com/users/friedmud/events{/privacy}","received_events_url":"https://api.github.com/users/friedmud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/idaholab/moose/labels/C:%20MOOSE","name":"C: MOOSE","color":"0052cc"},{"url":"https://api.github.com/repos/idaholab/moose/labels/P:%20normal","name":"P: normal","color":"ededed"},{"url":"https://api.github.com/repos/idaholab/moose/labels/T:%20defect","name":"T: defect","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-18T21:59:11Z","updated_at":"2016-04-18T22:18:54Z","closed_at":null,"body":"### Description of the enhancement or error report\r\nUsing `Debug/show_actions` doesn't work if an Action is broken/segfaults (which is when you really need it!).\r\n\r\n### Rationale for the enhancement or information for reproducing the error\r\nThe problem is that this is printed through the `_console`... which doesn't get flushed properly if there is a segfault _during_ Actions!  You can see it here: https://github.com/idaholab/moose/blob/devel/framework/src/actions/ActionWarehouse.C#L290\r\n\r\nChanging that to `std::cout` or whatever resolves the issue.\r\n\r\n### Identified impact\r\nA choice is going to have to be made here... either force a flush - or use a raw stream.  Using a raw stream gives a higher guarantee of seeing the output... but it also means it can't be redirected or hidden very easily."},"comment":{"url":"https://api.github.com/repos/idaholab/moose/issues/comments/211604235","html_url":"https://github.com/idaholab/moose/issues/6784#issuecomment-211604235","issue_url":"https://api.github.com/repos/idaholab/moose/issues/6784","id":211604235,"user":{"login":"YaqiWang","id":6607496,"avatar_url":"https://avatars.githubusercontent.com/u/6607496?v=3","gravatar_id":"","url":"https://api.github.com/users/YaqiWang","html_url":"https://github.com/YaqiWang","followers_url":"https://api.github.com/users/YaqiWang/followers","following_url":"https://api.github.com/users/YaqiWang/following{/other_user}","gists_url":"https://api.github.com/users/YaqiWang/gists{/gist_id}","starred_url":"https://api.github.com/users/YaqiWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaqiWang/subscriptions","organizations_url":"https://api.github.com/users/YaqiWang/orgs","repos_url":"https://api.github.com/users/YaqiWang/repos","events_url":"https://api.github.com/users/YaqiWang/events{/privacy}","received_events_url":"https://api.github.com/users/YaqiWang/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T22:18:54Z","updated_at":"2016-04-18T22:18:54Z","body":"@friedmud That buffering issue is indeed annoying. Subapp with `show_actions=true` can make the screen even messier. But I guess we do have a reason on using `_console` because of all the features provided by it. I remembered @aeslaughter said it is too painful to construct `_console` before actions are fired..."}}