{"action":"created","issue":{"url":"https://api.github.com/repos/samaaron/sonic-pi/issues/436","labels_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/436/comments","events_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/436/events","html_url":"https://github.com/samaaron/sonic-pi/issues/436","id":68613896,"number":436,"title":"Crash exception opening help on Mac","user":{"login":"rbnpi","id":5587849,"avatar_url":"https://avatars.githubusercontent.com/u/5587849?v=3","gravatar_id":"","url":"https://api.github.com/users/rbnpi","html_url":"https://github.com/rbnpi","followers_url":"https://api.github.com/users/rbnpi/followers","following_url":"https://api.github.com/users/rbnpi/following{/other_user}","gists_url":"https://api.github.com/users/rbnpi/gists{/gist_id}","starred_url":"https://api.github.com/users/rbnpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbnpi/subscriptions","organizations_url":"https://api.github.com/users/rbnpi/orgs","repos_url":"https://api.github.com/users/rbnpi/repos","events_url":"https://api.github.com/users/rbnpi/events{/privacy}","received_events_url":"https://api.github.com/users/rbnpi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-15T08:33:27Z","updated_at":"2015-05-05T16:18:49Z","closed_at":null,"body":"I've noticed one or two crashes with exception error when opening help using the help button on a Mac. I usually have the help window undocked from a previous session. MAc dump is shown below.\r\nIf I restart Sonic Pi, often this will repeat. Using Meta i to open seems more reliable.\r\nWas doing this on 2.5 Just built first 2.6dev and first run did this again.\r\n\r\nJust experimented further, and I think this is repeatable in the following circumstances. Open help, and undock it. Use help button to hide it. Quit SP. Restart SP. click help button and it crashes.\r\nInstead open SP type meta i and help opens OK.\r\n````\r\nProcess:               Sonic Pi [1753]\r\nPath:                  /Users/USER/*/Sonic Pi.app/Contents/MacOS/Sonic Pi\r\nIdentifier:            com.yourcompany.Sonic Pi\r\nVersion:               ???\r\nCode Type:             X86-64 (Native)\r\nParent Process:        ??? [1]\r\nResponsible:           Sonic Pi [1753]\r\nUser ID:               501\r\n\r\nDate/Time:             2015-04-15 09:20:36.707 +0100\r\nOS Version:            Mac OS X 10.10.3 (14D131)\r\nReport Version:        11\r\nAnonymous UUID:        DB961F01-7FD0-E963-7B66-C5C2D566B509\r\n\r\n\r\nTime Awake Since Boot: 3700 seconds\r\n\r\nCrashed Thread:        0  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:        EXC_BAD_ACCESS (SIGSEGV)\r\nException Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000\r\n\r\nVM Regions Near 0:\r\n--> \r\n    __TEXT                 000000010405c000-00000001042fd000 [ 2692K] r-x/rwx SM=COW  /Users/USER/*/Sonic Pi.app/Contents/MacOS/Sonic Pi\r\n\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   org.qt-project.QtGui          \t0x0000000104dc6e69 QPaintEngine::syncState() + 9\r\n1   org.qt-project.QtWidgets      \t0x000000010457a10d 0x104571000 + 37133\r\n2   org.qt-project.QtWidgets      \t0x0000000104583853 0x104571000 + 75859\r\n3   org.qt-project.QtWidgets      \t0x000000010457fb11 0x104571000 + 60177\r\n4   org.qt-project.QtWidgets      \t0x0000000104754324 0x104571000 + 1979172\r\n5   org.qt-project.QtWidgets      \t0x0000000104754139 0x104571000 + 1978681\r\n6   org.qt-project.QtWidgets      \t0x0000000104592b72 0x104571000 + 138098\r\n7   org.qt-project.QtWidgets      \t0x00000001045a232b QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251\r\n8   org.qt-project.QtWidgets      \t0x00000001045a5648 QApplication::notify(QObject*, QEvent*) + 8136\r\n9   org.qt-project.QtCore         \t0x0000000105338d83 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115\r\n10  org.qt-project.QtWidgets      \t0x00000001045a01ae QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) + 510\r\n11  org.qt-project.QtWidgets      \t0x00000001045dd809 QWidget::setFocus(Qt::FocusReason) + 1017\r\n12  org.qt-project.QtWidgets      \t0x00000001045a125b QApplication::setActiveWindow(QWidget*) + 1195\r\n13  org.qt-project.QtWidgets      \t0x00000001045a170e QApplicationPrivate::notifyActiveWindowChange(QWindow*) + 46\r\n14  org.qt-project.QtGui          \t0x0000000104bd49cc QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) + 652\r\n15  org.qt-project.QtGui          \t0x0000000104bd0ef5 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 1525\r\n16  org.qt-project.QtGui          \t0x0000000104bbe2da QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 346\r\n17  libqcocoa.dylib               \t0x00000001071ab411 0x10718a000 + 136209\r\n18  com.apple.CoreFoundation      \t0x00007fff8773fa01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n19  com.apple.CoreFoundation      \t0x00007fff87731b8d __CFRunLoopDoSources0 + 269\r\n20  com.apple.CoreFoundation      \t0x00007fff877311bf __CFRunLoopRun + 927\r\n21  com.apple.CoreFoundation      \t0x00007fff87730bd8 CFRunLoopRunSpecific + 296\r\n22  com.apple.HIToolbox           \t0x00007fff956f956f RunCurrentEventLoopInMode + 235\r\n23  com.apple.HIToolbox           \t0x00007fff956f91ee ReceiveNextEventCommon + 179\r\n24  com.apple.HIToolbox           \t0x00007fff956f912b _BlockUntilNextEventMatchingListInModeWithFilter + 71\r\n25  com.apple.AppKit              \t0x00007fff8c15b9bb _DPSNextEvent + 978\r\n26  com.apple.AppKit              \t0x00007fff8c15af68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346\r\n27  com.apple.AppKit              \t0x00007fff8c150bf3 -[NSApplication run] + 594\r\n28  libqcocoa.dylib               \t0x00000001071aa2fd 0x10718a000 + 131837\r\n29  org.qt-project.QtCore         \t0x000000010533637d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381\r\n30  org.qt-project.QtCore         \t0x000000010533935a QCoreApplication::exec() + 346\r\n31  com.yourcompany.Sonic Pi      \t0x00000001040611a3 main + 2035\r\n32  com.yourcompany.Sonic Pi      \t0x00000001040609a4 start + 52\r\n````"},"comment":{"url":"https://api.github.com/repos/samaaron/sonic-pi/issues/comments/99129645","html_url":"https://github.com/samaaron/sonic-pi/issues/436#issuecomment-99129645","issue_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/436","id":99129645,"user":{"login":"rbnpi","id":5587849,"avatar_url":"https://avatars.githubusercontent.com/u/5587849?v=3","gravatar_id":"","url":"https://api.github.com/users/rbnpi","html_url":"https://github.com/rbnpi","followers_url":"https://api.github.com/users/rbnpi/followers","following_url":"https://api.github.com/users/rbnpi/following{/other_user}","gists_url":"https://api.github.com/users/rbnpi/gists{/gist_id}","starred_url":"https://api.github.com/users/rbnpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbnpi/subscriptions","organizations_url":"https://api.github.com/users/rbnpi/orgs","repos_url":"https://api.github.com/users/rbnpi/repos","events_url":"https://api.github.com/users/rbnpi/events{/privacy}","received_events_url":"https://api.github.com/users/rbnpi/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T16:18:49Z","updated_at":"2015-05-05T16:18:49Z","body":"Restored when I deleted both ~/Library/Preferences/cl.cam.ac.uk.Sonic Pi.plist  AND  ~/Library/Preferences/net.sonic-pi.Sonic-Pi.plist\ndeleting the first didn’t hack it.\nRobin\n> On 5 May 2015, at 17:02, Sam Aaron <notifications@github.com> wrote:\n> \n> Yep, a number of people have reported this. Try deleting ~/Library/Preferences/cl.cam.ac.uk.Sonic Pi.plist and restarting. If someone doesn't fix this before v2.6 is released I'm definitely removing the ability to undock - at least on Mac where the crash only seems to happen.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n\n"}}