[Bug 4327] New: Crash when running `hg evolve --any`

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun Aug 10 16:46:03 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4327

          Priority: normal
            Bug ID: 4327
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Crash when running `hg evolve --any`
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: faheem at faheem.info
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.0.1
         Component: evolution
           Product: Mercurial

I have a repos which is crashes when I run `hg evolve --any`. 
I'll save this repos in case anyone cares. Output of

    hg log -l20 -GT '{rev} {desc|firstline}'

@  716 Speed up database loading.
|
| o  715 Remove debian/get-orig-source.
| |
| o  714 Override default sdist with CustomSdist class to build orig tarball.
| |
| o    713 Branch merge with debian branch. Henceforth the debian/ directory
will be in the default branch.
| |\
+---o  712 * write_data_file: Remove.
| |
o |  711 Add 'id' as an argument to the Gene class, corresponding to the gene
table.
| |
o |  710 Remove 'startpos' and 'endpos' from write_data_file_partial. Rename to
write_data_file. Function now processes entire gene.
| |
o |  709 Throw error if stated model length is smaller than actual (incomplete)
model length.
| |
| o  708 Branch merge with default.
|/|
o |  707 Check that the data frames True, Sim, and Data are not empty in
'get_stat'.
| |
o |  706 Bugfix in load_sequence_dataset. Forgot to check for simulated = 'f'
in conditional.
| |
o |  705 Typo fix in make_sequencestatgroup_table docstring.
| |
| o  704 Branch merge with default.
|/|
o |  703 Add score column to crossval table.
| |
o |  702 simann: Check that method string is correct.
| |
o |  701 Add 'search' boolean column to Crossvalgroup table. Change constraint
| |
o |  700 Bugfix in crossval function.
| |
o |  699 Correctly specify location of local 'default_conf.yaml'.
| |
o |  698 Add comments to linsplit::method. Exit from simann is model has length
<= 1.
| |
o |  697 On second thoughts, per Jarod42's suggestion in
http://stackoverflow.com/a/24530120/350713,
| |

faheem at orwell:~/corrmodel/corrmodel-0.1-new-problem$ hg log -r 'troubled()'
changeset:   716:b67b40fe80ba
tag:         tip
phase:       draft
parent:      711:56eb5a22cc7b
user:        Faheem Mitha <faheem at faheem.info>
date:        Sun Aug 03 18:08:12 2014 +0530
summary:     Speed up database loading.

Traceback:

faheem at orwell:~/corrmodel/corrmodel-0.1-new-problem$ hg evolve --any
recreate:[716] Speed up database loading.
atop:[712] * write_data_file: Remove.
computing new diff
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.3 (default, Mar 13 2014, 11:03:55) [GCC 4.7.2]
** Mercurial Distributed SCM (version 3.0.1)
** Extensions loaded: churn, color, convert, extdiff, graphlog, hgk, keyword,
strip, mq, pager, patchbomb, purge, rebase, record, schemes, progress,
histedit, shelve, evolve
Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 28, in
run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 69, in
dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 138, in
_runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 819, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 599, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in
wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/pager.py", line 138, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in
wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 431, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 910, in
_runcommand
    return checkargs()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 881, in
checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 816, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 518, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 151, in
wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 518, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3391, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 518, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/evolve.py", line 1251, in evolve
    result = _evolveany(ui, repo, tr, dryrunopt, progresscb=progresscb)
  File "/usr/lib/python2.7/dist-packages/hgext/evolve.py", line 1271, in
_evolveany
    return _solvebumped(ui, repo, tr, dryrunopt, progresscb)
  File "/usr/lib/python2.7/dist-packages/hgext/evolve.py", line 1434, in
_solvebumped
    for key, val in bumped.manifest().iteritems():
RuntimeError: dictionary changed size during iteration
faheem at orwell:~/corrmodel/corrmodel-0.1-new-problem$ 

faheem at orwell:~/corrmodel/corrmodel-0.1-new-problem$ hg --version
Mercurial Distributed SCM (version 3.0.1)

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


More information about the Mercurial-devel mailing list