{"action":"created","issue":{"url":"https://api.github.com/repos/CNMAT/CNMAT-odot/issues/316","repository_url":"https://api.github.com/repos/CNMAT/CNMAT-odot","labels_url":"https://api.github.com/repos/CNMAT/CNMAT-odot/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/CNMAT/CNMAT-odot/issues/316/comments","events_url":"https://api.github.com/repos/CNMAT/CNMAT-odot/issues/316/events","html_url":"https://github.com/CNMAT/CNMAT-odot/issues/316","id":142091123,"number":316,"title":"parser crash","user":{"login":"ramagottfried","id":2264377,"avatar_url":"https://avatars.githubusercontent.com/u/2264377?v=3","gravatar_id":"","url":"https://api.github.com/users/ramagottfried","html_url":"https://github.com/ramagottfried","followers_url":"https://api.github.com/users/ramagottfried/followers","following_url":"https://api.github.com/users/ramagottfried/following{/other_user}","gists_url":"https://api.github.com/users/ramagottfried/gists{/gist_id}","starred_url":"https://api.github.com/users/ramagottfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramagottfried/subscriptions","organizations_url":"https://api.github.com/users/ramagottfried/orgs","repos_url":"https://api.github.com/users/ramagottfried/repos","events_url":"https://api.github.com/users/ramagottfried/events{/privacy}","received_events_url":"https://api.github.com/users/ramagottfried/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-03-19T18:58:22Z","updated_at":"2016-08-31T20:20:33Z","closed_at":null,"body":"I'm occasionally getting this crash when parsing (large) expressions stored in strings -- any clues on how to avoid this?\r\n\r\n\r\nProcess:               Max [15222]\r\nPath:                  /Applications/Max.app/Contents/MacOS/Max\r\nIdentifier:            com.cycling74.Max\r\nVersion:               7.2.1 [d8b9f87] (7.2.1)\r\nCode Type:             X86-64 (Native)\r\nParent Process:        ??? [1]\r\nResponsible:           Max [15222]\r\nUser ID:               501\r\n\r\nDate/Time:             2016-03-19 11:55:52.113 -0700\r\nOS Version:            Mac OS X 10.10.5 (14F1605)\r\nReport Version:        11\r\nAnonymous UUID:        E844FD0B-4873-595F-3615-7C8115A0DD9F\r\n\r\nSleep/Wake UUID:       1E66C0A9-258A-4CCB-99B0-BFB69AF6472A\r\n\r\nTime Awake Since Boot: 440000 seconds\r\nTime Since Wake:       7000 seconds\r\n\r\nCrashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:        EXC_BAD_ACCESS (SIGSEGV)\r\nException Codes:       KERN_INVALID_ADDRESS at 0x00007fa2fed00000\r\n\r\nVM Regions Near 0x7fa2fed00000:\r\n    MALLOC_TINY            00007fa2fe800000-00007fa2fed00000 [ 5120K] rw-/rwx SM=PRV  \r\n--> \r\n    MALLOC_TINY            00007fa303400000-00007fa303800000 [ 4096K] rw-/rwx SM=PRV  \r\n\r\nThread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread\r\n0   edu.cnmat.berkeley.o.expr.codebox\t0x0000000125857ce0 osc_expr_scanner_lex + 6272\r\n1   edu.cnmat.berkeley.o.expr.codebox\t0x000000012585961f osc_expr_parser_parse + 751\r\n2   edu.cnmat.berkeley.o.expr.codebox\t0x00000001258592e2 osc_expr_parser_parseExpr + 146\r\n3   edu.cnmat.berkeley.o.expr.codebox\t0x0000000125844078 osc_expr_evalInLexEnv + 4264\r\n4   edu.cnmat.berkeley.o.expr.codebox\t0x00000001258305aa oexprcodebox_fullPacket + 378\r\n5   com.cycling74.Max             \t0x000000010c36bac9 typedmess_fun + 284\r\n6   com.cycling74.Max             \t0x000000010c3e08ab outlet_anything + 503\r\n7   edu.cnmat.berkeley.o.pack     \t0x000000012553bfb8 omax_util_outletOSC + 120\r\n8   edu.cnmat.berkeley.o.pack     \t0x00000001255285d0 opack_outputBundle + 80\r\n9   edu.cnmat.berkeley.o.pack     \t0x0000000125528773 opack_doAnything + 163\r\n10  com.cycling74.Max             \t0x000000010c36bac9 typedmess_fun + 284\r\n11  com.cycling74.Max             \t0x000000010c3e08ab outlet_anything + 503\r\n12  com.cycling74.js              \t0x00000001234b305e jsthis_dooutlet + 258\r\n13  ???                           \t0x0000000113fa1513 0 + 4630123795\r\n14  libmozjs185.dylib             \t0x000000012363def3 CheckStackAndEnterMethodJIT(JSContext*, JSStackFrame*, void*) + 211\r\n15  libmozjs185.dylib             \t0x00000001235588f2 js::RunScript(JSContext*, JSScript*, JSStackFrame*) + 274\r\n16  libmozjs185.dylib             \t0x0000000123558e8e js::Invoke(JSContext*, js::CallArgs const&, unsigned int) + 1342\r\n17  libmozjs185.dylib             \t0x00000001235595d2 js::ExternalInvoke(JSContext*, js::Value const&, js::Value const&, unsigned int, js::Value*, js::Value*) + 370\r\n18  libmozjs185.dylib             \t0x00000001234d25e3 JS_CallFunctionName + 211\r\n19  com.cycling74.js              \t0x00000001234b15c4 js_calljsfun + 1751\r\n20  com.cycling74.js              \t0x00000001234b1c59 js_doanything + 45\r\n21  com.cycling74.Max             \t0x000000010c383626 defer + 55\r\n22  com.cycling74.js              \t0x00000001234b1a1d js_messagehandler + 439\r\n23  com.cycling74.Max             \t0x000000010c36bac9 typedmess_fun + 284\r\n24  com.cycling74.Max             \t0x000000010c3e08ab outlet_anything + 503\r\n25  com.cycling74.Max             \t0x000000010c36bac9 typedmess_fun + 284\r\n26  com.cycling74.Max             \t0x000000010c36c58a aeval + 962\r\n27  com.cycling74.Max             \t0x000000010c346afb atombuf_eval + 135\r\n28  com.cycling74.message         \t0x0000000123479ffd jmessage_atombuf_eval + 323\r\n29  com.cycling74.Max             \t0x000000010c36bac9 typedmess_fun + 284\r\n30  com.cycling74.Max             \t0x000000010c3e08ab outlet_anything + 503\r\n31  com.cycling74.Max             \t0x000000010c36bac9 typedmess_fun + 284\r\n32  com.cycling74.Max             \t0x000000010c36c58a aeval + 962\r\n33  com.cycling74.Max             \t0x000000010c346afb atombuf_eval + 135\r\n34  com.cycling74.message         \t0x0000000123479ffd jmessage_atombuf_eval + 323\r\n35  com.cycling74.message         \t0x000000012347a0e6 jmessage_dobang + 100\r\n36  com.cycling74.Max             \t0x000000010c3df631 outlet_bang + 1048\r\n37  com.cycling74.Max             \t0x000000010c3df425 outlet_bang + 524\r\n38  com.cycling74.Max             \t0x000000010c3df631 outlet_bang + 1048\r\n39  com.cycling74.Max             \t0x000000010c3df631 outlet_bang + 1048\r\n40  com.cycling74.Max             \t0x000000010c3bac59 sel_int + 274\r\n41  com.cycling74.Max             \t0x000000010c3dfbbd outlet_int + 1095\r\n42  com.cycling74.Max             \t0x000000010c3dfbbd outlet_int + 1095\r\n43  com.cycling74.Max             \t0x000000010c3532e4 max_unicodekeydown + 167\r\n44  com.cycling74.Max             \t0x000000010c55f4a4 PatcherComponent::keyPressedFromContentComponent(juce::KeyPress const&) + 1280\r\n45  com.cycling74.Max             \t0x000000010c7414a2 juce::ComponentPeer::handleKeyPress(int, wchar_t, bool, int) + 360\r\n46  com.cycling74.Max             \t0x000000010c7c3e4e juce::NSViewComponentPeer::handleKeyEvent(NSEvent*, bool) + 400\r\n47  com.cycling74.Max             \t0x000000010c7c3f01 juce::NSViewComponentPeer::redirectKeyDown(NSEvent*) + 45\r\n48  com.cycling74.Max             \t0x000000010c7c0a19 -[JuceNSView_1_52_105_3 keyDown:] + 186\r\n49  com.apple.AppKit              \t0x00007fff8bb190fb -[NSWindow _reallySendEvent:isDelayedEvent:] + 5452\r\n50  com.apple.AppKit              \t0x00007fff8b4aac86 -[NSWindow sendEvent:] + 470\r\n51  com.apple.AppKit              \t0x00007fff8b4a78b1 -[NSApplication sendEvent:] + 4199\r\n52  com.cycling74.Max             \t0x000000010c681b2d -[MaxCefApplication sendEvent:] + 118\r\n53  com.apple.AppKit              \t0x00007fff8b3d0b68 -[NSApplication run] + 711\r\n54  com.cycling74.Max             \t0x000000010c681a82 -[MaxCefApplication run] + 49\r\n55  com.cycling74.chromium        \t0x000000010d2c4311 0x10d1a8000 + 1164049\r\n56  com.cycling74.chromium        \t0x000000010d2c3c1c 0x10d1a8000 + 1162268\r\n57  com.cycling74.chromium        \t0x000000010d3024d0 0x10d1a8000 + 1418448\r\n58  com.cycling74.chromium        \t0x000000010d31b57a 0x10d1a8000 + 1521018\r\n59  com.cycling74.chromium        \t0x000000010d301e6d 0x10d1a8000 + 1416813\r\n60  com.cycling74.chromium        \t0x000000010d21a4b2 0x10d1a8000 + 468146\r\n61  com.cycling74.Max             \t0x000000010c681a90 -[MaxCefApplication run] + 63\r\n62  com.cycling74.Max             \t0x000000010c7c890d juce::MessageManager::runDispatchLoop() + 81\r\n63  com.cycling74.Max             \t0x000000010c69a84f juce::JUCEApplication::main(juce::StringArray const&) + 59\r\n64  com.cycling74.Max             \t0x000000010c69a966 juce::JUCEApplication::main(int, char const**) + 68\r\n65  com.cycling74.Max             \t0x000000010c344044 start + 52"},"comment":{"url":"https://api.github.com/repos/CNMAT/CNMAT-odot/issues/comments/243888221","html_url":"https://github.com/CNMAT/CNMAT-odot/issues/316#issuecomment-243888221","issue_url":"https://api.github.com/repos/CNMAT/CNMAT-odot/issues/316","id":243888221,"user":{"login":"ramagottfried","id":2264377,"avatar_url":"https://avatars.githubusercontent.com/u/2264377?v=3","gravatar_id":"","url":"https://api.github.com/users/ramagottfried","html_url":"https://github.com/ramagottfried","followers_url":"https://api.github.com/users/ramagottfried/followers","following_url":"https://api.github.com/users/ramagottfried/following{/other_user}","gists_url":"https://api.github.com/users/ramagottfried/gists{/gist_id}","starred_url":"https://api.github.com/users/ramagottfried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramagottfried/subscriptions","organizations_url":"https://api.github.com/users/ramagottfried/orgs","repos_url":"https://api.github.com/users/ramagottfried/repos","events_url":"https://api.github.com/users/ramagottfried/events{/privacy}","received_events_url":"https://api.github.com/users/ramagottfried/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T20:20:33Z","updated_at":"2016-08-31T20:20:33Z","body":"it seems like sometimes there's an error and other times the larger file crashes."}}
{"actor":{"display_login":"ramagottfried"}}