Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#83 closed defect (fixed)

Saving a scantable to MS makes ASAP to abort

Reported by: t.tsutsumi@… Owned by: Malte Marquarding
Priority: normal Milestone:
Component: General Version: 2.0
Severity: critical Keywords:
Cc: t.tsutsumi@…

Description

When I try to save a scantable to MS2 format using ASAP2.1(2006-09-11), it causes ASAP to abort. In this case, the writer, however, seems to complete writing to MS file without corrupting the data since I can read back the created MS file to ASAP without any problems.

  • Tak Tsutsumi

ASAP>scan=scantable('2005-05-08_0350.rpf') Auto averaging integrations Importing 2005-05-08_0350.rpf...

ASAP>scan.save('junk.ms', 'MS2') STWriter: wrote 4 rows to junk.ms

* glibc detected * double free or corruption (!prev): 0x08c4e048 *

Attachments (1)

PKSMS2writer.cc.diff (1.7 KB) - added by Malte Marquarding 17 years ago.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by Malte Marquarding

Attachment: PKSMS2writer.cc.diff added

comment:1 Changed 17 years ago by Malte Marquarding

Resolution: fixed
Status: newclosed

Hi Tak,

this is an error in PKSMS2writer.cc - delete pointer is called multiple times. Urggh.

Until the aips++ cvs is updated, please apply attached patch.

comment:2 Changed 17 years ago by Malte Marquarding

Cc: t.tsutsumi@… added
Note: See TracTickets for help on using tickets.