A stable generalized complex structure is one that is generically symplectic but degenerates along a real codimension two submanifold, where it defines a generalized Calabi–Yau structure. We introduce a formalism which allows us to view such structures as symplectic forms with singularities of logarithmic or elliptic type. This allows us to define two period maps: one for deformations in which the background 3-form flux is fixed, and one for which the flux is allowed to vary. As a result, we prove the unobstructedness of each of these deformation problems. We use the same approach to establish local classification theorems for the degeneracy locus as well as for analogues of Lagrangian submanifolds called Lagrangian branes.