{"action":"created","issue":{"url":"https://api.github.com/repos/baldurk/renderdoc/issues/310","repository_url":"https://api.github.com/repos/baldurk/renderdoc","labels_url":"https://api.github.com/repos/baldurk/renderdoc/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/baldurk/renderdoc/issues/310/comments","events_url":"https://api.github.com/repos/baldurk/renderdoc/issues/310/events","html_url":"https://github.com/baldurk/renderdoc/issues/310","id":168704741,"number":310,"title":"Crash when starting v0.30 due to breakage of window layout","user":{"login":"baldurk","id":661798,"avatar_url":"https://avatars.githubusercontent.com/u/661798?v=3","gravatar_id":"","url":"https://api.github.com/users/baldurk","html_url":"https://github.com/baldurk","followers_url":"https://api.github.com/users/baldurk/followers","following_url":"https://api.github.com/users/baldurk/following{/other_user}","gists_url":"https://api.github.com/users/baldurk/gists{/gist_id}","starred_url":"https://api.github.com/users/baldurk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baldurk/subscriptions","organizations_url":"https://api.github.com/users/baldurk/orgs","repos_url":"https://api.github.com/users/baldurk/repos","events_url":"https://api.github.com/users/baldurk/events{/privacy}","received_events_url":"https://api.github.com/users/baldurk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/baldurk/renderdoc/labels/status:%20fixed","name":"status: fixed","color":"0e8a16"},{"url":"https://api.github.com/repos/baldurk/renderdoc/labels/tag:%20workaround%20available","name":"tag: workaround available","color":"1d76db"},{"url":"https://api.github.com/repos/baldurk/renderdoc/labels/type:%20bug","name":"type: bug","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-01T18:00:48Z","updated_at":"2016-08-08T19:24:53Z","closed_at":null,"body":"I'm not sure if this is new to v0.30 loading a layout saved on v0.29, or what, but I've seen a couple of people run into a problem with this callstack:\r\n\r\n```\r\n  at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)\r\n   at System.Collections.Generic.List`1.get_Item(Int32 index)\r\n   at WeifenLuo.WinFormsUI.Docking.DockPanel.Persistor.LoadFromXml(DockPanel dockPanel, Stream stream, DeserializeDockContent deserializeContent, Boolean closeStream) in 3rdparty/WinFormsUI/Docking/DockPanel.Persistor.cs:line 625\r\n   at WeifenLuo.WinFormsUI.Docking.DockPanel.Persistor.LoadFromXml(DockPanel dockPanel, String fileName, DeserializeDockContent deserializeContent) in 3rdparty/WinFormsUI/Docking/DockPanel.Persistor.cs:line 381\r\n   at renderdocui.Windows.MainWindow.LoadLayout(Int32 layout) in MainWindow.cs:510\r\n   at renderdocui.Windows.MainWindow.MainWindow_Load(Object sender, EventArgs e) in MainWindow.cs:174\r\n```\r\n\r\nwhich is right at the start. The direct cause of the crash is a 'pane' which is referencing a content that doesn't exist (either a negative ID, or much more likely a higher ID than contents that exist).\r\n\r\nThe strange thing is I can't see any obvious way that a layout could be corrupted like this, nor any change I've made recently (or ever) which could cause it - this is before it even calls in to persist string processing to do custom layout of individual windows.\r\n\r\nIf anyone runs into this, please send me your layout file so I can take a look at it!"},"comment":{"url":"https://api.github.com/repos/baldurk/renderdoc/issues/comments/238348127","html_url":"https://github.com/baldurk/renderdoc/issues/310#issuecomment-238348127","issue_url":"https://api.github.com/repos/baldurk/renderdoc/issues/310","id":238348127,"user":{"login":"Marqin","id":959429,"avatar_url":"https://avatars.githubusercontent.com/u/959429?v=3","gravatar_id":"","url":"https://api.github.com/users/Marqin","html_url":"https://github.com/Marqin","followers_url":"https://api.github.com/users/Marqin/followers","following_url":"https://api.github.com/users/Marqin/following{/other_user}","gists_url":"https://api.github.com/users/Marqin/gists{/gist_id}","starred_url":"https://api.github.com/users/Marqin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marqin/subscriptions","organizations_url":"https://api.github.com/users/Marqin/orgs","repos_url":"https://api.github.com/users/Marqin/repos","events_url":"https://api.github.com/users/Marqin/events{/privacy}","received_events_url":"https://api.github.com/users/Marqin/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T19:24:53Z","updated_at":"2016-08-08T19:24:53Z","body":"What's the path in Linux? I don't see dirs like`~/.renderdoc` nor `~/.config/renderdoc`."}}
{"actor":{"display_login":"Marqin"}}