Forums > Dev

Crashing Max4….have a look at my stack trace….

September 5, 2008 | 7:15 pm

So I took the code for circle & then xgui from the developement kit and put it into the ‘maximum.c’ file in Xcode. I went in and changed everything to build an object called ‘circle’ per the instructions (all the project build changes and such, and info.plist).

I made reference to the needed .h files and pulled out all the windows code since this is just a test.

In both cases, max crashes when I create [circle], and the result I get is this:

Thread 0 Crashed:
0 com.cycling74.MaxMSP46 0x00069a7d wind_getfont + 15 (window.c:498)
1 com.cycling74.MaxMSP46 0x00011dff box_new + 633 (box.c:1331)
2 com.cycling74.MaxAPI 0x0761a113 box_new + 118
3 com.asp.circle 0x3a715ce0 xgui_new + 331 (maximum.c:421)
4 com.cycling74.MaxMSP46 0×00030713 typedmess_fun + 1421 (message.c:630)
5 com.cycling74.MaxMSP46 0x0011d7e0 object_new_typed + 166 (obex.c:664)
6 com.cycling74.MaxMSP46 0x00023d32 auxtable_search + 154 (install.c:367)
7 com.cycling74.MaxMSP46 0x000264c4 newload_internal + 90 (loader.c:583)
8 com.cycling74.MaxMSP46 0×00026807 newload + 47 (loader.c:564)
9 com.cycling74.MaxMSP46 0×00030713 typedmess_fun + 1421 (message.c:630)
10 com.cycling74.MaxMSP46 0x00030c96 typedmess + 80 (message.c:399)
11 com.cycling74.MaxMSP46 0x000316f4 aeval + 1242 (message.c:1061)
12 com.cycling74.MaxMSP46 0×00009750 atombuf_eval + 204 (atombuf.c:234)
13 com.cycling74.MaxMSP46 0x000b9eb6 vnewobj_eval(vnewobj*, short) + 534 (vnewobj.c:217)
14 com.cycling74.MaxMSP46 0x000afaba textobj_btext + 232 (textobj.c:191)
15 com.cycling74.MaxMSP46 0×00033328 patcher_deseltext + 112 (patcher.c:866)
16 com.cycling74.MaxMSP46 0×00033477 patcher_deselectbox + 197 (patcher.c:819)
17 com.cycling74.MaxMSP46 0×00033512 patcher_noselect + 48 (patcher.c:790)
18 com.cycling74.MaxMSP46 0x000382f1 patcher_click + 1275 (patcher.c:2436)
19 com.cycling74.MaxMSP46 0x0006a7c5 wind_click + 143 (window.c:1118)
20 com.cycling74.MaxMSP46 0x0006f880 wind_event + 394 (window.c:818)
21 com.cycling74.MaxMSP46 0x0002807d app_eventhandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1273 (main.c:1658)
22 com.apple.HIToolbox 0x0408a763 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181
23 com.apple.HIToolbox 0x04089b9d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
24 com.apple.HIToolbox 0x040a64ee SendEventToEventTarget + 52
25 com.apple.HIToolbox 0x040b8b90 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1208
26 com.apple.HIToolbox 0x0408ab1c DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2134
27 com.apple.HIToolbox 0x04089b9d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
28 com.apple.HIToolbox 0x040a64ee SendEventToEventTarget + 52
29 com.apple.HIToolbox 0×04113504 ToolboxEventDispatcher + 86
30 com.apple.HIToolbox 0x0410fd5e RunApplicationEventLoop + 222
31 com.cycling74.MaxMSP46 0×00027854 app_run + 52 (main.c:1519)
32 com.cycling74.MaxMSP46 0x00027afe main + 680 (main.c:416)
33 com.cycling74.MaxMSP46 0x00002ba2 _start + 216
34 com.cycling74.MaxMSP46 0x00002ac9 start + 41

I am not sure where to go from here, any ideas?

Rick


Viewing 1 post (of 1 total)