{"thread":{"id":"11817","subject":"git-svn segmetation fault","startedAt":"2008-02-01T22:32:29Z","lastAt":"2008-02-03T21:42:31Z","messageCount":12,"participants":["Wink Saville","Steven Walter","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"67042","messageId":"47A39DFD.9020905@saville.com","threadId":"11817","inReplyTo":null,"subject":"git-svn segmetation fault","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2008-02-01T22:32:29Z","receivedAt":"2008-02-01T22:32:29Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"I was doing an git-svn dcommit and got a seg fault. The first\nphase of updating svn completed and then it seg faulted on the\nsecond. So I suspect I'm out of sync and need to recover,\nany guidance appreciated.\n\nIf it's any help the svn repo is at http://async-msgcomp.googlecode.com/svn.\nIf someone needs it I happen to have a backup of the git repo before\ndoing the commit and then after the seg fault.\n\nIf there is any other information that someone needs I can try\nto supply it.\n\nCheers,\n\nWink Saville\n\n<info>\n\n<Apparently there is no core dump file as ulimit -c is 0: />\nwink@ic2d1:$ ulimit -c\n0\n\n<here is the linux version: />\nwink@ic2d1:$ uname -a\nLinux ic2d1 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 x86_64 \nGNU/Linux\n\n<here is the git version: />\nwink@ic2d1:$ git --version\ngit version 1.5.3.8\n\n<Here is the data from /var/log/kern.log: />\nFeb  1 13:51:31 ic2d1 kernel: [17438.627780] git-svn[21111]: segfault at \n0000000000000010 rip 00002acfb82ac1ff rsp 00007ffff937d0d0 error 6\n\n<Here is the command and data output: />\nwink@ic2d1:$ git-svn dcommit\nCommitting to https://async-msgcomp.googlecode.com/svn/trunk ...\n        C       android/mc/src/com/saville/android/mc/ActiveMc.java => \nandroid/hmc/src/com/saville/hmc/ActiveHmc.java\n        C       java/msgcomp/src/com/saville/msgcomp/IMc.java => \nandroid/hmc/src/com/saville/hmc/Hmc.java\n        C       android/mc/src/com/saville/android/mc/ActiveMc.java => \nandroid/mc/src/com/saville/mc/ActiveMc.java\n        C       java/msgcomp/src/com/saville/msgcomp/IMc.java => \nandroid/mc/src/com/saville/mc/MsgPump.java\n        C       java/msgcomp/src/com/saville/msgcomp/IMc.java => \njava/hmc/src/com/saville/hmc/Hmc.java\n        C       android/hmc/src/com/saville/android/testhmc/TestHmc.java \n=> java/hmc/src/com/saville/testhmc/Test.java\n        C       java/msgcomp/src/com/saville/msgcomp/IMc.java => \njava/msgcomp/src/com/saville/msgcomp/IHmc.java\n        C       java/mc/src/com/saville/mc/Mc.java => java/src/McBase.java\n        C       java/mc/src/com/saville/mc/McMgr.java => java/src/McMgr.java\n        R       java/TestClient1/AGPLv3.LICENSE => AGPLv3.LICENSE\n        R       android/TestNet1/COPYING => COPYING\n        R       android/TestNet1/COPYING.LESSER => COPYING.LESSER\n        R       android/mc/src/com/saville/android/mc/McActivity.java => \nandroid/mc/src/com/saville/mc/McActivity.java\n        R       android/mc/src/com/saville/android/mc/McService.java => \nandroid/mc/src/com/saville/mc/McService.java\n        R       android/mc/src/com/saville/android/mc/ActiveMc.java => \njava/hmc/src/com/saville/hmc/ActiveHmc.java\n        R       \nandroid/hmc/src/com/saville/android/testhmc/TestDeferredMsgs.java => \njava/hmc/src/com/saville/testhmc/TestDeferredMsgs.java\n        R       \nandroid/hmc/src/com/saville/android/testhmc/TestHmcClient.java => \njava/hmc/src/com/saville/testhmc/TestHmcClient.java\n        R       \nandroid/hmc/src/com/saville/android/testhmc/TestHmcServer.java => \njava/hmc/src/com/saville/testhmc/TestHmcServer.java\n        R       \nandroid/hmc/src/com/saville/android/testhmc/TestUnhandledMsgs.java => \njava/hmc/src/com/saville/testhmc/TestUnhandledMsgs.java\n        R       java/mc/src/com/saville/mc/Looper.java => \njava/mc/src/com/saville/mc/MsgPump.java\n        R       android/hmc/src/com/saville/android/hmc/IState.java => \njava/msgcomp/src/com/saville/msgcomp/IState.java\n        R       android/hmc/src/com/saville/android/hmc/State.java => \njava/msgcomp/src/com/saville/msgcomp/State.java\n        R       android/hmc/src/com/saville/android/hmc/Hmc.java => \njava/src/HmcBase.java\n        D       android/debug/COPYING\n        D       android/debug/COPYING.LESSER\n        D       android/hmc/COPYING\n        D       android/hmc/COPYING.LESSER\n        D       android/mc/COPYING\n        D       android/mc/COPYING.LESSER\n        D       android/mc/src/com/saville/android/mc/Mc.java\n        D       android/mc/src/com/saville/android/mc/McMgr.java\n        D       android/mctest/COPYING\n        D       android/mctest/COPYING.LESSER\n        D       android/serdes/COPYING\n        D       android/serdes/COPYING.LESSER\n        D       java/TestMsgPipe1/AGPLv3.LICENSE\n        D       java/TestMsgPipe2/AGPLv3.LICENSE\n        D       java/TestServer1/AGPLv3.LICENSE\n        D       java/debug/COPYING\n        D       java/debug/COPYING.LESSER\n        D       java/mcmaster/AGPLv3.LICENSE\n        D       java/msgcomp/COPYING\n        D       java/msgcomp/COPYING.LESSER\n        D       java/serdes/COPYING\n        D       java/serdes/COPYING.LESSER\n        M       android/TestNet1/.classpath\n        M       \nandroid/TestNet1/src/com/saville/android/testnet1/TestNet1.java\n        M       android/hmc/.classpath\n        M       android/hmc/src/com/saville/android/testhmc/TestHmc.java\n        A       android/hmc/src/com/saville/hmc/HmcBase.java\n        A       android/hmc/src/com/saville/testhmc\n        M       android/mc/AndroidManifest.xml\n        M       android/mc/src/com/saville/android/testmc/TestMc.java\n        M       android/mc/src/com/saville/android/testmc/TestMcService.java\n        A       android/mc/src/com/saville/mc/Mc.java\n        A       android/mc/src/com/saville/mc/McBase.java\n        A       android/mc/src/com/saville/mc/McMgr.java\n        M       android/mctest/.classpath\n        M       android/mctest/src/com/saville/android/mctest/McTest.java\n        M       \nandroid/mctest/src/com/saville/android/mctest/McTestClient.java\n        A       java/hmc/.classpath\n        A       java/hmc/.project\n        A       java/hmc/src/TestHmc.java\n        A       java/hmc/src/com/saville/hmc/HmcBase.java\n        A       java/hmcbase/.classpath\n        A       java/hmcbase/.project\n        M       java/mc/src/TestMc.java\n        M       java/mc/src/com/saville/mc/ActiveMc.java\n        M       java/mc/src/com/saville/mc/Mc.java\n        A       java/mc/src/com/saville/mc/McBase.java\n        T       java/mc/src/com/saville/mc/McMgr.java\n        M       java/mc/src/com/saville/mc/TcpMsgPipe.java\n        A       java/msgcomp/src/com/saville/msgcomp/IActiveMc.java\n        M       java/msgcomp/src/com/saville/msgcomp/IMc.java\n        A       java/msgcomp/src/com/saville/msgcomp/IMcMgr.java\n        M       java/msgcomp/src/com/saville/msgcomp/McId.java\nCommitted r52\n        D       android/mc/COPYING.LESSER\n        D       android/mc/COPYING\n        M       android/mc/AndroidManifest.xml\n        A       android/mc/src/com/saville/mc/Mc.java\n        A       android/mc/src/com/saville/mc/McService.java\n        A       android/mc/src/com/saville/mc/McMgr.java\n        A       android/mc/src/com/saville/mc/MsgPump.java\n        A       android/mc/src/com/saville/mc/McBase.java\n        A       android/mc/src/com/saville/mc/ActiveMc.java\n        A       android/mc/src/com/saville/mc/McActivity.java\n        D       android/mc/src/com/saville/android/mc/Mc.java\n        D       android/mc/src/com/saville/android/mc/McService.java\n        D       android/mc/src/com/saville/android/mc/McMgr.java\n        D       android/mc/src/com/saville/android/mc/ActiveMc.java\n        D       android/mc/src/com/saville/android/mc/McActivity.java\n        M       android/mc/src/com/saville/android/testmc/TestMc.java\n        M       android/mc/src/com/saville/android/testmc/TestMcService.java\n        D       android/mctest/COPYING.LESSER\n        D       android/mctest/COPYING\n        M       android/mctest/.classpath\n        M       android/mctest/src/com/saville/android/mctest/McTest.java\n        M       \nandroid/mctest/src/com/saville/android/mctest/McTestClient.java\n        D       android/serdes/COPYING.LESSER\n        D       android/serdes/COPYING\n        D       android/debug/COPYING.LESSER\n        D       android/debug/COPYING\n        D       android/hmc/COPYING.LESSER\n        D       android/hmc/COPYING\n        M       android/hmc/.classpath\n        D       android/hmc/src/com/saville/android/hmc/State.java\n        D       android/hmc/src/com/saville/android/hmc/Hmc.java\n        D       android/hmc/src/com/saville/android/hmc/IState.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestHmcClient.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestDeferredMsgs.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestUnhandledMsgs.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestHmcServer.java\n        M       android/hmc/src/com/saville/android/testhmc/TestHmc.java\n        A       android/hmc/src/com/saville/hmc/HmcBase.java\n        A       android/hmc/src/com/saville/hmc/ActiveHmc.java\n        A       android/hmc/src/com/saville/hmc/Hmc.java\n        A       android/hmc/src/com/saville/testhmc\n        D       android/TestNet1/COPYING.LESSER\n        D       android/TestNet1/COPYING\n        M       android/TestNet1/.classpath\n        M       \nandroid/TestNet1/src/com/saville/android/testnet1/TestNet1.java\n        M       java/mc/src/TestMc.java\n        D       java/mc/src/com/saville/mc/Looper.java\n        M       java/mc/src/com/saville/mc/Mc.java\n        M       java/mc/src/com/saville/mc/McMgr.java\n        A       java/mc/src/com/saville/mc/MsgPump.java\n        A       java/mc/src/com/saville/mc/McBase.java\n        M       java/mc/src/com/saville/mc/ActiveMc.java\n        M       java/mc/src/com/saville/mc/TcpMsgPipe.java\n        D       java/TestClient1/AGPLv3.LICENSE\n        A       java/hmcbase/.classpath\n        A       java/hmcbase/.project\n        D       java/serdes/COPYING.LESSER\n        D       java/serdes/COPYING\n        D       java/msgcomp/COPYING.LESSER\n        D       java/msgcomp/COPYING\n        A       java/msgcomp/src/com/saville/msgcomp/IHmc.java\n        A       java/msgcomp/src/com/saville/msgcomp/State.java\n        A       java/msgcomp/src/com/saville/msgcomp/IActiveMc.java\n        M       java/msgcomp/src/com/saville/msgcomp/IMc.java\n        A       java/msgcomp/src/com/saville/msgcomp/IState.java\n        M       java/msgcomp/src/com/saville/msgcomp/McId.java\n        A       java/msgcomp/src/com/saville/msgcomp/IMcMgr.java\n        D       java/TestMsgPipe1/AGPLv3.LICENSE\n        D       java/debug/COPYING.LESSER\n        D       java/debug/COPYING\n        D       java/TestMsgPipe2/AGPLv3.LICENSE\n        D       java/TestServer1/AGPLv3.LICENSE\n        A       java/hmc/.classpath\n        A       java/hmc/.project\n        A       java/hmc/src/TestHmc.java\n        A       java/hmc/src/com/saville/hmc/HmcBase.java\n        A       java/hmc/src/com/saville/hmc/ActiveHmc.java\n        A       java/hmc/src/com/saville/hmc/Hmc.java\n        A       java/hmc/src/com/saville/testhmc/Test.java\n        A       java/hmc/src/com/saville/testhmc/TestHmcClient.java\n        A       java/hmc/src/com/saville/testhmc/TestDeferredMsgs.java\n        A       java/hmc/src/com/saville/testhmc/TestUnhandledMsgs.java\n        A       java/hmc/src/com/saville/testhmc/TestHmcServer.java\n        A       java/src/HmcBase.java\n        A       java/src/McMgr.java\n        A       java/src/McBase.java\n        D       java/mcmaster/AGPLv3.LICENSE\n        A       COPYING.LESSER\n        A       COPYING\n        A       AGPLv3.LICENSE\nSegmentation fault (core dumped)\n"},{"id":"67055","messageId":"47A3BE6F.6080304@saville.com","threadId":"11817","inReplyTo":"47A39DFD.9020905@saville.com","subject":"Re: git-svn segmetation fault","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2008-02-02T00:50:55Z","receivedAt":"2008-02-02T00:50:55Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Wink Saville wrote:\n> I was doing an git-svn dcommit and got a seg fault. The first\n> phase of updating svn completed and then it seg faulted on the\n> second. So I suspect I'm out of sync and need to recover,\n> any guidance appreciated.\n>\n> If it's any help the svn repo is at \n> http://async-msgcomp.googlecode.com/svn.\n> If someone needs it I happen to have a backup of the git repo before\n> doing the commit and then after the seg fault.\n>\n> If there is any other information that someone needs I can try\n> to supply it.\n>\n> Cheers,\n>\n> Wink Saville\n<snip/>\n\n\n<As an update, I first tried to re-execute the dcommit, but that didn't \nwork: />\n\nwink@ic2d1:$ git-svn dcommit\nCommitting to https://async-msgcomp.googlecode.com/svn/trunk ...\nMerge conflict during commit: Your file or directory \n'android/hmc/src/com/saville' is probably out-of-date: The version \nresource does not correspond to the resource within the transaction.  \nEither the requested version resource is out of date (needs to be \nupdated), or the requested version resource is newer than the \ntransaction root (restart the commit). at /usr/bin/git-svn line 420\n\n<I than did a rebase that got me back in sync: />\n\nwink@ic2d1:$ git-svn rebase\nIndex mismatch: 94bbfa6d433192de71060d1274f0b0eab8f49a30 != \n2fcd3a5cc5a9ca062a41d0ff5ac30073f4fa23b0\nrereading 8ce31b64294bdb063c64c50b9358533ac8746af4\n        D       android/mc/COPYING.LESSER\n        D       android/mc/COPYING\n        M       android/mc/AndroidManifest.xml\n        A       android/mc/src/com/saville/mc/Mc.java\n        A       android/mc/src/com/saville/mc/McService.java\n        A       android/mc/src/com/saville/mc/McMgr.java\n        A       android/mc/src/com/saville/mc/MsgPump.java\n        A       android/mc/src/com/saville/mc/McBase.java\n        A       android/mc/src/com/saville/mc/ActiveMc.java\n        A       android/mc/src/com/saville/mc/McActivity.java\n        D       android/mc/src/com/saville/android/mc/Mc.java\n        D       android/mc/src/com/saville/android/mc/McService.java\n        D       android/mc/src/com/saville/android/mc/McMgr.java\n        D       android/mc/src/com/saville/android/mc/ActiveMc.java\n        D       android/mc/src/com/saville/android/mc/McActivity.java\n        M       android/mc/src/com/saville/android/testmc/TestMc.java\n        M       android/mc/src/com/saville/android/testmc/TestMcService.java\n        D       android/mctest/COPYING.LESSER\n        D       android/mctest/COPYING\n        M       android/mctest/.classpath\n        M       android/mctest/src/com/saville/android/mctest/McTest.java\n        M       \nandroid/mctest/src/com/saville/android/mctest/McTestClient.java\n        D       android/serdes/COPYING.LESSER\n        D       android/serdes/COPYING\n        D       android/debug/COPYING.LESSER\n        D       android/debug/COPYING\n        D       android/hmc/COPYING.LESSER\n        D       android/hmc/COPYING\n        M       android/hmc/.classpath\n        D       android/hmc/src/com/saville/android/hmc/State.java\n        D       android/hmc/src/com/saville/android/hmc/Hmc.java\n        D       android/hmc/src/com/saville/android/hmc/IState.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestHmcClient.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestDeferredMsgs.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestUnhandledMsgs.java\n        D       \nandroid/hmc/src/com/saville/android/testhmc/TestHmcServer.java\n        M       android/hmc/src/com/saville/android/testhmc/TestHmc.java\n        A       android/hmc/src/com/saville/hmc/HmcBase.java\n        A       android/hmc/src/com/saville/hmc/ActiveHmc.java\n        A       android/hmc/src/com/saville/hmc/Hmc.java\n        A       android/hmc/src/com/saville/testhmc\n        D       android/TestNet1/COPYING.LESSER\n        D       android/TestNet1/COPYING\n        M       android/TestNet1/.classpath\n        M       \nandroid/TestNet1/src/com/saville/android/testnet1/TestNet1.java\n        M       java/mc/src/TestMc.java\n        D       java/mc/src/com/saville/mc/Looper.java\n        M       java/mc/src/com/saville/mc/Mc.java\n        M       java/mc/src/com/saville/mc/McMgr.java\n        A       java/mc/src/com/saville/mc/MsgPump.java\n        A       java/mc/src/com/saville/mc/McBase.java\n        M       java/mc/src/com/saville/mc/ActiveMc.java\n        M       java/mc/src/com/saville/mc/TcpMsgPipe.java\n        D       java/TestClient1/AGPLv3.LICENSE\n        A       java/hmcbase/.classpath\n        A       java/hmcbase/.project\n        D       java/serdes/COPYING.LESSER\n        D       java/serdes/COPYING\n        D       java/msgcomp/COPYING.LESSER\n        D       java/msgcomp/COPYING\n        A       java/msgcomp/src/com/saville/msgcomp/IHmc.java\n        A       java/msgcomp/src/com/saville/msgcomp/State.java\n        A       java/msgcomp/src/com/saville/msgcomp/IActiveMc.java\n        M       java/msgcomp/src/com/saville/msgcomp/IMc.java\n        A       java/msgcomp/src/com/saville/msgcomp/IState.java\n        M       java/msgcomp/src/com/saville/msgcomp/McId.java\n        A       java/msgcomp/src/com/saville/msgcomp/IMcMgr.java\n        D       java/TestMsgPipe1/AGPLv3.LICENSE\n        D       java/debug/COPYING.LESSER\n        D       java/debug/COPYING\n        D       java/TestMsgPipe2/AGPLv3.LICENSE\n        D       java/TestServer1/AGPLv3.LICENSE\n        A       java/hmc/.classpath\n        A       java/hmc/.project\n        A       java/hmc/src/TestHmc.java\n        A       java/hmc/src/com/saville/hmc/HmcBase.java\n        A       java/hmc/src/com/saville/hmc/ActiveHmc.java\n        A       java/hmc/src/com/saville/hmc/Hmc.java\n        A       java/hmc/src/com/saville/testhmc/Test.java\n        A       java/hmc/src/com/saville/testhmc/TestHmcClient.java\n        A       java/hmc/src/com/saville/testhmc/TestDeferredMsgs.java\n        A       java/hmc/src/com/saville/testhmc/TestUnhandledMsgs.java\n        A       java/hmc/src/com/saville/testhmc/TestHmcServer.java\n        A       java/src/HmcBase.java\n        A       java/src/McMgr.java\n        A       java/src/McBase.java\n        D       java/mcmaster/AGPLv3.LICENSE\n        A       COPYING.LESSER\n        A       COPYING\n        A       AGPLv3.LICENSE\nr52 = 2336c1c70e92d572f5a1b248249b4f857142bc51 (git-svn)\nFirst, rewinding head to replay your work on top of it...\nHEAD is now at 2336c1c... Refactor to reduce duplicated code and have \npure Java Hmc/ActiveHmc.\nNothing to do.\n"},{"id":"67074","messageId":"20080202034258.GA27814@dervierte","threadId":"11817","inReplyTo":"47A3BE6F.6080304@saville.com","subject":"Re: git-svn segmetation fault","fromName":"Steven Walter","fromEmail":"stevenrwalter@gmail.com","sentAt":"2008-02-02T03:42:58Z","receivedAt":"2008-02-02T03:42:58Z","isPatch":false,"sender":{"key":"stevenrwalter@gmail.com","avatar":"https://avatars.githubusercontent.com/u/79127?v=4"},"body":"On Fri, Feb 01, 2008 at 04:50:55PM -0800, Wink Saville wrote:\n> Wink Saville wrote:\n>> I was doing an git-svn dcommit and got a seg fault. The first\n>> phase of updating svn completed and then it seg faulted on the\n>> second. So I suspect I'm out of sync and need to recover,\n>> any guidance appreciated.\n\nCan you show the contents of .git/config ?\n-- \n-Steven Walter <stevenrwalter@gmail.com>\nFreedom is the freedom to say that 2 + 2 = 4\nB2F1 0ECC E605 7321 E818  7A65 FC81 9777 DC28 9E8F \n"},{"id":"67075","messageId":"47A3E9A8.1060102@saville.com","threadId":"11817","inReplyTo":"20080202034258.GA27814@dervierte","subject":"Re: git-svn segmetation fault","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2008-02-02T03:55:20Z","receivedAt":"2008-02-02T03:55:20Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Steven Walter wrote:\n> On Fri, Feb 01, 2008 at 04:50:55PM -0800, Wink Saville wrote:\n>   \n>> Wink Saville wrote:\n>>     \n>>> I was doing an git-svn dcommit and got a seg fault. The first\n>>> phase of updating svn completed and then it seg faulted on the\n>>> second. So I suspect I'm out of sync and need to recover,\n>>> any guidance appreciated.\n>>>       \n>\n> Can you show the contents of .git/config ?\n>   \nwink@ic2d1:$ cat .git/config\n[core]\n        repositoryformatversion = 0\n        filemode = true\n        bare = false\n        logallrefupdates = true\n[svn-remote \"svn\"]\n        url = https://async-msgcomp.googlecode.com/svn/trunk\n        fetch = :refs/remotes/git-svn\n[gui]\n        geometry = 999x958+1767+172 407 407\n[remote \"origin\"]\n        url = git://192.168.0.8/async-msgcomp.git\n        fetch = +refs/heads/*:refs/remotes/origin/*\n[merge]\n        tool = kdiff3\nwink@ic2d1:$\n"},{"id":"67078","messageId":"20080202040637.GA24478@soma","threadId":"11817","inReplyTo":"47A3BE6F.6080304@saville.com","subject":"Re: git-svn segmetation fault","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2008-02-02T04:06:37Z","receivedAt":"2008-02-02T04:06:37Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Wink Saville <wink@saville.com> wrote:\n> Wink Saville wrote:\n> >I was doing an git-svn dcommit and got a seg fault. The first\n> >phase of updating svn completed and then it seg faulted on the\n> >second. So I suspect I'm out of sync and need to recover,\n> >any guidance appreciated.\n> >\n> >If it's any help the svn repo is at \n> >http://async-msgcomp.googlecode.com/svn.\n> >If someone needs it I happen to have a backup of the git repo before\n> >doing the commit and then after the seg fault.\n> >\n> >If there is any other information that someone needs I can try\n> >to supply it.\n\nWhich version of the SVN bindings do you have installed?\n\n> >Cheers,\n> >\n> >Wink Saville\n> <snip/>\n> \n> \n> <As an update, I first tried to re-execute the dcommit, but that didn't \n> work: />\n> \n> wink@ic2d1:$ git-svn dcommit\n> Committing to https://async-msgcomp.googlecode.com/svn/trunk ...\n> Merge conflict during commit: Your file or directory \n> 'android/hmc/src/com/saville' is probably out-of-date: The version \n> resource does not correspond to the resource within the transaction.  \n> Either the requested version resource is out of date (needs to be \n> updated), or the requested version resource is newer than the \n> transaction root (restart the commit). at /usr/bin/git-svn line 420\n> \n> <I than did a rebase that got me back in sync: />\n> \n> wink@ic2d1:$ git-svn rebase\n> Index mismatch: 94bbfa6d433192de71060d1274f0b0eab8f49a30 != \n> 2fcd3a5cc5a9ca062a41d0ff5ac30073f4fa23b0\n> rereading 8ce31b64294bdb063c64c50b9358533ac8746af4\n\n<snip long list of files>\n\n>        A       COPYING.LESSER\n>        A       COPYING\n>        A       AGPLv3.LICENSE\n> r52 = 2336c1c70e92d572f5a1b248249b4f857142bc51 (git-svn)\n> First, rewinding head to replay your work on top of it...\n> HEAD is now at 2336c1c... Refactor to reduce duplicated code and have \n> pure Java Hmc/ActiveHmc.\n> Nothing to do.\n\nSo it appears the dcommit succeeded in making the change to the\nrepository, but segfaulted afterwards (when attempting to retreive\nthe version number of the commit.   Is that assessment correct?\n\n-- \nEric Wong\n"},{"id":"67081","messageId":"47A3F741.6070501@saville.com","threadId":"11817","inReplyTo":"20080202040637.GA24478@soma","subject":"Re: git-svn segmetation fault","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2008-02-02T04:53:21Z","receivedAt":"2008-02-02T04:53:21Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Eric Wong wrote:\n> Wink Saville <wink@saville.com> wrote:\n>   \n>> Wink Saville wrote:\n>>     \n>>> I was doing an git-svn dcommit and got a seg fault. The first\n>>> phase of updating svn completed and then it seg faulted on the\n>>> second. So I suspect I'm out of sync and need to recover,\n>>> any guidance appreciated.\n>>>\n>>> If it's any help the svn repo is at \n>>> http://async-msgcomp.googlecode.com/svn.\n>>> If someone needs it I happen to have a backup of the git repo before\n>>> doing the commit and then after the seg fault.\n>>>\n>>> If there is any other information that someone needs I can try\n>>> to supply it.\n>>>       \n>\n> Which version of the SVN bindings do you have installed?\n>\n>   \nI've installed 1.4.4 as supplied in ubuntu 7.10.\n"},{"id":"67141","messageId":"20080202160332.GA25945@dervierte","threadId":"11817","inReplyTo":"47A3E9A8.1060102@saville.com","subject":"Re: git-svn segmetation fault","fromName":"Steven Walter","fromEmail":"stevenrwalter@gmail.com","sentAt":"2008-02-02T16:03:32Z","receivedAt":"2008-02-02T16:03:32Z","isPatch":false,"sender":{"key":"stevenrwalter@gmail.com","avatar":"https://avatars.githubusercontent.com/u/79127?v=4"},"body":"On Fri, Feb 01, 2008 at 07:55:20PM -0800, Wink Saville wrote:\n>> Can you show the contents of .git/config ?\n>>   \n[...]\n> [svn-remote \"svn\"]\n>        url = https://async-msgcomp.googlecode.com/svn/trunk\n>        fetch = :refs/remotes/git-svn\n\nThere's your problem.  The url line should only contain the SVN root.\nIf you change it thusly:\n\n    [svn-remote \"svn\"]\n        url = https://async-msgcomp.googlecode.com/svn\n        fetch = trunk:refs/remotes/git-svn\n\nIt will no longer segfault.  I had the same issue with a repository of\nmy own.\n-- \n-Steven Walter <stevenrwalter@gmail.com>\nFreedom is the freedom to say that 2 + 2 = 4\nB2F1 0ECC E605 7321 E818  7A65 FC81 9777 DC28 9E8F \n"},{"id":"67156","messageId":"47A4BCE8.5030308@saville.com","threadId":"11817","inReplyTo":"20080202160332.GA25945@dervierte","subject":"Re: git-svn segmetation fault","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2008-02-02T18:56:40Z","receivedAt":"2008-02-02T18:56:40Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Steven Walter wrote:\n> On Fri, Feb 01, 2008 at 07:55:20PM -0800, Wink Saville wrote:\n>   \n>>> Can you show the contents of .git/config ?\n>>>   \n>>>       \n> [...]\n>   \n>> [svn-remote \"svn\"]\n>>        url = https://async-msgcomp.googlecode.com/svn/trunk\n>>        fetch = :refs/remotes/git-svn\n>>     \n>\n> There's your problem.  The url line should only contain the SVN root.\n> If you change it thusly:\n>\n>     [svn-remote \"svn\"]\n>         url = https://async-msgcomp.googlecode.com/svn\n>         fetch = trunk:refs/remotes/git-svn\n>\n> It will no longer segfault.  I had the same issue with a repository of\n>   \n> my own.\n>   \n<I did that but a rebase command resulted in: />\n\nwink@ic2d1:$ git svn rebase\nUnable to determine upstream SVN information from working tree history\n\n<I've bee using git-svn for a few days without trouble. Do I need\nthe do another \"git svn clone\" using the base url rather than\npointing to the trunk? />\n"},{"id":"67159","messageId":"20080202210348.GA11722@dervierte","threadId":"11817","inReplyTo":"47A4BCE8.5030308@saville.com","subject":"Re: git-svn segmetation fault","fromName":"Steven Walter","fromEmail":"stevenrwalter@gmail.com","sentAt":"2008-02-02T21:03:48Z","receivedAt":"2008-02-02T21:03:48Z","isPatch":false,"sender":{"key":"stevenrwalter@gmail.com","avatar":"https://avatars.githubusercontent.com/u/79127?v=4"},"body":"On Sat, Feb 02, 2008 at 10:56:40AM -0800, Wink Saville wrote:\n> <I did that but a rebase command resulted in: />\n>\n> wink@ic2d1:$ git svn rebase\n> Unable to determine upstream SVN information from working tree history\n>\n> <I've bee using git-svn for a few days without trouble. Do I need\n> the do another \"git svn clone\" using the base url rather than\n> pointing to the trunk? />\n\nYou shouldn't have to clone again.  First time removing .git/svn, then\nrunning \"git svn fetch\" (which ought to rebuild what was there).  You\nought to be able to rebase after that.\n-- \n-Steven Walter <stevenrwalter@gmail.com>\nFreedom is the freedom to say that 2 + 2 = 4\nB2F1 0ECC E605 7321 E818  7A65 FC81 9777 DC28 9E8F \n"},{"id":"67169","messageId":"47A51737.7050905@saville.com","threadId":"11817","inReplyTo":"20080202210348.GA11722@dervierte","subject":"Re: git-svn segmetation fault","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2008-02-03T01:21:59Z","receivedAt":"2008-02-03T01:21:59Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Steven Walter wrote:\n> On Sat, Feb 02, 2008 at 10:56:40AM -0800, Wink Saville wrote:\n>   \n>> <I did that but a rebase command resulted in: />\n>>\n>> wink@ic2d1:$ git svn rebase\n>> Unable to determine upstream SVN information from working tree history\n>>\n>> <I've bee using git-svn for a few days without trouble. Do I need\n>> the do another \"git svn clone\" using the base url rather than\n>> pointing to the trunk? />\n>>     \n>\n> You shouldn't have to clone again.  First time removing .git/svn, then\n> running \"git svn fetch\" (which ought to rebuild what was there).  You\n> ought to be able to rebase after that.\n>   \nI've messed something up, I've just re-cloned and all is well.\n\nActually, a related question which you seem to imply from\nyour answer to the crash. I have the local git repo and also\none on a local server which I created as follows:\n\nlocal$: git svn clone -s https://async-msgcomp.googlecode.com/svn amc\nlocal$: ssh srvr\nsrvr$: cd <to local server/path to repo>\nsrvr$: mkdir amc.git\nsrvr$: cd amc.git\nsrvr$: git --bare init --shared\nsrvr$: exit\nlocal$: cd amc\nlocal$: git remote add origin git:<to local server/path to repo/amc.git>\nlocal$: git push --all\n\n\n\nSo at this point amc/.git/config looks like:\n\n[core]\n        repositoryformatversion = 0\n        filemode = true\n        bare = false\n        logallrefupdates = true\n[svn-remote \"svn\"]\n        url = https://async-msgcomp.googlecode.com/svn\n        fetch = trunk:refs/remotes/trunk\n        branches = branches/*:refs/remotes/*\n        tags = tags/*:refs/remotes/tags/*\n[remote \"origin\"]\n        url = git://192.168.0.8/amc.git\n        fetch = +refs/heads/*:refs/remotes/origin/*\nwink@ic2d1:$\n\n\n\n\nI now have three repositories one local git repo, one git repo on srvr\nand one svn repo at googlecode.com. I feel really good and backed up\nto the max:) But assume the svn repo is huge and the initial git svn\nclone takes a long time.\n\nWhat steps would be needed to recreate a \"local git repo\" from the\n\"git repo on srvr\" that I could use against the svn repo?\n\nI tried a little test, I cloned my git repo on srvr locally to amc-xx\nand added the [svn-remote \"svn\"] section to amc-xx/.git/config\nand then did a git-svn fetch. From what happened it looks like I\njust did a git svn clone and didn't save any time.\n\nAlso, a follow up can I create an svn repo from a git repo.\n\nAnyway, thanks for the help,\n\nWink\n"},{"id":"67176","messageId":"20080203024225.GA23647@dervierte","threadId":"11817","inReplyTo":"47A51737.7050905@saville.com","subject":"Re: git-svn segmetation fault","fromName":"Steven Walter","fromEmail":"stevenrwalter@gmail.com","sentAt":"2008-02-03T02:42:25Z","receivedAt":"2008-02-03T02:42:25Z","isPatch":false,"sender":{"key":"stevenrwalter@gmail.com","avatar":"https://avatars.githubusercontent.com/u/79127?v=4"},"body":"On Sat, Feb 02, 2008 at 05:21:59PM -0800, Wink Saville wrote:\n> What steps would be needed to recreate a \"local git repo\" from the\n> \"git repo on srvr\" that I could use against the svn repo?\n>\n> I tried a little test, I cloned my git repo on srvr locally to amc-xx\n> and added the [svn-remote \"svn\"] section to amc-xx/.git/config\n> and then did a git-svn fetch. From what happened it looks like I\n> just did a git svn clone and didn't save any time.\n\nAfter adding the svn-remote section, you'll want to copy\n.git/refs/remotes/origin/master to .git/refs/remotes/git-svn.  After\ndoing that, \"git svn fetch\" should see that you have all the needed\ncommits and do a quick rebuild of its metadata.\n\n> Also, a follow up can I create an svn repo from a git repo.\n\nI've not done it, but it should be possible.  You would create the new\nsvn repository with a single empty commit (as empty as SVN would allow).\nImport that revision into your git repository with git-svn.  Then you\nwould either rebase or use grafts to make all of your git commits a\ndescendent of that single svn commit.  In that way, the next time you\nrun \"git svn dcommit\" it will see all your local git commits as new\ncommits to send to subversion.\n\nNo guarantees though, as I've not tried it.\n-- \n-Steven Walter <stevenrwalter@gmail.com>\nFreedom is the freedom to say that 2 + 2 = 4\nB2F1 0ECC E605 7321 E818  7A65 FC81 9777 DC28 9E8F \n"},{"id":"67263","messageId":"47A63547.9080801@saville.com","threadId":"11817","inReplyTo":"20080203024225.GA23647@dervierte","subject":"Re: git-svn segmetation fault","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2008-02-03T21:42:31Z","receivedAt":"2008-02-03T21:42:31Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Steven Walter wrote:\n> On Sat, Feb 02, 2008 at 05:21:59PM -0800, Wink Saville wrote:\n>   \n>> What steps would be needed to recreate a \"local git repo\" from the\n>> \"git repo on srvr\" that I could use against the svn repo?\n>>\n>> I tried a little test, I cloned my git repo on srvr locally to amc-xx\n>> and added the [svn-remote \"svn\"] section to amc-xx/.git/config\n>> and then did a git-svn fetch. From what happened it looks like I\n>> just did a git svn clone and didn't save any time.\n>>     \n>\n> After adding the svn-remote section, you'll want to copy\n> .git/refs/remotes/origin/master to .git/refs/remotes/git-svn.  After\n> doing that, \"git svn fetch\" should see that you have all the needed\n> commits and do a quick rebuild of its metadata.\n>\n>   \n>> Also, a follow up can I create an svn repo from a git repo.\n>>     \n>\n> I've not done it, but it should be possible.  You would create the new\n> svn repository with a single empty commit (as empty as SVN would allow).\n> Import that revision into your git repository with git-svn.  Then you\n> would either rebase or use grafts to make all of your git commits a\n> descendent of that single svn commit.  In that way, the next time you\n> run \"git svn dcommit\" it will see all your local git commits as new\n> commits to send to subversion.\n>\n> No guarantees though, as I've not tried it.\n>   \nSteve,\n\nThat worked thanks, I did make some minor adjustments as when\nI recloned I used the \"-s\" switch because my svn repo was in standard\nformat so rather than copying master to .git/refs/remotes/git-svn I copied\nit to .git/refs/remotes/trunk. I also used git svn init to create the \nremotes\nsection instead of editing .git/config directly. So the following worked\nfor me:\n\nlcl ~/ $ git clone git://srv/amc.git amc\nlcl ~/ $ cd amc\nlcl ~/amc $ git svn init -s http://async-msgcomp.googlecode.com/svn\nlcl ~/amc $ rm -rf .git/svn\nlcl ~/amc $ cp .git/refs/remotes/origin/master .git/refs/remotes/trunk\nlcl ~/amc $ git svn fetch\n\n\nIt would seem creating a \"git svn connect\" command which did the above\nmight be nice. I took a quick look at git-svn and decided that since I \ndon't know\nperl and git-svn was almost 5000 LOC it would be dangerous for me to try\nto make the change:)\n\nThanks for all of your help.\n\nWink\n"}]}