This is the mail archive of the
mailing list for the Insight project.
Re: MinGW setjmp SEGV
- From: Steven Johnson <sjohnson at sakuraindustries dot com>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: insight at sources dot redhat dot com
- Date: Sat, 06 Aug 2005 08:45:25 -1100
- Subject: Re: MinGW setjmp SEGV
- References: <firstname.lastname@example.org>
You may get better results from a CVS snapshot, if you dont want to
check out CVS HEAD. Can you try and build one, and see if that fixes
See the insight web page for details on the latest snapshots.
Andrew STUBBS wrote:
I have been trying to build Insight 6.1 (patched into GDB 6.3) for
MinGW (and Linux and Solaris but they weren't much trouble).
The problem I hit has been previously reported here:
There are a number of patches required to make it build, but most are
trivial and may not be relevant since 6.1 so I shall not post them.
Basically I had to check whether the cygwin filename-handling tcl
functions exist before using them, define __INSIDE_CYGWIN__ in a
couple of tcl/tk files, and rename the hooks because they now have a
However, the most serious failure was caused by broken code in the tcl
dll screwing up the SEH and causing setjmp to fail. This problem has
been fixed in the latest tcl at tcl.sourceforge.net.
The attached patch (code copied from sourceforge) is sufficient to fix
the issue. Note that I have included the diff of the whole file and
it includes one of the minor changes mentioned above.
Hopefully this patch will help others who have hit the same problem.