View Issue Details

IDProjectCategoryView StatusLast Update
0000531ascendpygtk guipublic2013-02-26 13:39
Reporterjohn 
Assigned Tojohn 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
PlatformWindowsOSWindowsOS Version7
Product Version0.9.8 
Target Version0.9.9Fixed in Version 
Summary0000531: Deallocation error in importhandler.c:476
DescriptionNot sure if this is a 64-bit Windows issue, or more generally appears anytime when you build the installed binaries with MALLOC_DEBUG turned on via SCons.

The error is "ascfreef called on a deallocated piece of memory. Called from file: ascend\compiler\importhandler.c on line 476".

The same error comes from lines 374.

There is another error "malloc returned a piece of memory that is already being used. Called from ascend\utilities\ascEnvVar.c on line 518."

The test file that showed this was models/johnpye/fprops/combinedcycle_fprops.a4c in the FPROPS2 branch at changeset 4033, but it possibly/probably appears with this and other files in the trunk branch, needs to be tested.

TagsNo tags attached.

Relationships

related to 0000566 new crash solving model with extpy and external relations 

Activities

ben

2012-10-02 06:25

manager   ~0000919

nearly anything reported by malloc_debug (certainly a double free) should be shown by valgrind under linux as well without malloc_debug turned on.

john

2012-10-02 09:15

administrator   ~0000920

Email from: John Pye <john.pye@anu.edu.au>

Hi Ben

I think that part of what was happening here was that I had out-of-sync
binaries, some with MALLOC_DEBUG on, and some with it off. After fixing
that and breaking it down more, I'm on to http://ascend.org/b576 which
seems far more puzzling to me.

I'd welcome your suggestions on how to fix that.

Cheers
JP

On 02/10/12 06:25, Mantis Bug Tracker wrote:
> A NOTE has been added to this issue.
> [EmailReporting -> Removed part identified as reply]

Issue History

Date Modified Username Field Change
2012-03-21 04:32 john New Issue
2012-04-28 10:25 john Target Version 0.9.8 => 1.0
2012-05-18 05:18 sreenatha Assigned To => sreenatha
2012-05-18 05:18 sreenatha Status new => assigned
2012-09-30 13:37 john Relationship added related to 0000566
2012-09-30 13:38 svn
2012-09-30 16:42 sreenatha Assigned To sreenatha =>
2012-09-30 19:24 john Assigned To => john
2012-10-02 06:25 ben Note Added: 0000919
2012-10-02 09:15 john Note Added: 0000920
2013-02-26 13:39 john Target Version 1.0 => 0.9.9