I am having a problem compiling pth-1.3.7 on the i386-pc-interix platform.
According to the Porting doc, Pth was successfully tested on this platform
as of version 1.3.5. The library compiles, but the test suite fails on the
very first test. According to gdb, I am getting a segment violation in the
pth_kill() function where it is trying to free the main thread. I cannot
figure out why this would be happening. By stepping through the debugger,
all structures appear to be successfully allocated and populated. All
pointers are valid right up to where the free(t); is being called on line
141 of pth_tcb.c. I have attached the following files:
Makefile - the make file that was generated by configure
config.log - the log file generated during configuration
mk.out - the output generated during the making of the library
gdb.txt - a copy of the gdb session showing the program execution,
failure, and stack trace at time of failure
I had configured pth using the supplied context methods (sjlj/sjljisc/none)
and included the debug tracing option to gain additional execution
information. I would like to know if there are any other changes or
options that are required to get Pth to run successfully on the Interix
platform. Your help would be tremendously appreciated. I have exhausted
all options that I can think of. If there is any further information that
I can provide that will be of additional assistance, please ask and I will
get whatever is needed. Thanks again for any assistance you can offer.
---------------------------------------------------------------
Richard Dankovcik | In theory,
IEX Corporation | there is no difference between
2425 N. Central Expwy #500 | practice and theory.
Richardson, TX. 75080-2736 |
Phone (972)301-1355 |
Fax (972)301-1200 |
[EMAIL PROTECTED] |
---------------------------------------------------------------
(See attached file: mk.out)(See attached file: gdb.txt)(See attached file:
Makefile)(See attached file: config.log)
mk.out
gdb.txt
Makefile
config.log
****** Message from InterScan E-Mail VirusWall NT ******
** No virus found in attached file mk.out
** No virus found in attached file gdb.txt
** No virus found in attached file Makefile
** No virus found in attached file config.log
This e-mail has been checked for virus and found to be clean
***************** End of message ***************