jump-dev / jump-dev/ECOS.jl

Incorrect checksum for freed object

Open
#144 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
46
Forks
16
PR merge metrics
No merged PRs in 30d

Description

On Julia 1.9.2 on apple silicon, I got this error

julia(65496,0x16b3f3000) malloc: Incorrect checksum for freed object 0x2c2baa688: probably modified after being freed.
Corrupt value: 0x14293a
julia(65496,0x16b3f3000) malloc: *** set a breakpoint in malloc_error_break to debug

[65496] signal (6): Abort trap: 6
in expression starting at REPL[16]:1
Allocations: 256785273 (Pool: 256509945; Big: 275328); GC: 452
zsh: abort      julia --project

when running Convex tests with ECOS (specifically this code on the linked commit). The same tests with Clarabel are OK.

I don't know how to

set a breakpoint in malloc_error_break to debug

but if someone wants to walk me it through I'm game.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure using the Convex test block linked in the report on Julia 1.9.2 and Apple silicon, then compare ECOS with Clarabel. Done means producing a minimal reproduction or confirming the location and cause of the freed-object checksum failure, with the malloc_error_break debugging guidance investigated.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.