Article View: comp.sys.next.programmer
Article #1754Unlocking Focus on wrong View
From: alain
Date: Tue, 06 Oct 1992 13:29
Date: Tue, 06 Oct 1992 13:29
25 lines
1535 bytes
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
Technical Details
Message-ID:
<alain-061092140808@besouro.linguist.jussieu.fr>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!doc.ic.ac.uk!uknet!mcsun!corton!jussieu!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!doc.ic.ac.uk!uknet!mcsun!corton!jussieu!news From: alain@linguist.jussieu.fr Newsgroups: comp.sys.next.programmer Subject: Unlocking Focus on wrong View Message-ID: <alain-061092140808@besouro.linguist.jussieu.fr> Date: 6 Oct 92 13:29:08 GMT Sender: news@jussieu.fr (Le Facteur) Followup-To: comp.sys.next.programmer Organization: Universite Paris VI/Paris VII Lines: 25 Nntp-Posting-Host: besouro.linguist.jussieu.fr