Skip to content

caplet_geo: Crash when loading *.geo file #6

@martinjankoehler

Description

@martinjankoehler

Hello @yuchsiao,

after starting caplet_geo, loading a *.geo File results in this crash:
Bildschirmfoto 2024-06-24 um 18 46 53

This is caused by gdsgeometry.cpp method RectangleList::decompose():
While iterating std::map rectMap in 2 cascaded loops, you're at the same time mutating it (rectMap.erase(itemJit++)), which seems to cause the crash.

Best regards,
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions