Opened 10 years ago

Closed 10 years ago

#11032 closed defect (duplicate)

automorphism_group_binary_code crashes Sage when it can't allocate enough memory

Reported by: rlm Owned by: wdj
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: coding theory Keywords:
Cc: tfeulner Merged in:
Authors: Reviewers: Robert Miller
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

sage: C = HammingCode(5, GF(2))
sage: C.automorphism_group_binary_code()
Exception MemoryError: MemoryError('Memory.',) in
'sage.coding.binary_code.BinaryCodeClassifier.aut_gp_and_can_label' ignored


------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component
of Sage has a bug in it (typically accessing invalid memory)
or is not properly wrapped with _sig_on, _sig_off.
You might want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate (sorry).
------------------------------------------------------------

Change History (4)

comment:1 Changed 10 years ago by rlm

Also, as Thomas points out we should be checking whether to use the dual code...

comment:2 Changed 10 years ago by rlm

See #11033, which will fix this problem.

comment:3 Changed 10 years ago by rlm

After applying #10871 and #11033:

sage: C = HammingCode(5, GF(2))
sage: time G = C.permutation_automorphism_group()
CPU times: user 0.02 s, sys: 0.00 s, total: 0.02 s
Wall time: 0.02 s

comment:4 Changed 10 years ago by jdemeyer

  • Milestone changed from sage-4.7 to sage-duplicate/invalid/wontfix
  • Resolution set to duplicate
  • Reviewers set to Robert Miller
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.