This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYGWIN GDB on Insight - problems


On Mon, 2003-06-30 at 09:01, Duane Ellis wrote:
> I've tried to back port the Tcl/Tk stuff (see the cygwin.html page) on
> Insight to 5.2.1 so that I can build it under CYGWIN.  Well - I
> screwed something up, it does not work and I'm trying to debug it.

Ugh. 5.2. You know that 6.0 will soon be available? (Let me guess...
arm-elf ecos?) Just to be 100%: you're trying to revert the tcl/tk in
5.2.1 to tcl/tk 8.0.x, as per the instructions on the web page, right?

> When I start insight directly, I get a pop up "application failed to
> initialize properly (0xc0000022)"
> 
> If I run GDB on Insight, it fails too... I get these messages
> when I type run:
> 
>     Starting program: /insight/install/winXX/bin/gdb.exe
> 
>     Program received signal SIGSEGV, Segmentation fault
>     Program received signal SIGSEGV, Segmentation fault
>     [YES 2 times]
> 
>     Program exited with code 0200
> 

Sounds eerily familiar.  Try rebuild without optimization (CFLAGS="-g"
/path/to/src/configure --prefix=...; make all-gdb; make install-gdb) and
run under gdb. When the segfault happens, gdb should be able to give you
a backtrace.

Keith



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]