[Bug 6637] New: Sometimes "array index out of range" error when pushing new commits

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jan 25 12:23:29 UTC 2022


https://bz.mercurial-scm.org/show_bug.cgi?id=6637

            Bug ID: 6637
           Summary: Sometimes "array index out of range" error when
                    pushing new commits
           Product: Mercurial
           Version: 5.9.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: evolution
          Assignee: bugzilla at mercurial-scm.org
          Reporter: sylwek+hg at isp.net.pl
                CC: mercurial-devel at mercurial-scm.org,
                    pierre-yves.david at ens-lyon.org
    Python Version: ---

When pushing new commits from local mercurial repository using hg from
TortoiseHg install to remote on network share (Samba on Synology NAS) sometimes
i got error:

% hg push "R:\Remote\Directory"
pushing to R:\Remote\Directory
searching for changes
adding changesets
adding manifests
adding file changes
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [MSC v.1500 64 bit
(AMD64)]
** Mercurial Distributed SCM (version 5.9.2)
** Extensions loaded: evolve 10.3.3, extdiff, histedit, mq, rebase, strip,
tortoisehg.util.hgcommands, tortoisehg.util.hgdispatch,
tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [MSC v.1500 64 bit
(AMD64)]
** Mercurial Distributed SCM (version 5.9.2)
** Extensions loaded: evolve 10.3.3, extdiff, histedit, mq, rebase, strip,
tortoisehg.util.hgcommands, tortoisehg.util.hgdispatch,
tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill
Traceback (most recent call last):
  File "hg", line 58, in <module>
  File "mercurial\dispatch.pyo", line 144, in run
  File "mercurial\dispatch.pyo", line 250, in dispatch
  File "mercurial\dispatch.pyo", line 294, in _rundispatch
  File "mercurial\dispatch.pyo", line 470, in _runcatch
  File "mercurial\dispatch.pyo", line 480, in _callcatch
  File "mercurial\scmutil.pyo", line 153, in callcatch
  File "mercurial\dispatch.pyo", line 460, in _runcatchfunc
  File "mercurial\dispatch.pyo", line 1274, in _dispatch
  File "mercurial\dispatch.pyo", line 918, in runcommand
  File "mercurial\dispatch.pyo", line 1285, in _runcommand
  File "mercurial\dispatch.pyo", line 1271, in <lambda>
  File "mercurial\util.pyo", line 1886, in check
  File "mercurial\util.pyo", line 1886, in check
  File "hgext\mq.pyo", line 4239, in mqcommand
  File "mercurial\util.pyo", line 1886, in check
  File "mercurial\commands.pyo", line 6611, in serve
  File "mercurial\server.pyo", line 167, in runservice
  File "mercurial\commandserver.pyo", line 469, in run
  File "mercurial\commandserver.pyo", line 403, in serve
  File "mercurial\commandserver.pyo", line 377, in serveone
  File "mercurial\commandserver.pyo", line 358, in runcommand
  File "mercurial\commandserver.pyo", line 297, in _dispatchcommand
  File "mercurial\dispatch.pyo", line 250, in dispatch
  File "mercurial\dispatch.pyo", line 294, in _rundispatch
  File "mercurial\dispatch.pyo", line 470, in _runcatch
  File "mercurial\dispatch.pyo", line 480, in _callcatch
  File "mercurial\scmutil.pyo", line 153, in callcatch
  File "mercurial\dispatch.pyo", line 460, in _runcatchfunc
  File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
  File "mercurial\dispatch.pyo", line 1274, in _dispatch
  File "mercurial\dispatch.pyo", line 918, in runcommand
  File "mercurial\dispatch.pyo", line 1285, in _runcommand
  File "mercurial\dispatch.pyo", line 1271, in <lambda>
  File "mercurial\util.pyo", line 1886, in check
  File "mercurial\util.pyo", line 1886, in check
  File "hgext\mq.pyo", line 4239, in mqcommand
  File "mercurial\util.pyo", line 1886, in check
  File "mercurial\commands.pyo", line 5787, in push
  File "mercurial\extensions.pyo", line 512, in closure
  File "hgext3rd\evolve\__init__.pyo", line 573, in push
  File "mercurial\exchange.pyo", line 476, in push
  File "mercurial\exchange.pyo", line 1150, in _pushbundle2
  File "mercurial\thirdparty\concurrent\futures\_base.pyo", line 457, in result
  File "mercurial\localrepo.pyo", line 283, in callcommand
  File "mercurial\localrepo.pyo", line 409, in unbundle
  File "mercurial\exchange.pyo", line 2698, in unbundle
  File "mercurial\transaction.pyo", line 44, in _active
  File "mercurial\transaction.pyo", line 621, in close
  File "mercurial\localrepo.pyo", line 2763, in updater
  File "mercurial\localrepo.pyo", line 236, in wrapper
  File "hgext3rd\evolve\obscache.pyo", line 488, in updatecaches
  File "mercurial\localrepo.pyo", line 236, in wrapper
  File "hgext3rd\evolve\firstmergecache.pyo", line 65, in updatecaches
  File "mercurial\localrepo.pyo", line 236, in wrapper
  File "hgext3rd\evolve\depthcache.pyo", line 92, in updatecaches
  File "mercurial\localrepo.pyo", line 236, in wrapper
  File "hgext3rd\evolve\stablesort.pyo", line 973, in updatecaches
  File "mercurial\localrepo.pyo", line 215, in __get__
  File "mercurial\util.pyo", line 1765, in __get__
  File "hgext3rd\evolve\stablesort.pyo", line 961, in stablesort
  File "hgext3rd\evolve\genericcaches.pyo", line 122, in update
  File "hgext3rd\evolve\stablesort.pyo", line 873, in _updatefrom
  File "hgext3rd\evolve\stablesort.pyo", line 847, in _setjumps
IndexError: array index out of range
cmdserver: process exited unexpectedly with code 255

Tried verifying (both local and remote repositories), but it does not find
anything suspicious:
% hg verify -v
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
checked 11 changesets with 16 changes to 7 files

Push goes correctly, because pull correctly shows phase public changed from
draft:
% hg pull --verbose "R:\Remote\Directory"
pulling from R:\Remote\Directory
searching for changes
no changes found
1 local changesets published

I can push second time instead of pull and shows there is nothing to push - it
also updates phases:
% hg push "R:\Remote\Directory"
pushing to R:\Remote\Directory
searching for changes
no changes found

Can i do anything to help find or fix issue?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list