From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ce667ecdc314f22 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-07 12:45:55 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Releasing Aliased Variables References: <3AA692A8.F1283C27@netscape.net> X-Newsreader: Tom's custom newsreader Message-ID: Date: Wed, 07 Mar 2001 20:44:01 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 983997841 24.20.190.201 (Wed, 07 Mar 2001 12:44:01 PST) NNTP-Posting-Date: Wed, 07 Mar 2001 12:44:01 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:5511 Date: 2001-03-07T20:44:01+00:00 List-Id: >release the secondary buffers, the primary buffer, and the directsound >object, in that order. > ... >that the release procedure is bombing down in the Windows code, so At which release does it crash? >I'm declaring all of the directsound objects as aliased, which solved a Declaring X aliased says "take care. There may be pointers to this, so just looking at all mentions of "X" may miss some activity on P.all where P.all is in fact X" Perhaps you've already released a buffer through a pointer to it, and now you're trying to release it directly?