• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
double-free in call to AUGraphRemoveNode()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

double-free in call to AUGraphRemoveNode()


  • Subject: double-free in call to AUGraphRemoveNode()
  • From: Christopher Corbell <email@hidden>
  • Date: Mon, 7 Apr 2003 03:03:49 -0700

I'm getting a malloc double-free warning in the midst of a call to
AUGraphRemoveNode. However CAShow shows that the node I'm
removing is there before the call, and it is removed by the call. Can
anyone suggest what might be causing the warning?

Below is my runtime output, including graph dumps and values of
args to AUGraphRemoveNode.

Thanks for any help,
Christopher

---

- removeNode - calling AUGraphRemoveNode(0x9810004, 9) from CocoaAUGraph 0x2002C70
GRAPH BEFORE AuGraphRemoveNode:
AudioUnitGraph 0x9810004:
Member Nodes:
node 4: desc aunt mixr smxr, instance 0x810002 O I
node 5: desc aunt out def , instance 0x810003 O I
node 6: desc aunt efct mrev, instance 0x810004 O I
node 9: desc aunt musd dls , instance 0x820005 O I
Connections:
node 4 bus 0 => node 5 bus 0
Events to be updated:
CurrentState:
mLastUpdateError=0, eventsToProcess=F, isRunning=F
*** malloc[3491]: Deallocation of a pointer not malloced: 0x55555555; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
GRAPH AFTER AuGraphRemoveNode:
AudioUnitGraph 0x9810004:
Member Nodes:
node 4: desc aunt mixr smxr, instance 0x810002 O I
node 5: desc aunt out def , instance 0x810003 O I
node 6: desc aunt efct mrev, instance 0x810004 O I
Connections:
node 4 bus 0 => node 5 bus 0
Events to be updated:
CurrentState:
mLastUpdateError=0, eventsToProcess=F, isRunning=F
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: DLSMusicDeviceRelease crashes upon call of ConvertBuffer !!?????
  • Next by Date: Re: AU, GMPI, and music plugin APIs
  • Previous by thread: Failing performAudioEngineStart
  • Next by thread: Re: AU, GMPI, and music plugin APIs
  • Index(es):
    • Date
    • Thread