P3D2::MacHg 0.9.16 regularly crashes

Issue #215 resolved
richard_liu created an issue

I am running MacHg 0.9.16 on OS X 10.6.6. It is regularly but unexpectedly crashing. Such crashes were much, much rarer in the preceding version. This time I thought to look in the Console log. Here is a message regarding this incident:

3/17/11 9:25:50 com.apple.launchd.peruser.502[114] ([0x0-0x383383].com.jasonfharris.MachHg[16700]) Exited abnormally: Broken pipe

Here are the contents of the /private/tmp/MacHgTransactionLog.old:


MacHg issued(2011-03-17 09:17:26 +0100):
/Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /tmp extensions
Result code was:0
Standard out was:
extensions.hgext.extdiff=
extensions.hgext.bookmarks=
extensions.hgext.mq=
extensions.hgext.rebase=
extensions.hgext.histedit=
extensions.hgext.collapse=
extensions.hgext.cedit=
extensions.hgext.combinedinfo=

Standard error was:

MacHg issued(2011-03-17 09:17:26 +0100):
/Applications/MacHg.app/Contents/Resources/localhg cedit --cwd /tmp --config hgext.cedit= --add ui.ignore = /Users/sim/.hgignore --file /Users/sim/Library/Application Support/MacHg/hgrc
Result code was:0
Standard out was:
Property set in /Users/sim/Library/Application Support/MacHg/hgrc

Standard error was:

MacHg issued(2011-03-17 09:17:26 +0100):
/Applications/MacHg.app/Contents/Resources/localhg cedit --cwd /tmp --config hgext.cedit= --add ui.ignore.other = /Users/sim/Library/Application Support/MacHg/hgignore --file /Users/sim/Library/Application Support/MacHg/hgrc
Result code was:0
Standard out was:
Property set in /Users/sim/Library/Application Support/MacHg/hgrc

Standard error was:

MacHg issued(2011-03-17 09:17:27 +0100):
/Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /tmp web.cacerts
Result code was:0
Standard out was:
/Users/sim/Library/Application Support/MacHg/TrustedCertificates.pem

Standard error was:

MacHg issued(2011-03-17 09:17:27 +0100):
/Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /tmp ui.username
Result code was:0
Standard out was:
Richard R. Liu richard.liu@roche.com

Standard error was:

MacHg issued(2011-03-17 09:17:32 +0100):
/Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /Users/sim/RDR Classification/Development/Programs paths
Result code was:0
Standard out was:

Standard error was:

MacHg issued(2011-03-17 09:17:32 +0100):
/Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /Users/sim/RDR Classification/Development/Programs paths
Result code was:0
Standard out was:

Standard error was:

MacHg issued(2011-03-17 09:17:53 +0100):
/Applications/MacHg.app/Contents/Resources/localhg pull --cwd /Users/sim/RDR Classification/Development/Programs --noninteractive --update --insecure /Volumes/sim/RDR Classification/Development/Programs
Result code was:0
Standard out was:
pulling from /Volumes/sim/RDR Classification/Development/Programs
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

Standard error was:

MacHg issued(2011-03-17 09:17:53 +0100):
/Applications/MacHg.app/Contents/Resources/localhg debugignore --cwd /Users/sim/RDR Classification/Development/Programs
Result code was:0
Standard out was:
(?:(?:|./).DS_Store(?:/|$)|^.hg|^.mq|..DS_Store|..Trash|(?:|./).DS_Store(?:/|$))

Standard error was:

MacHg issued(2011-03-17 09:25:28 +0100):
/Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /Users/sim/RDR Classification/Development/Eclipse Workspace/Programs for RDR Classification paths
Result code was:0
Standard out was:
paths.default=/Users/sim/RDR Classification/Development/Programs

Standard error was:

MacHg issued(2011-03-17 09:25:29 +0100):
/Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /Users/sim/RDR Classification/Development/Eclipse Workspace/Programs for RDR Classification paths
Result code was:0
Standard out was:
paths.default=/Users/sim/RDR Classification/Development/Programs

Standard error was:

MacHg issued(2011-03-17 09:25:41 +0100):
/Applications/MacHg.app/Contents/Resources/localhg pull --cwd /Users/sim/RDR Classification/Development/Eclipse Workspace/Programs for RDR Classification --noninteractive --update --insecure /Users/sim/RDR Classification/Development/Programs
Result code was:0
Standard out was:
pulling from /Users/sim/RDR Classification/Development/Programs
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

Standard error was:

MacHg issued(2011-03-17 09:25:41 +0100):
/Applications/MacHg.app/Contents/Resources/localhg debugignore --cwd /Users/sim/RDR Classification/Development/Eclipse Workspace/Programs for RDR Classification
Result code was:0
Standard out was:
(?:(?:|./).DS_Store(?:/|$)|^.hg|^.mq|..DS_Store|..Trash|(?:|./).DS_Store(?:/|$))

Standard error was:


Can I supply more information?

Comments (5)

  1. Jason Harris repo owner
    • changed status to open

    You could if you are game, (1) clone the repository to your local machine, (2) Double click the IB plugin MacHg/LinkedLibraries/BWToolkit/BWToolkit.ibplugin, (3) Compile and run.

    Then add a break point for objc_exception_throw see http://stackoverflow.com/questions/1163981/how-to-add-a-breakpoint-to-objc-exception-throw

    Then run it and catch the crash in the debugger and then send me a stack trace, and screen shot. BTW can you use the source code at revision 640 (ie the released MacHg 0.9.16)

    Thanks, Jas

  2. richard_liu reporter

    Jason,

    I haven't the foggiest idea about all that. I am using MacHg to maintain a distributed versioning repository of statistical programs written in R. I am not doing classical development, hence I haven't a clue about "compile and run". Do you think you could supply what you need in executable form? I am presuming you mean MacHg/LinkedLibraries/BWToolkit/BWToolkit.ibplugin in bitbucket, not my installed MacHg. When I double-click BWToolkit.ibplugin (in Safari) I just see the Contents folder. I am not even sure I can manage to set the breakpoints in Xcode. I just fired it up, and it seems I need a project first????

    Regards, Richard

  3. Jason Harris repo owner

    Ahhh... sorry... Don't worry about it then :) Hopefully I can get this fixed by other means.

    I'll set up an ichat session with you if I can't get this found and fixed by other means. How many crashes are you getting and how often? Ie every other command. Every 10th command? Once a day? Only on WAN network activity (push/pull/incoming/outgoing)?

    Thanks, Jas

  4. Log in to comment