Are traces useful?

Brian E.W. Wood (beww@intac.com)
Wed, 11 Nov 1998 12:09:47 -0500 (EST)


Is it helpful to send you folks gdb traces? My last one seems to point to
ev_Unix_Menu.cpp as the cause if segfaults. Specifically:

const char * EV_UnixMenu::_getItemPath(AP_Menu_Id id) const
{
for (UT_uint32 k=0; (k < m_nrActualFactoryItems); k++)
{
_wd * wd = (_wd *)m_menuFactoryItems[k].callback_action;
if (wd && (wd->m_id==id))
return m_menuFactoryItems[k].path;
}

return NULL;

The if statement seems to be causing the trouble. Obviously the real trouble
has happened earlier.

---
Brian E.W. Wood  beww@intac.com


This archive was generated by hypermail 1.03b2.