Glad it worked. It's just another way of changing the PC pointer and
switching to a new stack. 

-----Original Message-----
From: Brian Helenbrook [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2008 6:42 PM
To: pth-users@gnu.org; Steve Alstrin
Cc: Brian Helenbrook
Subject: Re: OS X 10.5.2 crash

Hi Steve,

That fixed the problem!   (./configure --prefix=${HOME}/Packages -- 
with-mctx-mth=sjlj --with-mctx-dsp=ssjlj --with-mctx-stk=sas).  Of
course, now I have no idea what I just did.  I guess I better go read
the manual.

Brian


On Mar 11, 2008, at 11:12 AM, Steve Alstrin wrote:

> Brian
>
> Not for sure where these errors are coming from, I don't see messages 
> like below in the code. Do you know which context swapping method was 
> selected during the configure? If it selected the 
> swapcontext/makecontext method, you may want to reconfigure and force 
> the setjmp/longjmp method.
>
> Do a ./configure --help to see about doing this.
>
> This is the method I used.
>
> decision on mctx implementation... sjlj/ssjlj/sas
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Brian Helenbrook
> Sent: Tuesday, March 11, 2008 3:09 AM
> To: pth-users@gnu.org
> Cc: Brian Helenbrook
> Subject: OS X 10.5.2 crash
>
> I'm having a crash on OS X 10.5.2 when I run make test.  Is anybody 
> else having a similar problem?  The machine is a PowerPC G4 Laptop 
> (powerpc-apple-darwin9-gcc-4.0.1).  The only thing mildly different 
> about my setup is that I have gfortran installed.
>
> This is the error from make test:
>
>
> === TESTING GLOBAL LIBRARY API ===
>
> Fetching library version
> version = 0x200207
>
> === TESTING BASIC OPERATION ===
>
> Initializing Pth system (spawns scheduler and main thread) Killing Pth

> system for testing purposes
> test_std(23790) malloc: *** error for object 0xbffff710: Non-aligned 
> pointer being freed (2)
> *** set a breakpoint in malloc_error_break to debug
> test_std(23790) malloc: *** error for object 0x45e90: Non-aligned 
> pointer being freed (2)
> *** set a breakpoint in malloc_error_break to debug Re-Initializing 
> Pth system
> /bin/sh: line 1: 23790 Segmentation fault      ./test_std
> Please send the following summary line together with details about the

> configuration (pth_acdef.h, pth_acmac.h, 
> config.status, config.log) and build/test steps (output 
> of 'make' and 'make test') to the author Ralf S. Engelschall 
> <[EMAIL PROTECTED]> to help him in tracking down your platform 
> problem.
>
> Pth: FAILED: powerpc-apple-darwin9.2.0 | mcsc/sc/ 
> mc | down | 2.0.7
>
> make: [test-std] Error 1 (ignored)
>
> Any help would be appreciated.
>
>
>
>
> Brian Helenbrook
> Associate Professor
> 362 CAMP
> Mech. and Aero. Eng. Dept.
> Clarkson University
> Potsdam, NY 13699-5725
>
> work: 315-268-2204
> fax: 315-268-6695
>
> ______________________________________________________________________
> GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
> Development Site                      http://www.ossp.org/pkg/lib/pth/
> Distribution Files                          ftp://ftp.gnu.org/gnu/pth/
> Distribution Snapshots                 ftp://ftp.ossp.org/pkg/lib/pth/
> User Support Mailing List                            pth-users@gnu.org
> Automated List Manager (Majordomo)           [EMAIL PROTECTED]

______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
Development Site                      http://www.ossp.org/pkg/lib/pth/
Distribution Files                          ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots                 ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing List                            pth-users@gnu.org
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to