Community
Participate
Working Groups
When debugging some programs, if you open Signal View, the debugger backend crashes (Segmentation fault). The reason is in gdbmi_backend.c, GDBCLIListSignals(), we do the following: for (MIListSet(signals); ((sig = (MISignalInfo *)MIListGet(signals)) != NULL); ) { s = NewSignalInfo(); s->name = strdup(sig->name); s->pass = sig->pass; s->print = sig->print; s->desc = strdup(sig->desc); AddToList(e->dbg_event_u.list, s); } For some signals, its desc is null, and this caused the Segmentation fault.
Fixed in 4.0 and HEAD.