{"action":"created","issue":{"url":"https://api.github.com/repos/hawkw/an-editor/issues/43","repository_url":"https://api.github.com/repos/hawkw/an-editor","labels_url":"https://api.github.com/repos/hawkw/an-editor/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/hawkw/an-editor/issues/43/comments","events_url":"https://api.github.com/repos/hawkw/an-editor/issues/43/events","html_url":"https://github.com/hawkw/an-editor/issues/43","id":198108409,"number":43,"title":"Trouble with fmt::Debug?","user":{"login":"twisted-pear","id":2091760,"avatar_url":"https://avatars.githubusercontent.com/u/2091760?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted-pear","html_url":"https://github.com/twisted-pear","followers_url":"https://api.github.com/users/twisted-pear/followers","following_url":"https://api.github.com/users/twisted-pear/following{/other_user}","gists_url":"https://api.github.com/users/twisted-pear/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted-pear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted-pear/subscriptions","organizations_url":"https://api.github.com/users/twisted-pear/orgs","repos_url":"https://api.github.com/users/twisted-pear/repos","events_url":"https://api.github.com/users/twisted-pear/events{/privacy}","received_events_url":"https://api.github.com/users/twisted-pear/received_events","type":"User","site_admin":false},"labels":[{"id":502273891,"url":"https://api.github.com/repos/hawkw/an-editor/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"twisted-pear","id":2091760,"avatar_url":"https://avatars.githubusercontent.com/u/2091760?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted-pear","html_url":"https://github.com/twisted-pear","followers_url":"https://api.github.com/users/twisted-pear/followers","following_url":"https://api.github.com/users/twisted-pear/following{/other_user}","gists_url":"https://api.github.com/users/twisted-pear/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted-pear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted-pear/subscriptions","organizations_url":"https://api.github.com/users/twisted-pear/orgs","repos_url":"https://api.github.com/users/twisted-pear/repos","events_url":"https://api.github.com/users/twisted-pear/events{/privacy}","received_events_url":"https://api.github.com/users/twisted-pear/received_events","type":"User","site_admin":false},"assignees":[{"login":"twisted-pear","id":2091760,"avatar_url":"https://avatars.githubusercontent.com/u/2091760?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted-pear","html_url":"https://github.com/twisted-pear","followers_url":"https://api.github.com/users/twisted-pear/followers","following_url":"https://api.github.com/users/twisted-pear/following{/other_user}","gists_url":"https://api.github.com/users/twisted-pear/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted-pear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted-pear/subscriptions","organizations_url":"https://api.github.com/users/twisted-pear/orgs","repos_url":"https://api.github.com/users/twisted-pear/repos","events_url":"https://api.github.com/users/twisted-pear/events{/privacy}","received_events_url":"https://api.github.com/users/twisted-pear/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/hawkw/an-editor/milestones/1","html_url":"https://github.com/hawkw/an-editor/milestone/1","labels_url":"https://api.github.com/repos/hawkw/an-editor/milestones/1/labels","id":2205857,"number":1,"title":"Rope","description":"","creator":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars.githubusercontent.com/u/2796466?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":17,"state":"open","created_at":"2016-12-19T21:30:18Z","updated_at":"2016-12-30T15:13:07Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-12-30T06:09:02Z","updated_at":"2016-12-30T15:19:58Z","closed_at":null,"body":"So I noticed that a test like\r\n\r\n    #[test]\r\n    fn delete_test_8() {\r\n        let r = Rope::from(\"this is not fine\".to_string());\r\n        assert_eq!(&r, \"this is not\");\r\n    }\r\n\r\nfails with\r\n\r\n    $ RUST_BACKTRACE=1 cargo test delete_test_8\r\n        Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs\r\n         Running target/debug/deps/an_rope-609884e6301c7df8\r\n\r\n    running 1 test\r\n\r\n    thread 'tests::delete_test_8' has overflowed its stack\r\n    fatal runtime error: stack overflow\r\n    error: process didn't exit successfully: `/home/rustdev/an-editor/an-rope/target/debug/deps/an_rope-609884e6301c7df8 delete_test_8` (signal: 6, SIGABRT: process abort signal)\r\n\r\n    To learn more, run the command again with --verbose.\r\n\r\n. I also don't get a backtrace. I tracked the Problem down to something like this `panic ! (\"whatever: {:?}\", r);`, which is done when `assert_eq!` fails. This `panic` will produce the same error message. I'm assuming that we somehow overflow the stack when building the `fmt::Debug` message but I don't know where yet."},"comment":{"url":"https://api.github.com/repos/hawkw/an-editor/issues/comments/269783167","html_url":"https://github.com/hawkw/an-editor/issues/43#issuecomment-269783167","issue_url":"https://api.github.com/repos/hawkw/an-editor/issues/43","id":269783167,"user":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars.githubusercontent.com/u/2796466?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T15:19:58Z","updated_at":"2016-12-30T15:19:58Z","body":"I checked out your branch and it looks good to merge; with that said, before we close this issue we should make sure this is definitely localised to _only_ the `fmt::Debug` implementation - I'm pretty sure you're right but we ought to throw together some tests just to be on the safe side?"}}
{"actor":{"display_login":"hawkw"}}