TortoiseHg Crashes When opening a repo in a virtual machine.

Anonymous avatarAnonymous created an issue

I have a large repo I am trying to clone. Since the repo is large, I pull the default branch and then pull the rest of the branches and changesets. If I pull only the default branch, Tortoise Hg UI works fine. I can then normally pull the rest of the branches with really no problems except it being slow. When I try to open the repo after pulling the rest of the branches it crashes. It will sit there and take a good 5 - 7 minutes to try and load at which the UI will look like it will open the local repo and then it will crash.

Comments (11)

  1. Jonathan Fauser

    If you open Tortoise Hg using the command line then try to open the repo, after awhile the terminal spits out multiple errors (this is just a sample):

    X Error: BadGC (invalid GC parameter) 13

    Major opcode: 60 (X_FreeGC)

    Resource id: 0x3a006a8

    X Error: BadGC (invalid GC parameter) 13

    Major opcode: 60 (X_FreeGC)

    Resource id: 0x3a006a8

    X Error: BadDrawable (invalid Pixmap or Window parameter) 9

    Major opcode: 73 (X_GetImage)

    Resource id: 0x3a008d1

    QPainter::end: Painter ended with 2 saved states

    terminate called after throwing an instance of 'std::bad_alloc'

    what(): std::bad_alloc

    Aborted (core dumped)

  2. Jonathan Fauser

    I can not pull every branch in at once. It starts going through the process of cloning then says transaction abort!, rollback completed, abort: stream ended unexpectedly.

    Not able to look at the log file cause there is no repo.

  3. Yuya Nishihara

    cloning then says transaction abort!, rollback completed

    then, how about pulling by revision number? i.e. hg pull -r10000, hg pull -r20000, ...

    Not able to look at the log file cause there is no repo.

    oops, I wanted to see the hg log -G output of the repo causing std::bad_alloc.

  4. Jonathan Fauser

    I noticed that if I pull by revision numbers in a terminal with Tortoise running, then the changes will take affect and it will not crash. When I get most to all of the branches and close Tortoise, re-open it, and try to open the repo, it crashes.

    The log file looked fine. I did not see any discrepancies.

  5. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.