Skip to content

MDS CTS Buffer overflow error when trying to add crate or assign slot #3031

@zaphd

Description

@zaphd

Affiliation
University of Washington / ZaP-HD

Version(s) Affected
The MDSplus Version(s) affected: 7.153.3

Platform(s)
Ubuntu 24.04.4

Installation Method(s)
mdsplus.org repo

Describe the bug
When attempting to add a CAMAC crate (with "mdscts addcrate" or "mdscts assign") or assign a digitizer to a slot, it returns with

*** buffer overflow detected ***: terminated

I had this issue about a year ago and solved it by recreating the crate.db file, but this time that is not solving the issue.

The only lead I have right now is gdb says the dumped core file was created by mdsdcl. My thought is there is some permissions issues with the mds directory (/usr/local/mdsplus/bin) not being allowed to write to etc/cts, but all permission when looking at "ls -l" look correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected problem or unintended behaviordevicesRelates to devices (c devices, tdi devices, python devices, java devices, device_support, etc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions