> don't know. That is not an fsfast problem. Are you using some virtual
> connection?

No... I'm using local computer where Freesurfer is locally installed.
When I ran mkcontrast-sess, x terminal got filled with repeated messages, so I can't see what triggered this error.

##
Invalid capturehandle provided. No capture device associated with this handle !!!
Error in function :     Usage error
Invalid capturehandle provided. No capture device associated with this handle !!!
Error in function :     Usage error
Invalid capturehandle provided. No capture device associated with this handle !!!
...
..
.
-----

mkcontrast-sess.log doesn't give much information.
##
mkcontrast-sess log file
$Id: mkcontrast-sess,v 1.13.2.2 2010/07/21 17:14:38 greve Exp $
$0
Darwin Yukos-iMac.local 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov  5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386
Thu Nov 25 18:53:37 JST 2010
-analysis VMfwhm5lh -contrast test -a 1 -c 0 -rmprestim -log tes
/Applications/freesurfer/fsfast/bin/mkcontrast

When I got similar errors from selxavg3-sess, its log file says the following.
##
INTERNAL PSYCHTOOLBOX ERROR
    error:                PsychError_internal
    general description:  Unspecified error, probably a Psychtoolbox bug
    specific description: CGGetActiveDisplayList failed to enumerate displays
    module name:          Screen
    subfunction call:    
    file name:            /Users/kleinerm/projects/OpenGLPsychtoolbox/trunk/PsychSourceGL/Projects/MacOSX/PsychToolbox/../../../Source/OSX/Screen/PsychScreenGlue.c
    function name:        InitCGDisplayIDList
    line number:          124
    Invalid capturehandle provided. No capture device associated with this handle !!!
    Error in function :     Usage error
    Invalid capturehandle provided. No capture device associated with this handle !!!
    Error in function :     Usage error
    Invalid capturehandle provided. No capture device associated with this handle !!!
    ...
    ..
    .

So I'm suspecting mkcontrast-sess encountered the similar problem, but I can't confirm.

So, here are my two questions.
1) How can I save the whole error message in mkcontrast-sess.log file?
2) Am I the only person seeing these strange error messages with Mac OS X? Anyone??

Yuko

On Thu, Nov 25, 2010 at 4:18 AM, Douglas N Greve <greve@nmr.mgh.harvard.edu> wrote:
don't know. That is not an fsfast problem. Are you using some virtual
connection?

doug

yuko YY wrote:
> Hi,
>
> I'm having a java-related error with mkcontrast-sess.
> Are there any trick to get around this error?
>
> version: freesurfer-Darwin-leopard-i686-stable-pub-v5.0.0
> OS : Mac 10.6.5
> javac 1.6.0_22
>
> mkcontrast-sess -analysis VMfwhm5 -contrast all_null -a 1 -a 2 -a 3 -a
> 4 -a 5 -c 0 -rmprestim
>
> % - (error message) ---------------
> Invalid capturehandle provided. No capture device associated with this
> handle !!!
> Opening log file:  /Users/yuko/java.log.14247
> Illegal instruction
> % ---------------------------------------
>
> more /Users/yuko/java.log.14247
> % --------------------------------
> Operating System: Darwin 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov
> 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386
> Processor ID:     x86 Family 6 Model 14 Stepping 5, GenuineIntel
> Host Name:        Yukos-iMac.local
> Invalid access of stack red zone 0xb0105b2c eip=0x1fd64c
> % --------------------------------
>
> Looks like a problem with java as discussed here:
> http://stackoverflow.com/questions/1501770/invalid-access-of-stack-red-zone-from-java-vm
>
> I've updated java, and got the same error.
>
> Thank you for your help!
> Yuko Yotsumoto
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

--
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.