public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* insight/204: SEGV in __libtk80_a_iname
@ 2003-01-10 23:43 llewins
0 siblings, 0 replies; only message in thread
From: llewins @ 2003-01-10 23:43 UTC (permalink / raw)
To: insight-gnats
>Number: 204
>Category: insight
>Synopsis: SEGV in __libtk80_a_iname
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 10 15:43:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Lloyd J. Lewins
>Release: cvs Jan 9, 2002
>Organization:
>Environment:
cygwin
>Description:
When debugging main.cc, moving the mouse over the statement:
thisRoute->analyzeZD();
causes insight to crash with a SEGV.
>How-To-Repeat:
Set a break point on line 57. Run and then place the mouse on line 57.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="main.cc"
Content-Disposition: inline; filename="main.cc"
/*
Submitted by: Lloyd Lewins, llewins@raytheon.com
Cause insight to crash with SEGV
Insight version:
GNU gdb 2003-01-09-cvs
gcc version:
gcc version 2.95.3-5 (cygwin special)
Compiled with -g option.
When debugging main.cc, moving the mouse over the statement:
thisRoute->analyzeZD();
causes insight to crash with a SEGV.
Set a break point on line 57. Run and then place the mouse on line 57.
The following is the error (captured by running insight within gdb):
Program received signal SIGSEGV, Segmentation fault.
0x6108d57f in _libtk80_a_iname ()
*/
#include <vector>
class route {
public:
route(void)
{
}
static void analyzeAllZD(void);
class destination {
public:
destination(route* const nextRoute)
: nextRoute(nextRoute)
{
}
route* const nextRoute;
};
typedef std::vector<destination*> destination_vector;
void analyzeZD (void);
destination_vector destinations;
};
void route::analyzeZD(void)
{
}
void route::analyzeAllZD(void)
{
route* thisRoute = new route();
thisRoute->analyzeZD();
}
int main(void)
{
route::analyzeAllZD();
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-10 23:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-10 23:43 insight/204: SEGV in __libtk80_a_iname llewins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).