A large udp packet crashes Max


    May 17 2007 | 12:33 pm
    Hi All,
    I am sending a large packet via udpsend but it always crashes MaxMSP. The packet has one tag and 40 symbols, each symbols are 299 character length. Thus the length of the packet is about 12000 bytes and I send 'maxpackedsize 15000' to udpsend. ( I believe a message can contain 256 items and one symbols can have 1999 characters.)
    I'm glad if someone points me a wrong point.
    It happens both on 4.6.2 and 4.6.3. I'm using MacBookPro (2.33GHz), Mac OS X 10.4.9.
    I attached my patch and crash log.
    Thank you in advice. Masayuki Akamatsu
    **********
    Host Name: akaMBP Date/Time: 2007-05-17 21:08:52.912 +0900 OS Version: 10.4.9 (Build 8P2137) Report Version: 4
    Command: MaxMSP Path: /Applications/MaxMSP 4.6/MaxMSP.app/Contents/MacOS/MaxMSP Parent: WindowServer [267]
    Version: ??? (4.6.3)
    PID: 456 Thread: 0
    Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x3a64636a
    Thread 0 Crashed: 0 libSystem.B.dylib 0x9000650d szone_free + 3671 1 libSystem.B.dylib 0x900054a8 free + 728 2 com.apple.HIToolbox 0x92e32731 CopyEventInternal + 73 3 com.apple.HIToolbox 0x92e326b0 CopyEventAs + 17 4 com.apple.HIToolbox 0x92e860e7 HandleTSMMouseDownLogic + 219 5 com.apple.HIToolbox 0x92def46b ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1197 6 com.apple.HIToolbox 0x92de88ee DispatchEventToHandlers (EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2044 7 com.apple.HIToolbox 0x92de7bdc SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 304 8 com.apple.HIToolbox 0x92deefbc SendEventToEventTarget + 56 9 com.apple.HIToolbox 0x92e32eb3 ToolboxEventDispatcher + 81 10 com.apple.HIToolbox 0x92e318cb RunApplicationEventLoop + 165 11 com.cycling74.MaxMSP46 0x00027854 app_run + 52 (main.c: 1519) 12 com.cycling74.MaxMSP46 0x00027afe main + 680 (main.c:416) 13 com.cycling74.MaxMSP46 0x00002ba2 _start + 216 14 com.cycling74.MaxMSP46 0x00002ac9 start + 41