inputdlg from the java package works fine.
Screen('DrawText') from Psychtoolbox (http://psychtoolbox.org) works fine.

But together...

The code below hangs and then gives the following error:

octave: fccache.c:507: FcCacheFini: Assertion `fcCacheChains[i] == ((void *)0)' failed.
panic: Aborted -- stopping myself...
Aborted

The error goes away if the dialog box is not invoked or the DrawText line is removed. The text is never drawn.

I get the same error when I try using listdlg.

Suggestions?

----------------------

function test()

% Requires java package fromhttp://octave.sourceforge.net/

pkg load java

inputdlg({'test'}, 'title');

[screen_ptr screen_rect] = Screen('OpenWindow', 0, 0, [], 32, 2);

Screen('DrawText', screen_ptr, 'hi', 100, 100);
Screen('Flip', screen_ptr);

WaitSecs(2);

Screen('CloseAll');

----------------------

Ubuntu 11.04 64-bit
Octave 3.2.4
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to