Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memleak in MultiModularBasis_base__extend_moduli_to_height_c exposed by ModularSymbols(n,sign=1).decomposition() #561

Closed
sagetrac-mabshoff mannequin opened this issue Sep 2, 2007 · 2 comments
Assignees
Milestone

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Sep 2, 2007

Hello folks,

for n in range(10,100): a=ModularSymbols(n,sign=1).decomposition(); print n, get_memory_usage()

causes (among other things) the following:

==5107== 2,128 bytes in 133 blocks are definitely lost in loss record 2,338 of 2,944
==5107==    at 0x4A0590B: realloc (vg_replace_malloc.c:306)
==5107==    by 0x94A8760: __gmpz_realloc (in /tmp/Work2/sage-2.8.3.rc3/local/lib/libgmp.so.3.4.1)
==5107==    by 0x94A55E8: __gmpz_mul_2exp (in /tmp/Work2/sage-2.8.3.rc3/local/lib/libgmp.so.3.4.1)
==5107==    by 0x1F4BF558: __pyx_f_13multi_modular_22MultiModularBasis_base__extend_moduli_to_height_c (multi_modular.c:2760
)
==5107==    by 0x1F4BEA56: __pyx_f_13multi_modular_22MultiModularBasis_base__extend_moduli_to_height (multi_modular.c:2688)
==5107==    by 0x4156A2: PyObject_Call (abstract.c:1860)
==5107==    by 0x47DB71: PyEval_CallObjectWithKeywords (ceval.c:3433)
==5107==    by 0x1F4BD032: __pyx_f_13multi_modular_22MultiModularBasis_base___init__ (multi_modular.c:2618)
==5107==    by 0x45A321: type_call (typeobject.c:436)
==5107==    by 0x4156A2: PyObject_Call (abstract.c:1860)
==5107==    by 0x47DB71: PyEval_CallObjectWithKeywords (ceval.c:3433)
==5107==    by 0x2041FF67: __pyx_f_20matrix_integer_dense_20Matrix_integer_dense__multiply_multi_modular (matrix_integer_den
se.c:7503)

Cheers,

Tagged for 2.8.4

Michael

Component: memleak

Issue created by migration from https://trac.sagemath.org/ticket/561

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.8.4 milestone Sep 2, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin added t: bug labels Sep 2, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this Sep 2, 2007
@williamstein williamstein modified the milestones: sage-2.8.4, sage-2.9 Sep 7, 2007
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Oct 14, 2007

comment:3

patch is attached to #559, but will be submitted by me as a mercurial patch.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-2.9, sage-2.8.8 Oct 14, 2007
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Oct 16, 2007

Attachment: sage-2.8.7.rc1-fix-small-memleaks-in_MultiModularBasis_base.patch.gz

burcin's fix extracted from the patch for #559

vbraun pushed a commit to vbraun/sage that referenced this issue Apr 11, 2024
….0.0 to 2.0.1

    
Bumps [myrotvorets/set-commit-status-
action](https://github.com/myrotvorets/set-commit-status-action) from
2.0.0 to 2.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/myrotvorets/set-commit-
status-action/releases">myrotvorets/set-commit-status-action's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.6.0
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/440">myrotvorets/set-commit-status-action#440</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/441">myrotvorets/set-commit-status-action#441</a></li>
<li>chore(deps): update dependency <code>@​actions/core</code> to
v1.10.1 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/442">myrotvorets/set-commit-status-action#442</a></li>
<li>chore(deps): update dependency <code>@​octokit/webhooks-types</code>
to v7.3.0 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/443">myrotvorets/set-commit-status-action#443</a></li>
<li>chore(deps): update github/codeql-action digest to 701f152 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/444">myrotvorets/set-commit-status-action#444</a></li>
<li>chore(deps): update github/codeql-action digest to 04daf01 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/445">myrotvorets/set-commit-status-action#445</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.6.1
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/446">myrotvorets/set-commit-status-action#446</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.6.2
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/447">myrotvorets/set-commit-status-action#447</a></li>
<li>chore(deps): update dependency <code>@​octokit/webhooks-types</code>
to v7.3.1 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/448">myrotvorets/set-commit-status-action#448</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/449">myrotvorets/set-commit-status-action#449</a></li>
<li>chore(deps): update github/codeql-action digest to 6a28655 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/450">myrotvorets/set-commit-status-action#450</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.6.3
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/451">myrotvorets/set-commit-status-action#451</a></li>
<li>chore(deps): update actions/checkout digest to 8ade135 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/452">myrotvorets/set-commit-status-action#452</a></li>
<li>chore(deps): update actions/checkout action to v4.1.0 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/453">myrotvorets/set-commit-status-action#453</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.6.4
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/454">myrotvorets/set-commit-status-action#454</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.6.5
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/455">myrotvorets/set-commit-status-action#455</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/456">myrotvorets/set-commit-status-action#456</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.7.0
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/457">myrotvorets/set-commit-status-action#457</a></li>
<li>chore(deps): update github/codeql-action digest to ddccb87 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/458">myrotvorets/set-commit-status-action#458</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.7.1
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/459">myrotvorets/set-commit-status-action#459</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.7.2
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/460">myrotvorets/set-commit-status-action#460</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.8.0
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/461">myrotvorets/set-commit-status-action#461</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.8.2
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/462">myrotvorets/set-commit-status-action#462</a></li>
<li>chore(deps): update github/codeql-action digest to 2cb752a by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/463">myrotvorets/set-commit-status-action#463</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to v20.8.3
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/464">myrotvorets/set-commit-status-action#464</a></li>
<li>chore(deps): update dependency <code>@​myrotvorets/eslint-config-
myrotvorets-ts</code> to ^2.21.0 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/465">myrotvorets/set-commit-status-action#465</a></li>
<li>chore(deps): update dependency typescript to ^5.2.2 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/466">myrotvorets/set-commit-status-action#466</a></li>
<li>chore(deps): update devdependencies (non-major) by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/467">myrotvorets/set-commit-status-action#467</a></li>
<li>chore(deps): update github/codeql-action digest to fdcae64 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/468">myrotvorets/set-commit-status-action#468</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to ^20.8.4
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/469">myrotvorets/set-commit-status-action#469</a></li>
<li>chore(deps): update dependency <code>@​actions/github</code> to v6
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/470">myrotvorets/set-commit-status-action#470</a></li>
<li>chore(deps): update dependency <code>@​myrotvorets/eslint-config-
myrotvorets-ts</code> to ^2.22.4 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/471">myrotvorets/set-commit-status-action#471</a></li>
<li>chore(deps): update github/codeql-action digest to d90b8d7 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/472">myrotvorets/set-commit-status-action#472</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to ^20.8.5
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/473">myrotvorets/set-commit-status-action#473</a></li>
<li>chore(deps): update dependency <code>@​myrotvorets/eslint-config-
myrotvorets-ts</code> to ^2.22.5 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/474">myrotvorets/set-commit-status-action#474</a></li>
<li>chore(deps): update github/codeql-action digest to 0116bc2 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/475">myrotvorets/set-commit-status-action#475</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to ^20.8.6
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/476">myrotvorets/set-commit-status-action#476</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/477">myrotvorets/set-commit-status-action#477</a></li>
<li>fix(deps): roll back actions/checkout action by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/478">myrotvorets/set-commit-status-action#478</a></li>
<li>chore(deps): update actions/checkout action to v4.1.1 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/479">myrotvorets/set-commit-status-action#479</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to ^20.8.7
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/480">myrotvorets/set-commit-status-action#480</a></li>
<li>chore(deps): update dependency <code>@​vercel/ncc</code> to ^0.38.1
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/481">myrotvorets/set-commit-status-action#481</a></li>
<li>chore(deps): update github/codeql-action digest to 49abf0b by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/482">myrotvorets/set-commit-status-action#482</a></li>
<li>chore(deps): lock file maintenance by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/483">myrotvorets/set-commit-status-action#483</a></li>
<li>chore(deps): update actions/setup-node action to v3.8.2 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/484">myrotvorets/set-commit-status-action#484</a></li>
<li>chore(deps): update actions/setup-node action to v4 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/485">myrotvorets/set-commit-status-action#485</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to ^20.8.8
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/486">myrotvorets/set-commit-status-action#486</a></li>
<li>chore(deps): update dependency <code>@​types/node</code> to ^20.8.9
by <a href="https://github.com/renovate"><code>@​renovate</code></a> in
<a href="https://redirect.github.com/myrotvorets/set-commit-status-
action/pull/487">myrotvorets/set-commit-status-action#487</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/3730c0a348a2ace3c110851bed53331bc6406e9f"><code>3730c0a</code></a>
2.0.1</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/3f8748897d475c745f447c5fa75e7f5674ac9a0f"><code>3f87488</code></a>
Merge pull request <a href="https://redirect.github.com/myrotvorets/set-
commit-status-action/issues/561">sagemath#561</a> from markmssd/patch-1</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/e511e137cb1072f0f1bfd1d994bb46be232938c3"><code>e511e13</code></a>
update dist</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/d2f4570483e3a5061bed1c9bbeb910eb7f86dfd7"><code>d2f4570</code></a>
Fix typo</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/0fc3a4eb21c32bc8ac6308dcc33c25ffd6ddf6e9"><code>0fc3a4e</code></a>
Merge pull request <a href="https://redirect.github.com/myrotvorets/set-
commit-status-action/issues/559">sagemath#559</a> from
myrotvorets/renovate/linters</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/0478c8a5acb9b00c9801b1307e4afaa8a7e32598"><code>0478c8a</code></a>
Merge pull request <a href="https://redirect.github.com/myrotvorets/set-
commit-status-action/issues/560">sagemath#560</a> from
myrotvorets/renovate/lock-file-maintenance</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/10b74bf16aed90fc68347b4ecc55a6a3ec477ec7"><code>10b74bf</code></a>
chore(deps): lock file maintenance</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/028919596fd7baf88d1dc494bf0f06223815bd29"><code>0289195</code></a>
chore(deps): update dependency <code>@​myrotvorets/eslint-config-
myrotvorets-ts</code> to v...</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/ee733d3c0a3b8df8963503d59660273616b1b211"><code>ee733d3</code></a>
chore(deps): update dependency <code>@​types/node</code> to
v20.11.19</li>
<li><a href="https://github.com/myrotvorets/set-commit-status-action/com
mit/4921e31b3636a43a2d156607c2d813e9060b1860"><code>4921e31</code></a>
chore(deps): update github/codeql-action digest to 3796146</li>
<li>Additional commits viewable in <a
href="https://github.com/myrotvorets/set-commit-status-
action/compare/v2.0.0...v2.0.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-
name=myrotvorets/set-commit-status-action&package-
manager=github_actions&previous-version=2.0.0&new-
version=2.0.1)](https://docs.github.com/en/github/managing-security-
vulnerabilities/about-dependabot-security-updates#about-compatibility-
scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.
    
URL: sagemath#37475
Reported by: dependabot[bot]
Reviewer(s):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant