🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by alain Tue, 06 Oct 1992 13:29
Unlocking Focus on wrong View
#1754
Author: alain
Date: Tue, 06 Oct 1992 13:29
25 lines
1535 bytes
I made a program that puts up a window containing a few Forms,
a Matrix and a Button.  It works fine except that when the user clicks
a on the window (a variable number of times, 1 ~ 3), the program fails
with the following error:

		  'Assertion failed: Unlocking Focus on wrong View'
				'Bus error'       (sometimes 'DBus error')

In case it helps, the program is recording sound continuously into two
buffers
from the microphone.  Each time a buffer is full the Forms and Matrix 
are updated within a completion routine specified by SNDStartRecording().  
The same routine then calls SNDStartRecording() on the second buffer.  This
call is made *after* the first buffer has been processed and the views
updated, so there should't be two completion routines running at the same
time.  

The NeXT is running 2.1, and the program was written using IB.

I have little experience with the NeXT, so if anyone has an idea as to 
what might be wrong, or how I should find out, I'd be grateful.  


Alain de Cheveigne,
alain@linguist.jussieu.fr
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads