I have the following Qt class:

```
class GLWidget : public QGLWidget
{
    Q_OBJECT
public:
    GLWidget(QWidget *parent = 0);
private:
    void initializeGL();
    void resizeGL(int w, int h);
    void paintGL();

    double posX;
    double posY;
    double posZ;
};

```

When I put this in the constructor, my program produces a `SIGABRT` during `GLWidget::~GLWidget`:

```
this->posX = 0.0;
this->posY = 0.0;
this->posZ = 1.0;

```

These member variables aren't used anywhere else in the class. If I don't initialize the member variables, the program doesn't fail. How can this lead to a `SIGABRT`?

**Stack trace**

![Stack trace](https://i.stack.imgur.com/bxJvC.png)