{"thread":{"id":"35466","subject":"Segfault when fetching from current git.git on GitHub","startedAt":"2013-12-03T18:56:31Z","lastAt":"2013-12-03T19:20:18Z","messageCount":2,"participants":["Ralf Thielow","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"231449","messageId":"CAN0XMOKPWm1CzS3289SHpH=N0osFszuvnK6e9BVxwtQe3b2YJg@mail.gmail.com","threadId":"35466","inReplyTo":null,"subject":"Segfault when fetching from current git.git on GitHub","fromName":"Ralf Thielow","fromEmail":"ralf.thielow@gmail.com","sentAt":"2013-12-03T18:56:31Z","receivedAt":"2013-12-03T18:56:31Z","isPatch":false,"sender":{"key":"ralf.thielow@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1275832?v=4"},"body":"Hi,\n\nI've fetched from the current git.git on GitHub minutes ago and got a\nsegfault. I could reproduce it with the Git version of the current \"next\" branch\n(1.8.5.392.gf545f4d) with the steps below. The segfault does not appear with\nversion 1.8.5.\n\nSteps to reproduce:\ngit init tmp\ncd tmp\ngit remote add origin https://github.com/git/git.git\ngit fetch -v\n\nFull stacktrace: http://pastebin.com/zK8epKWj\nProcMaps and ProcStatus from Ubuntu's Apport: http://pastebin.com/ZpPk1WSA\n\n\nRalf\n"},{"id":"231455","messageId":"20131203192018.GD29959@google.com","threadId":"35466","inReplyTo":"CAN0XMOKPWm1CzS3289SHpH=N0osFszuvnK6e9BVxwtQe3b2YJg@mail.gmail.com","subject":"Re: Segfault when fetching from current git.git on GitHub","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2013-12-03T19:20:18Z","receivedAt":"2013-12-03T19:20:18Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi,\n\nRalf Thielow wrote:\n\n> I've fetched from the current git.git on GitHub minutes ago and got a\n> segfault. I could reproduce it with the Git version of the current \"next\" branch\n> (1.8.5.392.gf545f4d) with the steps below. The segfault does not appear with\n> version 1.8.5.\n\nYep, I can reproduce this.\n\n  (gdb) bt\n  #0  next_quote_pos (s=0x0, maxlen=-1) at quote.c:168\n  #1  0x00000000004ca2bb in quote_c_style_counted (name=0x0, maxlen=-1, sb=0x7fffffffe290, fp=0x0, no_dq=0) at quote.c:215\n  #2  0x00000000004fd4c0 in set_helper_option (transport=<optimized out>, name=0x525f89 \"depth\", value=0x0) at transport-helper.c:307\n  #3  0x00000000004fb57f in transport_set_option (transport=0x7d5740, name=<optimized out>, value=0x0) at transport.c:1004\n  #4  0x000000000042de10 in backfill_tags (ref_map=0x806a50, transport=0x7d5740) at builtin/fetch.c:791\n\nIt's fallout from 0f284b11 (transport: catch non positive --depth\noption value, 2013-11-26).\n"}]}