llnl / llnl/rose

Assertion `p_memberInit != __null' failed

Open
#370 4 comments 0 reactions 1 assignee View on GitHub

@ppete is already working on this.

Since Jan 9, 2026.

Dominant language
C
Stars
688
Forks
144
PR merge metrics
No merged PRs in 30d

Description

Reproducer:
```cpp
typedef struct {
int foo;
} spinlock_t;

typedef struct wait_queue_head_t {
spinlock_t lock;
}wait_queue_head_t;

struct wait_queue_head_t work2 = {.lock = (spinlock_t ){(0)}};

void call_usermodehelper()
{
struct wait_queue_head_t work = {.lock = (spinlock_t ){(0)}};
work2;
}
```

```
Cxx_Grammar.C:275621: virtual SgType* SgDesignatedInitializer::get_type() const: Assertion `p_memberInit != __null' failed.
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.